Commit graph

1942 commits

Author SHA1 Message Date
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
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
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
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
Roshan Pius
7b7a392b3d panta(uwb): update calibration file for uci uwb stack am: 27eebf2eed am: 0ef6421fe8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17003502

Change-Id: Ic7238f2a9e6fc00ace275816fbfc0b97252c0201
2022-03-14 17:03:54 +00:00
Roshan Pius
0ef6421fe8 panta(uwb): update calibration file for uci uwb stack am: 27eebf2eed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17003502

Change-Id: I3dd46578bf623a83d3be93d6e1cfe0279882f381
2022-03-14 16:40:41 +00:00
Roshan Pius
eaa0777fb1 panta(uwb): update calibration file for uci uwb stack am: 27eebf2eed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17003502

Change-Id: Ib0af06f0d4f4dda530a3b3e9d4d3bcbf3d9d4367
2022-03-14 16:40:38 +00:00
Roshan Pius
27eebf2eed panta(uwb): update calibration file for uci uwb stack
Bug: 186585880
Test: Manual Tests
Change-Id: Ife210d69be43587dbeace49764dd07aa83375b9a
2022-03-14 16:09:02 +00:00
Yanting Yang
575dbce3bd Add initial MIC e-labels for JP SKU of C10 and P10 am: c83cb2cf1e am: 372db6f051
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17181763

Change-Id: I36cf4860ec1a72339c2bfbe354ab62a296160c9e
2022-03-14 12:42:03 +00:00
Yanting Yang
372db6f051 Add initial MIC e-labels for JP SKU of C10 and P10 am: c83cb2cf1e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17181763

Change-Id: I402774ba9dfdbea19de946c7fec3ec1413335a73
2022-03-14 12:21:03 +00:00
Yanting Yang
91596d1e19 Add initial MIC e-labels for JP SKU of C10 and P10 am: c83cb2cf1e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17181763

Change-Id: I7929b10e50b5f8f2eb848567861de29cd8f3b7b1
2022-03-14 12:20:54 +00:00
Yanting Yang
c83cb2cf1e Add initial MIC e-labels for JP SKU of C10 and P10
- Add label for GFE4J (mmWave-JP) of C10.
- Add label for G03Z5 (Sub6-JP) of P10.

Bug: 213977009
Test: visual
Change-Id: If34fbb37f5269294bd2fd5d599f79d3d1df57cf4
2022-03-14 11:58:29 +00:00
Jasmine Cha
9e309ee319 audio: waves: correct ini for LR swap am: 3e00fd613b am: b2001c13b1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17148816

Change-Id: Ifa4a7782210332ef06980342c0c0470999d2ff28
2022-03-14 09:39:49 +00:00
Jasmine Cha
fd9e59914c audio: waves: correct ini for LR swap am: 3e00fd613b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17148816

Change-Id: I3c2e774e914c2d9a7390cb4f159eeafde906347e
2022-03-14 09:16:51 +00:00
Jasmine Cha
b2001c13b1 audio: waves: correct ini for LR swap am: 3e00fd613b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17148816

Change-Id: I7295d37e0c9d2dd597978238a70b09dbed42b8f2
2022-03-14 09:15:36 +00:00
Jasmine Cha
3e00fd613b audio: waves: correct ini for LR swap
Bug:223341194
Test: manual test (b/223341194#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib29ce35fd303c8f0cd011363ff3277ef5031dca5
2022-03-14 08:50:51 +00:00
Wei Wang
29f3010acc Temporarily disable GPU power hold during LAUNCH boost am: fa3f3de1a9 am: e8e62af54f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17169272

Change-Id: Ia1cb4732803a394dbb6b3b5a383f4e7943b45551
2022-03-12 02:27:05 +00:00
Wei Wang
c05d26d035 Temporarily disable GPU power hold during LAUNCH boost am: fa3f3de1a9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17169272

Change-Id: Ic6f9bf611a06e8b439eb3cd89237f0ea514f3fb5
2022-03-12 02:06:42 +00:00
Wei Wang
e8e62af54f Temporarily disable GPU power hold during LAUNCH boost am: fa3f3de1a9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17169272

Change-Id: I59a4d9a32d67f46b406ca3cddd3b1c03ef330d32
2022-03-12 02:05:28 +00:00
Wei Wang
fa3f3de1a9 Temporarily disable GPU power hold during LAUNCH boost
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
2022-03-11 23:09:45 +00:00
William Tai
6a5d9e179f Update SystemUI config.xml am: c7e91120e4 am: fb5b16e0e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17086465

Change-Id: I3f86d992b9c0050ea33874367444ab0723a77ae0
2022-03-11 06:13:16 +00:00
William Tai
0dacf23330 Update SystemUI config.xml am: c7e91120e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17086465

Change-Id: Ib56790b8ef3668e7dac15cd6b2978fecaffc51a4
2022-03-11 05:42:26 +00:00
William Tai
fb5b16e0e4 Update SystemUI config.xml am: c7e91120e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17086465

Change-Id: I5f4a0d7c729cd4bf8cc5fb39035c5d9e902589a8
2022-03-11 05:40:41 +00:00
William Tai
c7e91120e4 Update SystemUI config.xml
- Add Doze settings

Test: manual
Bug: 199469793
Bug: 199468273
Change-Id: I05aa9305781539444e37a2e2ae0b05f0c8fbf79a
2022-03-11 05:22:05 +00:00
George Lee
6d9a82bf0b thermal: Reduce DVFS throttling per BCL irq am: 18771c221b am: b286677c63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17126426

Change-Id: I486a0cad31314d88535e5c6105aeab8b850b04a2
2022-03-10 21:15:56 +00:00
George Lee
fc3c733275 thermal: Reduce DVFS throttling per BCL irq am: 18771c221b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17126426

Change-Id: Iabac9869576c26220d2d6c25af2d9a2e4f33047c
2022-03-10 21:02:45 +00:00
George Lee
b286677c63 thermal: Reduce DVFS throttling per BCL irq am: 18771c221b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17126426

Change-Id: I119b4b4e7d0f67035bac684000537086008a9202
2022-03-10 20:38:26 +00:00
George Lee
18771c221b thermal: Reduce DVFS throttling per BCL irq
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
2022-03-10 20:17:32 +00:00
TeYuan Wang
7c5de531bc Enable user_vote_bypass for UDFPS and face unlock am: fd2cf74ed9 am: fb3697b27b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17137723

Change-Id: Iaba5b2a873e82625067867d48f45a49081fff331
2022-03-10 13:27:53 +00:00