Commit graph

488 commits

Author SHA1 Message Date
David Li
b67a58e3e9 audio: Merge telephony tuning tables
Handset:
Optimizing noise suppression for better performance

Handsfree:
Fix the kid's voice issue(the same issue reported from C10 P10) - P0
Reducing current peak of speakerphone to avoid trigger BATOILO frequently - P1
Finetune downlink performance of speakerphone to mitigate hissing speech - P1

Headset:
Leverage uplink setting from handsfree for headphones and TTY-VCO scenario

Files from the latest attachment on b/275032306

Bug: 275032306
Test: verified by huangsean@
Change-Id: I249e8d91d4be87db167d008c1dc8a6bb777f0802
2023-03-28 13:32:43 +08:00
TreeHugger Robot
34e623f4c7 Merge "Camera: Lower CPU min frequency for GCA_CAMERA_SHOT_ALLCPU" into tm-qpr-dev 2023-03-27 23:42:00 +00:00
Jasmine Cha
a65b291e37 audio: update spatial audio tuning
1. Update spatial tuning profile to match transaural filter for QPR3 feature drop.
2. Update volume curve for DTMF & system sound for smooth loudness changes.

Bug: 275015500
Test: manual test from b/275015500#comment2

Change-Id: I197dc992b03b16b101f19a81b112e43568166526
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-24 16:45:04 +08:00
Andy Hung
7d81772064 Merge "Disable transaural spatialization by default" into tm-qpr-dev 2023-03-21 17:53:51 +00:00
Andy Hung
3fd0902831 Disable transaural spatialization by default
Test: see bug
Bug: 270980127
Change-Id: I9b5d1ef66f7740c986f7bc037db2ef516719c7c1
2023-03-16 22:01:48 -07:00
TreeHugger Robot
590e16b121 Merge "Camera: Add the property to raise the thermal severity to moderate for CPU throttling." into tm-qpr-dev 2023-03-16 05:40:08 +00:00
Jasmine Cha
242b5bd885 Merge "audio: support spatial audio for folded mode" into tm-qpr-dev 2023-03-16 01:07:09 +00:00
Mao Lee
e6c84ed36e Camera: Add the property to raise the thermal severity to moderate for CPU throttling.
Bug: 269029244
Test: GCA, CTS
Change-Id: Iad53f94f55c8cd4998339fb8e1103dd9d1a9fc90
Merged-In: Iad53f94f55c8cd4998339fb8e1103dd9d1a9fc90
2023-03-15 08:08:48 +00:00
Nicolò Mazzucato
3029b6ee68 Merge "Increase keyguardDrawnTimeout to reduce fold->AOD flickers" into tm-qpr-dev 2023-03-13 19:39:51 +00:00
pointerkung
dabbb43dbf Camera: Lower CPU min frequency for GCA_CAMERA_SHOT_ALLCPU
Bug: 272483004
Test: Build pass
Change-Id: I8f5a9c5459913de33dad957c939b8f51cc832119
2023-03-13 13:46:14 +08:00
Bill Yi
200dfcc129 Add UwbVendorService blobs to Felix
TEST: make and flash
BUG: 268260164
Change-Id: I430748e8c96d7f06cf1f86425fdb93ed3c5bcf9e
2023-03-10 14:49:14 -08:00
Nicolo' Mazzucato
628167f508 Increase keyguardDrawnTimeout to reduce fold->AOD flickers
This is a temporary measure to decrease the chances of flickers when folding to aod, while we work in parallel to decrease latency.

According to ww metrics, Fold to AoD takes:

p50: 714ms
p89: 1020ms
p95: 1147ms
p99: 1577ms

Once we hit the keyguard drawn timeout, the screen is turned on . However, in some cases sysui and launcher are not ready, and this results with the screen on while showing the unfolded layout, with a rapid transition to the folded one (according to pitot data[1], this happens in 11% of the fold->aod).

This cl sets the timeout to 1700ms (slightly higher than p99). In this way, the chances to have flicker are greatly reduced, but the underlying latency problem remains.
In parallel, we're looking to decrease this latency (see bug).

[1] https://screenshot.googleplex.com/9gV9nEfpstkJmCt

Bug: 243015678
Test: fold->aod many times, no flicker.
Change-Id: I0738901279136dd7577016a3ba46dc4c5b9a86f1
2023-03-10 08:26:16 +00:00
TreeHugger Robot
4346d16968 Merge "Persist the nit brightness for the default display" into tm-qpr-dev 2023-03-09 15:11:33 +00:00
Piotr Wilczyński
0af89589cf Persist the nit brightness for the default display
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.

Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
Merged-In: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
2023-03-09 11:36:06 +00:00
Weizhung Ding
54d838fdb8 Merge "extend lux/brightness mapping table" into tm-qpr-dev 2023-03-09 09:54:45 +00:00
Jasmine Cha
a0db6cef77 audio: support spatial audio for folded mode
Bug:272379558
Test: build pass

