For charging efficiency certification swap CPU6 with CPU4 while in
off-mode charging.
Bug: 194146139
Signed-off-by: AleX Pelosi <apelosi@google.com>
Change-Id: Ib2bee00b952df65d60534342e20f5d331b839e4c
Merged-In: Ib2bee00b952df65d60534342e20f5d331b839e4c
Bug: 196833426
Test: Boot and confirm proper level set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I3f46c74f35925ee0b31ec719b93d007e93a5a18f
And restart it after /data is mounted.
Bug: 187105270
Test: boot raven, secure storage test com.android.storage-unittest.td
Change-Id: I505e315b58c3e0830d9a1f11d2f8afd549186535
Bug: 181348043
Test: Local test and verify trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I499bcfecf4a0eea7459f8cdd41d4e7c59129ffef
Enabling batoilo thermal zone.
Reduced soft_ocp_warn per bug 184739333.
Bug: 194240210
Test: Local test: flash and boot
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4cad70946af1cd8ffd2131df9f505dac49b8c8f8
Start bootanimation explicitly by name. Let animation start before
surfaceflinger to avoid the condition ctl.start bootanim queued after mount_all command.
Bug: 193726798
Bug: 191910503
Test: boot test
Change-Id: Id0d276ac8bca39c6ac1dae2b2d542107a9522b91
Use the default chosen by the block layer (64). The purpose of this patch is
to reduce storage latency. Without this patch:
# grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:256
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64
With this patch applied:
# grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:64
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64
Bug: 194450129
Test: Built Android images and installed these on an Android phone.
Change-Id: I236874f3791d62a2d5faf0d37a149025639f5c4a
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Enable the FP HAL to read from the mfg_data partition chowning to system
Bug: 193549276
Test: sideload cal with valid signature. auth. enroll.
Change-Id: I0897e545dc368782587ae031716012a806d05485
Leaving maxpower at default i.e. 2mA prevents the phone from
charging from SDP ports. Setting this to 900mA. Kernel would
then set the current limit to 500/900mA based on the configured
speed.
Bug: 194722479
Test: Boot to recovery; Through uart cat maxpower;
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I763c70eb5d19f74e6e846155af69c25ca3e91f85
Since we have 8G/12GB ram, increase swap size from 2G to 3G
since 3G swap shows best result.
note: we had used 2G swap for even 4G ram devices.
Bug: 187488125
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Iea8ab1126c378cd02a89c2ef982262431c894487
Bug: 194386750
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia399e59a2f7098147522161d5c7458545febfb77
Update usb_pwr_therm2 emul_temp control to allow
vendor.disable.usb.overheat.mitigation.control to disable/enable
usbc-port throttling to prevent device offline during thermal
mitigation test in lab.
Bug: 194252201
Test: setprop vendor.disable.usb.overheat.mitigation.control 0/1 to
check usb_pwr_therm2 temperature reading
Change-Id: Ia522706ce32bee68596b977a3e526f0b951a95ca
high-group is running on CPU 6-7.
mid-group is running on CPU 4-5.
mid-high-gropu is running on CPU 4-7.
Move camera tasks to CPU 4-7 for 1 seconds when AP launch.
Bug: 194271751
Test: GCA
Change-Id: I8e13e9ad0057b8f42f8ed3958bf0c6d58a5a02bc
Set uclamp_min and prefer_idle to sys_group to improve 2nd init
stage boot time performance.
* original
boot_progress_start_avg: 4832.3
* with tuning
boot_progress_start_avg: 4028.75
Bug: 193192017
Test: boot test
Change-Id: I8ebd52fddceadbee22e9a8c75969d52047b2acfc
To support USB port overheat protection, we need to launch thermalHAL in
off charging mode.
Bug: 183573049
Test: verified usb port overheat protection in off charging mode with
emul temp
Change-Id: I0b36646d9779c2c1a25f38aafea5ca178bf91be1
We have seen cases SF main thread running longer occasionally which may
run in danger of missing frames. This CL lifts cpufreq for SF when touch
boost is active to compensate the sudden jump of its cpu demand.
Bug: 192099706
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I49b2d589249f60a38eab907afbadfbcfdd233d1c
Allow to thermalhal to update trip points for neutral_therm which is the
triggering sensor of virtual skin sensor for o6 proto.
Bug: 193373779
Test: neutral_therm can be updated to the correct threshold
Change-Id: I16dcd44ce9e69f456df322664756dc74357bf50b
init.usb.configfs.rc has the same trigger condition of midi function.
Rename the config name to "charger" to avoid triggerring twice of the
midi function.
Bug: 188744218
Test: USB enumerated in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Ica112fb4be66356901f6d5f21b79b9e648d49f35
This among other things greatly increases tethering performance.
Bug: 185092876
Test: TreeHugger, built and booted on an oriole, enabled tethering
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic9f0b4bef05250bb38c91dc1e046366098d98dc0
This is to expose a common path to runtime.
Test: Manual. Verified edgetpu_logging works with modified path
Bug: 191193044
Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: I11865108931443d96389640c89b6cc29aee3a634
It needs a USB function in charger mode to set the charging current to
500mA/900mA.
Bug: 188744218
Test: charging at 900mA in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I95c98ecec30dd4394228f7290412c303771a3158
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Bug: 191646246
Test: Boot test
Change-Id: I7e5e12c4422aa516cd9d8c63b1e5be37b6aa80bf
Bug: 176195960
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia70c110de8bc1b6166c57e9c3df3d4f43f23a428