Commit graph

1406 commits

Author SHA1 Message Date
Rios Kao
16887cc380 Merge "comet: Enable FmAPMg3 hybrid mode." into main 2024-08-14 01:16:05 +00:00
Treehugger Robot
cc3c5417ba Merge "remove Doze brightness integer config" into main 2024-08-13 10:10:32 +00:00
Rios Kao
e2b22fe5e3 comet: Enable FmAPMg3 hybrid mode.
Test: end-to-end validation
Bug: 343339070
Flag: EXEMPT apply existed feature.
Change-Id: Ib58ba236d5f4a758d0a8ada1c606e6d0618eb29c
2024-08-13 02:29:20 +00:00
Treehugger Robot
4b89dd69ec Merge "update OWNERS to include Android.bp" into main 2024-08-09 10:12:47 +00:00
Cyan_Hsieh
58cfd570ed update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
Change-Id: Ic1f9f8d63ce90b583698128a6a78f74c5d1fee08
2024-08-09 16:13:52 +08:00
Paulsu Su
6c974f0980 powerhint: CPULittleClusterMinFreq default 820MHz
Change-Id: I69881adafffff8a5e265e862fc711fac490fe885
Test: boot to home
Bug: 348088963
Flag: NONE powerhint do not support flag
2024-08-08 07:27:50 +00:00
Rios Kao
fcc2a8e060 comet: Add Apmg3 tuning files
note: version 0803

Bug: 343339070
Test: manually test by test build
Flag: EXEMPT voip feature

Change-Id: Icfa3cfc6fbee5b483bf1275ead75a5cd3693d7a2
2024-08-06 09:52:45 +00:00
Rios Kao
993479bfd1 comet: update libspeechenhancer 0805
note:
     remove leakage words.

Test: build pass.
Bug: 343339070
Flag: EXEMPT update library
Change-Id: If4f28371d2fcb740fc681a8961d0fd2191ee0129
2024-08-06 09:33:27 +00:00
samou
b319347637 thermal: Remove bcl related tzones
Flag: EXEMPT tuning changes
Bug: 349935208
Test: Confirm boot
Change-Id: I4dd7581ac8a5ef5756f00b91b54160fe27dfe939
Signed-off-by: samou <samou@google.com>
2024-08-06 07:45:53 +00:00
Lokesh Kumar Goel
547516fadc Merge "comet: Add build_flags based properties for SMR/EMR build" into main 2024-08-06 02:13:44 +00:00
Treehugger Robot
745112c551 Merge "comet: update libspeechenhancer library." into main 2024-08-05 08:28:06 +00:00
Bao Do
3960f4cc55 Merge "Add set scenarios and configurations files for Comet projects." into main 2024-08-05 06:31:30 +00:00
Treehugger Robot
c7284bfb22 Merge "haptics: Update output distortion gain" into main 2024-08-03 01:59:58 +00:00
Ali K. Zadeh
3b7c659644 [comet] Define CAMERA_MULTICAM_BOOST
Port from ag/28607900

This CL defines CAMERA_MULTICAM_BOOST (with the same settings as the
existing CAMERA_ZOOMING_BOOST). Having both definitions is necessary to
be able to transition from zooming boost to multicam boost. Once the
multicam boost flag is fully rolled out, we can remove the
CAMERA_ZOOMING_BOOST.

Bug: 347829135
Test: adb logcat
Flag: EXEMPT resource file only change
Change-Id: I0a240e1b6c82b6b0e4577005c16b589f1865c154
2024-08-02 20:18:38 +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
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
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
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
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
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
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
Kangping Dong
2bc93e68b6 Merge "Add ThreadNetworkDemoApp to comet device-comet.mk" into main 2024-07-19 02:56:45 +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
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