Change-Id: Ie1d8dcc2b88a8f1557f2c8f01b250652daf896c8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-09 11:52:45 +08:00
TreeHugger Robot
ec6b98b69f Merge "thermal: Increase "I" to have better control at target temperature" into tm-qpr-dev 2023-03-09 03:40:39 +00:00
Jimmy Shiu
4726366a11 Merge "powerhint: Boost GPU(302000) by 1st frame" into tm-qpr-dev 2023-03-08 18:17:03 +00:00
TreeHugger Robot
466cc0eda0 Merge "audio: update playback tuning" into tm-qpr-dev 2023-03-08 10:18:12 +00:00
TreeHugger Robot
2ab0eff806 Merge "Camera: Force front camera always binning for 720P or less" into tm-qpr-dev 2023-03-08 10:05:49 +00:00
Jasmine Cha
afefe55e05 audio: update playback tuning
<Change List>
1. Optimize playback tuning to reduce overall power and meet thermal requirement.
2. Volume cuve tuning for media playback, notification, alarm and ringtone

<Validation Results>
Basic function Regression
Pass TMO thermal test

Bug: 269818309
Test: manual test from b/269818309#comment20

Change-Id: I06e6f351dab40d81053bb1bfc4af5f097ad6d1f4
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-08 16:22:10 +08:00
TeYuan Wang
c809762ffa thermal: Increase "I" to have better control at target temperature
Bug: 269730273
Test: Charge device and confirm thermal log
Change-Id: I6aa02a7963359dd9f75be251f51c4a96da3a3eb7
2023-03-07 22:50:30 +08:00
timothywang
0277cb2ad3 Do not use sensor output ratio in itp output
Add a property to avoid using sensor output ratio as the itp output
ratio.

Bug: 263851685
Test: GCA, CTS
Change-Id: Ie511989e934fd033e6f375c85675ad9b26de55d4
Merged-In: Ie511989e934fd033e6f375c85675ad9b26de55d4
(cherry picked from commit d5b8e01365)
2023-03-07 09:21:03 +00:00
Jimmy Shiu
ee538e6ebc powerhint: Boost GPU(302000) by 1st frame
Take ADPF_FIRST_FRAME hint to boost the GPU freq to 302000

Bug: 243025173
Test: Manual
Change-Id: Iac5c503e6fd8f19f0252b65f9ef10ed82b3ed378
Merged-In: Iac5c503e6fd8f19f0252b65f9ef10ed82b3ed378
2023-03-07 01:16:29 +00:00
Weizhung Ding
2e9591f5b3 extend lux/brightness mapping table
extend lux/brightness mapping table to support 1200nits

Bug: 270673324
Test: brightness level can be 100%
Change-Id: Ie77e797fa5f4a860f8fdd6c84379819dd870192d
2023-03-06 12:43:04 +00:00
NT Tsai
25f4d660db Merge "thermal: register sensor for thermal diff between right and left inner display" into tm-qpr-dev 2023-03-03 13:29:37 +00:00
pointerkung
d7ee05dd79 Camera: Force front camera always binning for 720P or less
Bug: 271241073
Test: Build pass
Change-Id: I519925dd475283d1d5938e26c3b5389a4e9ee03c
2023-03-03 17:30:07 +08:00
TeYuan Wang
e6898a29f3 thermal: register sensor for thermal diff between right and left inner display
Bug: 260663676
Test: adb shell dumpsys thermalservice | grep INNER-PANEL-DIFF
Change-Id: I0c1528dab395302d3ccdb84022bc1d7bec9bbf5f
2023-03-03 09:36:34 +08:00
Wei Wang
3587b2707a Merge "thermal: increase the throttling speed for BIG cluster" into tm-qpr-dev 2023-02-24 22:26:30 +00:00
Wei Wang
ffa79ad7a6 Merge "thermal: more aggresive dex2oat throttling" into tm-qpr-dev 2023-02-24 22:26:30 +00:00
David Li
4e454fff1b audio: Merge telephony tuning tables
1.Handset
- Fine tune frequency response for the telephony report of T-Mobile.

Files from the latest attachment on b/270290106

Bug: 270290106
Test: verified by huangsean@
Change-Id: I0cd7c9eb2eadfe93b295f1669103ac36eb477026
2023-02-22 16:41:45 +08:00
MingChe Chiang
1dc9def84d Reveal model/make name in camera EXIF
Bug: 261536897
Test: Check EXIF data from JPEG image, CTS
Change-Id: I142b0460b3c6a489e068e23a91f4b3a3f1a77ba9
2023-02-21 07:34:15 +00:00
Weizhung Ding
e64606ae07 Merge "disable dimming on display1" into tm-qpr-dev 2023-02-21 07:20:27 +00:00
TreeHugger Robot
ce86ce1e91 Merge "Revert "Revert "audio: enable speaker spatializer""" into tm-qpr-dev 2023-02-20 17:48:50 +00:00
Andy Hung
28b152002c Revert "Revert "audio: enable speaker spatializer""
This reverts commit dd8978fef5.

