Commit graph

2829 commits

Author SHA1 Message Date
JimiChen
c2a3d7ad29 add CAMERA_FIXED_FPS power hint
Bug: 233553311
Test: camera CTS
Change-Id: I8c83cc734468b9cdd94d85cafbc0c1cfab0708a4
2022-07-01 02:40:52 +08:00
Bassem Khalife
38a6d67436 Update raven SVN to 32 am: 402a8d4f74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18919006

Change-Id: I3ccc06b252cb3fc74513bf23d49734f4102c71d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 17:22:26 +00:00
Bassem Khalife
57a3a381e3 Update oriole SVN to 32 am: 68c76ff289
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18911632

Change-Id: I1f702c60d846d4c442e7c021379f5e39254aa614
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 17:22:19 +00:00
Bassem Khalife
402a8d4f74 Update raven SVN to 32
Bug: 232157623
Change-Id: I4f176bd6bc86b3573de1c040b9d5b69e025627ed
2022-06-16 16:55:29 +00:00
Bassem Khalife
68c76ff289 Update oriole SVN to 32
Bug: 232157623
Change-Id: I42923ef9fcdc6879b01ad6ec468f5035b9055dbb
2022-06-15 23:02:00 +00:00
Harpreet Eli Sangha
07637b4908 Update WCC Eligibility
Bug: 234530076
Test: Build and Boot
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I6e2124387ad1986c02c7857fe50ec4debbe6adb6
2022-06-15 02:01:57 +00:00
Mars Lin
eabb3bff48 raviole: Move tetheroffload HAL to raviole
Since T6 does not support tetheroffload,
move the tetheroffload HAL to raviole.

Bug: 232717674
Test: Check if the manifest file exist in vendor/etc/vintf/manifest/
Change-Id: I0f8eb470bc54da942dc8d5ddd543b7c573613567
2022-06-09 05:28:33 +00:00
Ilya Matyukhin
a020527c7b DO NOT MERGE Remove unintended faceauth configs
Bug: 210921116
Test: N/A
Change-Id: Ie10aaca6892b1246b57941d00b283f202b08035d
2022-06-08 17:09:35 +00:00
Kris Chen
f514128c06 O6R4: Enable UDFPS ALS feed forward
Bug: 197789721
Test: Perform fingerprint authentication test with solar simulator.
Change-Id: I716056279206490e0aa01f72333703349b79e13b
2022-06-08 05:26:43 +00:00
Steve Berbary
fc6271573e [automerger skipped] [DO NOT MERGE] Update oriole SVN to 31 am: abfd17b3c1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ife7bae6aed595b3733b2f8a1e700bc97143e77b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 00:45:41 +00:00
Steve Berbary
011c9b5858 [automerger skipped] [DO NOT MERGE] Update raven SVN to 31 am: e381ffc6fe -s ours
am skip reason: subject contains skip directive

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

Change-Id: I09619a0fd687dcfc8225a53b15996fb845abaa64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 00:45:35 +00:00
Steve Berbary
abfd17b3c1 [DO NOT MERGE] Update oriole SVN to 31
Bug: 231380374
Change-Id: I96baab5b6fceefb38f945623e825ef3f0845ed35
2022-06-02 00:40:12 +00:00
Steve Berbary
e381ffc6fe [DO NOT MERGE] Update raven SVN to 31
Bug: 231380374
Change-Id: I5a1072b5366bde0048937941d3f014bdf3c7019f
2022-06-02 00:24:54 +00:00
Steve Berbary
ed9ea3d15b [automerger skipped] [DO NOT MERGE] Update oriole SVN to 30 am: c3b1a6ff86 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifaa8908f84687557d013f8717b909caaddbb0dcf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:30:20 +00:00
Steve Berbary
665273cca0 [automerger skipped] [DO NOT MERGE] Update raven SVN to 30 am: 88b2efd74b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I29f806169ef92fd858ac317908a7889618b5ab4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:30:12 +00:00
Steve Berbary
c3b1a6ff86 [DO NOT MERGE] Update oriole SVN to 30
Bug: 231380374
Change-Id: I7e71f4663f8b07367b8f33e99bf28a23a9110259
2022-06-01 22:20:36 +00:00
Steve Berbary
88b2efd74b [DO NOT MERGE] Update raven SVN to 30
Bug: 231380374
Change-Id: I9b819378787f80c6cd254abc968106b3dc57558a
2022-06-01 20:06:03 +00:00
Paul Scovanner
e2c205b11b Update Raviole SVN to 31
Bug: 232157623
Change-Id: I3bd635f4229f0332c8dd5dba0c3d1677535da99d
2022-05-31 19:27:07 +00:00
Richard Hsu
3e31f88208 [Tuning] Disable CPU Idle in NNAPI workload with PMQoS CPU DMA Latency
To improve the return path latency, we want to keep the CPU at at least WFI state (Idle_1). The PMQos cpu_dma_latency knob prevents the CPU from falling below WFI state. This makes the return path CPU wakeup latency very good. Check with wvw@, the power impact shouldn't be too significant.

