Commit graph

3730 commits

Author SHA1 Message Date
guibing
4995c6b3c2 ADPF:felix: 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: I3e1fe7eb31b34118aa520b1d7afa817cac7c3d4a
2025-02-03 19:22:07 +00:00
Angela Wang
3669e14611 Merge "Hide LE audio toggle for ASHA device on F10" into main 2025-01-20 01:14:36 -08:00
Angela Wang
20604eeb21 Hide LE audio toggle for ASHA device on F10
Set bluetooth.leaudio.toggle_for_asha to false

Flag: EXEMPT properties change only
Bug: 390070780
Test: m
Change-Id: Ia1d5ef7734f3a7664fd7e01e9188873de5df1a44
2025-01-16 07:04:17 +00:00
Paulsu Su
6cc7a91ca5 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-15 00:47:33 -08:00
Isaac Chiou
aa0578b25b Merge "Enable open source multi akm for specific Broadcom project" into main 2025-01-14 18:42:46 -08:00
Treehugger Robot
089d0e50c2 Merge "Update IDisplay to V13-V14" into main 2024-12-30 14:30:43 -08:00
Treehugger Robot
54ddb26590 Merge "Disable Bluetooth Hearing Access Profile default enable for F10" into main 2024-12-30 02:41:37 -08:00
Tommy Chang
5d6cd93572 Disable Bluetooth Hearing Access Profile default enable for F10
Set bluetooth.profile.hap.enabled_by_default to false

bug: 386323913
Test: m
Flag: EXEMPT, properties change only for feature config
Change-Id: I53dde6578fb079dd0fa4780e083cd052b19c3770
2024-12-30 00:33:53 -08:00
Hung-Yeh Lee
e2b1912322 Merge "display-dump: make display dump project-specific" into main 2024-12-29 18:31:49 -08:00
Isaac Chiou
4d7babd833 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: I70165b0af3271ef4835119d1c7cd5a906cf4cb59
2024-12-25 00:59:50 -08:00
Chung-Kai (Michael) Mei
ccdbdfbbd2 Merge changes Iaeb21216,I984252d8,Ica39fe7d into main
* changes:
  Change set preferred idle mask to top-app
  Backport autopreferfit for launch
  Revert "backport launch powerhint to felix"
2024-12-24 21:14:01 -08:00
Chungkai Mei
6e1fd03c38 Change set preferred idle mask to top-app
Set value to 0x3f exclude big core for all low/mid priority when app launch.

Bug: 379810138
Flag: EXEMPT add powerhint config
Change-Id: Iaeb21216459a150107f44838aec5e410cb278a30
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-24 18:59:32 -08:00
Chungkai Mei
5d7d292cd1 Backport autopreferfit for launch
Bug: 379810138
Flag: EXEMPT add powerhint config
Change-Id: I984252d8cd38cdd8f0e1837f991923fc93574cba
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-24 18:47:16 -08:00
Chung-Kai (Michael) Mei
0f4f93aec6 Revert "backport launch powerhint to felix"
This reverts commit c0cc1cd8f1.

Reason for revert: camera has regression

Change-Id: Ica39fe7d25325510689d1835cffdb34a558891af
2024-12-24 08:36:40 +00:00
Chris Lu
fcc7ac974c Update IDisplay to V13-V14
V14 is not frozen yet. We should still allow V13 for 'next' build.

Bug: 381463038
Bug: 378407278
Test: build pass
Flag: EXEMPT bugfix
Change-Id: I6d084f0ca137528b1fa8b312beed72aef1b368a5
2024-12-23 22:57:26 -08:00
Zouberou Sayibou
b8b980862d Felix HAL: Added RECORD_COMPOSE macro for composite effects.
Added the composite vector effects to HAL dumpsys instead
of the size.

Bug: 376330571
Flag: EXEMPT log only update
Test: Flash to device and verified dumpsys
Test: atest VibratorHalCs40l26TestSuitePrivate
Change-Id: I59efffdbe78bc865ca60a30d8c6a9bdc855def6b
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-23 16:10:24 -08:00
Zouberou Sayibou
e0def5d0df Merge changes I59298139,If9519ae3 into main
* changes:
  Felix HAL: Move mActiveId_mutex as a private member.
  Felix HAL: Add Destructor to the vibrator HAL.
2024-12-17 22:43:58 -08:00
Chungkai Mei
4d81a12b4e remove unused hint
As we already migrated kernel to 6.1, NewlyIdleBalancer is not used
anymore.

Flag: NONE just remove unused hint
Bug: 379810138
Change-Id: I320983d36c2cc8edae99e5c132ca63f4d2237046
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-17 02:09:37 -08:00
Xin Li
23c6ea52f4 [automerger skipped] Merge 24Q4 into AOSP main am: faef291f4c -s ours am: c5b0c9b98c -s ours
am skip reason: Merged-In I56f0139c748a3a04df9f3998653121948846c8fe with SHA-1 7c1f13c5a9 is already in history

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

