Commit graph

2887 commits

Author SHA1 Message Date
Mark Chang
5295b4d291 C10/P10: Delay twoshay service start stage. am: 376d1de226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17290406

Change-Id: I58b8fb3b0e709eed8ec867e2cc4335e6c7cb3067
2022-03-22 23:21:11 +00:00
Mark Chang
54909fd10f C10/P10: Delay twoshay service start stage. am: 376d1de226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17290406

Change-Id: I4a83d1fc1e1c312c2cacfb7eb5b420a527374f87
2022-03-22 23:20:49 +00:00
Jimmy Shiu
0110fce469 powerhint: updating uclamp_min for little cores am: 9419013949
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17122706

Change-Id: I05902f08ff460dd58187b7f3a74ff1fba8fa94b5
2022-03-22 23:20:14 +00:00
Jimmy Shiu
87496d3e3a powerhint: updating uclamp_min for little cores am: 9419013949
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17122706

Change-Id: Ie7b6cbb588b663ee620b740bbebae15691cdb804
2022-03-22 23:19:38 +00:00
Mark Chang
376d1de226 C10/P10: Delay twoshay service start stage.
Bug: 225351394
Test: Verified twoshay not running in charger mode using cereal (P31701277).
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Iad139a8340f5a8e6ee53ba434edc3b98379f68e2
2022-03-22 23:09:09 +00:00
Jimmy Shiu
9419013949 powerhint: updating uclamp_min for little cores
Update uclamp_min to keep the little cores boost running on the same
frequenices.

Bug: 220975075
Test: build and boot to home
Change-Id: Idfc12229ec372288c29b61e2d965e13e480476e5
2022-03-22 22:30:38 +00:00
Kris Chen
6656e25905 c10p10: Enable ALS feed forward am: 953a9bbfa1 am: a0d2a3b3fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17289089

Change-Id: Ide966ec059b6f6a8f5013172e14108fe63944bc5
2022-03-22 04:15:56 +00:00
Kris Chen
a0d2a3b3fb c10p10: Enable ALS feed forward am: 953a9bbfa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17289089

Change-Id: I519f5d593a394c5b904af5bb6c75a7e488e3e2b9
2022-03-22 03:59:58 +00:00
Kris Chen
1670cf4a62 c10p10: Enable ALS feed forward am: 953a9bbfa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17289089

Change-Id: I39d75b2f1586e94feed0668bfcbd6c379ff1086c
2022-03-22 03:59:50 +00:00
Kris Chen
953a9bbfa1 c10p10: Enable ALS feed forward
Bug: 197780765
Test: build and test fingerprint on device.
Change-Id: Ia135a56c18a4e9993b05eb93abca2b241764e67b
2022-03-22 03:24:42 +00:00
Android Build Coastguard Worker
0d84d4f168 Snap for 8323526 from de91a976cc to udc-release
Change-Id: I80dc2ec3007bbe365f38228a9c8219dc54060083
2022-03-19 05:06:28 +00:00
Yung Ti Su
de91a976cc Add LE audio hardware offload property am: 46e193ec79 am: ef8090cae4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252886

Change-Id: Ia1fbc7809b9b432d83750e503ca3c230bca83e12
2022-03-18 21:21:28 +00:00
Yung Ti Su
605e1ca051 Seperate audio_policy_configuration for a2dp and le am: 3ff3a57ebb am: a147e44da9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252885

Change-Id: I0291510035f8f702a839dfded2c2f25ed2e65c76
2022-03-18 21:21:27 +00:00
Yung Ti Su
ef8090cae4 Add LE audio hardware offload property am: 46e193ec79
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252886

Change-Id: I429a4adcf5009ae34b93343cfcaffecdb5afd869
2022-03-18 20:40:32 +00:00
Yung Ti Su
a147e44da9 Seperate audio_policy_configuration for a2dp and le am: 3ff3a57ebb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252885

Change-Id: I34b6f9eeeb08d6250004b32888d003aac7d2ba74
2022-03-18 20:40:31 +00:00
Yung Ti Su
8018438401 Add LE audio hardware offload property am: 46e193ec79
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252886

