Commit graph

1595 commits

Author SHA1 Message Date
Bill Yi
7f50437d24 Add UwbVendorService blobs to Felix am: 200dfcc129 am: c1f499263b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21958489

Change-Id: I915d258f01573742c0f0470024a80880183bd530
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 17:52:20 +00:00
Bill Yi
c1f499263b Add UwbVendorService blobs to Felix am: 200dfcc129
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21958489

Change-Id: Id974fe31a7bcce239bdb70aa6ba7e21201b50d0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 17:16:50 +00:00
Patty Huang
1c95aad4ee Porting LE Audio unciast on F10.
1. Default enable LE Audio unicast on android U.
2. Enable LE Audio offload flag
3. Add the offload capability file for unicast
4. Enable LE Audio switcher flag(for developer option)
5. Enable BQR event mask for LE Audio choppy event

Bug: 273167787
Test: LE Audio unicast related services are all enabled by default
Test: Media & Phone call can stream via LE Audio SW/HW path
Change-Id: I3a09fff2191b18ed90c782ab2c8e76a032950cb4
2023-03-13 19:27:46 +08:00
TreeHugger Robot
b68d4ab8d2 Merge "[NFC] Add antenna position coordinates" into udc-dev 2023-03-13 06:59:14 +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
Android Build Coastguard Worker
f9cb1f015c Snap for 9719949 from 09101e36ed to udc-release
Change-Id: Ib8574a5660f239697def66a0bd00e40d290f1835
2023-03-10 02:07:11 +00:00
TreeHugger Robot
09101e36ed [automerger skipped] Merge "Persist the nit brightness for the default display" into tm-qpr-dev am: 4346d16968 am: e67b8add38 -s ours
am skip reason: Merged-In I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7 with SHA-1 e00b9fb531 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21464744

Change-Id: I75fa5d44cf27349ca49d2c8c79de72d49d6144e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:58:18 +00:00
TreeHugger Robot
e67b8add38 Merge "Persist the nit brightness for the default display" into tm-qpr-dev am: 4346d16968
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21464744

Change-Id: I89c14aa015cb61b2efbb55cd5c7a8d164c943322
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 15:58:23 +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
George Chang
98975398c6 [NFC] Add antenna position coordinates
Bug: 272406680
Test: manual
Change-Id: I5a58dd5cfb603f977dc4ded8617c6ca7f67b1663
2023-03-09 13:31:28 +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
ab4ddf458e Merge "extend lux/brightness mapping table" into tm-qpr-dev am: 54d838fdb8 am: ff35776872
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21695292

Change-Id: Ibc7069db1a0393f30c4eb2e2bd0b502a0cf0aee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 11:12:39 +00:00
TreeHugger Robot
0471d19f34 Merge "Persist the nit brightness for the default display" into udc-dev 2023-03-09 11:05:57 +00:00
Weizhung Ding
ff35776872 Merge "extend lux/brightness mapping table" into tm-qpr-dev am: 54d838fdb8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21695292

Change-Id: If9369bfbf2875f147a0890bc47655e05aba08c03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 10:38:20 +00:00
Weizhung Ding
54d838fdb8 Merge "extend lux/brightness mapping table" into tm-qpr-dev 2023-03-09 09:54:45 +00:00
Adam Shih
4d1ce0ac23 Merge "include second panel dump" into udc-dev 2023-03-09 05:09:27 +00:00
TreeHugger Robot
54cd445ac7 Merge "thermal: Increase "I" to have better control at target temperature" into tm-qpr-dev am: ec6b98b69f am: ede182bb7a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21475631

Change-Id: I07c9c8e1bc73e8776ee445197e79417341fe77c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 04:52:56 +00:00
TreeHugger Robot
ede182bb7a Merge "thermal: Increase "I" to have better control at target temperature" into tm-qpr-dev am: ec6b98b69f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21475631

Change-Id: I9362cb3ad9938c385969d7a9a8f578e8a4c4b50c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 04:19:07 +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
Android Build Coastguard Worker
deaa9421e3 Snap for 9712464 from 20104b6d0c to udc-release
Change-Id: I013af3bec8a4724008a9964c0aafd8d23c67d62f
2023-03-09 02:02:59 +00:00
Adam Shih
7eb7fefb60 include second panel dump
Bug: 269212897
Test: adb bugreport
Change-Id: Ia81bcc3e0ba945fd7d743b16e6fab5dc3a1eee4c
2023-03-09 07:30:16 +08:00
Jimmy Shiu
20104b6d0c [automerger skipped] Merge "powerhint: Boost GPU(302000) by 1st frame" into tm-qpr-dev am: 4726366a11 am: 57e346f26c -s ours
am skip reason: Merged-In Iac5c503e6fd8f19f0252b65f9ef10ed82b3ed378 with SHA-1 4e0918a63c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21502122

