Commit graph

4084 commits

Author SHA1 Message Date
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
Michael Bestas
94385360a2
felix: Enable ELF checks for c2 codec libs
Change-Id: I7702c3104fde477e27a18998982605673de29aee
2024-11-01 05:14:54 +02:00
Michael Bestas
d9e22834bb
fixup! felix: overlay: Import foldable auto rotate translations
Change-Id: Idd934d1d9fa015fd2c216df7d9cdcc170027b72b
2024-10-30 12:27:07 +02:00
Michael Bestas
c9ae61df9c
fixup! felix: overlay: Import selected framework-res/Settings product RRO overlays
Change-Id: I636b2f0d47a338acaf249c6d6fe10b5515e4fca3
2024-10-30 12:27:07 +02:00
Michael Bestas
722299ba9e
felix: Add felix-services.jar
Change-Id: Ia18181006fbea8d09ff121a8dc94086b92dbcf9c
2024-10-30 12:27:07 +02:00
Android Build Coastguard Worker
768c2c61fe Snap for 12573674 from 0705ab4ca1 to 25Q1-release
Change-Id: Ic2b5950fba030f6cbb37fae96fb9e93cdc68ec13
2024-10-29 23:03:50 +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
Naman Sood
ca6dcdf246
felix: fix padding in status bar
These overlays seem to be left over from barbet. With these values
adjusted, the padding on left and right sides of the status bar is
more symmetrical, and in line with the felix stock ROM.

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I10c3f495b7627200b05a24f5b259f789e62ada13
2024-10-27 13:18:50 +02:00
Michael Bestas
59692c195b
felix: Copy touch modules to vendor_kernel_boot
Makes touch work in recovery
fst2/ftm5 require goog_touch_interface symbols too

Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Iaa5a158af827732b13ab79b60bed2f319ce56391
2024-10-27 13:18:50 +02:00
Michael Bestas
c8528f01ae
Revert "felix: Disable advanced display rotation settings"
This reverts commit af283bfd6d.

Reason for revert: Moved to lineage-sdk and overlaid at
vendor/lineage fold specific overlays.

Change-Id: Ib5cca6171c4f1fb2ee5f680e890d8eb6df88d18a
2024-10-27 13:18:50 +02:00
Android Build Coastguard Worker
fb79a976d0 Snap for 12559614 from ce15d2389d to 25Q1-release
Change-Id: I483c283f6e409722d530d39a071a35edb7fc9661
2024-10-26 01:07:43 +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
Michael Bestas
ba2b1d00c6 fixup! Add initial Lineage product makefiles
Change-Id: Ie0a1c81d5b0c95d66365d85aa0173613bc57668a
2024-10-20 00:59:49 +00:00
Ethan Chen
4c3321d29a felix: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-19 23:55:21 +00:00
Michael Bestas
74f0c6be8c felix: Disable Wi-Fi verbose logging by default
Change-Id: Iafe9f4b83d157906ca6b9114db52ab27b1a01878
2024-10-19 23:55:14 +00:00
Michael Bestas
cdb4cb9393 felix: Add lineage.dependencies
Change-Id: Iab5f4f4b2d98606e4f658c69e8f16f73ce7924bb
2024-10-19 23:55:04 +00:00
jabashque
9c181e00cc
felix: Enable Osaifu-Keitai on non-Japanese SKUs
https://github.com/kormax/osaifu-keitai-google-pixel/

Test 1 & 2 on a Global SKU Google Pixel 6a (bluejay):
- Observe that Osaifu-Keitai doesn't function WITHOUT this change.
- Observe that Osaifu-Keitai functions normally WITH this change.

Test 3 & 4 on a Japanese SKU Google Pixel Fold (felix):
- Observe that Osaifu-Keitai functions normally WITHOUT this change.
- Observe that Osaifu-Keitai continues to function normally WITH this change.

