Commit graph

308 commits

Author SHA1 Message Date
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
46546e2e2c display: update the indoor auto-brightness curve
Modified the indoor range mapping in
the indoor auto-brightness curve.

Bug: 200227638
Test: check the default curve
Change-Id: I7b9219023fabdefe05cb910666c0e0ff998ed06c
2022-05-24 07:21:14 +00:00
Darren Hsu
3c30a321f7 powerstats: update display resolution setting
Since runtime resolution switching is enabled, the specific device
supports to run QHD displays at lower FHD resolutions. So we should
support both QHD/FHD resolution settings in PowerStats HAL.

Bug: 232313626
Test: dump power stats at QHD/FHD resolutions
Change-Id: I46a45c078da146a8ecbeb49af4765771a2c0b651
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-05-23 17:29:33 +08:00
Sayanna Chandula
6d769090c0 thermal: update virtual coefficients per v0.6
Update C10 virtual coefficients as per v0.6. No changes for P10

Bug: 232303785
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I2662aba527265d67acb1f5237e550eff75347ca8
2022-05-20 18:58:12 +00:00
chungkai
a51ef227dc powerhal: add uclamp_threshold and reduce_prefer_idle node
we need disable uclamp_threshold and reduce_prefer_idle
under launch scenarios.

Bug: 232593932
Test: build pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I4b1f1fa04ee7c89f25500df74db49ad2fb67b2cb
2022-05-20 18:19:35 +00:00
Rick Yiu
9890703eea Boost foreground group when app launch
To improve app launch time.

Bug: 233236422
Test: build pass
Change-Id: I308aaf3133136b13fd71cdc3a60a1665e3483654
2022-05-20 17:26:34 +00:00
jonerlin
bb92719a89 Add IBluetoothExt interface and hci_inject tool in user debug build am: 9170bc5507
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525124

Change-Id: I9fcb2c5bbfea339ebb70a24f589baace72bad09d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 12:20:48 +00:00
Bill Lin
fdf0d5d091 Add quickpickup sensor to config.xml am: 21240c5ca5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18401597

Change-Id: Id1a42287c84ddb275dcc259ce2d1214b349a0e8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 12:20:20 +00:00
jonerlin
9170bc5507 Add IBluetoothExt interface and hci_inject tool in user debug build
Bug: 228943442
Test: manually
Change-Id: Ib3ca868ce4d3eebe7c9a5f9e33ceab3f9a9b9a41
2022-05-20 05:06:29 +00:00
George Chang
bb799dac25 Reset ST54K eSE every time at boot
Bug: 232204531
Test: check eSE reset process starts at boot
Change-Id: I874a3d5dbf50167aa02e57362dd2cd8a4a79cfe2
2022-05-19 17:55:33 +00:00
Andy Hsu
e0a1e92653 Create the GPU powerhint settings for streaming.
Bug: 229794313

Test: Updated Lyrics in ag/18192655, updated the powerhint files on local C10 (EVT1.0f, ab/8559183), switched to video bokeh prewview and saw 572000 in /sys/devices/platform/28000000.mali/hint_min_freq.

Test: Checked the latency in video bokeh preview. the total latency of video bokeh node improved from 33.96ms to 26.93ms.

- tested scene: https://cnsviewer2.corp.google.com/cns/qj-d/home/pixel-camera-data-readers/acat/hwandy/ag/18192655/PXL_20220512_035931033.mp4?user=pixel-camera-data-readers.
- timer after: https://cnsviewer2.corp.google.com/cns/qj-d/home/pixel-camera-data-readers/acat/hwandy/ag/18192655/timer_after.txt?user=pixel-camera-data-readers.
- timer before: https://cnsviewer2.corp.google.com/cns/qj-d/home/pixel-camera-data-readers/acat/hwandy/ag/18192655/timer_before.txt?user=pixel-camera-data-readers.

Change-Id: I6272f9769441702004299060808b0ccfc18b1caa
2022-05-19 16:36:42 +00:00
Victor Liu
438c0854bb uwb: calibration file update
Fix C10 AoA polarity by modifying LUT in config file

