Commit graph

3480 commits

Author SHA1 Message Date
guibing
8017c3fcdb ADPF:shusky: remove unused adpf profiles.
Bug: 393196667
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I0fda6430add939f91c269b23a1cc410cb1a42fd8
2025-01-31 01:01:37 +00:00
Qais Yousef
b373489139 powerhint: Enable auto migration margins/dvfs headroom by default
And reduce DownRateLimitUs to 500us as the system should be more
reactive now when something needs to rampup quickly.

Enable pertask iowait boost too as with auto dvfs headroom enabled all
tasks will start form 0 util_avg and this could impact iowait tasks
without this being enabled to help them migrate up to bigger cores.

Camera use cases should still use their own default DownRateLimitUs and
disable this feature to keep their dvfs_headroom tuning intact.

Bug: 392622882
Flag: EXEMPT powerhints are not compatible with flagging
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I105807d89592992d0f8a2b8a7dab9b2b161be147
2025-01-28 17:08:01 +00:00
Wei Wang
989716c5b5 Merge "powerhint: Mask hints in AA and DISPLAY_IDLE" into main 2025-01-16 16:14:46 -08:00
Joner Lin
8f1920426e Merge "Reduce BT RX wakelock time" into main 2025-01-14 19:38:58 -08:00
Shreshta Manu
5f6e93aa12 [UWB] Add a new runtime overlay for husky on GSI am: cc637a3044 am: d8c5ec9634
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3451652

Change-Id: If17288085e547f8ddcf5168ceca9929fec6e0ab5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-14 15:20:44 -08:00
Shreshta Manu
d8c5ec9634 [UWB] Add a new runtime overlay for husky on GSI am: cc637a3044
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3451652

Change-Id: Icc87ee708a31f932dabbc8e43c845bb5c3b1d3d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-14 14:44:04 -08:00
Shreshta Manu
cc637a3044 [UWB] Add a new runtime overlay for husky on GSI
Bug: 384550358
Test: ABTD
Flag: EXEMPT minor bug fix
Change-Id: Ia20be9828927047f8a77376551789f0aa13239a6
2025-01-14 18:45:54 +00:00
jonerlin
4641ddee05 Reduce BT RX wakelock time
Bug: 380024887
Test: Checking wakelock log
Flag: EXEMPT project configuration patch
Change-Id: I7d1d103f676a8cba931deccfd996620e2317b57b
2025-01-14 03:26:07 -08:00
Paulsu Su
0cd4155ad7 powerhint: Mask hints in AA and DISPLAY_IDLE
This CL adds a powerhint for AA mode to mask storming hint. DISPLAY_IDLE masks DISPLAY_UPDATE_IMMINENT and CPU_LOAD_RESET when Android Auto property is set. When navigation in Android Auto, the two hint with action to boost memlat is costly.

Bug: 380188115
Change-Id: I825a56ac32a0ecdc8b441af9cb64e81b1d04f9a6
Test: Local test with desktop_head_unit_internal
Flag: EXEMPT powerhint change
2025-01-13 22:02:11 -08:00
Zouberou Sayibou
72ee12d00c shusky: Removed dbc sysfs nodes in device init.rc.
dbc has been added as a binary to the driver kernel v6.1.
And all dbc sysfs node has been removed.

Bug: 377913163
Bug: 384978512
Flag: EXEMPT clean up only
Change-Id: I42c60ec3535763666d0e5f6a4d702492b077d0c3
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2025-01-09 21:46:32 -08:00
Treehugger Robot
25e2488d08 Merge "Enable open source multi akm for specific Broadcom project" into main 2025-01-07 21:30:22 -08:00
Alice Kuo
5b45c67134 Disable Bluetooth Hearing Access Profile default enable property for P23
Set bluetooth.profile.hap.enabled_by_default to false