Change-Id: I0e473469e71983d9b6e934ad5c1969ca49dbdd90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 19:26:32 +00:00
Jimmy Shiu
57e346f26c Merge "powerhint: Boost GPU(302000) by 1st frame" into tm-qpr-dev am: 4726366a11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21502122

Change-Id: I3e404a01cc0717c3152e54b1eec8fc00b9a837b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 18:55:01 +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
Piotr Wilczyński
e00b9fb531 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
2023-03-08 18:03:44 +00:00
TreeHugger Robot
75c6203d4c Merge "audio: update playback tuning" into tm-qpr-dev am: 466cc0eda0 am: 1132a472f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21894983

Change-Id: I3473e36be53657e769b0585e9dffc2ea4d0c7185
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 11:14:12 +00:00
TreeHugger Robot
b50f8c289d Merge "Camera: Force front camera always binning for 720P or less" into tm-qpr-dev am: 2ab0eff806 am: d2c8e9cd82
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21701945

Change-Id: If386d241eae1c55dfaf1dc2e6413127e9e92b0f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 11:12:14 +00:00
TreeHugger Robot
1132a472f0 Merge "audio: update playback tuning" into tm-qpr-dev am: 466cc0eda0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21894983

Change-Id: If83ecca7b824250e5e7a9760c099e74da72656be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 10:43:12 +00:00
TreeHugger Robot
d2c8e9cd82 Merge "Camera: Force front camera always binning for 720P or less" into tm-qpr-dev am: 2ab0eff806
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21701945

Change-Id: I1a36a5cf9438a0d3457e081e8a6b0825a62cddb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 10:42:15 +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
timothywang
b43e38a419 [automerger skipped] Do not use sensor output ratio in itp output am: 0277cb2ad3 am: c1b9e8baf2 -s ours
am skip reason: Merged-In Ie511989e934fd033e6f375c85675ad9b26de55d4 with SHA-1 d5b8e01365 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21806836

Change-Id: I77fedc26fc89d7c1ac4fdbb8ccf503682689887c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 07:15:08 +00:00
timothywang
c1b9e8baf2 Do not use sensor output ratio in itp output am: 0277cb2ad3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21806836

Change-Id: I7bd7e580a6b4af0851ef540a1ad346c7275fb652
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 06:44:04 +00:00
Android Build Coastguard Worker
05024780a4 Snap for 9705326 from 40b923bb9d to udc-release
Change-Id: I8c60bb0be1fd351efc16339af1b6dda4f6350c62
2023-03-08 04:02:43 +00:00
Suprabh Shukla
7874e46b6f Merge "Add device map for wakeup attribution to felix" into udc-dev 2023-03-07 23:29:56 +00: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
Timothy Wang
40b923bb9d Merge "Do not use sensor output ratio in itp output" into udc-dev 2023-03-07 09:18:07 +00:00
Tai Kuo
11885f397e Merge "vibrator: update OWNERS" into udc-dev 2023-03-07 06:12:03 +00:00
Tai Kuo
dc68fe7730 vibrator: update OWNERS
Bug: 271938764
Test: n/a
Change-Id: Iad04490f13497a5cdbc0718491cd0f2d2eb3f7a4
2023-03-07 11:44:54 +08:00
Android Build Coastguard Worker
35f79366f7 Snap for 9696334 from b2955ae224 to udc-release
Change-Id: I661e7b26b6827ee908db8e446910a21bf9281abe
2023-03-07 02:03:09 +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
Jimmy Shiu
8eba704f59 Merge "powerhint: Boost GPU(302000) by 1st frame" into udc-dev 2023-03-07 01:13:54 +00:00
Suprabh Shukla
4267c03e58 Add device map for wakeup attribution to felix
This xml maps the devices that can wake the main CPU up to subsystems
that use them.

Test: Builds, boots. Manualy verify the loaded map in the output of
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I3988cde6d8c5258c1f952ccd8c0a08143998473a
2023-03-06 16:52:50 -08:00
Jimmy Shiu
4e0918a63c 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
2023-03-07 01:15:37 +08: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