Commit graph

593 commits

Author SHA1 Message Date
jonerlin
870b1dca7c Bluetooth: update C10/P10 BT RC SAR tables for differnt SKUs/countries
Bug: 234377643
Bug: 234376892
Test: make and manual test, RF member verification
Change-Id: I8dda4bbb1c848fac1d1f880236a27635227d1f23
2022-06-02 04:07:26 +00:00
Alice Kuo
e7581b73b2 Add support LE audio switcher in the developer option am: 933409ce60
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18579080

Change-Id: I62c218bd358430a3e73f1f383dbb719c69df5b74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 16:26:44 +00:00
Alice Kuo
933409ce60 Add support LE audio switcher in the developer option
Bug: 233018305
Bug: 233005340
Test: switch LE audio feature, and check LE audio functionality status
Change-Id: I5305f3b2b1fe19f8a1ddb42ee9101bfb64b9bce2
2022-06-01 16:02:45 +00:00
jonerlin
33791c06ce Bluetooth: Enable BTRT logging for userdebug eng build am: af53662cd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18669928

Change-Id: I2c98f41973ca0d9038ffc436aa8a0803187a6fbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 07:46:35 +00:00
jonerlin
af53662cd4 Bluetooth: Enable BTRT logging for userdebug eng build
Bug: 215487478
Test: Manually
Change-Id: I701262727a5bf656f15577561a9361e58bd59e5c
2022-06-01 07:21:13 +00:00
George Chang
7d50d7a7b3 Switch NFC from HIDL to AIDL am: 17a923dc37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18219675

Change-Id: I13b2943716d5ff0d7bc262a74ac6281e2f1b8c76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 06:40:51 +00:00
George Chang
17a923dc37 Switch NFC from HIDL to AIDL
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: Ieb8be71d3ac4e8e187d8fcc2e3843bfd17112a73
Change-Id: Ieb8be71d3ac4e8e187d8fcc2e3843bfd17112a73
2022-06-01 06:19:26 +00:00
Harpreet Eli Sangha
fae92708ea Update WCC Eligibility
Bug: 234530076
Test: Build and Boot
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I8e8971b20c6166773497eca3dfdf342b2bb97284
2022-06-01 02:25:53 +00:00
TeYuan Wang
363def89b3 thermal: bringup charge_mdis PID loop am: d3c9705ecd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18235092

Change-Id: I8d4cbd7af55fc602aa0842432238e7305401b06e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 23:47:13 +00:00
TeYuan Wang
d3c9705ecd thermal: bringup charge_mdis PID loop
Bug: 209635028
Bug: 226130317
Test: emul_temp with different power workload
Change-Id: Ic26adbe21450c14569135dd4694083701070df58
2022-05-31 23:23:31 +00:00
TeYuan Wang
40bfab6f52 thermal: add k_i for CPU GPU PID loop am: 4bf5bce6ad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18579074

Change-Id: I47501f25952e2aa8f27df5cf5cd5680b3d013f20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 18:07:46 +00:00
TeYuan Wang
4bf5bce6ad thermal: add k_i for CPU GPU PID loop
Bug: 232919952
Test: run manhattan and burn8
Change-Id: I8b0e59b0b32a19b49116240ff01145f9a950ffb6
2022-05-31 17:44:02 +00:00
Cyan_Hsieh
af16ca1eb4 Change padding and height radio for keyboard am: 3537df9211
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18614371

Change-Id: Ide270cac3f9fec57a29fbeb5ac44c0a2b26ac1d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 11:23:43 +00:00
Cyan_Hsieh
3537df9211 Change padding and height radio for keyboard
Bug: 219397352
Change-Id: Idbecefe6c73966764679dc545dff58dfd220e9e3
2022-05-31 10:56:36 +00:00
millerliang
8169faa262 audio: enable mmap playback and record on BT am: 04cf0e2c32
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18578785

Change-Id: Ife32876708c1ea6813c49eb59d8230379bc16689
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 08:23:32 +00:00
millerliang
04cf0e2c32 audio: enable mmap playback and record on BT
AoC can support mmap on BT both playback and recording
after gpar/322484.