Bug: 233072004
Change-Id: Ic163f03efa14f3af38fff92902241cd09516546f
Signed-off-by: Victor Liu <victorliu@google.com>
2022-05-18 20:24:09 +00:00
Wei Wang
af0111f5ef Remove FPS based hints for TA boost
Bug: 205369368
Test: Build
Change-Id: I063f8aa6d77b966d50d11c0135880ff787870e07
Signed-off-by: Wei Wang <wvw@google.com>
2022-05-17 16:06:14 +00:00
Bill Lin
21240c5ca5 Add quickpickup sensor to config.xml
Test: manual enable AOD and verify quick pick up gesture
Bug: 232717890
Change-Id: I5ae6f871168368e351a64a9f4337c83d14f4ecca
2022-05-17 17:41:02 +08:00
Jimmy Shiu
392b34f0f1 ADPF: remove UclampMin_Granularity
No need to prevent uclamp.min update rate by Granularity.
There is no perf impact.

Bug: 232336917
Test: /data/nativetest64/libperfmgr_test/libperfmgr_test
Change-Id: I535a57b68da9e9b37f4126e46d0410ccb410be46
2022-05-16 16:33:38 +00:00
Wei Wang
f7db19164e Add FGPreferIdle to app launch
Bug: 178016953
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I2e1a2ad5b412825f306c44e80946a1086afd7571
2022-05-14 03:00:49 +00:00
Yichi Chen
5f25a289f7 [RRS] Enable RRS in FHD+ by default
The impact of the change only aims to users who have never configed RRS
and those who do factory reset themselves.

Bug: 232536153
Test: factory reset the device and check RRS setting in FHD+
Test: configure RRS and check the config is stored after rebooting
Test: disable smooth display and check the expected refresh rate
Change-Id: I01c46ac2566f0b060fcf23a092601f05bbf568cb
2022-05-14 00:34:22 +00:00
Jing Ji
97125e45f9 Turn on auto restricted bucket on abusive bg battery usage am: 0496799caa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18337180

Change-Id: I6f6b08e87745df739ded6a62b61802eb2cf0ffd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 18:21:08 +00:00
Jing Ji
0496799caa Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.
Bug: 203105544
Test: dumpsys activity -a

Change-Id: I1c841edbbcea6cd37e1495abd95a9b55ead5babc
2022-05-13 18:01:56 +00:00
TeYuan Wang
0b07b217f9 thermal: correct the sensor settings in thermal config
Bug: 222577017
Bug: 228789757
Test: emul_temp and confirm the thermal log
Change-Id: I772dc36d0667e0f5c8b6473f9e3f158c36388039
2022-05-13 16:48:41 +00:00
Labib
85041b0d6c Update Coex table for P22 devices am: 2e72a472d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18235094

Change-Id: Ibb9a7faabdb7b3de902550bb866d9e7e9df0388e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 09:36:11 +00:00
Carter Hsu
05bec92030 audio: update Fortemedia VoIP condition to reserve2
1. P10 HA Generic tuning optimize for EVT1.1
2. C10 HH NB/WB/SWB mic hardware adjustment for EVT1.1
3. P10C10 HH/HE:
    (1) Modify to mono channel in reserve2