Reason for revert:  Was disabled for Device release, now reenabling for QPR3 release

Change-Id: I6d627cffad8b2201b33d1c2ea4479a12ee778551
Test: Treehugger
Bug: 269911166
2023-02-19 21:50:19 +00:00
TeYuan Wang
38f717943a thermal: increase the throttling speed for BIG cluster
Bug: 267841021
Test: Run burn8 and check the CDEV state
Change-Id: I50f9014d09fdf64dac97f66541056d05cad269cf
2023-02-18 12:49:14 +08:00
Andy Hung
a1ec076e3b Merge "Revert "audio: enable speaker spatializer"" into tm-qpr-dev 2023-02-17 16:53:25 +00:00
Chase Wu
3773a2f4e3 Merge "cs40l26: change property tag to vendor" into tm-qpr-dev 2023-02-17 16:05:22 +00:00
Weizhung Ding
b6f3abe702 disable dimming on display1
Bug: 268291542
Test: switch between NBM and HBM
Change-Id: I115b268e4506d7f20852dc1e0b48c3ded6559a1e
2023-02-17 16:39:12 +08:00
Rick Yiu
6011bed809 Merge "Change CAMERA_CAPTURE_CPU_THROTTLE setting" into tm-qpr-dev 2023-02-17 08:20:02 +00:00
Chase Wu
876c33ffe6 cs40l26: change property tag to vendor
PRODUCT_PRODUCT_PROPERTIES was defined in system scope, so
it would be replaced when device was flashed to another
system image.

Bug: 263065317
Test: flash GSI image and test haptics
Change-Id: Ib466e66bddd6f38cbefe280198e27edb8140c62c
2023-02-17 15:02:15 +08:00
TeYuan Wang
9fab91e5ed thermal: more aggresive dex2oat throttling
Bug: 267841021
Test: Build and boot on device
Change-Id: Ic8356a391fc21af070c6700a310b0975b3ee5a56
2023-02-17 13:00:55 +08:00
TreeHugger Robot
13ad7d9242 Merge "uwb: update uwb calibration for F10 RC build" into tm-qpr-dev 2023-02-17 03:25:53 +00:00
Andy Hung
dd8978fef5 Revert "audio: enable speaker spatializer"
This reverts commit f573970502.

Reason for revert: Disable for device launch.

Test: Transaural spatialization removed from settings.
Test: 5.1 audio on speaker goes through regular downmix / MixerThread.
Test: Binaural spatialization works, enabled on HBO Max and 5.1 file playback.
Test: Regular audio playback works as expected.
Bug: 269650006
Change-Id: Ib5a086d752a85f59c22e164a142e782f76883936
2023-02-16 22:44:54 +00:00
Yung Ti Su
8bd6de0c45 Merge "audio: Merge telephony tuning tables" into tm-qpr-dev 2023-02-16 16:26:13 +00:00
TreeHugger Robot
165b83b795 Merge "thermal: more aggressive charging throttling" into tm-qpr-dev 2023-02-16 10:55:33 +00:00
Amy Hsu
9371b94685 Merge "display: remove the blocking zone for HBM HDR in config" into tm-qpr-dev 2023-02-16 09:53:06 +00:00
Speth Chang
f8d83a789f Merge "Don't crash camera when received csis link error interrupt" into tm-qpr-dev 2023-02-16 08:10:45 +00:00
Yung Ti Su
d81d9122cd audio: Merge telephony tuning tables
1.Handset
- Fine-tune AMS performance(AMS on only).
- Fine-tune the downlink performance for some failure items in objective test.
2.Handsfree
- Fine-tune AMS performance(AMS on only).
- Implement the tuning workaround for the known issue(Kid's voice).
3.Headset
- Leverage Handsfree uplink setting to TTY-VCO and Headphones.

Files from the latest attachment on b/269447151

Bug: 269447151
Test: verified by huangsean@
Change-Id: Ic65b8dc23c9f49c304b811939c8390c59bbec48b
2023-02-16 13:37:58 +08:00
Rex Lin
69df0c4027 uwb: update uwb calibration for F10 RC build
Bug: 269390003
Test: local build pass
Change-Id: Iaf7480e173498a62d56a5db9c3f9930160dbbc45
Signed-off-by: Rex Lin <rexcylin@google.com>
2023-02-15 18:35:03 +08:00