Bug: 232205959
Test: Play MMAP games and OboeTester
Change-Id: Id696b578f4a2e3f94d6193e714b6d9f1ace6977a
2022-05-31 08:06:16 +00:00
yixuanjiang
487ca47c80 audio: enable stereo AAC encoder am: a3e2652c86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18658844

Change-Id: I64ab7a18cd39b47874db7572a252caf1bc6d9908
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 04:52:10 +00:00
yixuanjiang
a3e2652c86 audio: enable stereo AAC encoder
Test: local test pass
Bug: 227212413
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ibe27d6ba38f1d349c032194c575a311a923196e4
2022-05-31 11:08:12 +08:00
Jimmy Shiu
2ff75add26 ADPF: Skip I signal and set Uclamp init value am: 0dc4b0d855
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18579072

Change-Id: Ie7e76bbaae34b554873314ee86eab2ac8a4cc4b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 22:25:34 +00:00
Jimmy Shiu
0dc4b0d855 ADPF: Skip I signal and set Uclamp init value
Skip I signal by setting kI to 0 and use UClampMinInit as the display
update boost value.

Bug: 198663407
Test: Manual Test
Change-Id: I309ae4f63c4d7f50dc320aec28fffbe1473eb6e5
2022-05-27 22:04:51 +00:00
Richard Hsu
54e16e9230 [Tuning] Performance turning for NNAPI ML benchmarks am: 18797cfc14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18337460

Change-Id: Ic353de8fa6b6c3d2b1dfde68d3f1580d6f34fe56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 21:45:40 +00:00
Richard Hsu
7b09864bc6 [Tuning] Disable CPU Idle in NNAPI workload with PMQoS CPU DMA Latency am: 2c15fb2a5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18451107

Change-Id: I05966878f1a3ee932e1ca172865ece6ca4a7931c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 21:45:37 +00:00
Richard Hsu
18797cfc14 [Tuning] Performance turning for NNAPI ML benchmarks
Sets the ML_ACC boost value to 650. The medium core's capacity is 763, so this means our benchmark process will always be scheduled onto the medium or big cores. We experimented with different uclamp values, and 650 is a good balance between power and performance.

Measurements:
MLPerf IC model Latency (ms) Power (mW) Energy/inference (mJ) MLPerf Scores
Uclamp = 512 0.981 3539 3.47 826
Uclamp = 600 0.973 3683 3.58 872
Uclamp = 650 0.899 3917 3.52 970 <- good balance
Uclamp = 700 0.892 4067 3.63 976
Uclamp = 800 0.875 4440 3.89 997

https://docs.google.com/presentation/d/1zx7sLkhOClmuRTCrq8-l3N1mZrrv7f-CtcdMuzV0eaI/edit?usp=sharing

Bug: 232183574
Test: MLPerf score on P22 improved significantly.

Change-Id: Ib93ecee5af3f1cbe83c5a96dc14b3a537db5abc8
2022-05-27 21:21:41 +00:00
Richard Hsu
2c15fb2a5b [Tuning] Disable CPU Idle in NNAPI workload with PMQoS CPU DMA Latency
To improve the return path latency, we want to keep the CPU at at least WFI state (Idle_1). The PMQos cpu_dma_latency knob prevents the CPU from falling below WFI state. This makes the return path CPU wakeup latency very good. Check with wvw@, the power impact shouldn't be too significant.

The average energy cost per inference dropped from 3.85 to 3.47 mJ. The reason why the power number is lower WITH disable-idle is that, due to better latency, we get to run more inferences given the same amount of time. This makes the average power consumption lower.

Measurement:

MLPerf IC model Latency (ms) Power (mW) Energy/inference (mJ) MLPerf scores
Default 1.35 2837 3.85 560
Disable CPU Idle 0.98 3539 3.47 826

https://docs.google.com/presentation/d/1zx7sLkhOClmuRTCrq8-l3N1mZrrv7f-CtcdMuzV0eaI/edit?pli=1#slide=id.g12dd9e50b4b_0_0

