Commit graph

281 commits

Author SHA1 Message Date
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
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
samou
53a6f56c31 power_profile: Correct CPU topology and update power number
Bug: 219870109
Signed-off-by: samou <samou@google.com>
Change-Id: I45b40c4f2f1942d7246d5dbc5fdb237a6ecc571c
2022-05-05 08:02:06 +00:00
Kris Chen
2f6ddb4ed3 c10p10: Enable LHBM control from UDFPS HAL
Bug: 229716695
Bug: 224573604
Test: build and test fingerprint on device.
Change-Id: I8e3945bc8c99aae024f0304912419ce0d2820de3
2022-05-05 02:03:43 +00:00
William Tai
f669d8b42e display: add primary display LHBM property
Add primary display LHBM frames to reach peak brightness property.

Bug: 224573604
Test: perfetto
Change-Id: I55b85dff319fa95be6ee33c7286eca1c0a042407
2022-05-05 02:03:43 +00:00
Roger Wang
8e0b72691c wlan: Disable 6GHz softAp
Driver actually does not support 6Ghz softAp at
current version. Hence, disable it

Bug: 231384422
Test: SoftAp can be enabled
Change-Id: I5433e05dd3cabb3f345c442522f9870a979939c6
2022-05-04 15:47:40 +08:00
Andy Hsu
a039035efc Add a new powerhint mode to boost GPU in shots on P22.
In P22 (Pro), there is no scaling_min_compute_freq (b/228921300) and under STREAMING_STANDARD setting GPU min frequency is 302000 which is smaller than scaling_min_compute_freq 471000 on P21 (Whi).

In addition, on Pro GPU we expect 25~30% slow down in the same frequency compared to Whi.

To boost the performance of GPU for shots on Pro, we add a new powerhint mode GCA_CAMERA_SHOT_GPU_EXTREME which raises the GPU frequency to the maximum.

Bug: 230289913.

