Commit graph

261 commits

Author SHA1 Message Date
Rios Kao
bdeb20e28f audio: add immersive playback support am: 9b7f753e57
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17535909

Change-Id: I65e68f93a45c14bcafa9dd896a09986d03ac3639
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:02:38 +00:00
Rios Kao
70207dc3e4 audio: sync mixer table for Eraser capture am: 7c61e4166e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525130

Change-Id: I89ed35f8b62fcd0b04c331bbd8f7d0ccfe23528f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:02:34 +00:00
Rios Kao
9b7f753e57 audio: add immersive playback support
Bug: 227697054
Test: build pass and pts-audio
Change-Id: Iccb1953def4a9dffaf7b9e3dd512c68ae8a37c1e
2022-04-07 02:42:39 +00:00
Rios Kao
7c61e4166e audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass and pts-audio.
Change-Id: Id0384c7af546dec1a6237e3091a366a85d097d26
2022-04-07 02:42:39 +00:00
linpeter
a7e936253e display: update the outdoor auto-brightness curve am: 3b4f9c3cdc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17442333

Change-Id: I9d38937b43cbc2b40697644d651e5f1c97541028
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 10:28:31 +00:00
Mason Wang
7c6125e534 P10: Change touch procfs node ownership am: 006af1e810
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525123

Change-Id: I88e0c583de42a9eb9669c29c3a87bf51f379037f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 10:28:20 +00:00
linpeter
3b4f9c3cdc display: update the outdoor auto-brightness curve
Modified the outdoor range mapping in
the outdoor auto-brightness curve.

Bug: 213251504
Test: check the default curve
Change-Id: I387e87f343ffe7af72fb965f2c7ea05eb85dfda1
2022-04-06 10:03:44 +00:00
Mason Wang
006af1e810 P10: Change touch procfs node ownership
Change touch procfs node ownership as system/system for dumpstate.

Bug: 199105131
Test: adb bugreport

Change-Id: Ibae5adfc22e661917618ac75b49bf50804892285
2022-04-06 10:03:14 +00:00
TeYuan Wang
d7d4f417a2 thermal: Hide the sensors which are not used by framework am: deaa89eb24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17535915

Change-Id: I1ca2947ffca4cdb2d4653e07b4dec67c84430fea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 00:35:51 +00:00
TeYuan Wang
deaa89eb24 thermal: Hide the sensors which are not used by framework
Bug: 227686549
Test: adb shell dumpsys thermalservice
Change-Id: I26e16c664ac95264d0d4cc943bb45627ff774d8c
2022-04-05 23:58:19 +00:00
joenchen
76cb8c2c64 C10: set value of config_stableDeviceDisplayWidth/Height am: 06d7d2a9f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17518870

Change-Id: Ie1dd31ffe15de08ace2c8925c622fc6efd6e4d7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 19:47:57 +00:00
joenchen
06d7d2a9f2 C10: set value of config_stableDeviceDisplayWidth/Height
Bug: 209592558
Test: adb shell dumpsys display | grep mStableDisplaySize
Change-Id: I76e835c695508295ad23538005bfa899efafbc01
2022-04-05 17:57:46 +00:00
Victor Liu
1ea4b10237 uwb: update aoa_capability in calibration file am: d36f9382e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17540977

Change-Id: Iaadcb5ae528cba2c990f91d3793bc6cbc48031a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 23:55:01 +00:00
Victor Liu
d36f9382e0 uwb: update aoa_capability in calibration file
Test: builds
Bug: 227427724
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9d5d5ad6a89ec2081993e02d00eebe5f3e678831
2022-04-01 23:39:18 +00:00
Jasmine Cha
cf98332c3e audio: update FM table am: ae824a50b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17535905

Change-Id: I10fa8f29e47af96a2eb2b56716370cbc6c18226c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 08:28:34 +00:00
Jasmine Cha
ae824a50b7 audio: update FM table
FM table Changelist:

C10P10
1. Parameter version update from 1.2.0 to 1.2.1
2. Headset BB
    Disable FFP for NB/WB to avoid low RLR issue (ST solution)
3. Headset TTY Full and HCO
    Set AEC_NUM_CH to be 0x0001 (Original is 0x0000) to make TX work properly.
4. BT
    Disable low latency mode on BTNB-NB and BTNB_NREC-NB to avoid TX clipping/distortion issue (ST solution)