bug: 386323913
Test: m
Flag: EXEMPT, properties change only for feature config
Change-Id: Idf007e77b3b9b4713a0660b94b3c1e121b2f5115
2024-12-30 00:29:36 -08:00
Isaac Chiou
f8900a7467 Enable open source multi akm for specific Broadcom project
For cross akm roaming function, we have two ways in supplicant :
1. Open source way.
2. Broadcom specific way.

Originally, Broadcom projects follow way 2 due to the limitation of the driver.
For now, we plan to move all Broadcom projects to follow way 1 to make supplicant code clean and downsteam without conflict.

For those projects which is ready for way 1, we control it to follow way 1 with WIFI_BRCM_OPEN_SOURCE_MULTI_AKM config.
For the rest of Broadcom projects, we still follow way 2 until the multiple AKMs is fully supported by driver and verified.

For ongoing Broadcom project, we also need to exercise the open source path in supplicant to do multiple AKM configuration to comply with WFA Wifi 7 AKM24 specification (b/331896542).

Bug: 246871098
Test: AU drop test
Test: Cross AKM roaming test
Flag: EXEMPT enable control flag for aosp akms
Change-Id: Ia9a8b65c6f3e3af4315ffc37c27339d7a1386ad2
2024-12-25 01:00:12 -08:00
Rios Kao
79bfb39225 Merge "shusky: add libspeechenhancer for recorder." into main 2024-12-17 01:36:58 -08:00
Xin Li
9ae57f4580 [automerger skipped] Merge 24Q4 into AOSP main am: 217fbeb15a -s ours am: 160fecec94 -s ours
am skip reason: Merged-In Ic19ff6af1a86f94853e8d2c65012ee247ae25bde with SHA-1 e5364a3e49 is already in history

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

Change-Id: I82622750f56633372fe7336503f106f4a93ebe56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 21:18:41 -08:00
Xin Li
160fecec94 [automerger skipped] Merge 24Q4 into AOSP main am: 217fbeb15a -s ours
am skip reason: Merged-In Ic19ff6af1a86f94853e8d2c65012ee247ae25bde with SHA-1 e5364a3e49 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3413302

Change-Id: If6b1b4975cf25f60d76e0c71d9b450f6a834f1d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:42:24 -08:00
Xin Li
217fbeb15a Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: Ic19ff6af1a86f94853e8d2c65012ee247ae25bde
Change-Id: Ib95616d72c02400c6a9e333e5408ea92b4c84d27
2024-12-13 11:15:10 -08:00
Rios Kao
bba42283a0 shusky: add libspeechenhancer for recorder.
note: library version 20241203_1624_RC01

Test: end-to-end test
Bug: 383647553
Flag: EXEMPT back porting existed feature.
Change-Id: If13996c049be653a9c17d69f789ef07838b5be24
2024-12-11 19:45:43 -08:00
TeYuan Wang
afbc9eb750 thermal: remove redundant threshold settings
Bug: 382612547
Test: boot to home and check no thermalhal crash
Flag: EXEMPT config change

Change-Id: I5ee0525fed493e7bed98d4d08def1dd30c81265a
2024-12-11 05:02:07 +00:00
Nathan Kulczak
6ccada1570 Merge "Vibrator: Add permissions for owt_lib_compat" into main 2024-12-10 17:44:25 +00:00
Andrew Cheng
4e7392131c Merge "Fix properties to enable override" into main 2024-12-09 22:31:15 +00:00
Dmitry Skiba
769b383a3d Merge "Add a way to disable auto prefer fit for launch." into main 2024-12-09 19:01:12 +00:00
Andrew Cheng
265e6a3415 Fix properties to enable override
AAOS_on_phone targets need to override these properties, without
that builds are failing.

Bug: 382710252
Test: local build
Change-Id: I8eb4f6f904370caed9d87745331ff9b2ead1a2cd
2024-12-06 11:28:13 -08:00
Dmitry Skiba
7571b12f0e Add a way to disable auto prefer fit for launch.
This change introduces "is APF enabled" system properties, and
uses them as trigger conditions for APF nodes / pre-APF nodes.

