Commit graph

1422 commits

Author SHA1 Message Date
Bao Do
3960f4cc55 Merge "Add set scenarios and configurations files for Comet projects." into main 2024-08-05 06:31:30 +00:00
Android Build Coastguard Worker
37ba801736 Snap for 12180713 from c7284bfb22 to 24Q4-release
Change-Id: I081bfed36678317b432bc7082b8b3494a540759c
2024-08-03 23:01:19 +00:00
Android Build Coastguard Worker
b86cfbc10e Snap for 12177962 from 4fd14f809e to 24Q4-release
Change-Id: I226b2a6ae7c0677cec6cfd5c62c1c9904e0632e2
2024-08-03 03:01:30 +00:00
Treehugger Robot
c7284bfb22 Merge "haptics: Update output distortion gain" into main 2024-08-03 01:59:58 +00:00
Treehugger Robot
4fd14f809e Merge "Upgrade IDisplay to V13" into main 2024-08-02 08:08:39 +00:00
Chris Lu
b7db5dd6f6 Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: I3eef039b0d15dd8d104072979a861b57347286e5
2024-08-02 04:30:59 +00:00
Peter Lin
8439686fc8 remove Doze brightness integer config
Replaced by doze brightness float config

Bug: 343796384
Test: adb shell dumpsys display
Flag: com.android.server.display.feature.flags.doze_brightness_float
Change-Id: I482439b405a6b384ecda1cc94aa5bd2c99ea6454
2024-08-02 01:30:43 +00:00
Rios Kao
63acb2b1fc comet: update libspeechenhancer library.
note: version 0731 to support handset mode.

Test: build pass
Bug: 343339070
Flag: EXEMPT update library only
Change-Id: If27b9d88ee1d788e41712e8e033b2bc08b30078a
2024-08-01 01:40:14 +00:00
Android Build Coastguard Worker
57cb5a9f80 Snap for 12164422 from 0466de1eac to 24Q4-release
Change-Id: Icc9caba70aa77e6f0c36e985f8efc09cd746e391
2024-07-31 23:01:36 +00:00
Lokesh Kumar Goel
cef10fa32c comet: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_COMET
Bug: 155105803
Change-Id: Ia63af4f58503dee77b1ae544092d611139cbe629
2024-07-31 17:00:49 +00:00
Treehugger Robot
0466de1eac Merge "Enable PA_KILL during PA_KILL_BOOST" into main 2024-07-31 03:52:49 +00:00
c
c779206925 Enable PA_KILL during PA_KILL_BOOST
sync with ag/28274083.

Currently, we enable PA_KILL always on camera launch. This CL puts this
feature behind a power boost profile which can only be triggered from
camera hal and is controlled by a mendel flag.

Bug: 356005553
Test: 1. adb logcat
      2. gca_smoke.py test pass
Flag: EXEMPT resource only update
Change-Id: I5320d90072b92ebfb791ad50905667d764f7e3e8
2024-07-31 00:35:53 +00:00
Android Build Coastguard Worker
87ae7e6169 Snap for 12158986 from aff6a62007 to 24Q4-release
Change-Id: I94401c69a9c3f0ad8c5cf48e25f09e3b43226dd7
2024-07-30 23:02:10 +00:00
Chris Paulo
e37935375a haptics: Update output distortion gain
Recommended output distortion gain is 0.45.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: I553b7ced090adeee639c84f1f5c23a3c7152c33c
2024-07-30 10:48:27 -07:00
Rios Kao
aff6a62007 comet: add incall stream 3 for gsenet uplink.
note:
     - Add new use-case for gsenet voip

Test: build pass
Bug: 343339070
Flag: NONE EXEMPT add path for existed feature.

Change-Id: Ie645fb63ce1dcada68638231c719338be753ce88
2024-07-30 01:33:55 +00:00
Nikhil Bhanu
ed7030974b Spatializer: Update configs with latest tunings.
auxel commit hash: dbb98fe
auxel change ID  : I1da381578bb2e847e153e349834e2ca3de9edb3f

Bug: 323417281
Test: manual
Flag: com.android.media.audio.stereo_spatialization

Change-Id: Ib16c659b4161e5c02f9ac294c1a986d4c31cc4c0
2024-07-29 20:28:35 +00:00
Bao Do
f645535ecd Add set scenarios and configurations files for Comet projects.
This is a clone of the default files, only GAME scenarios
has some order changed to prioritize 48k gaming without source.

