This reverts commit ce6f6da1587615240b7cd2582209c6838cb3bec8.
Reason for revert: Due to b/194243206, TTY shall keep supporting for WCDMA/GSM devcie. Thus revert this CL for pixel 2021 and after.
Bug:194243206
Test: b/194243206#comment22
Change-Id: I650eb50a12bebcd55d04a4ab18bf1d78480a0af5
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>
Dump state2power table in cooling_device
Bug: 189488358
Test: local test and state2power table can be dumped.
Change-Id: Ifb9a8e41158c5452b2f6e856d30ac97011460298
Signed-off-by: David Chao <davidchao@google.com>
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
So devices not supporting CDMA don't include the feature by mistake.
Bug: 194307361
Test: inspect build artifacts - telephony.cdma.xml is included
Change-Id: I0fe3a3624d2cda2b57347402d62e8a16513174e5
Merged-In: I0fe3a3624d2cda2b57347402d62e8a16513174e5
(cherry picked from commit d808d99ce089ca4c7ff4e2abe8ee76b4eeb38a64)
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
This will improve the snapshot performance, especially JPEG encode.
Bug: 192067605
Test: Boot, CTS
Change-Id: I9b879d2c462e0a59891d9a36c770484d00b53e6e
Read duration stats expoted by google,usbc_port_cooling_dev and
push suez atom when the uevent is received. The plugged temperature
is queried every time when the USB port is connected. Maximum
temperature during overheat is queried when the uevent is received.
Bug: 193615568
Change-Id: Ib02e14dbdbe1390476e864d351158c1523a5c311