The average energy cost per inference dropped from 3.85 to 3.47 mJ. The reason why the power number is lower WITH disable-idle is that, due to better latency, we get to run more inferences given the same amount of time. This makes the average power consumption lower.

Measurement:
MLPerf IC model Latency (ms) Power (mW) Energy/inference (mJ) MLPerf scores
Default 1.35 2837 3.85 560
Disable CPU Idle 0.98 3539 3.47 826

https://docs.google.com/presentation/d/1zx7sLkhOClmuRTCrq8-l3N1mZrrv7f-CtcdMuzV0eaI/edit?pli=1#slide=id.g12dd9e50b4b_0_0

Bug: 232183574
Test: MLPerf on Android T. Performance improved. Verified on Perfetto.
Change-Id: If067e0851bea0475043ef2127a25ed3a5fdab093
2022-05-27 22:18:23 +00:00
jimmyshiu
15215ef471 ADPF: Skip I signal and set Uclamp init value
Skip I signal by setting kI to 0 and use UclampMinInit as the display
update boost value.

Bug: 232992641
Test: Manual Test
Change-Id: Iee49cb054817d49d18498ceced61446916669887
2022-05-27 22:04:51 +00:00
Daeho Jeong
43c5e96ce4 disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I6acf8e9e8a8d7e33d89acb1be44ea340e3f02241
2022-05-25 08:37:17 -07:00
Jasmine Cha
9610e3d430 audio: improve mute duration
- redefine mute duration of primary output from 160ms to 40ms to avoid
  cutting of preview notification.

Bug: 233176336
Test: preview notification/voice end call tone

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib696638eca99b1f58300533cca586cab209b188d
2022-05-24 06:19:32 +00:00
Wei Wang
28a492df0e Boost foreground group when app launch
To improve app launch time.

Bug: 233236422
Test: build pass
Change-Id: I308aaf3133136b13fd71cdc3a60a1665e3483654
2022-05-21 00:03:51 +00:00
chungkai
0168d7f708 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: I83573ed4640cd841d99cff0b52df0335332623df
2022-05-21 00:01:36 +00:00
jonerlin
9c27ad6042 O6R4: Add hci_inject tool in user debug build
Bug: 228943442
Test: manually
Change-Id: I42f7553f6cea54cf8c476bb886f4425ed702cdb5
2022-05-20 05:06:29 +00:00
Steve Berbary
a1bc91efb0 Update oriole SVN to 29 am: fe94a8e370
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18367911

Change-Id: I589330eff635840a31f564c91fae445f8a278986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 20:23:30 +00:00
Steve Berbary
51eae801fd Update raven SVN to 29 am: 5dc47062e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18385626

Change-Id: If7e77481fc8235808b04f87a9835260ea6393e6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 20:23:14 +00:00
chasewu
f680529e42 vibrator: add device specific constants
Add device specific constants required for calculating the bandwidth
amplitude map

Bug: 230807667
Test: verify the property values on P21 devices
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I9716e3d39e4196825baeebec5c968e470aa644ee
2022-05-18 11:03:41 +00:00
Wei Wang
92d180a8e8 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:13:42 +00:00
Steve Berbary
fe94a8e370 Update oriole SVN to 29
Bug: 231380374
Change-Id: I76522b37ddbccc5c652ca8913d4865df0687a941
2022-05-17 09:33:45 +00:00
Steve Berbary
5dc47062e1 Update raven SVN to 29
Bug: 231380374
Change-Id: Ibd95cc73a65f3eb356f16c1c38e34684340f6636
2022-05-17 02:19:50 +00:00
Jimmy Shiu
f852909872 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: Ic38f133f7e6b1abe3d743fcfae71ce5a1b4780fb
2022-05-16 16:33:38 +00:00
Wei Wang
75156ec058 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
Steve Berbary
b7a7051ea5 Update raven SVN to 28 am: 96dda89b65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18349844