Bug: 331490291
Test: Check file location
Flag: NONE system property change only
Change-Id: I2855920c813240312784423ed89c5fc95c8cc20f
2024-07-29 14:52:15 +08:00
Android Build Coastguard Worker
b1deda6148 Snap for 12148957 from 366156b278 to 24Q4-release
Change-Id: I9e2c7b8cb8373b49bc79cd3bcde84a33ab7862b2
2024-07-27 21:01:31 +00:00
Android Build Coastguard Worker
fbbfcd5bf1 Snap for 12147630 from 6b2b130062 to 24Q4-release
Change-Id: I8d38ed371395d736fed79281f8959ce2659d45c7
2024-07-27 01:01:40 +00:00
Treehugger Robot
366156b278 Merge "Adpf☄️ switch to multitier heuristic boost." into main 2024-07-27 00:58:16 +00:00
guibing
9653d99a48 Adpf☄️ switch to multitier heuristic boost.
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: If4e4bc917252244c7460908f40d328a2e23182e1
2024-07-26 23:19:37 +00:00
Treehugger Robot
6b2b130062 Merge "thermal: Update init_thermal_config" into main 2024-07-26 08:28:03 +00:00
sashwinbalaji
d406d43bcb thermal: Update init_thermal_config
- Validate for display panel availability only in userdebug builds.

- Add check to fall back to wingboard config for charging mode as well.

- Move fallback to backup config for proto and wingboard to init rc
  file.

Bug: 338295174
Flag: EXEMPT NDK
Test: Local build and verify init_thermal_config and property
Change-Id: I4b2db92df1d74be4038e256ab6e25ee616c5feb6
2024-07-26 07:33:03 +00:00
Android Build Coastguard Worker
c5cb4474af Snap for 12135134 from 4a15f39063 to 24Q4-release
Change-Id: I6b5a6b49226c779b6c4c57c9b9dcabbf29b722fa
2024-07-24 23:01:50 +00:00
Treehugger Robot
4a15f39063 Merge "gps: Update 4.15.1_19_240725_R1 config for CT3" into main 2024-07-24 12:49:57 +00:00
Robin Peng
f2c7344513 [automerger skipped] Update Comet SVN to 5 am: dc15dc3a03 -s ours
am skip reason: Merged-In I760b22383d2d8b563ad98989a8ee092f997bcbc4 with SHA-1 1885637a49 is already in history

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

Change-Id: Id97a5ce404c4bff9d852b9e2f1197d868f653da9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 08:16:10 +00:00
Android Build Coastguard Worker
0e4da4b894 Snap for 12129055 from cbe0081a4b to 24Q4-release
Change-Id: I4a8ac5b161d1081e423befaf975c02b3117bea45
2024-07-23 23:01:59 +00:00
Treehugger Robot
cbe0081a4b Merge "init: Remove unused 1540.app" into main 2024-07-23 07:02:31 +00:00
Bao Do
c8c10532af Merge "Set system property for LEA multi-codec for Comet project" into main 2024-07-23 02:14:41 +00:00
Android Build Coastguard Worker
a70aa5cd2c Snap for 12122529 from 843a4f578d to 24Q4-release
Change-Id: Idc048150214378a72443ba8b30e9b626662ba116
2024-07-22 23:01:29 +00:00
Robin Peng
843a4f578d [automerger skipped] Update Comet SVN to 4 am: ceee48c3e4 -s ours
am skip reason: Merged-In I760b22383d2d8b563ad98989a8ee092f997bcbc4 with SHA-1 1885637a49 is already in history

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

Change-Id: I4d2497ed53587f7da987a0111ccfd6119a3bafa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-22 17:33:59 +00:00
Robin Peng
dc15dc3a03 Update Comet SVN to 5
Bug: 350826665
Change-Id: I3f46d224b18807266ccd144b779d5f7271845ba8
Merged-In: I760b22383d2d8b563ad98989a8ee092f997bcbc4
2024-07-22 06:12:42 +00:00
Robin Peng
ceee48c3e4 Update Comet SVN to 4
Bug: 350826665
Change-Id: Ic5d7655e514cafc5bcfafbcfebfec7023cf0330d
Merged-In: I760b22383d2d8b563ad98989a8ee092f997bcbc4
2024-07-22 06:12:24 +00:00
Robin Peng
5bd46d2188 Update Comet SVN to 4
Bug: 350826665
Flag: build.RELEASE_SVN_COMET
Change-Id: Ic5d7655e514cafc5bcfafbcfebfec7023cf0330d
2024-07-22 06:01:57 +00:00
James Huang
264230a9e7 gps: Update 4.15.1_19_240725_R1 config for CT3
Update GnssPowerStats config

Bug: 300361503
Test: CTS/VTS, GNSS sanity test, stress test
Change-Id: Iaf4aff4d750085f99baac0d64999572ec64b035a
2024-07-20 10:44:18 +08:00
Android Build Coastguard Worker
583d4fc8ce Snap for 12116631 from 2bc93e68b6 to 24Q4-release
Change-Id: Ia9ed7e6f9077d1ee16ef69b737fcd61c2951da6e
2024-07-20 01:01:43 +00:00
Kangping Dong
2bc93e68b6 Merge "Add ThreadNetworkDemoApp to comet device-comet.mk" into main 2024-07-19 02:56:45 +00:00
Android Build Coastguard Worker
eddb42100a Snap for 12110738 from 1885637a49 to 24Q4-release
Change-Id: I96ae42f73d9ba72042bf9207f2b3e3788a638160
2024-07-18 23:01:43 +00:00
Kyle Hsiao
1885637a49 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I760b22383d2d8b563ad98989a8ee092f997bcbc4
2024-07-18 13:09:11 +00:00
Kangping Dong
6f74100068 Add ThreadNetworkDemoApp to comet device-comet.mk
Flag: EXEMPT userdebug-only change
Bug: 353883169

