Commit graph

511 commits

Author SHA1 Message Date
Cyan_Hsieh
d13f280f80 Update Felix SVN to 8
Bug: 278035362
Change-Id: I49536497997e4c81caac6fc5eaec9de52b771863
2023-05-19 10:34:46 +08:00
Cyan_Hsieh
1b655e2c5a Update Felix SVN to 7
Bug: 278035362
Change-Id: Iac3e857c1c1bd2ceda0f111798a18daf869d8e04
2023-05-16 13:15:08 +08:00
Kame(TeYuan) Wang
745b90ab70 Merge "thermal: Adjust CLOSE-SUB1 VSKIN equation" into tm-qpr-dev 2023-05-11 03:27:20 +00:00
TeYuan Wang
faee7a6ae6 thermal: Adjust CLOSE-SUB1 VSKIN equation
CLOSE-SUB1 will cause 5 degC VSKIN correlation gap for solar loading
case, so adding a check to prevent over prediction

Bug: 280447982
Test: adb shell "echo 50000 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
      adb shell "echo 0 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
Change-Id: I3679ca4a72aa3585a0a0718013006fff54918893
2023-05-10 22:27:02 +00:00
Cyan_Hsieh
10c8e193c5 Update Felix SVN to 6
Bug: 278035362
Change-Id: I724ce2c7605594e1416fdaec12421f62bd613f7e
2023-05-08 14:54:57 +08:00
Cyan_Hsieh
3f94eb4ed4 Update Felix SVN to 5
Bug: 278035362
Change-Id: Ic56cf78d57f636326bf784e8becb7a94df6c8f5f
2023-05-04 11:36:57 +08:00
Cyan_Hsieh
b41596e4a7 Update Felix SVN to 4
Bug: 278035362
Change-Id: I024e8829db5addeb09984decbe4f7b93e304530e
2023-04-25 16:24:57 +08:00
Cyan_Hsieh
f4b0128fe7 Update Felix SVN to 3
Bug: 278035362
Change-Id: I59d8dd8f1b7dada248e5b632e991edc38d4b8764
2023-04-24 14:26:20 +08:00
Treehugger Robot
67772aee01 Merge "audio: Merge telephony tuning tables" into tm-qpr-dev 2023-04-19 09:26:00 +00:00
David Li
d3bb6acd48 audio: Merge telephony tuning tables
Handset:
[VZW] Mitigate the hissing speech on earpiece - P1

Handsfree:
[TMO] Optimize the distortion performance which is requested by T-Mobile reviewer - P1

Files from the latest attachment on b/277680627

Bug: 271600161
Bug: 257908564
Test: verified by huangsean@
Change-Id: Idf0a99bdcdbcde991de01e8bf146639245038ce8
2023-04-19 07:14:02 +00:00
Treehugger Robot
01029d1290 Merge "Update Felix SVN to 2" into tm-qpr-dev 2023-04-18 10:35:46 +00:00
Cyan_Hsieh
73a8da30c1 Update Felix SVN to 2
Bug: 278035362
Change-Id: I0901c283ee262d1317d23fbbcd64559a695fb040
2023-04-18 13:34:38 +08:00
Rex Lin
65d88aa362 uwb: update uwb calibration for F10 QPR build
Bug: 277168817
Test: local build pass
Change-Id: I57dd3824f62f94c8bbd4ea38b466c4e7fb194270
Signed-off-by: Rex Lin <rexcylin@google.com>
2023-04-07 17:35:34 +08:00
TreeHugger Robot
9c2ccbe0aa Merge "audio: QPR ver. tuning table release for Felix" into tm-qpr-dev 2023-03-31 16:13:27 +00:00
TreeHugger Robot
6200a8c45d Merge "audio: Merge telephony tuning tables" into tm-qpr-dev 2023-03-30 17:33:50 +00:00
David Li
18717395f7 audio: QPR ver. tuning table release for Felix
- Optimize MBDRC settings fox improving quality in high sould pressure level, context(b/273340713)

Files from the latest attachment on b/276210360

Bug: 276210360
Test: verified by cartercheng@
Change-Id: I76619e82be9efca6a38f00df6e338ead81d069a2
2023-03-30 16:56:42 +08:00
Kelly Zhang
7214e6edf7 Merge "Add regulation e-labels for F10." into tm-qpr-dev 2023-03-30 06:49:21 +00:00
David Li
b939b77f91 audio: Merge telephony tuning tables
Handset:
Optimizing uplink noise suppression performance for SWB
- The performance before the optimization had severe noise leakage in noisy environments(much louder than competitor), sometimes the noise was masked in near-end speech and hard to hear, which caused a bad user experience.
- Work with ForteMedia for the optimization as b/271551346

Files from the latest attachment on b/276063202

Bug: 276063202
Test: verified by huangsean@
Change-Id: Ie347214835e18a43c561166cb24c94f5062057e8
2023-03-30 12:18:13 +08:00
TreeHugger Robot
d359b24bb0 Merge "update AIDL IGoogleBattery manifest version to 2" into tm-qpr-dev 2023-03-30 03:38:10 +00:00
Kelly
b5a21ef707 Add regulation e-labels for F10.
Bug: 263742720
Test: visual
Change-Id: Ib328754d12d81f1eb26e64cfe9849cd74b067bbc
2023-03-30 10:13:07 +08:00
TreeHugger Robot
91cd5577c6 Merge "Support specific stream aspect ratio" into tm-qpr-dev 2023-03-29 09:46:36 +00:00
Erik Cheng
dcbc483a89 Support specific stream aspect ratio
Add a property to indicate if support specific stream aspect ratio.

Bug: 267702291
Test: camera checklist
Change-Id: If58826654527f62d3bdbb70d6fe5580278e4171c
2023-03-28 13:47:07 +08:00
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
Jack Wu
41b0902cce update AIDL IGoogleBattery manifest version to 2
Bug: 274701302
Test: TH
Change-Id: Ie5f652402e4d91748f7422139bf587aa9b626b43
Merged-In: Ie5f652402e4d91748f7422139bf587aa9b626b43
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from commit b2955ae224)
2023-03-28 01:03:12 +00: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