Change-Id: I6f304ae42a53f8181aa77be787ee1d9f51e9c4e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 21:43:32 -08:00
Xin Li
c5b0c9b98c [automerger skipped] Merge 24Q4 into AOSP main am: faef291f4c -s ours
am skip reason: Merged-In I56f0139c748a3a04df9f3998653121948846c8fe with SHA-1 7c1f13c5a9 is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix/+/3413343

Change-Id: Ied4ac43977d5b670680542e57dbe5029223f5deb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:45:29 -08:00
Xin Li
faef291f4c Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I56f0139c748a3a04df9f3998653121948846c8fe
Change-Id: Ib3ee8cc2880e25a29ac909249c598aa83bfb6f74
2024-12-13 11:15:08 -08:00
Zouberou Sayibou
0c5fb7e754 Felix HAL: Move mActiveId_mutex as a private member.
Bug: 379619627
Flag: EXEMPT test only
Test: VibratorHalCs40l26TestSuite
Change-Id: I59298139e68777e37f9f45de9661de59ba34cb83
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-11 07:55:29 +00:00
Chung-Kai (Michael) Mei
5ae1233739 Merge "backport launch powerhint to felix" into main 2024-12-11 06:58:09 +00:00
Zouberou Sayibou
8a2d7fdd7c Felix HAL: Add Destructor to the vibrator HAL.
Bug: 379618185
Flag: EXEMPT test only
Test: VibratorHalCs40l26TestSuitePrivate
Change-Id: If9519ae3aa6b3bd66bfd0a0c9bac844dddfb2f28
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-11 05:53:51 +00:00
Zouberou Sayibou
846792c360 Merge "Felix HAL: Added IVibrator event logs in dumpsys." into main 2024-12-10 00:14:00 +00:00
Chungkai Mei
c0cc1cd8f1 backport launch powerhint to felix
As we already migrate kernel to 6.1, let's use new hint to enhance
launch performance

Bug: 380188383
Flag: EXEMPT add powerhint config
Change-Id: I8cd8fed9a65909fe6ad1b693008bd9c7b7558365
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-09 07:11:29 +00:00
Eileen Lai
f62bd8d2e2 modem_svc: use modem_svc_sit version sepolicy
For solving sepolicy conflicts for different AP version, modem_svc_sit will support devices from gs101 to zuma_pro.

Bug: 372400955

Change-Id: I6f434094d9886f0aabd4df03e0d170578c15b457
Flag: NONE local testing only
2024-12-08 07:38:56 +00:00
Zouberou Sayibou
a4f3009676 Revert "felix/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: I0e4043be9b4d96b75234fbd160bad6a5b4eab7e1
2024-12-04 23:12:17 +00:00
Hung-Yeh Lee
4be8bf0c04 display-dump: make display dump project-specific
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: Ie478ed909f02df4cca8648a415f8b629c2c454b3
2024-12-04 14:45:02 +08:00
Zouberou Sayibou
c8208e32b6 felix/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 json change
Test: dumpsys vibrator_manager and accel measurement
Change-Id: I2263206a423c7731f930c213e68c7fb9fd8d6a3a
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-03 00:27:00 +00:00
Barry Wang
e66340bee2 Merge "Update F10 Bluetooth LEA unicast allowlist: Samsung Galaxy Buds 3 pro" into main 2024-11-26 08:40:34 +00:00
Treehugger Robot
1393f13474 Merge "Enable TAPreferHighCap for first frame" into main 2024-11-26 04:04:18 +00:00
Xin Li
ef972d0ac9 [automerger skipped] Merge ab/AP4A.240925.013 into aosp-main-future am: 19b5cf663e -s ours
am skip reason: Merged-In I56f0139c748a3a04df9f3998653121948846c8fe with SHA-1 ea53f43031 is already in history

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

Change-Id: I8ebc12c77f99b3e416657b411eea962eade176c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 18:18:46 +00:00
Chungkai Mei
0b7eb46d12 Enable TAPreferHighCap for first frame
we already saw some janks caused by longer runnable time.
so Enable TAPreferIdle for first frame

Bug: 372168866
Flag: NONE powerhint do not support flag
Change-Id: I01f699abd1eaed5760789d6c0788cbe4791e2b13
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-11-25 09:53:09 +00:00
Barry
32313267f5 Update F10 Bluetooth LEA unicast allowlist: Samsung Galaxy Buds 3 pro
Add Samsung Galaxy Buds 3 pro into unicast default allowlist.