Change-Id: I3be5f444b298a5786e824b512daae1c4138d1442
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-14 02:59:59 +00:00
Steve Berbary
96dda89b65 Update raven SVN to 28
Bug: 231380374
Change-Id: Ie7a09bada534130290e85c4d84e383a7dadb9315
2022-05-14 02:38:22 +00:00
Steve Berbary
1b10bad663 Update oriole SVN to 28 am: d638a49b54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18356642

Change-Id: I6566c206c02bf52c1d21bef1bc13653c3cbf4a7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-14 01:36:58 +00:00
Jing Ji
ba78c78d87 Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.

Bug: 203105544
Test: dumpsys activity -a
Change-Id: I086b202c99d65472d143ee695b6c81d1c1897f70
2022-05-13 18:01:56 +00:00
Carter Hsu
146e6d5806 audio: update Fortemedia VoIP condition to reserve2
Bug: 226869868
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia71851c7a66d3d180daa956d844cc4bde7ba056b
2022-05-13 09:04:41 +00:00
Rick Yiu
5d5bd92056 Disable task packing when camera is running
Task packing has slightly impact for camera performance, so disable
it when camera is running.

Bug: 230554223
Test: build pass
Change-Id: Id20fb06b30fa8448c49c8163574e336dfa89ffe4
2022-05-13 02:54:15 +00:00
Steve Berbary
d638a49b54 Update oriole SVN to 28
Bug: 231380374
Change-Id: I25011f177ad54a895943f911146793d75c5e021a
2022-05-12 18:40:57 +00:00
Peter_Liang
63e8bde58d Remove the voice packs of Text-To-Speech from the specific folder.
Bug: 230572940
Test: manual test
Change-Id: I946807528da21064acd704b5777a114e32a526fa
2022-05-12 09:34:45 +00:00
Wei Wang
4c2ebdeb7c Boost INTERACTION to 185 and remove DISPLAY_UPDATE_IMMINENT
Bug: 205369368
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I1c5cd8b6e5a36ab35df99ddfc431c5c02442794c
2022-05-11 18:32:23 +00:00
George Lee
bc0c680f47 thermal: Raise TPU DVFS state for BATOILO trigger
Jankiness is experience during BATOILO triggering.  Lowering GPU DVFS
state and Raising TPU DVFS state to re-tune throttling mix.

Bug: 231575776
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ife93560c8864f4340e94d9afc2e8d2b47b97fc67
2022-05-11 15:47:05 +00:00
Carter Hsu
7e54d6ddf0 audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iaafafe9963c102690a89e5d4fe7c63e6783450f1
2022-05-11 03:00:58 +00:00
Lily Lin
7c6e328a63 Enable read/write access to st33spi_state for euiccpixel_app
Bug: 228655141
Test: Confirm can read/write st33spi_state
Change-Id: I92cf9696c225d4e47c374ea75c78feba8216ca85
2022-05-11 01:23:38 +00:00
Rick Yiu
4f4e24cd04 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: I7c8f7d1625f84a0968f74835fb34f4fc5d4123aa
2022-05-10 15:01:50 +00:00
Kris Chen
36cf68c142 o6r4: Enable LHBM control from UDFPS HAL
Bug: 229716695
Bug: 224573604
Test: build and test fingerprint on device.
Change-Id: Ic181d43e296fbb56772852e3c8f892c33fbe248f
2022-05-05 02:59:41 +08:00
Jean-Michel Trivi
0394338444 DO NOT MERGE Revert "Oriole/Raven: enable Dolby DD+ decoder"
This reverts commit 8074cbccb4.

Reason for revert: sc-v2 revert didn't merge to tm-dev

Change-Id: I5d06dd165257f00487cb66b2e66b4f0d4aa71f4e
Merged-In: I030739e6d9772671b160e21afe62579a1bf3b987
2022-05-02 07:40:11 +00:00
Victor Liu
8d127489da uwb: calibration
update uwb calibrations

Bug: 230907571
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I20336a8a464e5342375d83684afe7b5dce72afb2
2022-04-30 01:01:49 +00:00
Wei Wang
cb17433a3d Boost trusty task priority during UDFPS
Bug: 229350721
Test: UDFPS with stress
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Iae2c76409188c388e9ff30c5951bdb3e9118301a
2022-04-26 16:47:13 +00:00