Bug: 232183574
Test: MLPerf on Android T. Performance improved. Verified on Perfetto.
Change-Id: Ia807bf0849e4d9b0b0e8c9510335129ca89e791f
2022-05-27 21:21:41 +00:00
Carter Hsu
cc40b2a153 audio: update FM tuning 20220527 am: ee6a5a5e72
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18626430

Change-Id: I47ee44f3310acb67b211e9d6a132d65bd2b4152e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 10:25:44 +00:00
Carter Hsu
ee6a5a5e72 audio: update FM tuning 20220527
FM table change list:
1. HE
    a) Enble BVE for BB on NB,WB, SWB
    b) Fine tune BB RX EQ on NB, WB.
2. HH
    a) Fine Tune RX for dual speaker
    b) Polishing SWB NS performance
3. HA
   a) Update TMOUS tuning for P10/C10 on NB/WB/SWB
   b) Fine tune C10 tuning setting for Generic on NB/WB/SWB
   c) Fine tune P10 tuning setting for Generic on NB
   d) Fine tune NS tuning for P10/C10 on SWB

Bug: 234079372
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If380495da1e94fff33a2bdc9980f0e546d167e7f
2022-05-27 10:01:49 +00:00
Ching-Sung Li
6433a5d16e Build C10/P10 default CMF color wallpaper am: 53d71ce550
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18607877

Change-Id: Ib4629e309081d8e5df30bc593250c13e51e56f20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 18:41:38 +00:00
Ching-Sung Li
53d71ce550 Build C10/P10 default CMF color wallpaper
Bug: 193776159
Test: Build pass; Manual
Change-Id: I0b5bd5684420ad5e9b0bca1a328a921b777c78fe
2022-05-26 18:13:39 +00:00
Lucas Wei
53b0484016 pantah: add requirement for vendor_kernel_boot partition am: 192fec00d4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17755767

Change-Id: I0ed7b56e193451fd03a1a33cca59b1b11c62b5d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 15:06:04 +00:00
Patty Huang
d1abd9e4a9 BQR: Enable LE Audio Choppy Event Report am: 893479de32
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18555370

Change-Id: I9763c72a02e638e3159d406084c8c67bbad3e3c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 15:05:52 +00:00
Lucas Wei
192fec00d4 pantah: add requirement for vendor_kernel_boot partition
Bug: 214409109
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I756d2bbc730b5901bfe30d415bf519937e8b1ab0
2022-05-26 13:51:34 +00:00
Patty Huang
893479de32 BQR: Enable LE Audio Choppy Event Report
Set the Bit 6 to true to enable the LE Audio Choppy Event Report

Bug: 233553754
Tag: #feature
Test: Verified the LE Audio Choppy Event will be reported

Change-Id: I8b193e9d51cde49b8494fa4f0e0a0cea3b77f2ff
2022-05-26 12:56:52 +00:00
edyblin
34a4cd5355 Update ./DevInfo/Mod model name am: a7e8dbb927 am: 4a54e5e112
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18492027

Change-Id: I6708e8f989974d33522c99b7eee009364c5e2128
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 18:26:04 +00:00
edyblin
d9f9eb21a8 Update ./DevInfo/Mod model name am: a7e8dbb927 am: 69136ea87e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18492027

Change-Id: I7dc724718faee2d58e66f5b272711ffc51f9ed3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 18:24:58 +00:00
edyblin
69136ea87e Update ./DevInfo/Mod model name am: a7e8dbb927
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18492027

Change-Id: I91e5303db3cec0c875473f07ae0bf9a058ad1fa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 17:48:17 +00:00
edyblin
4a54e5e112 Update ./DevInfo/Mod model name am: a7e8dbb927
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18492027

Change-Id: I355b1ddb13d6945d31cc33efbced0d71ae6b3760
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 17:46:44 +00:00
edyblin
a7e8dbb927 Update ./DevInfo/Mod model name
Need to set model name to GE2AE and GQML3
Bug: 232495475
Test: Pass at b/232495475#comment7