Test: Pushed to local C10 (EVT1.0, go/ab/8471717) and test with cl/444178649 (trace: https://ui.perfetto.dev/#!/?s=23af98f7bc1729faefb9df2c6890566d48111bc957592a7c5ffbdad87c3d2f2d)
Change-Id: Ib77bddbdac32e689120c513f38029be9eab96449
2022-05-04 06:21:01 +00:00
Wayne Lin
024bb097f2 gps: enable GNSS PPS feature
Bug: 230433240
Test: verify gnss pps time pass
Change-Id: I49f82c17e31c8face3ce4ac943d59409562771ba
2022-05-04 00:54:57 +00:00
Jasmine Cha
e18493b250 audio: update waves table
- Changes
New iteration of C10 MIX 103 for DF Merge
Full volume curve is integrated with LinkLaw for stereo playback
Reduced Sharpness of speech

CTS Validated
MPS validated w/ all stream paths, concurrencies, configurations w/ Waves Console on build:
TD1A.220406.001 (8410366)

Bug: 203817007
Test: 203817007#comment13, 203817007#comment20

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib95ccb669c8fd5369599bd530aeeb64197d18119
2022-05-03 08:57:39 +00:00
Labib
611939c678 Update Camera Coex Table am: 846d4dd0e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18030213

Change-Id: I5a6d6fecdb736f83f6c24f5002e0fe45c02625eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 05:22:35 +00:00
Sunil Ravi
12c9975eb7 WiFi: Enable radio stats aggregation
set config_wifiLinkLayerRadioStatsAggregationEnabled to true
to enable radio stats aggregation logic.

Bug: 211890916
Test: atest com.android.server.wifi.WifiVendorHalTest
Test: Manual - Dump the link layer stats and validated the results.
Change-Id: I8e5b86a917daa70d91de16b7f0a65e935e23b888
2022-05-03 00:59:30 +00:00
Victor Liu
be32d26e70 uwb: update calibrations
update default calibration
update japan specific calibration
use japan specific calibration

Bug: 229426438
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ifabe90d0b1361c64b588e032baeec49cc2184e7e
2022-05-02 16:05:55 +00:00
Roger Wang
386686b40b wlan: configure channel 149/36 as p2p preferred channels.
In previoues mechanism, p2p channel only can raise on same channel
while STA connected to 2.4GHz band. However, if device support DBS
mode, we should allow p2p to raise on 5GHz band for 230423673 higher
performance.

Bug: 230423673
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.

Change-Id: Ibe996b9d54106734492b4ea2f7b816c3c8e52dbf
2022-05-02 05:06:47 +00:00
Sayanna Chandula
d67d741f5f thermal: remove power rails from ravenclaw config
New thermal engine uses ODPM data. Since ravenclaw might not have
proper ODPM data, it can result in boot failures.

Bug: 230031671
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Id6ca70f22c841aea7a622304e0c757c93e7f55e2
2022-04-29 22:53:00 +00:00
Labib
846d4dd0e9 Update Camera Coex Table
Bug: 206337456
Test: Manual
Change-Id: I71daca44b4fe575b7039d4fabceaec73a75d80ee
2022-04-29 14:55:50 +08:00
William Tai
5df8c12d59 panther: add display high blocking zone
High blocking zone: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz

Bug: 222637975
Test: manual test
Change-Id: Iabd0409c3989cf0000030d93f70c8715eca4174a
2022-04-29 01:45:56 +00:00
Sayanna Chandula
67c54d94ae thermal: fix cloudripper boot issue
Remove power rails from the thermal configuration for cloudripper.

Bug: 230031671
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Id37dbb99745c5cfbd7db9bcaf87241f39c5bf465
2022-04-28 17:34:20 +00:00
Quang Luong
0424602e58 Enable Wifi/LTE + GPS L1 Coex
Bug: 210920670
Test: build
Change-Id: I3ced2400b22f3e18c73df46a1b0a6788e9267cb8
2022-04-28 16:55:53 +00:00
Jia-yi Chen
77913a96ed Update MIFTargetLoad default values
Bug: 223689835
Test: Boot and check values
Change-Id: Ia8f258432f289fa1cc74756cd7fc1b46bbd24806
2022-04-28 16:55:12 +00:00
Labib
6ef7054b4d Update Coex tables for Scone am: 5d65c8e320
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17957066

Change-Id: I2e54d5dc8eab5a43e73c418dc63623fff3c3354c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 17:29:19 +00:00
Wei Wang
7902961e1d Boost trusty task priority during UDFPS
Bug: 229350721
Test: UDFPS with stress
Change-Id: Iae2c76409188c388e9ff30c5951bdb3e9118301a
Signed-off-by: Wei Wang <wvw@google.com>
2022-04-26 16:47:13 +00:00
Labib
5d65c8e320 Update Coex tables for Scone
Bug: 230301121
Test: Manual
Change-Id: I3b53cd94f970b9dfa5ad0ac0d8a23175671b47bc
2022-04-26 21:31:55 +08:00
Ted Wang
06a42aef1a Switch BluetoothCcc to 1.1 version am: 621a512859
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17889204

Change-Id: I837049f278e6892554a96c40a202c6aca5358a8b
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 11:35:01 +00:00
Ted Wang
621a512859 Switch BluetoothCcc to 1.1 version
Bug: 229710243
Test: make
Change-Id: I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
2022-04-26 10:07:23 +00:00
Sayanna Chandula
1f98950323 thermal: enable thermal engine for evt1.0 devices
New version of thermal engine (Powerlink v2) uses ODPM data for
thermal mitigation. But proto devices does not support ODPM.
Currently we have disabled thermal mitigation for all A0 based
devices through a separate config, thermal_info_config_A0.json.
This change restricts using separate thermal config  only for the
proto devices and uses thermal_info_config.json for the rest.
Fix a format issue with qi-quiet sensor definition.

Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I0922e935cafe118f3437335e2a72b87aae6f6009
2022-04-25 18:20:58 +00:00
Carter Hsu
74b13c4c45 audio: update FM tuning 0422
FM table Changelist:

1. C10 HA NB/WB/SWB: fine tuning for EVT1.1
2. C10 HA NB/WB/SWB: FFP parameter update (enable)

Bug: 216258666
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia4dcb8dd19d4aaf7fa4150a3cdacb9d455994ac6
2022-04-25 07:55:16 +00:00
Jasmine Cha
844477baf8 audio: rename spk module config am: 3a50fbbc53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17856403

Change-Id: Ie07acb2eb11d7f43d05064c10a9394ef496b3fb3
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 05:11:26 +00:00
Jasmine Cha
3a50fbbc53 audio: rename spk module config
Bug: 204271052
Test: voip + speaker mode

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6aa0da65a1b1faa8be26ae8eb77a01b14d277666
2022-04-25 04:50:48 +00:00
Taeju Park
24632f9b42 powerhal: update new boost uclamp value
update new boost uclamp value since we update
cpu capacity

Bug: 224649226
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I49b38af1000ecb750acf94807547670941881b31
2022-04-22 16:02:13 +00:00