Change-Id: If80fa8ee85ea122fe2db2993a9f983b15bb5819a
2022-03-18 20:12:03 +00:00
Yung Ti Su
3bcfb5f188 Seperate audio_policy_configuration for a2dp and le am: 3ff3a57ebb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252885

Change-Id: I4b9529688e70b9bbd46758fdb202856bef4b7366
2022-03-18 20:12:02 +00:00
Yung Ti Su
46e193ec79 Add LE audio hardware offload property
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
2022-03-18 15:22:49 +00:00
Yung Ti Su
3ff3a57ebb Seperate audio_policy_configuration for a2dp and le
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
2022-03-18 19:06:27 +08:00
jonerlin
19ea731d22 bt: support Sar backoff high resolution command in P22 projects am: 3275b689d7 am: cde948aba4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17157248

Change-Id: I5184ffded12e2361c66ecc86afc88d74b310f14b
2022-03-18 06:44:33 +00:00
jonerlin
cde948aba4 bt: support Sar backoff high resolution command in P22 projects am: 3275b689d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17157248

Change-Id: I54ea676688d3276239d21eb20e915544fab3e32f
2022-03-18 06:22:12 +00:00
jonerlin
7a3e576154 bt: support Sar backoff high resolution command in P22 projects am: 3275b689d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17157248

Change-Id: I2d2406fbaae88ceca08f4decfea3085875eb6954
2022-03-18 06:21:56 +00:00
jonerlin
3275b689d7 bt: support Sar backoff high resolution command in P22 projects
* 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
2022-03-18 06:04:58 +00:00
Carter Hsu
a19110623e audio: add recording debug files am: 8eb016913d am: 28a3178752
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226772

Change-Id: Ia2be035b95a3391f735b3461aa0e07a3adf9f85c
2022-03-18 03:33:09 +00:00
Carter Hsu
28a3178752 audio: add recording debug files am: 8eb016913d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226772

Change-Id: I840dd457d9d0d4483a9767c131f1193736c88ad4
2022-03-18 03:15:46 +00:00
Carter Hsu
c156ffc659 audio: add recording debug files am: 8eb016913d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226772

Change-Id: Ie409a4677a27e53e4a14026ff6d47dcbcb941bef
2022-03-18 03:15:13 +00:00
Android Build Coastguard Worker
5b24c8d401 Snap for 8318243 from a48d22cafc to udc-release
Change-Id: I86cd61957c7d083e371328ce844524522b97e38b
2022-03-18 03:01:26 +00:00
Carter Hsu
8eb016913d audio: add recording debug files
Bug: 221964481
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I63e7dff97cd48ec337de2f70d2746e28afc19a57
2022-03-18 02:53:08 +00:00
Ken Tsou
a48d22cafc battery: disable wireless for pts battery test am: 27b511c302 am: 7d6979c509
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226779

Change-Id: Ic1b20a15da4e72af0da1e63a151cdd7b1da7a492
2022-03-17 20:17:13 +00:00
Ken Tsou
7d6979c509 battery: disable wireless for pts battery test am: 27b511c302
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226779

Change-Id: I0d7ebb47ed9d51fd8c6d681ded40cab3b33681af
2022-03-17 19:48:43 +00:00
Ken Tsou
4aefa2ec8e battery: disable wireless for pts battery test am: 27b511c302
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226779

Change-Id: I28eeb5482b9bac5a0a68a35694deb3ab9b0e422b
2022-03-17 19:47:53 +00:00
Ken Tsou
27b511c302 battery: disable wireless for pts battery test
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)
2022-03-17 18:03:29 +00:00
Android Build Coastguard Worker
6e1b549163 Snap for 8310672 from 454b3a7f2b to udc-release
Change-Id: I655e506a4969ceffb47d01772ff9b8f814ee6bed
2022-03-17 03:01:11 +00:00
Daeho Jeong
a302c36062 disable powerhint for F2FS gc_urgent mode am: d92fb5e527 am: 4603abf556
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17223831