By default APF nodes are active, and pre-APF nodes are inactive,
which maintains the situation before this change.

A future experiment will flip "is APF enabled" system properties,
deactivating APF nodes and activating pre-APF nodes. For more
info see go/pixel-perf-apf-experiment.

Bug: 365855872
Test: set vendor.powerhal.apf_enabled=false, vendor.powerhal.apf_disabled=true, observe auto_prefer_fit
procfs value staying "false" and instead preferred_idle_mask_mid
changing to 0x1ff during app launches
Flag: NONE powerhint change does not support flags
Change-Id: I85b5dc812132f229c2cc8583aaadd31d7eedc178
Signed-off-by: Dmitry Skiba <dskiba@google.com>
2024-12-06 07:23:40 +00:00
David Li
0ca625634d Merge "audio: align volume curve" into main 2024-12-06 06:43:18 +00:00
David Li
fc98bc4ea6 audio: align volume curve
Bug: 382270418
Test: n/a
Flag: EXEMPT bugfix
Change-Id: I396b61b57a07307285abeffa911fafdb04221e91
2024-12-06 03:14:34 +00:00
Treehugger Robot
7887236511 Merge "Revert "shusky/haptics: Remove voltage restriction for haptics"" into main 2024-12-05 22:15:01 +00:00
Zouberou Sayibou
a0670ae6e7 Revert "shusky/haptics: Remove voltage restriction for haptics"
Revert submission 30661505-tdm_amplitude_limitation_removal_dvl

Reason for revert: short time to properly test before 25q1 cut-off.

Reverted changes: /q/submissionid:30661505-tdm_amplitude_limitation_removal_dvl

Bug: 318476589

Change-Id: I7d0fc0f64aa41cd901797cfc4a81eb41e7de1c05
2024-12-04 23:13:04 +00:00
Zouberou Sayibou
ad6d888fd9 Merge "shusky: Remove dbc properties for fw 7.2.81." into main 2024-12-04 10:22:30 +00:00
Limon Mia
d3740d5bcb Merge "Add Samsung Galaxy Buds 3 pro to the LE audio allow list" into main 2024-12-04 02:00:55 +00:00
Jimmy Shiu
2201401f7b Merge "PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies" into main 2024-12-03 02:24:12 +00:00
Zouberou Sayibou
53e6a3d054 shusky: Remove dbc properties for fw 7.2.81.
Removing dbc properties after adding dbc tuning file for
shiba and husky.

Bug: 377913163
Flag: EXEMPT mk only update
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
CtsVibratorTestCases
Change-Id: I59d864dd459b8622af3b119a849f0617a1027207
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-03 02:15:23 +00:00
Chris Paulo
dcc325566b shusky/haptics: Remove voltage restriction for haptics
Remove the voltage restriction for haptics since DVL is enabled.  This
will allow FW control for exertion protection of the motor, and allow
for stronger output for audio-haptics.

Bug: 318476589
Flag: EXEMPT config xml change
Test: dumpsys vibrator_manager and accel measurement
Change-Id: Ic8ece936df599725ad1ab66089b0f66a3791e422
2024-12-03 00:26:03 +00:00
Jimmy Shiu
eb79ff9e68 PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies
Set the CPU frequencies of FIXED_PERFORMANCE to align with Thermal CPU Light level.

Bug: 327070837
Test: Boot to home
Flag: NONE powerhal doesn't have a flag yet
Change-Id: Ibb698b608c21c2a4f81354f852cb077345907947
2024-12-02 08:14:22 +00:00
Xin Li
ebb85f4b84 [automerger skipped] Merge ab/AP4A.240925.013 into aosp-main-future am: 9a96d60af3 -s ours
am skip reason: Merged-In Ic19ff6af1a86f94853e8d2c65012ee247ae25bde with SHA-1 11aaff6299 is already in history

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