Change-Id: I0f76d0e573ba787c3a897e4ca45afc32f5303a8c
2024-07-18 09:31:52 +00:00
Yvonne Yip
4d8c8dfade powerhint: Enable auto migration margins/dvfs headroom for game mode
Since the system is more reactive now when tasks are getting busier, set
DownRateLimitUs to 500us to avoid increasing power.

Also enable pertask iowait boost as util_avg will always start from
0 for forked tasks and this could impact io tasks that need additional
help to ensure to migrate to bigger core if they need more perf.

Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:61cf08366eb4e916beb1ad910754c8bc6c18bf14)
Merged-In: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da
Change-Id: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da
2024-07-17 23:00:31 +00:00
Yvonne Yip
51140ac43c powerhint: Add nodes to control per-task iowait boost
It's disabled by default.

Ensure camera and game mode explicitly disable it too as it is only
required when auto margins are enabled for now.

Ensure it is disabled when screen is off too as We don't want io
activities to cause wake up on bigger cores while screen is off.

Bug: 340534339
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dad48beaeb9f9fce8acb67c06bfd022e86ce0e0d)
Merged-In: Ie9d20fe5ad6b423e8c26a36b7f01592040292ead
Change-Id: Ie9d20fe5ad6b423e8c26a36b7f01592040292ead
2024-07-17 22:59:56 +00:00
Yvonne Yip
b804969d8f powerhint: Add nodes required to enable auto migration margins/dvfs headroom
Everything should be disabled by default.

Make sure camera and game explicitly disable them by default too.

Ensure the feature is disable when screen is idle.

Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bb4df08c9ea617625d25cf12bc60c41c173d996b)
Merged-In: Ibd08cec303010e87057463f5aff737a5105e04b6
Change-Id: Ibd08cec303010e87057463f5aff737a5105e04b6
2024-07-17 22:59:25 +00:00
Yvonne Yip
62542ec650 powerhint: Explicitly set DownRateLimitUs for camera
So that we can change the default values without impacting it.

Bug: 315748906powerhint: Explicitly set DownRateLimitUs for camera

So that we can change the default values without impacting it.

Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9084165d0d0f699f7cc3968dded4f71d4ec20a92)
Merged-In: Ic14d51f0b5b512f5557d904d682e9f934bbab87f
Change-Id: Ic14d51f0b5b512f5557d904d682e9f934bbab87f
2024-07-17 22:58:00 +00:00
eddielan
c93bb1ebb0 init: Remove unused 1540.app
Bug: 353447862
Test: Build pass & verify on device
Flag: EXEMPT NDK
Change-Id: I8a60b6fac737bb6a337a43df3cb4f971d72c190f
2024-07-17 06:21:11 +00:00
Bao Do
09d12a9a52 Set system property for LEA multi-codec for Comet project
Bug: 306225778
Test: Check system property value
Flag: NONE system property change only
Change-Id: I46cd826bab76b68201141f13287399e7f95c00a0
2024-07-16 11:33:20 +08:00
Android Build Coastguard Worker
7811035c55 Snap for 12091711 from b416bdb6d0 to 24Q4-release
Change-Id: Idc400e1378814399dd2da11ad47eceff882b237b
2024-07-15 23:01:38 +00:00
Treehugger Robot
b416bdb6d0 Merge "Powerhint tuning for photo capture" into main 2024-07-15 09:17:35 +00:00
Isaac Chiou
6763fac6cc Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork am: 84c4eeb901
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28285484

Change-Id: Ib4388a25f1287d233b50a2052828a2d0b20b29bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-15 04:29:48 +00:00
Pointer Kung
4080c0deea Powerhint tuning for photo capture
UClamp.min of all threads in top app is set to mid core max capacity during photo capture, which will dispatch them to big core.
Critical threads of photo capture will be interrupted due to their lower priority, while other cores idle.

To deal with this situation,
prefer_idle mask to big/mid cores can reduce the idle in mid cores.
UClamp.min on nice can set UClamp.min of photo capture critical threads to mid core max capacity, while others as zero,
this can make critical threads run on big core without frequently interrupted.
By applying this, photo capture latency can be reduced with slight change of power consumption.

Refer to ag/28118299

Bug: 345601796
Test: Build pass, Boot to home
Flag: NONE powerhint change does not support flags
Change-Id: I7d6d0c5c23aaf7888a64ecbafde2275129fd22a1
2024-07-15 04:14:05 +00:00