bug: 380369260
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: Ib96037f904f9326cbf9a46c09496b27955e3df68
2024-11-25 02:10:27 +00:00
Xin Li
19b5cf663e Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: I56f0139c748a3a04df9f3998653121948846c8fe
Change-Id: Ic0c382d2f6e1551b238ef2c67a5d993e55fe70cb
2024-11-21 15:09:58 -08:00
Isaac Chiou
d7999fab5b Merge "Disable Wifi BugReport for subsystem restart" into main 2024-11-20 12:58:30 +00:00
Zouberou Sayibou
e9101cc010 Felix HAL: Added IVibrator event logs in dumpsys.
Ported the changes made in legacyHAL to Felix HAL
which involves adding the IVibrator event to the
HwApi to produce a friendly debugging logs.

Bug: 376330571
Flag: EXEMPT log only update
Test: Flash to device and verified dumpsys
Change-Id: I54262b7451b1ab07669eb9b7e5ad3c4cd3477016
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-11-18 10:37:13 +00:00
Xin Li
181d87b6f3 [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 1226602095 -s ours
am skip reason: Merged-In I57bbf91eb9ce9c35a103cfc54f9a6f2002eba54a with SHA-1 a42bff7938 is already in history

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

Change-Id: Iac1ef86e475fff156c9a39a2a7767c1146df3b3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 01:00:10 +00:00
Miller Liang
41145025fe Merge "audio: fix cts AAudioTests failed on GSI image" into main 2024-11-11 04:09:48 +00:00
Isaac Chiou
067d8c641d Disable Wifi BugReport for subsystem restart
Flag: EXEMPT gated by overlay
Bug: 373594936
Test: Manuel test, trigger SSR and won't create bugreport automatically
Change-Id: If4b749b933d305e35b8bff689c08ebd080243c2c
2024-11-08 09:38:33 +00:00
millerliang
11690d6960 audio: fix cts AAudioTests failed on GSI image
Set all the audio policy configuration files to the correct
format for mmap-playback.

Flag: EXEMPT bugfix
Bug: 372047634
Test: Manual Test
Change-Id: I091b7360fabb60990b60210bd7417179f5c319eb
Signed-off-by: millerliang <millerliang@google.com>
2024-11-08 09:30:18 +00:00
Xin Li
1226602095 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I57bbf91eb9ce9c35a103cfc54f9a6f2002eba54a
Change-Id: If6fbe780861ff224296983e789285ab19679b83e
2024-11-06 10:31:18 -08:00
Kyle Hsiao
ccd324c4b3 Update ISODEP routing setting
Bug: 323953256
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ic809f837493ea92b47545dde7b5cf7c52831326f
2024-11-05 06:36:21 +00:00
Zouberou Sayibou
eed7c72e34 Merge "Felix HAL: Fixed VibratorTest unit tests errors." into main 2024-11-04 22:11:42 +00:00
Zouberou Sayibou
2b7642486b Felix HAL: Fixed VibratorTest unit tests errors.
Fixed Felix HAL VibratorHalCs40l26TestSuitePrivate
3 failed tests:
- VibratorTest#on
- VibratorTest#perform/CLICK_LIGHT,
- VibratorTest#perform/HEAVY_CLICK_STRONG.

Moving the mActiveId_mutex to a global variable caused issues with the #perform/HEAVY_CLICK_STRONG test failing to call the HwApi and the #perform/CLICK_LIGHT test failing due to an outdated timeout value. Additionally, the intensifyToVolLevel function was returning an incorrect value, requiring a check to be added to the testing function.

Bug: 373761684
Flag: TEST_ONLY
Test: Ran VibratorHalCs40l26TestSuitePrivate.
Change-Id: Ibcdbc874c5c96644f3f647cc240b5012907253d4
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-11-01 18:32:25 +00:00
Dmitri Plotnikov
0705ab4ca1 Merge "Add power profile config to reflect the presence of two displays" into main 2024-10-28 20:41:33 +00:00
Treehugger Robot
ce15d2389d Merge "vibrator/cs40l26: update default scales of click, tick and long vib" into main 2024-10-25 10:59:08 +00:00
Tai Kuo
f669a1ea52 cs40l26: add DBC bin info and reduce duplicates
Bug: 356823441
Test: dumpsys android.hardware.vibrator.IVibrator/default
Flag: EXEMPT bugfix
Change-Id: Id3d9fac99b204de581269818e69722932e4911fc
(cherry picked from commit 6e4e8d2052e352a56eeab2e452addaf484d79d9f)
2024-10-24 10:46:17 +00:00
Tai Kuo
46065a4462 vibrator/cs40l26: update default scales of click, tick and long vib
Flow:
1. If the calibration file exist, use the value.
2. If no property, use the default setting {5,95}.

Bug: 356823441
Bug: 322937989
Test: Check dumpsys records for the scaling results.
  case1: no calibration file and properties.
  case2: valid property range
  case3: float property (invalid)
Flag: EXEMPT bugfix
Change-Id: Ia3e89f34189e9725ab01d85d931925129745608c
(cherry picked from commit 4063493a64fcd0f20b49a492106f58b0e3349c5c)
2024-10-22 20:50:23 +08:00