Commit graph

531 commits

Author SHA1 Message Date
Wei Wang
8e2ec472f1 Merge "Remove UClampThreshold hint" into tm-qpr-dev 2022-12-09 21:44:04 +00:00
Chungkai Mei
47ddbad03e Remove UClampThreshold hint
the file node was removed so also remove these
dummy setting

Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-08 09:46:28 +00:00
Steve Berbary
bbab3bdc4f Update bluejay SVN to 22
Bug: 261738635
Change-Id: Ibe9ee074eb3ad1df5b61bf5e053a0bbdae6abbba
2022-12-07 20:59:47 +00:00
millerliang
1df796b0cc audio: add missed camcorder be_cfg in dsp latency
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.

Bug: 260824124
Test: Reporter verified
Change-Id: Iaaf160070a26926a3cf6e18a184750d154abef6d
2022-12-06 15:29:39 +08:00
Chris Paulo
b1acfc42d6 [DO NOT MERGE] device/vibrator: Disable adaptive haptics feature for b3
Disable the adaptive haptics feature temporarily for qpr2 release

Bug: 260247920
Test: Verified feature disabled on device
Change-Id: If9929744ac798f69cf8ee73529f16badcfcb302a
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-30 19:21:50 +00:00
Wen-sheng Yiu
9d89188c67 Merge "Limit camera daemon cpuset to little cores when app launch" into tm-qpr-dev 2022-11-18 06:28:14 +00:00
Chris Paulo
59662424ec [DO NOT MERGE] device/vibrator: Add contextual haptics feature
Add capability for vibrator HAL to detect whether the device is face-up
and adjust/scale haptic alerts to avoid loud and startling buzzing when
there is no case on the device

Bug: 198239103
Test: Verified tests and functionality
Change-Id: I93875c3c1e6128d275cb8007f8e8870a7842938a
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-17 01:29:52 +00:00
Chris Paulo
4b6eea9a95 [DO NOT MERGE] device/vibrator: Move vibrator HAL into device folder for l26
Moved L26 portion of vibrator hal from hardware/google/pixel to
device/google

Bug: 198239103
Test: None
Change-Id: I0d3b5c068168ede0cae1e7a99cc8497185b48ec3
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-17 01:24:11 +00:00
Rick Yiu
1ef727e4cb Limit camera daemon cpuset to little cores when app launch
When exiting camera app, camera daemon is still busy in background,
which may affect the launch animation of launcher. So, limit the cpuset
of camera daemon to little cores for 1 second when there is app launch
hint to improve it. This only happens when camera is running. Also
bypass this behavior when video recording is active.

Bug: 240889279
Test: camera daemon cpuset changed as expected
Change-Id: I1d35bacf3d907a3e7ca9f18c213c941b55768500
2022-11-16 08:57:12 +00:00
Sayanna Chandula
ef8b903bdb Merge "thermal: update shutdown thresholds for Tj zones" into tm-qpr-dev 2022-11-15 03:25:03 +00:00
Kyle Lin
136bd6c1cd powerhint: relax the cap when camera exit
Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.

Bug: 255927500
Test: build and launch/exit camera
Change-Id: I48d9c50c36bc974088a55ca70aa87f53ac9d8647
2022-11-14 12:22:19 +08:00
Steve Berbary
dc9d629823 Update bluejay SVN to 21
Bug: 258811679
Change-Id: I8b5f960d0a36dd10f1c374ca9f0628d623845eed
2022-11-11 17:40:12 +00:00
Steve Berbary
99e9f82364 Update bluejay SVN to 20
Bug: 250644806
Change-Id: I47165cbc0d8925d2b529fa3a3d94a9920e8c416a
2022-11-10 19:36:11 +00:00
Sayanna Chandula
7ad6474a70 thermal: update shutdown thresholds for Tj zones
Bug: 256193172
Test: Build and boot on device
Change-Id: I5e0a5392fdb5fcbcf53b2ef13ed432bcf965d55f
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-10-31 12:01:34 -07:00
Shawn Lin
28b77eb8d7 Update status bar height to center the hole punch cutout
Bug: 253071694
Test: make
Change-Id: I16b512f61d3bf462992b04691eb7dfac40c91461
2022-10-17 17:27:56 +08:00
vincenttew
8a88005ee6 audio: update audio tuning table
Change List :
Optimize HH NB TX NS performance.