Change-Id: I9faac2e130714a41e6922b62d2019dae0d615a3b
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-10-20 01:23:57 +03:00
Michael Bestas
af283bfd6d
felix: Disable advanced display rotation settings
Change-Id: Ic77faf7c75195090ce57fa41a90d4e8c5b68a46d
2024-10-20 01:23:56 +03:00
Michael Bestas
16cbad8af3
felix: overlay: Import foldable auto rotate translations
Change-Id: Icf2edee3b3dff472f0f4cd8d0a6b5e1da1398268
2024-10-20 01:23:56 +03:00
Michael Bestas
0ccd493bb8
felix: overlay: Import selected framework-res/Settings product RRO overlays
Change-Id: I375809d68a093be9b0a17d761bda0b41e1e4cac4
2024-10-20 01:23:56 +03:00
Tommy Webb
8cc113140b
felix: Update IWLAN config with IMS changes in gs201
Resolve issues with VoWiFi (Wi-Fi Calling) for Pixel 7 series, which
now uses a different proprietary package for its qualified networks
service.

Issue: calyxos#1324
Change-Id: Ie2984ff22cf786eb82a536bfb1d9ffaff15ae079
2024-10-20 01:23:56 +03:00
Michael Bestas
c05e6d064f
felix: overlay: Configure aux cameras for Aperture
Change-Id: I3d1c93057b5c2a1ba09c06a945d538d2043f30fd
2024-10-20 01:23:56 +03:00
Bruno Martins
6808d985f4
overlay: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-10-20 01:23:56 +03:00
Danny Lin
5530356dad
overlay: Settings: Enable Smooth Display setting
felix has peak refresh rate higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
2024-10-20 01:23:56 +03:00
Michael Bestas
5041c42bde
felix: Add HbmSVManager RRO overlay
* Based on redfin

Change-Id: I54d885c233151498372e1b510284d6a297ac3e94
2024-10-20 01:23:56 +03:00
Chirayu Desai
762f28153d
Build EuiccSupportPixelOverlay
Change-Id: I46db4122b89798457338f6751982865571529ba6
2024-10-20 01:23:55 +03:00
Michael Bestas
82d9c9660e
Include wireless_charger makefile
This includes the required sepolicy and compatibility matrix
in the build.

Change-Id: I3096357c5f45e664a7b39870fdc053e48d1361ad
2024-10-20 01:23:55 +03:00
Chirayu Desai
8cbd99c2e5
felix: Set up proprietary files extraction
* The proprietary files lists are generated by comparing stock partition
  contents with AOSP generated partitions.

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b78ccf212d8364070c40fe3c7d06d4048e3fe4
2024-10-20 01:23:55 +03:00
Ethan Chen
7f60a74010
Declare EUICC permission
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Change-Id: I323dce8b848b44e45ed21002950059e58719113c
2024-10-20 01:23:42 +03:00
Chirayu Desai
93fa8f4d73
Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2024-10-20 01:23:41 +03: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
Android Build Coastguard Worker
f4a1511369 Snap for 12508860 from 03e46a5e0f to 25Q1-release
Change-Id: I46e7e29d2c618dfc5e4c6a067595576fbf146a89
2024-10-16 23:02:52 +00: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
Android Build Coastguard Worker
0460af54e7 Snap for 12496712 from 9c9f564b77 to 25Q1-release
Change-Id: Ie249be93a3845e7de8ab382ec30e44fcb0cea09b
2024-10-14 23:03:10 +00:00
Android Build Coastguard Worker
75561aa57a Snap for 12477291 from 70c67ccdb5 to 25Q1-release
Change-Id: Ib21b9a56be2567e9756994ab8448d8e644edb336
2024-10-09 21:02:41 +00: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
Android Build Coastguard Worker
598939bc97 Snap for 12465365 from da210da2f2 to 25Q1-release
Change-Id: I140cb82123e8f8daf1b3217669a7ad6e7dbf8049
2024-10-07 23:03:05 +00:00
Android Build Coastguard Worker
e35aab62b7 Snap for 12462067 from 583f46ea0a to mainline-tzdata6-release
Change-Id: I94b9d66f8b862d7feb7c1d2b5ceb625dcc9b8da6
2024-10-07 08:57:01 +00:00
Jim Tang
da210da2f2 Merge "Move modem_svc_sit from gs201 to felix" into main 2024-10-07 08:45:20 +00:00
Ravi Jain
583f46ea0a Merge "vibrator: Update location of PixelVibratorFlags" into main 2024-10-07 06:57:59 +00:00