Add these property for the development on userdebug and eng only on P22.
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ic80ffbbfdcafda4bba9ed6edf01002d3db7e0c0b
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == true
use audio_policy_configuration_a2dp_offload_disabled.xml (a2dp X LE X)
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
(ro.bluetooth.leaudio_offload.supported == false OR persist.bluetooth.leaudio_offload.disabled == true)
use audio_policy_configuration_le_offload_disabled.xml (a2dp O LE X)
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
ro.bluetooth.leaudio_offload.supported == true AND persist.bluetooth.leaudio_offload.disabled == false
use default audio_policy_configuration.xml (a2dp O LE O)
Note:
The above settings are based on ro.bluetooth.a2dp_offload.supported == true condition
If ro.bluetooth.a2dp_offload.supported == false, the content of the default audio_policy_configuration.xml
file must be replaced by audio_policy_configuration_a2dp_offload_disabled.xml on the target
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4a9bd45c1341100217ab32fd81f7421af00e059d
* set SarBackOffHighResolution = true for support power index
from 0 to 80 for setting backoff in 0.25 dB step
Bug: 170369474
Test: sending sar command with power cap index between 20 ~ 80 and
confirm the SAR backoff is workable.
Change-Id: I56d75abcff55e93554bf656fff164b861fe0e3c2
Disable wireless charging during drain, usb charging,
and charger stress test
- vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device boot up
- persist.vendor.limit.wlc.current=1
How to verify:
adb shell setprop vendor.disable.wlc 1
adb shell cat /sys/class/power_supply/wireless/online >>>> 0
adb shell setprop persist.vendor.limit.wlc.current 1
adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000
Bug: 204211357
Test: set the property manually and query the result from file node.
Change-Id: I3ae2460f964b12924c3432d7f84203e2d802aa5f
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 6e0bb1cb11b05768d04767e85cd28eaef212f305)
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.
Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I3e7fc4efdd6eed0a61fb2cedf3620907fece226d
P21 has been using GPU power hold during app launch to mitigate jank
from GPU power on latency.
However this same mechanism seems causing instability (may be related
to the new inter-frame power optimization). While the root cause is
being investigated, disable the boost.
Bug: 223828284
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Id04a1d09ebd5b36c1c7c55824da34bffb6435cab
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.
Bug: 221070649
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7ced6cdcf215738dd50d527f9f58ae4046492b29
Move the powerhint.json from gs201 to pantah.
Separate powerhint.json for each device.
Test: build and manually check
Bug: 207573241
Change-Id: I32d9093e48ca5f62cf0d05ec43a8b77b99ed254d
Merged-In: I32d9093e48ca5f62cf0d05ec43a8b77b99ed254d
Test: -
- SI SUPL Wifi on + mobile network off
- SI SUPL Wifi on + mobile network on
- SI SUPL Wifi off + mobile network on
- SI SUPL Wifi on + airplane mode on
Bug: 220816549
Change-Id: I22382d768b406ff4caccb148018a6d3863c25ded
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev
Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia
Change-Id: Ib741e38913ab39af916f3dbb60bd08159c0d6cf2
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev
Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia
Change-Id: I5bb1d1a0ba11b130f2ff56e8babf5402a135e8f4
Change list:
1.Enable PICL model on top speaker
Bug: 199029784
Test: builds
Change-Id: I2a330b4624eef8e8cbb6ad980f6fbcd18ac9c6f7
Signed-off-by: Robert Lee <lerobert@google.com>
FM table Changelist:
1. P10/C10 Based on iS900 : HA / HH / HE tuning setting for EVT1.1
Mixer changelist:
1. P10/C10 Change PCM Gain for Handset mode
Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I5bfd1334f949540b2c87ea5b3aaed4c47eb6fb93
Change list:
1. tuned down top speaker Xmax to 0.37mm to meet reliability requirement.
Bug: 198765357
Test: builds
Change-Id: I6aa35972846805c583b45d0a0c71df99be436156
Signed-off-by: Robert Lee <lerobert@google.com>
Change list:
1. set Top speaker Tmax to 105 degC for Waves tuning
Bug: 199029784
Test: Builds
Change-Id: Ie7274f01f831a1b3e17c929472ebffe9d0f1d2a1
Merged-In: Ie7274f01f831a1b3e17c929472ebffe9d0f1d2a1
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from commit e6bf777674)
Change list:
1. Re-characterized speaker model on top speaker due to a design change
2. set Tmax to 105 degC for Waves tuning
Bug: 198765357
Test: builds
Change-Id: Ib1793b25c58aed5f7e4df2ff07b11f0cebf876da
Merged-In: Ib1793b25c58aed5f7e4df2ff07b11f0cebf876da
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from commit 52798a52d71d972415dc4964ec18591f177cc620)