4. Align same parameter
     (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
     (2) Handsfree RX to HCO RX

Bug: 232349071
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1db35a5f7526c2dcb2c73997a92f0e9bc9966fa
2022-05-13 09:04:41 +00:00
Rick Yiu
9754eca154 Disable task packing when camera is running
Task packing has slightly impact for camera performance, so disable
it when camera is running.

Bug: 231074255
Test: build pass
Change-Id: Ic375103d4f7200dbceb013495c127e4a38d84654
2022-05-13 04:29:44 +00:00
Sayanna Chandula
d16aa14df0 thermal: update usbc overheat mitigation thresholds
Update C10 USBC overheat mitigation thresholds.

Bug: 222577017
Test: Build and boot on device.
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I1799774b495bb44c5f2cf4cbe67c92a231f6333d
2022-05-12 23:24:19 +00:00
Taeju Park
c39a9ea13a Add a powerhint node for pmu poll enable
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I7f192402d9a4d3ad9374a0c1723740f67a0e7ff5
2022-05-12 22:38:18 +00:00
Long Ling
b6636294d7 display: fix hbm hdr at 60 hz
Bug: 229942385
Change-Id: Id20fbbb4bad5885613843a46df16db39eef350a9
2022-05-12 17:51:14 +00:00
kuanyuhuang
ea734c0a8c A2DP enable AAC-VBR by default am: c46436faa5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18231682

Change-Id: I5b2c62ef0f8f66f544215b6edeedbdb63d5a794a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:02:31 +00:00
Robert Lee
363fbe88dd audio: update speaker protection bin files
Change list:
1.Set fallback value for repair center(not impact tuning)

Bug: 199029784
Test: Builds
Change-Id: Ia58aec716eb697d483a25f00e5244a3ea8ee8e70
Signed-off-by: Robert Lee <lerobert@google.com>
2022-05-12 12:08:05 +00:00
Robert Lee
0e03e0ac19 audio: update speaker protection bin files
Change list:
1.Set fallback value for repair center(not impact tuning)

Bug: 198765357
Test: Builds
Change-Id: I9c68a737ea1854e458e3b57b47a1c227a4f4a4bd
Signed-off-by: Robert Lee <lerobert@google.com>
2022-05-12 12:08:02 +00:00
Carter Hsu
f0264e1130 audio: update camcorder tuning
Refine AZ and Surround recording parameters and related IIR2 tuning

Bug: 232162570
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I2cc34f9fd106578a4e2693b5183aa8879cf70465
2022-05-12 01:44:54 +00:00
Wei Wang
f3e165b812 Boost INTERACTION to 185 and remove DISPLAY_UPDATE_IMMINENT
Bug: 205369368
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie70272c7f7df3ae0c056b7672cd2689966c50522
2022-05-11 22:02:08 +00:00
Labib
2e72a472d3 Update Coex table for P22 devices
Bug: 206337456
Test: Manual
Change-Id: I6c38ac3f62816f20315a6df380b657369aba3496
2022-05-12 04:28:51 +08:00
Edwin Tung
3ce76b71a6 Revert "gps: enable GNSS PPS feature"
Revert submission 17983790-p22-gnss-pps

Reason for revert: b/230265527 shows PPS malfunction impact gps location report. We need to disable PPS until PPS function fully functionality and robust.

Bug: 230265527

Reverted Changes:
I8d2abd38f:gps: enable GNSS PPS feature
I49f82c17e:gps: enable GNSS PPS feature

Change-Id: I4744d922469a6087122e4c0c20c0436e2a15a9fe
2022-05-11 08:49:29 +00:00
David Li
d0f673ce10 audio: add dynamics processing effect to audio_effects.xml
Bug: 215662726
Test: YTMusic with adaptive audio
Change-Id: I1346de62a2e1425250583d7bc1365ffa72353ee6
(cherry picked from commit 9e36616a4d)
2022-05-11 06:59:43 +00:00
wenchangliu
885e1840d8 c10p10: Enable media performance class 13
Bug: 229938655
Bug: 231176609
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testCameraPerfClassCharacteristics
Test: atest CtsFileSystemTestCases
Change-Id: Iec4eac3a3148b8ca6eefdf23151a146ab26ec596
2022-05-11 03:29:18 +00:00
Carter Hsu
a4d7b2d49d audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I311a292f3ab22c46417c9e62c0c5116c15368398
2022-05-11 03:00:58 +00:00
Rick Yiu
a77bbf588c Disable packing when app launch
Task packing may hurt app launch time, so disable it when app launch.

Bug: 201259891
Test: hint works
Change-Id: Ia28e96a25bbb82c74a3c9761a89683b2cc05938c
2022-05-10 14:28:01 +00:00
William Tai
e677888bdb display : update color data file
Update disply color data for LHBM.

Bug: 228920395
Test: adb shell displaycolor_service 653
Change-Id: I02763f8fd204c16f545ad86c87e1c5584c69f15f
2022-05-10 06:10:45 +00:00
William Tai
79e5ff3189 display : update color data file
Update disply color data for LHBM.

Bug: 228920164
Test: adb shell displaycolor_service 653
Change-Id: Idcc7875c86d8120d9e9b4afa03b2c72ad3f16739
2022-05-10 06:10:45 +00:00
William Tai
f1aa3d02b8 display : update color data file
Update disply color data for LHBM.

Bug: 228919808
Test: adb shell displaycolor_service 653
Change-Id: I99066ac7e984332524494e8ab99816e678781652
2022-05-10 06:10:45 +00:00
Carter Hsu
0fd0fc935b audio: adjust the digitial gain for speaker-mic
add mic gain on path "speaker-mic" from 0 to 22

Bug: 231909998
Test: mmap record
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I66de7c52c29ec3434a5cbed1799029fa5be05f71
2022-05-10 04:00:32 +00:00
Jasmine Cha
00a456a976 audio: update waves related settings
1. add throttle sensor info for waves module.
2. use default custom action for unsupported projects.

Bug: 230280648
Test: adb shell audio_waves_custom_actions_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I71aa59a43b11e7a57834e44da6793b2cfa7c76ed
2022-05-10 01:31:03 +00:00
Wei Wang
87f9dffa44 Boost GPU to 572MHZ for Expensive Rendering
Bug: 230427792
Bug: 222716856
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ice6f569f1c93d03d706e099fe14420fb2da78f1b
2022-05-09 20:27:38 +00:00
kuanyuhuang
c46436faa5 A2DP enable AAC-VBR by default
AAC-VBR is more prefered than AAC-CBR for A2DP playback.

Bug: 200101304
Bug: 229939538
Test: dumpsys bluetooth_manager
Change-Id: I8930fdf383a4bbe481371b4aa4379f554bb9bd15
2022-05-09 11:26:52 +00:00
Jasmine Cha
4eb6a4ed65 Revert "Revert "audio: enable thermal throttle""
This reverts commit e49bc9478a.

Reason for revert: to be merged with  ag/18185769

Change-Id: I746f0b2fc5094653a373835d0c2d048bcca54ae5
2022-05-09 06:15:44 +00:00
George Lee
8794415291 thermal: BCL policy for BATOILO
Re-enable BATOILO throttling for GPU/TPU to combat over current use
case.

Bug: 231484774
Test: Boot and confirm brownout mitigation for synthetic load
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia46ffd4bb2f5c246f48971aa8d4622b203bef1e7
2022-05-06 20:55:24 +00:00
Jasmine Cha
e49bc9478a Revert "audio: enable thermal throttle"
This reverts commit 59354f550b.

Reason for revert: disable first

Change-Id: I3d74311bc66476e259018a1bc62cf0433ba5c165
2022-05-06 04:18:05 +00:00
Jasmine Cha
59354f550b audio: enable thermal throttle
Bug: 229819466
Test: build pass, voip hands-free mode
      atest --host acoustic_shock_test
      atest --host thermal_throttle_test
      atest --host libaudiohardwarefeatures_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I3d75e88a977ce5a2e2b08ef92894d9c5da7eb04c
2022-05-06 02:29:47 +00:00
Victor Liu
4974196267 uwb: update calibration
add missing parameters for antenna pairs

Bug: 229426438
Signed-off-by: Victor Liu <victorliu@google.com>
Test: TH test comms/uwb/presubmit_2_cheetah
Change-Id: Ic7ddfa539ee85c4cfdec099767e322d1dd1742bf
2022-05-05 19:56:51 +00:00
Isaac Chiou
72652908ce Remove PixelWifiOverlay2022 from factory build
With PixelWifiOverlay2022 in factory build, the overlays can be loaded
properly. Remove PixelWifiOverlay2022 and only add for normal build.

Test: overlays can be read properly in both normal and factory build
Bug: 228415213
Change-Id: I1ac9d8c020c6030e8a6f9759ae761e342adc956f
2022-05-05 17:31:03 +00:00