Change-Id: I606ee2d0dd7bac2d940e14ae19c44921e0010f7d
2022-03-17 00:40:39 +00:00
Daeho Jeong
4603abf556 disable powerhint for F2FS gc_urgent mode am: d92fb5e527
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17223831

Change-Id: I8326bb939262bfd983c23391e007021cf57a74f3
2022-03-17 00:20:55 +00:00
Daeho Jeong
c47296b748 disable powerhint for F2FS gc_urgent mode am: d92fb5e527
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17223831

Change-Id: I2db7085f2d40840fb30e5c47ff8d742341613e94
2022-03-17 00:19:57 +00:00
Daeho Jeong
d92fb5e527 disable powerhint for F2FS gc_urgent mode
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
2022-03-16 12:07:06 -07:00
Gary Jian
454b3a7f2b Handle the network selection restoring in modem side am: 8358d48714 am: be8278b51f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17105749

Change-Id: I625db05a9a627f686ea3e4b022386a505c2f6441
2022-03-16 15:18:31 +00:00
Gary Jian
be8278b51f Handle the network selection restoring in modem side am: 8358d48714
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17105749

Change-Id: If87e99ce2a17b412ca211ae2e4c4a1279fb7ad93
2022-03-16 14:54:08 +00:00
Gary Jian
215d58da66 Handle the network selection restoring in modem side am: 8358d48714
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17105749

Change-Id: Ie1820d4a19b8bae4b06b791648bbc2c25e6cf1a9
2022-03-16 14:54:04 +00:00
ryanlwlin
8b461e7e63 Add override for fingerprint sensor gesture support am: 28f176b9fc am: 70a53a7caf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17206765

Change-Id: Ib442bbce6dd236d11b9879f57413418fc794b113
2022-03-16 10:07:24 +00:00
Gary Jian
8358d48714 Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: I16b665f72aae3b7e82c7f46a608eed36bbddae7f
2022-03-16 17:53:01 +08:00
ryanlwlin
70a53a7caf Add override for fingerprint sensor gesture support am: 28f176b9fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17206765

Change-Id: I6e88bc0937728e6e52f3eaf9b4f1f0bc1d4b921f
2022-03-16 09:42:40 +00:00
ryanlwlin
19e2007afa Add override for fingerprint sensor gesture support am: 28f176b9fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17206765

Change-Id: Ib4d38040ce238a4ac3a18b9ddd389d98408399b5
2022-03-16 09:42:29 +00:00
ryanlwlin
28f176b9fc Add override for fingerprint sensor gesture support
Bug: 222019218
Test: atest AccessibilityFingerprintGestureTest
Change-Id: Ic36efe75a02cb707adc5c9aab10ec8916644c890
2022-03-16 09:14:39 +00:00
Android Build Coastguard Worker
40d4c1bd4c Snap for 8305076 from 67f9bd8984 to udc-release
Change-Id: I29168fe30ed74fd2259ea176fbd8f446ac8f078f
2022-03-16 03:01:24 +00:00
Carter Hsu
67f9bd8984 audio: update w spatial and mic MBDRC mode tuning am: 185ba5d4b4 am: 4fc86f964c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17050384

Change-Id: I5e8b2d44bccb2a0df4429d8e57eaafcfe358a623
2022-03-15 10:33:19 +00:00
Carter Hsu
4fc86f964c audio: update w spatial and mic MBDRC mode tuning am: 185ba5d4b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17050384

Change-Id: Idff0db51ae7d47239d705fa1b3c2fb15b0d70023
2022-03-15 10:09:40 +00:00
Carter Hsu
a89f8be1b8 audio: update w spatial and mic MBDRC mode tuning am: 185ba5d4b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17050384

Change-Id: I40cecb8225e690501567ae6c94d4793b006f126d
2022-03-15 10:09:40 +00:00
Carter Hsu
185ba5d4b4 audio: update w spatial and mic MBDRC mode tuning
Bug: 221964481
Bug: 214337696
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia6eae5d830b16cfa587b85003cbe968f6061e1b3
2022-03-15 09:47:15 +00:00