Hardware verification:
- Verified Handset/Speaker phone/USB-Headset function work well.

Bug: 252916530
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I3a35471fd649d5a94f326aae861f0c121de9dfa3
2022-10-11 02:59:13 +00:00
Steve Berbary
6ca5d81819 Update bluejay SVN to 19 am: 991c800e43 am: 0c23fd88a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/20097895

Change-Id: Ia18f3f3de028a4d8b9cd3a277b9474931ea79639
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 22:20:10 +00:00
Steve Berbary
0c23fd88a5 Update bluejay SVN to 19 am: 991c800e43
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/20097895

Change-Id: I800cc4a27d962d53463fc18ea02ad4b3b9ce208b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 21:41:43 +00:00
Steve Berbary
991c800e43 Update bluejay SVN to 19
Bug: 250644806
Change-Id: Iee0902caddc1f8bbcba8f588819d0404a8a3b902
2022-10-03 19:31:54 +00:00
Krzysztof Kosiński
6875992c1d Merge "Set Lyric camera_hardware variable." into tm-qpr-dev 2022-09-23 20:32:14 +00:00
Wei Wang
28e3455282 Merge "Add Ownership to powerhint files" into tm-qpr-dev 2022-09-23 16:50:11 +00:00
Krzysztof Kosiński
1d3082b5f4 Set Lyric camera_hardware variable.
Bug: 240478511
Test: presubmit
Change-Id: I11ad27a5ef5c1b5e0aa39c73c45ce6de7e429282
Merged-In: I11ad27a5ef5c1b5e0aa39c73c45ce6de7e429282
2022-09-22 06:29:03 +00:00
Taeju Park
0b27db35f2 Add Ownership to powerhint files
Bug: 248115959
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: Id6ad6d8d4b49e4c82bb43d2358f93c65ba957701
2022-09-21 18:28:07 -07:00
Wei Wang
5283bacecf Merge "powerhint: clean up unused hints in B3" into tm-qpr-dev 2022-09-21 23:04:55 +00:00
TreeHugger Robot
6aded57ac8 Merge "audio: extand the period number of hifi usecase" into tm-qpr-dev 2022-09-20 15:20:11 +00:00
vincenttew
d9df6ed1b5 audio: extand the period number of hifi usecase
extend this to prevent alsa trigger stop playback
and causing pop

Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I1c4bf46a51893717b8d184a0919073eafcdc1e50
2022-09-20 07:23:23 +00:00
TreeHugger Robot
434c393eda Merge "vibrator: disable f0 and redc compensation" into tm-qpr-dev 2022-09-16 19:07:21 +00:00
Richard Chang
027014dc8c powerhint: clean up unused hints in B3
INTERACTION is removed but some actions still use it.

Bug: 246738037
Test: pts-tradefed run commandAndExit pts -m PtsPerformanceTestCases -t
com.google.android.perf.pts.PowerHintJsonVerifyTest

Change-Id: Iaecddf37361eeda9697dd6324a4de9cc33511f5c
2022-09-16 07:48:44 +00:00
Chase Wu
34998e3264 vibrator: disable f0 and redc compensation
Since those feature was enabled in android T,
disabling these features as android S version.

Bug: 241353178
Test: check the value after device boot up
Test: update PtsHapticsTestCases and run it
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I1b363136147beff334fba0ca1e065729dcfb57e4
Merged-In: I1b363136147beff334fba0ca1e065729dcfb57e4
2022-09-16 03:46:17 +00:00
TeYuan Wang
90c74230d0 Remove frequency boost of big cores for FACE_UNLOCK
Bug: 245619770
Test: build
Change-Id: I1ee5d3ad670de959eb1321926d1d739d6e12207d
2022-09-15 23:34:58 +08:00
Edwin Tung
bd97cfde6b gps: enable GNSS PPS feature
Bug: 244398743
Test: extensive tests with PPS enabled in b/235270127
Change-Id: Idce3155ad73537a15023864ed57758c3fb1484c7
2022-09-13 17:13:34 +08:00
Steve Berbary
ec126ef7a4 Update bluejay SVN to 18 am: 68db066712 am: b13b9de87a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/19912057

Change-Id: I8da9b1ce0c6b337de75e17ee130e8509f039a2c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 18:39:52 +00:00
Steve Berbary
b13b9de87a Update bluejay SVN to 18 am: 68db066712
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/19912057

