Commit graph

3719 commits

Author SHA1 Message Date
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
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
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
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
Tai Kuo
0b3cc7ea7b cs40l26: organize dump() AIDL section
Bug: 356823441
Test: dumpsys android.hardware.vibrator.IVibrator/default
Flag: EXEMPT refactor
Change-Id: Ie14e60482c3e6763921dc22f804155cd6f3b9fcd
2024-10-21 11:43:19 +08:00
Dmitri Plotnikov
0f940132a1 Add power profile config to reflect the presence of two displays
Bug: 363857767
Test: adb shell dumpsys batterystats
Flag: EXEMPT_bugfix
Change-Id: I14add1339ef418b89201bc56c1b9cec80f3afc79
2024-10-18 16:12:02 -07:00
Ali K. Zadeh
03e46a5e0f Merge "[felix] Define CAMERA_MULTICAM_BOOST" into main 2024-10-15 23:10:58 +00:00
Treehugger Robot
f8f3aaf665 Merge "vibrator: correct debug() calibration file path" into main 2024-10-15 20:58:48 +00:00
Tai Kuo
f0ebfabee8 Update OWNERS am: 3f7ccdf45f am: 3e14bb76f4
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3309623

Change-Id: I1269e5f44491cde4442c02695abc768602892710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:15:42 +00:00
Tai Kuo
3e14bb76f4 Update OWNERS am: 3f7ccdf45f
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3309623

Change-Id: Ibbcef482c38a722c250ea2d0f2b56095d4ca6a54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 19:55:46 +00:00
Tai Kuo
3f7ccdf45f Update OWNERS
Bug: 362659323
Test: N/A
Flag: EXEMPT OWNERS change
Change-Id: I6e2148448f1105933d66cec57cb879054657eeda
2024-10-16 00:58:23 +08:00
Tai Kuo
c5a772a3f2 vibrator: correct debug() calibration file path
Bug: 356823441
Test: dumpsys
Flag: EXEMPT bugfix
Change-Id: I2d126e63ae7365b4bd199d00776f10b11c700702
2024-10-15 20:27:45 +08:00
Eileen Lai
9c9f564b77 modem_svc: use shared_modem_platform to replace all modem_svc_sit
Bug: 368257019

Flag: NONE local testing only
Change-Id: Ic54f0cbc895de8ba038cb581d055287768c1e23a
2024-10-09 07:55:28 +00:00
Treehugger Robot
70c67ccdb5 Merge "felix: Pull init.insmod.*.cfg from vendor_dlkm" into main 2024-10-08 22:15:21 +00:00
Brian Norris
32a1b78620 felix: Pull init.insmod.*.cfg from vendor_dlkm
We've started pushing init.insmod.*.cfg into the kernel prebuilts, and
installing it to /vendor_dlkm/etc, but it may not be available on all
prebuilt variants (e.g., kernel 5.10).

Here, we:
1. conditionally install our common init.*cfg to /vendor_dlkm (only if
   $(TARGET_KERNEL_DIR) doesn't have a copy)
2. point init at /vendor_dlkm/etc

When we've cycled completely off of kernel 5.10, we can drop #1.

Bug: 369686096
Test: build, boot
Flag: EXEMPT refactor
Change-Id: If8f879366645cbe9bf330d136dd7190763b2d6bc
2024-10-08 20:12:15 +00:00