Change-Id: I21cc02b2a980f493a34bcfcd40117bb827504075
2022-05-25 17:21:09 +00:00
Sayanna Chandula
aa0b635bc9 thermal: update virtual coefficients per v0.7 am: 2435a0c9cd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18392799

Change-Id: I50c924d7e32dbd6872556add8acfaf418973bcea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 15:23:49 +00:00
Sayanna Chandula
2435a0c9cd thermal: update virtual coefficients per v0.7
Update P10 virtual coefficients to v0.7 version. No change for C10
coefficients.

Bug: 232569691
Test: Build and boot on device.
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I8b7b5c2b2f1a20f07925b66697632fdc66bdc644
2022-05-25 15:05:46 +00:00
George Chang
aa8f209a2a Set sereset property every time at boot am: b9c8c28644
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18568486

Change-Id: I02856f63725c4d0eddd26a2e1dedfc7565097357
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 12:29:42 +00:00
George Chang
b9c8c28644 Set sereset property every time at boot
Set it to "reset" in order to reset ST54K eSE at NFC hal init.

Bug: 232204531
Test: check eSE reset process starts at boot
Change-Id: I9f5863f963716ddceabbd540fbde32abec0a38b4
2022-05-25 12:02:16 +00:00
SianyiHuang
08635ba44c Config: Update Auto Brightness debounce and ambient threshold setting am: 099addb63d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18486867

Change-Id: Ib7eb221d1f2a24f1e08e01556f6af26bac8dffe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 05:56:03 +00:00
SianyiHuang
099addb63d Config: Update Auto Brightness debounce and ambient threshold setting
Bug: 233283720
Test: adb shell dumpsys display and check debounce and ambien threshold
seting

Change-Id: I36cc5cf257869c37304c6525d1965a61da5bd037
2022-05-25 05:39:18 +00:00
Sayanna Chandula
11af3344eb thermal: add tpu/aur power hints for emergency severity am: 14edfc76be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18572658

Change-Id: I0f5862b153d94c0f5abbf758fc6cc603d7f7ca74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 23:57:04 +00:00
Sayanna Chandula
14edfc76be thermal: add tpu/aur power hints for emergency severity
Add power hints handling for EMERGENCY severity. Control temperature
and switchon temperature are lowered when the pwoerhint is received.
Remove power hint handling for isp thermal zones as PID control loop
is not enabled for isp as of now.

Bug: 229014824
Test: Build and boot on device. Check control/switchon temp when
thermal severity reaches EMERGENCY level

Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I2e4bab9495d76e231df8277f3bf4ef68d5a141af
2022-05-24 23:22:08 +00:00
Yichi Chen
db3251aee9 RRS: Apply the default config from persist prop am: 493be28f05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18350496

Change-Id: I3a9af5ab224c8ea7a4fc876ba656146bf8d6f23e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 13:46:19 +00:00
Yichi Chen
493be28f05 RRS: Apply the default config from persist prop
vendor_config plays as another role to control the display config during
the boot time. To change the default configuration of the user selected
mode, we use persist config to store the value.

Bug: 232721840
Test: Boot w/ and w/o user selected configs and check the resolution
Change-Id: I8e6f551817e9b7cb747a7f5351430dd2ac9b4624
2022-05-24 13:06:41 +00:00
Jasmine Cha
5eef8ea44a audio: improve mute duration. am: 2a027324f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18568491

Change-Id: Iebadd9f5d87a99dc37d6d81d35be4cad9c9290e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 10:53:45 +00:00
Jasmine Cha
2a027324f2 audio: improve mute duration.
- preview of notification will be cut off slightly becuase of mute
  duration in framework is 160ms (40*40)
- set mute duration of primary output from 160 ms to 40 ms.

Bug: 233176336
Test: preview notification/end call sound on voice/VoIP(Line)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I7f5225372c265cb22e74311b0805d16b1c68fd3d
2022-05-24 08:39:17 +00:00
linpeter
36c0a0ced6 display: update the indoor auto-brightness curve am: 46546e2e2c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18030203

Change-Id: I52573a1c341eae9a3fd7d7823dbb9c793006d43f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 07:45:32 +00:00