Change-Id: I1bcf21556cca29c7751187eff1be27be95f07c5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 18:18:51 +00:00
Treehugger Robot
c31cc1f32f Merge "Revert "thermal: Add JSON Schema Checker"" into main 2024-11-25 18:03:02 +00:00
TeYuan Wang
3f93d0e415 Revert "thermal: Add JSON Schema Checker"
Remove thermal JSON Schema Checker first to avoid the false positive
because it cannot support the current thermalHAL design.

This reverts commit 97871af7ae.

Bug: 380370209
Test: build
Flag: EXEMPT disable config checker
Change-Id: I771d748373520399201b06799737496bfd9c8bad
2024-11-23 00:12:24 +00:00
Limon Mia
882ac42099 Add Samsung Galaxy Buds 3 pro to the LE audio allow list
Bug: 380369950
Test: PTE PQM-BT LE audio unicast test
Flag: EXEMPT The Samsung Galaxy Buds 3 pro users are able to disable LE audio in Settings app
Change-Id: I142d38d66e844aab35a72733e84374df72158042
2024-11-22 07:09:38 +00:00
David Chao
ca743653c2 Merge "thermal: update thermal config" into main 2024-11-22 05:19:23 +00:00
Xin Li
9a96d60af3 Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: Ic19ff6af1a86f94853e8d2c65012ee247ae25bde
Change-Id: Idbaffc65743da6b0daf9af80398b3f409d9c2a3b
2024-11-21 15:09:59 -08:00
Treehugger Robot
b76898c5cd Merge "Revert "powerhint: enable auto_prefer_idle in games"" into main 2024-11-21 19:47:31 +00:00
Kame(TeYuan) Wang
758dd12700 Revert "powerhint: enable auto_prefer_idle in games"
Revert submission 29817358-p23_auto_prefer_idle

Reason for revert: Power efficiency regression

Reverted changes: /q/submissionid:29817358-p23_auto_prefer_idle

Bug: 372961087
Test: manual testing
Change-Id: I4b24954cb37a469c2d6835e6f01e6abc655ce0b2
2024-11-21 18:23:40 +00:00
Joner Lin
7db364174f Merge "bt: add bthal service permission to access bt wakelock control device node" into main 2024-11-21 07:12:50 +00:00
Isaac Chiou
f89ff69fdc Merge "Disable Wifi BugReport for subsystem restart" into main 2024-11-20 12:58:29 +00:00
jonerlin
c93b55b02b bt: add bthal service permission to access bt wakelock control device node
Bug: 380024887
Test: BLE scan test and check wakelock time
Flag: EXEMPT project configuration patch.
Change-Id: Iafce4fea2e80e1eac076ce2258f62bbe5159513a
2024-11-20 12:33:25 +00:00
Joner Lin
8b4fe1f51c Merge "Enable bthal service recovery by restart" into main 2024-11-19 12:42:08 +00:00
jonerlin
fc28f056f7 Enable bthal service recovery by restart
Bug: 368342010
Test: Fake bt crash and check log
Flag: EXEMPT project configuration patch.
Change-Id: I70c0f23819011ecd6b7424569e06758596090a8a
2024-11-19 09:19:03 +00:00
Treehugger Robot
933c21ebe5 Merge "thermal: remove duplicate counting power rail" into main 2024-11-19 05:21:58 +00:00
Xin Li
c51bcfef0b [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 70c0fe6355 -s ours
am skip reason: Merged-In I977fa738050ae90d6f0cf7d0bb5d1f5a006ab696 with SHA-1 449e58e874 is already in history

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

Change-Id: I435052d96ce0fd4ddf754740a61b3803a42aca7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:49:32 +00:00
Rios Kao
b159a75c28 Merge "shusky: add microphone info for aidl hal." into main 2024-11-12 09:25:42 +00:00