Change-Id: I1bbf1b89c03c8e679d4c29dad0075f353d372d5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 18:11:30 +00:00
Steve Berbary
68db066712 Update bluejay SVN to 18
Bug: 244460991
Change-Id: Ia13d9039e409fe1d66ef8d167c90e12e69f9323d
2022-09-09 19:19:53 +00:00
TreeHugger Robot
c676db4eb9 Merge "Adjust zram size to 3G" into tm-qpr-dev 2022-09-08 02:42:44 +00:00
Rick Yiu
08dcbe9889 Remove RestrictedCpuset hint
With systemui now changed its cpuset in early stage, we no longer
need RestrictedCpuset hint as workaround.

Bug: 242775562
Test: build pass
Change-Id: I44477860126809487bb960eb1a0b037734357975
2022-09-02 03:16:53 +00:00
TreeHugger Robot
25bd3d900b Merge "audio: enable gapless offload for trimming data" into tm-qpr-dev 2022-09-01 15:06:22 +00:00
Martin Liu
7fb9a39f3e Adjust zram size to 3G
According to the test result, turn zram size to 3G.

Bug: 240372982
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ibafae43d860316188b71507b6207378d9221e456
2022-09-01 21:30:28 +08:00
juyuchen
a94fab2d99 audio: enable gapless offload for trimming data
Bug: 233723867
Test: manual audio tests

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I98e477f00c731ecebcacc5d633192e20bc55c021
2022-08-31 12:36:09 +08:00
Rick Yiu
7dc600e5f7 Config dex2oat according to thermal status
Config dex2oat cpuset and thread count according to thermal status.

LIGHT cpuset = 0,1,2,3,4,5 thread = 6
MODERATE cpuset = 0,1,2,3 thread = 4
SEVERE cpuset = 0,1,2,3 thread = 4
CRITICAL cpuset = 0,1,2,3 thread = 2
EMERGENCY cpuset = 0,1,2,3 thread = 1

Bug: 242948832
Test: build pass
Change-Id: I29c77aaa97a26254aa598e1dfbdcbaeae1aa2521
2022-08-30 06:53:38 +00:00
Steve Berbary
caf09b56f6 Update bluejay SVN to 17 am: 86f174cee5 am: a35c140003
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/19716434

Change-Id: I465a054aaa051ed75f2ae0bf7661e1a457fbc4e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 06:56:11 +00:00
Steve Berbary
a35c140003 Update bluejay SVN to 17 am: 86f174cee5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/19716434

Change-Id: I835bab5cb7279f8ea448486b3f32217985f12880
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 06:20:11 +00:00
Matt Buckley
1039de7d7b Merge "Remove existing surfaceflinger uclamp boost configuration" into tm-qpr-dev 2022-08-23 21:48:37 +00:00
Matt Buckley
e07cbc757a Enable adpf cpu hints for SurfaceFlinger in device mk file
Bug: 195990840

Test: manual
Change-Id: Ia41debdeedbec34c3d4b38eed509fd2d78ffdc88
2022-08-23 21:48:31 +00:00
Matt Buckley
73cd02795b Remove existing surfaceflinger uclamp boost configuration
Remove existing surfaceflinger uclamp settings to not interfere with
new adpf cpu hints for surfaceflinger

Bug: 195990840

Test: manual
Change-Id: I763f1baec65f0cad341074f461a086776f7a5f5d
2022-08-23 21:48:25 +00:00
Steve Berbary
86f174cee5 Update bluejay SVN to 17
Bug: 242323332
Change-Id: I56d7896f25218778e8a5e2b85e858b4f2f62fd93
2022-08-23 17:48:24 +00:00
Wei Wang
4223e614b6 Merge "thermal: seperate thermal config for charging" into tm-qpr-dev 2022-08-22 19:54:14 +00:00
TreeHugger Robot
f053c1fb25 Merge "Change util threshold of camera streaming high" into tm-qpr-dev 2022-08-22 08:45:48 +00:00
TreeHugger Robot
71a2a964c5 Merge "Remove FPS boost" into tm-qpr-dev 2022-08-20 03:35:05 +00:00
David Chao
c5af65074f thermal: seperate thermal config for charging
- Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 240897207
Test: usbc overheating protection and charging throttling worked
properly in charger.

Change-Id: Ieec7e1403456b5d878c1dfb48576ab6d5bde9908
2022-08-19 07:28:15 +00:00