5. HHNB/WB/SWB  NS parameter update for v603
6. HHNB/WB/SWB RX fune tuing for power consuming
7. Align same parameter
   (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
   (2) Handsfree RX to HCO RX

Bug: 216258666
Test: b/216258666#comment19

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I583bda3772be7a667aed2b0c8fb34249b3223c9e
2022-04-01 07:59:19 +00:00
David Li
8e092ebcfd Revert "audio: add dynamics processing effect to audio_effects.xml" am: 12775d11ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525128

Change-Id: I9fcaee91a347239aee11770e6e5574ce24fc0e36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 05:36:34 +00:00
David Li
12775d11ed Revert "audio: add dynamics processing effect to audio_effects.xml"
This reverts commit 9e36616a4d.

Reason for revert: disable offload DPE

Change-Id: Iecd1079a625094b322f672846c4cd1517c853827
2022-04-01 05:17:58 +00:00
Yung Ti Su
88070b6c5d add BLE Headset Mic am: 98696e6eec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17463607

Change-Id: Idb13bf33cc3728a1c8c9016c877e73c6bc761adf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 14:34:14 +00:00
Yung Ti Su
98696e6eec add BLE Headset Mic
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ic796722d5186b2bb354315862892c5640252bf67
2022-03-30 14:14:24 +00:00
chungkai
543c4850ea sched: move sysfs to procfs am: a925b66a17
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17476957

Change-Id: Id98662a3f519abcbc575f398c6f58d0fad923564
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 11:03:13 +00:00
chungkai
a925b66a17 sched: move sysfs to procfs
Modify name from sysfs_vendor_sched to proc_vendor_sched

Test: without avc denial
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie8fdb9e6634fb160f5cea64883bead93be13d93e
2022-03-30 08:22:02 +00:00
Mason Wang
07afa20351 Add touch module in init.insmod.xxx.cfg for P10&C10. am: acfa31d518
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17463606

Change-Id: Ic9f3ba6da57b0150ae48818b83976b1404eb4078
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 10:52:50 +00:00
Mason Wang
acfa31d518 Add touch module in init.insmod.xxx.cfg for P10&C10.
Add touch module into the init.insmod.xxx.cfg, it will be loaded after
all common modules in late-init. So the touch module won't be loaded in
off-mode-charge.

Bug: 227269826
Bug: 226881266
Test: Verify pass that the touch module is not loaded in off-mode-charge.

Change-Id: I3f3153afb75355020e17534838410050f20f02b2
2022-03-29 10:26:21 +00:00
Carter Hsu
4059b0e273 audio: update FM tuning 0324 am: cc9519a3cb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17395311

Change-Id: I0de7d74e4cb05c94192f12272c575723e010c2ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 04:03:02 +00:00
Carter Hsu
cc9519a3cb audio: update FM tuning 0324
FM table Changelist:

C10P10
1. Table form 20220309 version
2. HE disable FFP on Blackbrid NB WB
3. BT disable low latency mode on NB

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1641bfd0c42cfcf3636c69c81f8bf5d55202199
2022-03-29 03:37:52 +00:00
Sayanna Chandula
f12680f846 thermal: update dynamic control/switchon trips in powerhint am: d8f5b8c917
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17147382

Change-Id: I3233a5a02ef0c21955f3c9e8ff5e93f3181f8e3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 02:06:32 +00:00
David Li
b90de91a0d audio: add dynamics processing effect to audio_effects.xml am: 9e36616a4d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17374225

Change-Id: Ica76eac5d40c01d6a1839ba6ada1592df1ea2cc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 02:06:27 +00:00
Sayanna Chandula
d8f5b8c917 thermal: update dynamic control/switchon trips in powerhint
- Create separate powerhint json files for a0 soc
- Add control/switchon powerhints for all IPs
- Change thermal severity level to LIGHT
- Update trip temps as per policy

Bug: 194509203
Test: Build and boot on device. Check change of trip temperatures
after the thermal severity of LIGHT
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ibd19ea16d0fee25dec801b287e1eab05699a8d7f
2022-03-29 01:51:28 +00:00
David Li
9e36616a4d audio: add dynamics processing effect to audio_effects.xml
Bug: 215662726
Test: n/a
Change-Id: I1346de62a2e1425250583d7bc1365ffa72353ee6
2022-03-29 01:48:50 +00:00
George Lee
db577efd2e thermal: BCL policy for cold temperature am: c7017427f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17160894

Change-Id: Ied69a31a6646dd38086e5b7cf7ebc253afa4774f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 18:07:45 +00:00
George Lee
c7017427f5 thermal: BCL policy for cold temperature
Add cold temperature policy to combat sharp SOC% drop

Bug: 223420221
Test: Local peak current shock test at cold temperature
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If1db429a6c6c181735af001a72372f63a59d01c4
2022-03-28 17:48:38 +00:00
Martin Liu
7a9e7e015b set swiotlb as noforce am: 0f4fbe609b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17395310

Change-Id: I0b8c680e1e151691ea279b1234460fd13d1cd433
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 13:14:08 +00:00
Martin Liu
0f4fbe609b set swiotlb as noforce
There is no swiotlb usage so we can append noforce to
remove 2MB reserved memory.

Bug: 226578178
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I746e8a1d18d78243bfe6a0b7549d5cf09cc4e227
2022-03-25 12:57:43 +00:00
Speth Chang
ddbdf6e989 WAR: set MIF floor to 2G when GCA capture am: 9eb76e0f20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17346845

Change-Id: Ib996fa2c95ede908d4e4165398f29e752122b9aa
Signed-off-by: Automerger Merge Worker
2022-03-24 21:25:06 +00:00
Speth Chang
9eb76e0f20 WAR: set MIF floor to 2G when GCA capture
Due to b/214429812, QURGENT currently is not working properly, and cause
easily see EBUF full when capture on GCA. Temporary increase MIF clock to
mitigate memory interface congestion. We should revert this when
b/214429812 fixed.

Bug: 223734867
Test: P22 GCA capture
Change-Id: I0cc16d5bd83cb23462147c44547077665bc1dc73
2022-03-24 21:10:13 +00:00
Omer Osman
028e863a9d Include libspatialaudio and librondo in product builds am: d2cbdf2b6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17365115

Change-Id: Ife322a7e0e6354e565c34852731d5077b4c330e4
2022-03-24 19:37:35 +00:00
Omer Osman
d2cbdf2b6b Include libspatialaudio and librondo in product builds
Test: Spatialized audio (including headtracking) with Pixel Buds and
multichannel mp4 file playback

Change-Id: I4f216aff07c25f80337ea07470983c4ae1e48efb
2022-03-24 19:01:45 +00:00
chungkai
dc9c17b539 sched: move sysfs to procfs am: df927bb9d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17346843

Change-Id: I5e702ec6c048808bf340487608fe850705cd5993
2022-03-24 18:16:44 +00:00
chungkai
df927bb9d0 sched: move sysfs to procfs
Modify the path of vendor_sched nodes

Test: powerhal work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I0f499fac276fbdd3bf965bdd8c81bc4c4e7f48c4
2022-03-24 17:44:37 +00:00
Tai Kuo
5d5a4ddf85 vibrator: enable composePwle am: 8f7d06bba3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17147030

Change-Id: Ie6784d25e6f0985887f92132612f6bb5ce0eef9d
2022-03-24 04:06:10 +00:00
Tai Kuo
8f7d06bba3 vibrator: enable composePwle
Bug: 193784220
Test: adb shell getprop | grep vibrator
Test: adb shell dumpsys vibrator_manager
Test: adb shell dumpsys android.hardware.vibrator.IVibrator/default
Test: atest VtsHalVibratorTargetTest
Change-Id: I66b109d67400cf6382b23c0969726031d38b2697
2022-03-24 02:38:33 +00:00
Victor Liu
3eb9495160 uwb: Increase CCC uwbtime0 delay am: 16c5cab354
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17324037

Change-Id: Id4d1f319d65adbd6aa49b0ad7e41ea096c30066e
2022-03-23 20:56:35 +00:00
Victor Liu
16c5cab354 uwb: Increase CCC uwbtime0 delay
Delay between NFC start and kernel has increased
This patchs update this delay to avoid lock at start

Bug: 223228405
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I1c91c73e420315e67ecfb076f90a0fcc20deb3fe
2022-03-23 20:34:34 +00:00
Peter Liu
df77baeede Camera: Update target load for high streaming case am: 8f0dc7db93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17339288

Change-Id: I6ca84638ef358de274a0b3ff53df3767ded90c9b
2022-03-23 08:39:45 +00:00
Peter Liu
8f0dc7db93 Camera: Update target load for high streaming case
Update target load due to Pro mid CPU
this hint impact the high streaming use case like 60fps / 120fps and
240fps.

Bug: 222570798

Test:
1080p60 frame drops: 0.3% (before 3%)
slow mo 8x: frame drop 0%. 300mW saving on mem path

GCA test
CTS no regression
Passed:Tests Passed: 358, Failed: 4, Not found: 0, Status unknown: 0

Change-Id: Ie53f6eaadadf3540cf9a7b6cf7b801d46e943098
2022-03-23 08:20:08 +00:00
William Tai
f8f133ffff P22: update display blocking zone for EVT1.0 am: 8489809c43
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17189643

Change-Id: Iee45c38458cc9fa372aaf23b80273ecdc016adfb
2022-03-23 08:03:08 +00:00
Jasmine Cha
a1ed941a7a audio: update waves preset am: 63c82ed9e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17308103

Change-Id: Ia1431504dbd1d082d6537ff92591637d2e96be8f
2022-03-23 08:02:51 +00:00
William Tai
8489809c43 P22: update display blocking zone for EVT1.0
C10:
zone condition(5 nits, 5 Lux) in 120Hz
P10:
zone1 condition(20 nits) in 90Hz
zone2 condition(25 nits, 20 Lux) in 90Hz

Bug: 220878644
Change-Id: Id8c94230c070812093600f32e7326d8550794f6d
2022-03-23 07:46:02 +00:00
Jasmine Cha
63c82ed9e5 audio: update waves preset
Change List & Tuning Notes
1. Iteration to mitigate the subjective difference between
   2.5A & 1.8A(BAACL throttle) waves tunings.
2. Speaker-safe mode is updated accordingly.

Bug: 203794965
Test: manual test (b/203794965#comment13)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I1a1ebd5a3080c7ea93d5592d82d78533d01103cc
2022-03-23 05:08:51 +00:00