647 Commits
udc ... bka

Author SHA1 Message Date
3de08565d4 felix: Initialize for Evolution X 11.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-09-26 04:54:53 +00:00
Michael Bestas
fbfff3c21d felix: Drop prebuilt kernel dependency
Change-Id: I0d052ae5791eee5c7925daa52350deac4c0efc74
2025-08-28 16:16:45 +03:00
Michael Bestas
9845f42f16 Update fingerprint/build description from BP2A.250805.005
Change-Id: I0a3e1941eaf1fde18e10a30e6edfd484f4e00d5b
2025-08-13 02:22:25 +00:00
Michael Bestas
81048a1035 Update fingerprint/build description from BP2A.250705.008
Change-Id: I7c07a036256862a973dd4d06c2708542705800e8
2025-07-09 16:02:42 +03:00
Michael Bestas
ebcbedcf7a felix: Selectively update overlays from BP2A
Change-Id: Ie95d7833851771588581549ee900379c57683e46
2025-06-26 10:19:52 +03:00
Michael Bestas
04ead3afe7 felix: Drop flood control HAL
We are missing the sepolicy for it and it's disabled

Change-Id: I22f2055e74ecfd3115cd035e685245ca0d6202e2
2025-06-26 10:19:52 +03:00
Michael Bestas
cf5fb03e4e felix: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 10:19:52 +03:00
Michael Bestas
1a92846db4 felix: Remove userdebug/eng configuration
Change-Id: I3739e6e099681c667c80723f0f6e3197923ff762
2025-06-26 10:19:52 +03:00
Michael Bestas
52b6eec00a felix: Remove factory scripts & self-extractors
Change-Id: I64f34481d9d3a41f5c01b5a9a3cd27db2cd10866
2025-06-26 10:19:52 +03:00
Michael Bestas
c3169a59b5 felix: Update FCM for 16
Change-Id: If85ec83e37e9d983903aed4c6f809664fd2b293e
2025-06-26 10:19:52 +03:00
Michael Bestas
12ce0e3166 felix: Remove all boards except felix
Change-Id: Ib34dd38d55f39e9a61c0f61d9c659e07494177a1
2025-06-26 10:19:52 +03:00
Michael Bestas
7e0e1346a3 felix: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-26 10:19:51 +03:00
Michael Bestas
691b7bab5e felix: Remove dependency on gs101
Change-Id: Ib4533ef5566ec442dfa1f20928789362a8628319
2025-06-26 10:19:51 +03:00
Michael Bestas
646446e06c Update fingerprint/build description from BP2A.250605.031.A2
Change-Id: I655c04ee865b56e7a80c5eaf9993d45f689374a0
2025-06-26 10:19:51 +03:00
Michael Bestas
926b88cc9a felix: Update UWB calibration from BP2A
Change-Id: I5114b07f04d1870abdd85170c9e1aaa9ac9d40d6
2025-06-23 22:48:15 +03:00
Michael Bestas
d88eb49c32 felix: Update gps configuration from BP2A
Change-Id: If17af64c96227a9655a0e6e287cc311bd62b4c4f
2025-06-23 22:48:11 +03:00
Michael Bestas
0c86531b29 felix: Update bluetooth configuration from BP2A
Change-Id: I2d7a821a558e9074d1e45465110dd9cdae43702f
2025-06-23 22:48:05 +03:00
Michael Bestas
129764f4ae felix: Update proprietary files setup for 16
Change-Id: I915a8192f5694d03ddbd2a6d4c6ea5033669500a
2025-06-23 22:47:55 +03:00
Michael Bestas
b34ac9e6d4 Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020
aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eHetAKCPkChvFKirzr7wCwG+ez/86NakwgCfcM7RMQKs4PHcmAk6Nkw6YHaPKzU=
# =9k4J
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Chungkai Mei (4) and others
# Via Android (Google) Code Review (10) and others
* tag 'aml_tz6_351400020':
  Remove old unused VINTF manifest file
  Enable BQR vendor snoop log
  ADPF:felix: use tagged ADPF profile for SYSTEM_UI.
  ADPF:felix: remove unused adpf profiles.
  Hide LE audio toggle for ASHA device on F10
  powerhint: Mask hints in AA and DISPLAY_IDLE
  Disable Bluetooth Hearing Access Profile default enable for F10
  Enable open source multi akm for specific Broadcom project
  Change set preferred idle mask to top-app
  Backport autopreferfit for launch
  Revert "backport launch powerhint to felix"
  Update IDisplay to V13-V14
  Felix HAL: Added RECORD_COMPOSE macro for composite effects.
  remove unused hint
  Felix HAL: Move mActiveId_mutex as a private member.
  Felix HAL: Add Destructor to the vibrator HAL.
  backport launch powerhint to felix
  display-dump: make display dump project-specific
  Felix HAL: Added IVibrator event logs in dumpsys.

Change-Id: I6d4395f32a836828cba1a38fb3db90f9262abb82
2025-06-23 05:19:18 +03:00
Michael Bestas
3424042f59 Update fingerprint/build description from BP1A.250505.005.B1
Change-Id: I4dd2700dd91d0d6c043629e955d192f861597f6c
2025-05-07 06:18:39 +03:00
Michael Bestas
c33d3f3e3f Update fingerprint/build description from BP1A.250405.007.B1
Change-Id: I82d2b9ac934c00912422cc6ef45aef412c381151
2025-04-11 19:34:52 +03:00
Michael Bestas
41a7169d7f Update fingerprint/build description from BP1A.250305.019
Change-Id: I12d7cc905f70bcd3fc30c2ccad30cf410fd780b0
2025-03-11 16:08:33 +02:00
Michael Bestas
d69bffd6e4 Update lineage.dependencies
Change-Id: Idf9ef8cac172518b5337de2de071f212e82866a9
2025-03-10 18:56:40 +02:00
Michael Bestas
4b90b1a800 Include missing vibrator sepolicy
Change-Id: Iac3a36e884dc1747d4fd0a60b418ffbf3779ffdb
2025-03-09 12:16:01 +02:00
Michael Bestas
c882851239 vibrator: Rename flags to avoid conflicts with prebuilts
Change-Id: Ibfd657c2ee3a393b7eb71a17d66770867ec1f738
2025-03-09 12:14:23 +02:00
Michael Bestas
a6c73e18dc Disable ELF checks for gpsd
Somehow it depends on multiple versions of the same AIDL interface.
Disable ELF checks and remove the older dependency for now.

Change-Id: Id57ab481b248d4c394597cbb8b15d5b839b0f911
2025-03-09 12:14:23 +02:00
Michael Bestas
b10b38f37b proprietary-files: BP1A.250305.019
Change-Id: Ifa101ec3aba60459a82ec088223139b62dcb74ac
2025-03-09 12:14:23 +02:00
Michael Bestas
656e2f203c Merge tag 'android-15.0.0_r20' into staging/lineage-22.2_merge-android-15.0.0_r20
Android 15.0.0 Release 20 (BP1A.250305.019)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo6gAKCRDorT+BmrEO
# eChJAKCAtiyGb/6641UG0H/a0uS9y0ltCQCfSmR94ePAO2Y4cvEy8jh+/wSrwac=
# =y5oH
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:14 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Tai Kuo (5) and others
# Via Android Build Coastguard Worker (20) and others
* tag 'android-15.0.0_r20': (24 commits)
  modem_svc: use modem_svc_sit version sepolicy
  Revert "felix/haptics: Remove voltage restriction for haptics"
  felix/haptics: Remove voltage restriction for haptics
  Enable TAPreferHighCap for first frame
  Update F10 Bluetooth LEA unicast allowlist: Samsung Galaxy Buds 3 pro
  Disable Wifi BugReport for subsystem restart
  audio: fix cts AAudioTests failed on GSI image
  Update ISODEP routing setting
  Felix HAL: Fixed VibratorTest unit tests errors.
  cs40l26: add DBC bin info and reduce duplicates
  vibrator/cs40l26: update default scales of click, tick and long vib
  cs40l26: organize dump() AIDL section
  Add power profile config to reflect the presence of two displays
  Update OWNERS
  vibrator: correct debug() calibration file path
  modem_svc: use shared_modem_platform to replace all modem_svc_sit
  felix: Pull init.insmod.*.cfg from vendor_dlkm
  Move modem_svc_sit from gs201 to felix
  vibrator: Update location of PixelVibratorFlags
  gps: set default SUPL SSL method to SSLv23
  ...

Change-Id: I4da020f16b76d36569b0837e36d6a38ede64398c
2025-03-09 11:05:16 +02:00
Android Build Coastguard Worker
d08df93036 Snap for 13025264 from eaa404639e to mainline-tzdata6-release
Change-Id: I84dc4af82485da5f6e133a932e396a8c23ad5bc3
2025-02-06 14:20:53 -08:00
Devin Moore
eaa404639e Remove old unused VINTF manifest file am: 6c8adcff9a am: 3aecff3566
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3478101

Change-Id: I448af645a8d2999a4a01391ee126a7e26ef29b68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 03:30:58 -08:00
Devin Moore
3aecff3566 Remove old unused VINTF manifest file am: 6c8adcff9a
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3478101

Change-Id: I3215c1f2b6d485044dfeba3de5a7e16c78aa1b37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 03:05:28 -08:00
Devin Moore
6c8adcff9a Remove old unused VINTF manifest file
This file is out of date and unused, so remove it.
It's targeting Android R FCM and declaring old HIDL versions of HALs
that these devices do not use.

Test: m
Bug: 388074589
Change-Id: I516dd5bc80c44f0e44db3d93c5c0fa64f521ef6d
2025-02-05 21:38:20 +00:00
Michael Bestas
d6f0ac4bbd Update fingerprint/build description from AP4A.250205.002
Change-Id: I19f0b5d9e1d5711abfb428fa42ac68c3c8fb8452
2025-02-05 18:02:41 +02:00
Barry Wang
97ee443a0a Merge "Enable BQR vendor snoop log" into main 2025-02-05 07:14:20 -08:00
Barry
6fad9b98e2 Enable BQR vendor snoop log
Enable BQR vendor snoop log and enable enable Vendor Specific Quality
event(s)

Bug: 393491668
Test: Manual Test
Flag: EXEMPT system prop update
Change-Id: I353f2d1369da2c9e55afecfc306ea17cf66001e3
2025-02-04 09:34:50 +00:00
guibing
6285144b08 ADPF:felix: use tagged ADPF profile for SYSTEM_UI.
- Add a event node for SYSTEM_UI;
- Add a separate SYSTEM_UI profile.

Bug: 393196667
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I92c5457480680d4a91058dd19bb12ae1fde8542e
2025-02-03 19:24:09 +00:00
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
Michael Bestas
298662a036 felix: Add more Pixel camera prebuilts
These are present on stock since QPR1

Change-Id: I58ba2d30d28d4c9cd525f1e1d4ddb353eaaf9db0
2025-01-24 13:50:27 +02: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
Michael Bestas
5a67c56f59 Add missing IWLAN packages
Change-Id: I671e4f057eb3fbe94f63dc16bf697867278e3eb2
2025-01-14 00:39:21 +02:00
Michael Bestas
cc0d02a020 Update fingerprint/build description from AP4A.250105.002
Change-Id: I00f4797e9b2b4554326295f79a679071350db16c
2025-01-08 12:11:02 +02:00
Android Build Coastguard Worker
a6d0c2ea26 Snap for 12872597 from 089d0e50c2 to mainline-tzdata6-release
Change-Id: Id5f364b9a1370a744e4411df99c90c9a0dbc6491
2025-01-06 04:35:00 -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
Michael Bestas
9cf97e409c proprietary-files: AP4A.241205.013
Change-Id: Ia0d253867c9fafa277404610923457b1056c035f
2024-12-11 15:40:24 +02: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
Michael Bestas
0da442b0ad Update fingerprint/build description from AP4A.241205.013
Change-Id: I4a3a96c11ce30af1e3b422a54f1edf98ecc70510
2024-12-11 04:12:23 +02:00
Michael Bestas
9cf4eb3b90 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eNtjAJ9IYzraM4YqV63XOPHQh4f88l61xACfTEjtfWgD7ERJTIHmvn0aEoEnuuQ=
# =k48C
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ken Yang (1) and others
# Via Android Build Coastguard Worker (7) and others
* tag 'android-15.0.0_r6':
  Label sysfs node power_mode as sysfs_display.
  SELinux: add missing wakeup rule
  Update SELinux error

Change-Id: I56be13059f76a4d1d421112bab5c2ad75cf0df90
2024-12-11 03:51:10 +02:00
Michael Bestas
5eecd09be6 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eAdIAKCOskWFzsn0hPfZWGwtrTab2Dx5qACgkcGVmoy28T7jVBy5C34PLquh8y0=
# =hFFT
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (3) and others
# Via Android Build Coastguard Worker (29) and others
* tag 'android-15.0.0_r6': (28 commits)
  gps: set default SUPL SSL method to SSLv23
  Update product id for Felix
  Symlink current prebuilt folder to android root
  cs40l26: Align Felix HAL dump logs with common HAL
  Delete mapper4 manifest
  powerhint: Raise minimum MIF frequency to 546 MHz during screen on
  gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
  thermal: read thermistor temp from sysfs
  thermal:remove unused state2power value
  Update felix SVN to 55
  vibrator: Fix scaling logic for felix vibrator
  vibrator: Update polling timeout to 50ms
  update OWNERS to include Android.bp
  thermal: Remove bcl related tzones
  vibrator: common: Check whether file is opened correctly
  vibrator: cs40l26: Implement braking duration for haptic effects
  Upgrade IDisplay to V13
  felix: Add build_flags based properties for SMR/EMR build
  haptics: Update output distortion gain
  Adpf:felix: switch to multitier heuristic boost.
  ...

Change-Id: I16e5c3379845e2cb3a058f29319582db1c6ab145
2024-12-11 03:50:55 +02:00
Android Build Coastguard Worker
17f643f454 Snap for 12770256 from f62bd8d2e2 to 25Q1-release
Change-Id: I4d1a888de5663da3c9c38549fe401a556870b8e7
2024-12-10 00:32:13 +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
Android Build Coastguard Worker
7d623e1f0c Snap for 12763142 from a4f3009676 to 25Q1-release
Change-Id: Ib3a53213bdd9147c61daad49297574e19e8d1d3c
2024-12-07 02:04:26 +00:00
Alexander Koskovich
c7c66ea637 Add oem-iptables-init.sh for Wi-Fi calling in airplane mode
This was added recently in Android 15, see the following commit:
fbf009b886

Issue: calyxos#2813
Change-Id: I853f087347795e1d8932db2020f8a69fb5d97fa6
2024-12-05 02:50:21 +02: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
Android Build Coastguard Worker
1c59a09b2f Snap for 12742097 from c8208e32b6 to 25Q1-release
Change-Id: Ia8b28cda13ca66ea96b891b06b6d3fb6f94d402c
2024-12-04 00:03:18 +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
Android Build Coastguard Worker
4cfc2bec78 Snap for 12715656 from e66340bee2 to 25Q1-release
Change-Id: I2a5f3afa5bc33ae4dec657c10b73610a9ad829a1
2024-11-27 00:03:41 +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
Android Build Coastguard Worker
0fe3c3a9d3 Snap for 12710726 from ef972d0ac9 to 25Q1-release
Change-Id: Ia044898695c5aaedc5435141de0a1be2f632df54
2024-11-26 02:03:15 +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
Android Build Coastguard Worker
146b97cb6d Snap for 12687986 from d7999fab5b to 25Q1-release
Change-Id: I74f3b9117f3404aeb546f38921999c4ed3d7b427
2024-11-21 00:03:17 +00: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
Android Build Coastguard Worker
8bed4b2841 Snap for 12658558 from 181d87b6f3 to 25Q1-release
Change-Id: If1b03cffe77eb85b82536babb6b30e3651c88c15
2024-11-15 00:03:10 +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
Android Build Coastguard Worker
83f27f9d84 Snap for 12637843 from 41145025fe to 25Q1-release
Change-Id: I674721f71701e1a70482486596c2d47bf1770e0a
2024-11-12 00:02:56 +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
Michael Bestas
4998d346bc Update fingerprint/build description from AP3A.241105.007
Change-Id: I2ea28daf58c1101695a3163da761cd71a0d284ec
2024-11-07 15:17:12 +02: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
Cosmin Tanislav
56e16c439f felix: switch to python extract-utils
Change-Id: Ia2d6a0235d9343d7de0ef69d4197cac7f276af84
2024-11-06 13:07:32 +02:00
Android Build Coastguard Worker
19358ba87b Snap for 12609205 from ccd324c4b3 to 25Q1-release
Change-Id: I2e13a9ea9010d5d0c3144b055a035f656a031ec9
2024-11-06 00:03:44 +00:00
Android Build Coastguard Worker
87da764c4d Snap for 12605939 from ccd324c4b3 to mainline-tzdata6-release
Change-Id: Ia28243e80e5a4f72743392a1a60e419fbad18a2b
2024-11-05 10:09:20 +00: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
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
Michael Bestas
3b312ac46b Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2024-10-07 00:18:49 +03:00
Michael Bestas
2d0dd08e6e Add .gitupstream
Change-Id: I2c0ab4e6b31282f6d8be88942c4fe9c38871d7d0
2024-10-07 00:18:46 +03:00
Michael Bestas
aa13f499c7 Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: b3dccf3ec2
git-subtree-split: 7676b88662
Change-Id: I99f0011125540835b36fc3bf83ccd80f0284658b
2024-10-07 00:18:34 +03:00
Jim Tang
17e4c0262f Move modem_svc_sit from gs201 to felix
Module `modem_svc_sit` is not valid unless:
* USES_LASSEN_MODEM is true
* BOARD_WITHOUT_RADIO is NOT true (or NOT set)

Devices in gs201 family will set "USES_LASSEN_MODEM := true"; however,
not evevy gs201 device disables BOARD_WITHOUT_RADIO.

This commit defines PRODUCT_PACKAGES `modem_svc_sit` because it is
converted from bp by moving the if-statement constrain from the module
level to device level, device-felix.mk in this case.

Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: Ib57ffeb545ca52eea47f2415c7ce020ba73f2c24
2024-10-04 08:58:54 +00:00
Android Build Coastguard Worker
e993cbf286 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29492250'] into 24Q4-release.
Change-Id: I2ff76f702a247611e5ec0e24a00722ccfb42aba8
2024-10-03 23:33:33 +00:00
Wayne Lin
7c1f13c5a9 gps: set default SUPL SSL method to SSLv23
Bug: 363886476
Test: verify SUPL NI test pass
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ea53f43031e0ca9930f145feff56221f041afa5c)
Merged-In: I56f0139c748a3a04df9f3998653121948846c8fe
Change-Id: I56f0139c748a3a04df9f3998653121948846c8fe
2024-10-03 23:24:23 +00:00
Android Build Coastguard Worker
bcd50954e7 Snap for 12445464 from e09b97327d to 25Q1-release
Change-Id: I0b50d845dae25b45c29c2b5d97bc7f7480d00280
2024-10-02 23:03:20 +00:00
Treehugger Robot
e09b97327d Merge "dumpstate: touch: Init using touch_predump" into main 2024-10-02 08:57:00 +00:00
Treehugger Robot
5644762c10 Merge "vibrator: Format PWLE header in user driver" into main 2024-10-02 03:17:08 +00:00
Android Build Coastguard Worker
f92d762063 Snap for 12439515 from ece926a269 to 25Q1-release
Change-Id: Ie078d8c01bfa70fdb47b388d4314ff1ea5c88738
2024-10-01 23:02:47 +00:00
Ravi Jain
810423348e vibrator: Update location of PixelVibratorFlags
Temporary move the definition from main repository to manage visibility
and prevent aosp without vendor build fails

Bug: 362659323
Test: Build pass
Flag: EXEMPT refactor
Change-Id: Ie3bb23838743df1f75261fd530652dcf55b6a643
2024-10-01 15:31:33 +00:00
Grzegorz Kolodziejczyk (xWF)
ece926a269 Merge "audio: enable software encoded Bluetooth broadcast" into main 2024-10-01 12:30:35 +00:00
Android Build Coastguard Worker
a577b0903a Snap for 12426030 from ea53f43031 to 25Q1-release
Change-Id: Icf9ee066eaf98c4b5d014de902496c90d28860ee
2024-09-28 01:03:02 +00:00
Wayne Lin
ea53f43031 gps: set default SUPL SSL method to SSLv23
Bug: 363886476
Test: verify SUPL NI test pass
Change-Id: I56f0139c748a3a04df9f3998653121948846c8fe
2024-09-24 05:45:20 +00:00
Grzegorz Kołodziejczyk
c45009ef12 audio: enable software encoded Bluetooth broadcast
Bug: 345372436
Test: manual
Flag: EXEMPT, trivial change
Change-Id: I8e84fca69260a3be6d797ccb0d25b3032dac2bee
2024-09-20 08:29:34 +00:00
Android Build Coastguard Worker
fd49c7d627 Snap for 12370120 from 2f4a8c042d to 25Q1-release
Change-Id: I22df64f58d4162913bb2c5cb23b978da7cc6ccf3
2024-09-14 23:01:16 +00:00
Android Build Coastguard Worker
bacdac0961 Snap for 12354992 from 2f4a8c042d to 24Q4-release
Change-Id: Ie73eb1ee1d2ecbbf3d3dd73c7a9ce1469a94b329
2024-09-11 23:01:33 +00:00
Treehugger Robot
2f4a8c042d Merge "gps: Enable Beidou measurements only in the US for F10." into main 2024-09-11 08:36:12 +00:00
Android Build Coastguard Worker
aa00b52d46 Snap for 12337407 from 2035632a2a to 25Q1-release
Change-Id: I9d20f4b749360201dbf361c478562fd173840d46
2024-09-07 23:01:20 +00:00
Android Build Coastguard Worker
7b1f3cc5e9 Snap for 12337246 from 535e34ca41 to 24Q4-release
Change-Id: Ic118c6428ac14b76a2f0f7c4e7763cce74840e4e
2024-09-07 21:01:34 +00:00
Android Build Coastguard Worker
455abec472 Snap for 12337246 from 2035632a2a to 24Q4-release
Change-Id: I8cca54584f965faae6acdbff574b3150b4a659ff
2024-09-07 21:01:33 +00:00
Xin Li
2035632a2a [automerger skipped] Merge 24Q3 to AOSP main am: c62cecbadb -s ours am: 65e3fdb6ce -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 411eed6900 is already in history

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

Change-Id: I7283236099c4fd8e256b7a7aa4ea62fc9197d0eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 05:01:50 +00:00
Xin Li
535e34ca41 [automerger skipped] Merge 24Q3 to AOSP main am: d71f0d4226 -s ours am: f5461abee0 -s ours
am skip reason: Merged-In If9ea56afc11e2978bc2b02cfeaf2ee08296a8804 with SHA-1 a5c3209e2f is already in history

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

Change-Id: I2dd04f8b33b81f8dd1bf2a51c4d4b6cddf2434eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:48:54 +00:00
Xin Li
65e3fdb6ce [automerger skipped] Merge 24Q3 to AOSP main am: c62cecbadb -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 411eed6900 is already in history

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

Change-Id: I3fcfac340d487f0ca43c94aa838e663352524bbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:27:51 +00:00
Xin Li
f5461abee0 [automerger skipped] Merge 24Q3 to AOSP main am: d71f0d4226 -s ours
am skip reason: Merged-In If9ea56afc11e2978bc2b02cfeaf2ee08296a8804 with SHA-1 a5c3209e2f is already in history

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

Change-Id: I0188e2c574a6b74d5e9dad90f7ca75ebd999f782
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:40:12 +00:00
Android Build Coastguard Worker
d97e201ada Snap for 12335440 from 342b6c285b to 24Q4-release
Change-Id: Iae074ce0ba14419b5a25679b2914dca8b5ed29e3
2024-09-07 02:31:58 +00:00
Treehugger Robot
342b6c285b Merge "Symlink current prebuilt folder to android root" into main 2024-09-06 10:36:12 +00:00
Koli Lin
a42bff7938 Update product id for Felix
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: I57bbf91eb9ce9c35a103cfc54f9a6f2002eba54a
2024-09-06 07:50:05 +00:00
Robin Peng
3e925e4349 Symlink current prebuilt folder to android root
The Android are now based on Trunk Stable world and Pixel prebuilts CLs
also needs to reply with this which controlled by the flag which results:
- the flag value might be different on each branches
- the flag value are mostly different on each release configuration
- for local builds, ENGs' needs to figure out the correct location
  of current prebuilts by checking through entire prebuilt textproto
  files

To alleviate this problem, create an symlink file under android root
indicates current prebuilt path after invoke the android lunch cmd.

Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: I08d009b79c5d15c078bfbeb3f191271e154cd508
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-09-06 07:35:11 +00:00
Xin Li
d71f0d4226 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: If9ea56afc11e2978bc2b02cfeaf2ee08296a8804
Change-Id: I9081da2025d0e4829eb53d9a6df904562e77b065
2024-09-05 17:02:37 -07:00
Xin Li
c62cecbadb Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Change-Id: Idae800eaefc02e5a81b02f21ee7920200d5860ca
2024-09-05 17:02:36 -07:00
Android Build Coastguard Worker
18fc6eaebe Snap for 12319997 from 14484bec22 to 24Q4-release
Change-Id: I1b54fbf271a6e367be50d04e989e5e5f4b85909b
2024-09-04 23:02:08 +00:00
Treehugger Robot
14484bec22 Merge "powerhint: Raise minimum MIF frequency to 546 MHz during screen on" into main 2024-09-04 04:16:15 +00:00
Android Build Coastguard Worker
6fb800d1b6 Snap for 12309590 from e8e0c840a9 to 24Q4-release
Change-Id: I0377b968e1c2b16f84b7cee0a9f472b63cbf0d6e
2024-09-02 23:01:41 +00:00
Android Build Coastguard Worker
e54054c882 Snap for 12309590 from 09d11a02b0 to 24Q4-release
Change-Id: I51d0fbc78f984fa07ed5812b894f8de3637dca7f
2024-09-02 23:01:41 +00:00
Leonard Ian
09d11a02b0 Merge "cs40l26: Align Felix HAL dump logs with common HAL" into main 2024-09-02 09:04:25 +00:00
Nathan Kulczak
7105ca38e8 vibrator: Format PWLE header in user driver
Add PWLE header formatting to user side driver to support new kernel
driver and SVC and DVL for OWT effects.

Bug: 279055885
Bug: 361011775
Flag: EXEMPT bugfix
Test: idlcli
Change-Id: I3b447962cc46ab57cf145072bc30303786f581ad
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2024-09-02 15:06:34 +08:00
Android Build Coastguard Worker
9ce1414403 Snap for 12304452 from 777bc1274f to 24Q4-release
Change-Id: Ic9a3aa212c9918008c7cc4810134fd21aa0ed60f
2024-08-31 01:01:52 +00:00
leonardian
a644ef2a33 cs40l26: Align Felix HAL dump logs with common HAL
- Add driver, firmware, and tuning versions.
- Increase HAL buffer size to 2048 lines.
- Add F0, active ID, redc

Bug: 348316804
Flag: EXEMPT bugfix
Test: Checked HAL dumpsys
Test: atest PTS, VTS, CTS
Change-Id: I277d270533868cf2075388bdc329d77c9065801e
2024-08-30 04:33:59 +00:00
Ankit Goyal
777bc1274f Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: I1882a688138455538418b01b38084b5dfb2dd802
2024-08-28 22:52:54 -07:00
attis
e8e0c840a9 Label sysfs node power_mode as sysfs_display.
Label power_mode to sysfs_panel to let it be allowed in dumpstate.

avc log:
08-26 13:07:52.112 12585 12585 W dump_second_dis: type=1400 audit(0.0:22): avc:  denied  { read } for  name="power_mode" dev="sysfs" ino=90675 scontext=u:r:dump_second_display:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Test: ls -Z, adb bugreport.
Flag: EXEMPT bugfix
Bug: 358505990
Change-Id: If13b6d231ba06bab6432eeb3aefb78f4f7d384a3
Signed-off-by: attis <attis@google.com>
2024-08-26 12:13:35 +00:00
Chungkai Mei
d37470ea6e powerhint: Raise minimum MIF frequency to 546 MHz during screen on
It improved 55% surfaceflinger janks in photos_playgca30fpsvideo cuj test case.

Test: Build and power measurement
Bug: 336872050
Flag: NONE powerhint change does not support flags
Change-Id: Idad3394e5ac9d1d275f144e2d1304a115b7dc3af
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-08-23 01:35:02 +00:00
Android Build Coastguard Worker
70883e8952 Snap for 12253386 from ed543a25e3 to 24Q4-release
Change-Id: I14a00d10ba435188e986c4e2acdee879f2fb2cb8
2024-08-20 23:01:51 +00:00
Wayne Lin
ed543a25e3 Merge "gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay" into main 2024-08-20 02:41:29 +00:00
Android Build Coastguard Worker
8ff3786a99 Snap for 12247339 from 0b1da34e0d to 24Q4-release
Change-Id: Ibe274d54e0f9d58c88c712dd94150b5d31ce69f6
2024-08-19 23:02:08 +00:00
Wayne Lin
5524ba6a07 gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
Bug: 358041425
Test: verify pass
Change-Id: Idddb3d7968b93ebb214d1dd2938be2b1aaff8ea9
2024-08-19 10:04:11 +00:00
Peter (YM)
0b1da34e0d Merge "thermal: read thermistor temp from sysfs" into main 2024-08-19 04:10:06 +00:00
Android Build Coastguard Worker
2da45a442c Snap for 12238800 from 600d262d0a to mainline-tzdata6-release
Change-Id: I08dfd340c80191a086a627c608dfe6fb21f3cf68
2024-08-16 12:56:09 +00:00
Peter (YM)
caeaff1444 thermal: read thermistor temp from sysfs
- avoid wrong sensor value reading for thermalHAL

Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I93cbfa767a8d882eba526d72ce9ba3c389cd0a1e
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:26:10 +00:00
Android Build Coastguard Worker
6017a17c66 Snap for 12235414 from 600d262d0a to 24Q4-release
Change-Id: I3bf4fe76a7794a494cbc112f9b74ccdc06c1bc65
2024-08-15 23:01:54 +00:00
Peter (YM)
600d262d0a Merge "thermal:remove unused state2power value" into main 2024-08-15 07:19:17 +00:00
Peter (YM)
5142673794 thermal:remove unused state2power value
Bug: 355566259
Test: Build test
Flag: EXEMPT NDK
Change-Id: Ib3e2e2772c340d13f3bc80583f6e1f1b7715a44d
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-15 04:14:36 +00:00
Ankur Bakshi
d86e92697e Merge "Update felix SVN to 55" into main 2024-08-15 00:48:51 +00:00
Ankur Bakshi
9e47f5a1ce Update felix SVN to 55
Bug:352170103
Change-Id: Ib76fb34d8c9fa0317c7cc150a80d5fe79bcec81f
Flag: EXEMPT bugfix
2024-08-14 23:07:38 +00:00
Android Build Coastguard Worker
db8dcec399 Snap for 12229688 from 4c54ddb36f to 24Q4-release
Change-Id: I0cf10821a705de242395a9b8dc04dc6878150dac
2024-08-14 23:02:00 +00:00
Chris Paulo
4c54ddb36f Merge changes from topic "felix_polling_scaling" into main
* changes:
  vibrator: Fix scaling logic for felix vibrator
  vibrator: Update polling timeout to 50ms
2024-08-14 00:10:55 +00:00
Android Build Coastguard Worker
dd4f614874 Snap for 12224018 from e13fb63655 to 24Q4-release
Change-Id: Ie93f2f41edc4b9015a904247772082d5c4da870a
2024-08-13 23:02:16 +00:00
Android Build Coastguard Worker
c2bd124b19 Snap for 12217053 from cc2b786053 to 24Q4-release
Change-Id: Ic64f4e3a8ec4fdd1d2a7dad9dfbec9c9a87c5d85
2024-08-12 23:06:35 +00:00
Xin Li
e13fb63655 [automerger skipped] Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future am: 5d40c09b2d -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 36015c810e is already in history

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

Change-Id: Idae7b5a9a22f1b4111f0fab60576c7e07dfe4643
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:03:09 +00:00
Xin Li
0c904894a5 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: f10b8dce08 -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 36015c810e is already in history

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

Change-Id: Ic78e9651ba3f81dea62933861676290389611423
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:28 +00:00
Chris Paulo
3b2b23e5e2 vibrator: Fix scaling logic for felix vibrator
Felix vibrator has stricter primitive effect scaling values.  We need to
update the logic to assure that we apply the upper and lower bounds of
the voltage range to avoid brownout and to maximize the usable range.

Bug: 344037610
Flag: EXEMPT bugfix
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  CtsVibratorTestCases
Test: Verify scale values
Change-Id: Iba8b8115fea01e56105b43f520d32c63ffcf7fd4
2024-08-12 10:59:08 -07:00
Chris Paulo
42ebfa74b9 vibrator: Update polling timeout to 50ms
Update the polling timeout to match that of main vibrator HAL.  The
polling timeout is too short, and will cause reset logic to run if the
bus is busy.

Bug: 348364432
Flag: EXEMPT bugfix
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  CtsVibratorTestCases
Change-Id: I31dac8f1693eda8f1a5bac8420aaa7c0d11781fa
2024-08-12 10:59:08 -07:00
Xin Li
5d40c09b2d Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future 2024-08-12 17:14:18 +00:00
Sam Ou
cc2b786053 Merge "thermal: Remove bcl related tzones" into main 2024-08-12 12:32:35 +00:00
Leonard Ian
651fde2c0a Merge changes Ifa8f197f,Ifacc94db into main
* changes:
  vibrator: common: Check whether file is opened correctly
  vibrator: cs40l26: Implement braking duration for haptic effects
2024-08-12 06:45:49 +00:00
Android Build Coastguard Worker
d28db8a0db Snap for 12210778 from a42feaf189 to 24Q4-release
Change-Id: I788c124a8b001b8b3091fbb1c4a3bbaa37c4b367
2024-08-10 01:06:35 +00:00
Cyan_Hsieh
a42feaf189 update OWNERS to include Android.bp am: 3286919c55 am: a28a8a824e
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3211863

Change-Id: I81b3048d9ef69a4db99cc177486ddf599f2a0d21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:33 +00:00
Cyan_Hsieh
a28a8a824e update OWNERS to include Android.bp am: 3286919c55
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3211863

Change-Id: I0e9c1aeb1f23ed8d6ad1faaf450c1a22b59977f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:01 +00:00
Cyan_Hsieh
3286919c55 update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c3a2458c2b16735c76f717a9968b7f857e8de71b)
Merged-In: I5dd6aceaeccb3c5ade2c3234b2a4e371ac8f95d4
Change-Id: I5dd6aceaeccb3c5ade2c3234b2a4e371ac8f95d4
2024-08-09 08:33:24 +00:00
Xin Li
f10b8dce08 Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Change-Id: I30478255fddb311c135448f9925abf8f1c30f788
2024-08-08 11:15:40 -07:00
Android Build Coastguard Worker
66f5d46159 Snap for 12190349 from ee973de330 to 24Q4-release
Change-Id: I3719d5b0107e28c61359e204c65146041033d544
2024-08-06 23:02:11 +00:00
samou
697c73328c thermal: Remove bcl related tzones
Flag: EXEMPT tuning changes
Bug: 349935208
Test: Confirm boot
Change-Id: I9162338b20afd9b5d4472d8a7176c69e04ce0175
Signed-off-by: samou <samou@google.com>
2024-08-06 07:40:49 +00:00
Lokesh Kumar Goel
ee973de330 Merge "felix: Add build_flags based properties for SMR/EMR build" into main 2024-08-06 02:13:44 +00:00
Android Build Coastguard Worker
a31575e121 Snap for 12180713 from fcfc990b28 to 24Q4-release
Change-Id: Iaedb17332f2f707d6447111409a1099731758995
2024-08-03 23:01:29 +00:00
Android Build Coastguard Worker
92b5263e34 Snap for 12177962 from a33d70164d to 24Q4-release
Change-Id: Idd81c399a1d96694d06e294e12bc61db87c8b7f1
2024-08-03 03:01:40 +00:00
Treehugger Robot
fcfc990b28 Merge "haptics: Update output distortion gain" into main 2024-08-03 01:59:59 +00:00
Ali K. Zadeh
29af95b978 [felix] 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: I3e25ea8e3fd84512e514aabab92b1d7c65ffab63
2024-08-02 20:10:44 +00:00
leonardian
1d29f93863 vibrator: common: Check whether file is opened correctly
- Add compile-time type checking inside the has() function to ensure it
  receives the correct type.
- Add is_open() inside the has() function.

Bug: 350911314
Test: alarm, ringtone vibrations
Test: keyboard vibrations
Test: idlcli commands
Test: atest PTS, CTS, VTS
Flag: EXEMPT bugfix
Change-Id: Ifa8f197f6f4b25d51b2edaf6fec27a086bd4f73c
2024-08-02 12:55:23 +08:00
leonardian
0dcee74707 vibrator: cs40l26: Implement braking duration for haptic effects
1. Add sysfs nodes for querying braking duration
   - braking_time_bank
   - braking_time_index
   - braking_time_ms
2. Set delay time between effects to include the whole braking duration
3. Add braking effect durations in HAL dumpsys logs

Bug: 325121485
Test: Plotted acceleration
Test: Checked HAL dumpsys
Test: atest VibratorHalCs40l26TestSuite
Flag: EXEMPT bugfix
Change-Id: Ifacc94db4224adbab971e8d2c01c54422838760c
Signed-off-by: leonardian <leonardian@google.com>
2024-08-02 12:48:19 +08:00
Chris Lu
a33d70164d Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: I3039f3c843b03f0df46e952d6c7f28fd8b3e101e
2024-08-02 04:30:37 +00:00
Lokesh Kumar Goel
ae27f1a5b6 felix: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_FELIX
Bug: 155105803
Change-Id: Ib2db14ae61d914ee8bc9619058753dbd8a81f0cf
2024-07-31 16:58:59 +00:00
Chris Paulo
c64871377f haptics: Update output distortion gain
Recommended output distortion gain is 0.52.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: I7ca1ca0186ad9d76d0ef9db604fdbdbbf02103ce
2024-07-30 10:49:57 -07:00
Android Build Coastguard Worker
f99611dfb2 Snap for 12148957 from 7eeceadfac to 24Q4-release
Change-Id: Idfa73eafbac694e65b03f898918817b400862d3f
2024-07-27 21:01:41 +00:00
guibing
7eeceadfac Adpf:felix: 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: I1b37c1e71eb148a4dab454b7e7db9cf46f09d9a3
2024-07-26 23:19:57 +00:00
James Huang
3279a16af4 gps: Enable Beidou measurements only in the US for F10.
Bug: 354884462
Test: Field test in the US
Change-Id: Ic864c27f90f17da2fa65d3864d3882395226aa91
2024-07-26 15:11:42 +08:00
Android Build Coastguard Worker
b3dccf3ec2 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27586231', 'googleplex-android-review.googlesource.com/26824328', 'googleplex-android-review.googlesource.com/28319518'] into 24Q3-release.
Change-Id: I82cb048cb14119b6b3c47a2e1aed3b4cf97e213a
2024-07-25 04:16:25 +00:00
Ankur Bakshi
411eed6900 Update felix SVN to 54
Bug:352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:36015c810ee6ebe7cc9a9b2dad3e9b85ccae47ab)
Merged-In: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Change-Id: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
2024-07-25 04:04:56 +00:00
Lokesh Kumar Goel
0235c55b83 felix: Use build_flags for SVN
Flag: build.RELEASE_SVN_FELIX
Bug: 332726030
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:87907f0071ae7ec6f81de189bf895d4fc6eee494)
Merged-In: Icdf9198885ba0fa9c02bd161e2b2ff45927aa8a0
Change-Id: Icdf9198885ba0fa9c02bd161e2b2ff45927aa8a0
2024-07-25 04:04:44 +00:00
Ankur Bakshi
b279a1ac96 Update felix SVN to 53
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bc25286b64b9c867c3638196002a7b70ac69ac62)
Merged-In: I21048d04ff40b1237bcf3d8258b3a3263394fe42
Change-Id: I21048d04ff40b1237bcf3d8258b3a3263394fe42
2024-07-25 04:04:31 +00:00
Android Build Coastguard Worker
28c5d4bace Snap for 12122529 from 059785b639 to 24Q4-release
Change-Id: I0c3b70864b251d697c1013bb515dec9e948145bf
2024-07-22 23:01:40 +00:00
Android Build Coastguard Worker
301bc11364 Snap for 12116631 from f9e0de5fa4 to 24Q4-release
Change-Id: I918f5d03f89c1adbe10be6c74777f9d7d2449c63
2024-07-20 01:01:53 +00:00
Android Build Coastguard Worker
f2ab69d943 Snap for 12110738 from 2a59cf1891 to 24Q4-release
Change-Id: I1c2e7c496240c1a9e6ee50d15ce472041de216c2
2024-07-18 23:01:52 +00:00
Ankur Bakshi
f9e0de5fa4 Merge "Update felix SVN to 54" into main 2024-07-18 21:44:23 +00:00
Kyle Hsiao
2a59cf1891 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ia89d2c410164ec44fde3d6400be8f38b24aa625d
2024-07-18 13:07:56 +00:00
Ken Yang
059785b639 SELinux: add missing wakeup rule
Flag: EXEMPT bugfix
Bug: 351241262
Change-Id: I90acd96daa137172d0b1bcdc02c9afcba5788c8e
Signed-off-by: Ken Yang <yangken@google.com>
2024-07-18 09:02:31 +00:00
Ankur Bakshi
36015c810e Update felix SVN to 54
Bug:352170103
Change-Id: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Flag: EXEMPT bugfix
2024-07-15 14:17:33 +00:00
Android Build Coastguard Worker
43ee5b7212 Snap for 12085179 from 36db21a9ce to 24Q4-release
Change-Id: I19e80110cf8d0e7793e3aad785c740f97ff5dd4e
2024-07-13 01:02:00 +00:00
Lokesh Kumar Goel
36db21a9ce Merge "felix: Use build_flags for SVN" into main 2024-07-12 18:00:40 +00:00
Android Build Coastguard Worker
242eda7e4c Snap for 12065372 from c004bba0e7 to 24Q4-release
Change-Id: Idb4a5ee43ed2662a7536168cec6de9ce1050e547
2024-07-09 23:06:59 +00:00
Koli Lin
c004bba0e7 add device id
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: I1f929402d041541a1ad95673cd9e0346fdbe4122
2024-07-09 08:59:01 +00:00
Android Build Coastguard Worker
8ffc001597 Snap for 12053972 from 172c3e5076 to 24Q4-release
Change-Id: If9f4eed91506193acf0aefa87ce763cf4274f7e9
2024-07-06 03:01:54 +00:00
Wilson Sung
172c3e5076 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 351241262
Change-Id: I0f3d92a3549e3eedd81adf3d2464b8978447390d
2024-07-05 04:03:03 +00:00
Android Build Coastguard Worker
9571ee7616 Snap for 12042346 from df0899088c to 24Q4-release
Change-Id: I150e56aec9e4f28da08c88ee3e2ca77f634ce789
2024-07-02 23:02:42 +00:00
Treehugger Robot
df0899088c Merge "gps: Set configuration by kernel version" into main 2024-07-02 06:51:49 +00:00
Android Build Coastguard Worker
9244e45a38 Snap for 12034474 from c24bdaad26 to mainline-tzdata6-release
Change-Id: I1c4be649ccf94979230c6912464b56de0981474c
2024-07-01 08:33:33 +00:00
Android Build Coastguard Worker
93218efea2 Snap for 12033399 from c24bdaad26 to 24Q4-release
Change-Id: I22db09113775aedcb20de61ea62ca26dd74e486b
2024-06-30 21:02:02 +00:00
Lokesh Kumar Goel
87907f0071 felix: Use build_flags for SVN
Flag: build.RELEASE_SVN_FELIX
Bug: 332726030
Change-Id: Icdf9198885ba0fa9c02bd161e2b2ff45927aa8a0
2024-06-27 23:05:13 +00:00
Cheng Chang
eaeec92303 gps: Set configuration by kernel version
Bug: 258364350
Test: Verification at b/258364350.
Test: Function verification at b/258364350.
Test: Compile and verify the configuration is correct.
Change-Id: I0e5426dadc03e8f1681fc8b99aa2abd7bf0b6d27
2024-06-25 10:11:16 +00:00
Barry
c24bdaad26 BT: update LEA unicast allowlist: SONY
Add Sony WF-1000XM5 into unicast default allowlist.

bug: 349296638
Test: Build and check system property
Flag: NONE alowlist extension
Change-Id: If6a2eec7576ff89d0e4be3f6fab0c2c2adcf13e4
2024-06-25 09:55:17 +00:00
Android Build Coastguard Worker
99dacbb29d Snap for 11996894 from 24c8aab79d to 24Q4-release
Change-Id: I8aa746ad8170c29350b1cfbc5636cb218541f1d1
2024-06-20 23:02:08 +00:00
Android Build Coastguard Worker
708ff445c6 Snap for 11996894 from e892403259 to 24Q4-release
Change-Id: Ib089cd3667d03104a99ba469207a6bc8ac92792e
2024-06-20 23:02:07 +00:00
Xin Li
e892403259 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 1a62a84fb3 -s ours
am skip reason: Merged-In Ia51b1745f14bda22629e05cd33f6c807cf6f6565 with SHA-1 22b192c34a is already in history

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

Change-Id: I0fac19b3da694b50c524fbadc21cbd733d609645
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 19:56:57 +00:00
Xin Li
24c8aab79d [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 726b6abb0b -s ours
am skip reason: Merged-In If9ea56afc11e2978bc2b02cfeaf2ee08296a8804 with SHA-1 a5c3209e2f is already in history

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

Change-Id: I73d23b5a70c91bb64063b10c868c7b9e69733cc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 19:56:50 +00:00
Android Build Coastguard Worker
6adcb12e51 Snap for 11987757 from 96cfed1ec0 to 24Q4-release
Change-Id: I61d47354e9fdcf023bd985b05f82e23dcd4e37f7
2024-06-18 23:02:08 +00:00
Android Build Coastguard Worker
d0e2e8f74c Snap for 11987757 from 7c4f210d5d to 24Q4-release
Change-Id: I91ceae93a74b2d8721dd3ed9f2edccabe37d4a7f
2024-06-18 23:02:07 +00:00
Xin Li
726b6abb0b Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: If9ea56afc11e2978bc2b02cfeaf2ee08296a8804
Change-Id: I6fb4abbc3755306db0ff1c01b629dd12cf630475
2024-06-18 14:13:22 -07:00
Xin Li
1a62a84fb3 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: Ia51b1745f14bda22629e05cd33f6c807cf6f6565
Change-Id: I13397dc93b0fee76f441fa32aedd23ac7828d450
2024-06-18 14:13:22 -07:00
Xin Li
7c4f210d5d [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 2a16a2c557 -s ours am: ad366f7631 -s ours
am skip reason: Merged-In I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3 with SHA-1 a24eb002fd is already in history

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

Change-Id: Iefc9f3af55c2ad5ee69b06d47e2f4788dc010778
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:28 +00:00
Xin Li
96cfed1ec0 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 65c643d8ff -s ours am: 776775db56 -s ours
am skip reason: Merged-In Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687 with SHA-1 8dc65eb428 is already in history

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

Change-Id: I70e679a72c4cf0a7e1b2428d627ae34a33c7c6eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:19 +00:00
Android Build Coastguard Worker
f7ed0a9626 Snap for 11981331 from eb11811dfd to 24Q4-release
Change-Id: I42acb3c5c3844f69a5ea6da15778f94718786988
2024-06-17 23:01:44 +00:00
Xin Li
ad366f7631 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 2a16a2c557 -s ours
am skip reason: Merged-In I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3 with SHA-1 a24eb002fd is already in history

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

Change-Id: Ie3bc848a2248a2aee0f041b3f9fc2fd635d99df0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:51 +00:00
Xin Li
776775db56 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 65c643d8ff -s ours
am skip reason: Merged-In Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687 with SHA-1 8dc65eb428 is already in history

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

Change-Id: Ie54371556deecda5f6bb5ca845944997f5b529c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:12 +00:00
Ankur Bakshi
eb11811dfd Merge "Update felix SVN to 53" into main 2024-06-17 05:04:32 +00:00
Android Build Coastguard Worker
4350ca50fd Snap for 11967491 from f7e56e0dd5 to 24Q3-release
Change-Id: I2269a6b96c70bc720662d0f3a4c2a9d4b3d87c7d
2024-06-13 23:01:59 +00:00
Xin Li
65c643d8ff Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687
Change-Id: Ide1adcc5459092e25d4fc87a956a3ae92343d689
2024-06-13 10:48:22 -07:00
Xin Li
2a16a2c557 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3
Change-Id: I53bf20ef8d2ccf02642adeaadc0d2b2f77a0dd24
2024-06-13 10:48:14 -07:00
Michael Wright
f7e56e0dd5 Merge "Use singular OWNERS file." into main 2024-06-13 17:13:21 +00:00
Michael Wright
22b192c34a Use singular OWNERS file.
Rather than every project having an OWNERS with explicit people, just
use one centralized OWNERS file and have every other OWNERS reference
that. This way when the team changes there's only one place that needs
to be updated.

Bug: 346876927
Test: N/A
Flag: EXEMPT OWNERS change
Change-Id: Ia51b1745f14bda22629e05cd33f6c807cf6f6565
2024-06-13 14:47:44 +01:00
Android Build Coastguard Worker
3be7dcb9d4 Snap for 11959661 from 0cd2ae5985 to 24Q3-release
Change-Id: Ic4e89b7ab2f8800fd6060b7ad936593c73bd60c5
2024-06-12 23:02:20 +00:00
Treehugger Robot
0cd2ae5985 Merge "Update IDisplay to V12" into main 2024-06-12 03:20:59 +00:00
Android Build Coastguard Worker
864101303b Snap for 11954976 from f005b04430 to 24Q3-release
Change-Id: Ief6f2945fb71eb128f346a179c6226877fac6d22
2024-06-11 23:02:32 +00:00
Elliott Hughes
f005b04430 libc++fs is part of libc++ now. am: e6dbfef4d8 am: a24eb002fd
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3122791

Change-Id: I978717fe7ec141313214d84cdef40dc22073bc43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 22:11:20 +00:00
Elliott Hughes
a24eb002fd libc++fs is part of libc++ now. am: e6dbfef4d8
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3122791

Change-Id: I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 21:49:03 +00:00
Elliott Hughes
e6dbfef4d8 libc++fs is part of libc++ now.
Change-Id: I543c95f9813e055dd441ea03363f2205648847c8
2024-06-10 17:38:45 +00:00
Android Build Coastguard Worker
3fd16f5891 Snap for 11947112 from 56bdd7be8d to mainline-tzdata6-release
Change-Id: I989955fe3b2ee6cba599360b679856610e0eff25
2024-06-10 10:12:35 +00:00
Android Build Coastguard Worker
b8bbbf433d Snap for 11944020 from 56bdd7be8d to 24Q3-release
Change-Id: I0265a56b23e357995b428c182fdd52e73b41a8cc
2024-06-08 01:02:24 +00:00
Xin Li
56bdd7be8d [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: dba62a135a -s ours
am skip reason: Merged-In I0b4bea1a97004139cc18129eeeab302aa557ca05 with SHA-1 e222c30712 is already in history

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

Change-Id: I7623cf7049eaf9fe810775826e4766d70898199f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:08 +00:00
Xin Li
dba62a135a Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I0b4bea1a97004139cc18129eeeab302aa557ca05
Change-Id: Iba46bfc0ab8cfaf0e6cc451327633efaf19567a6
2024-06-05 14:12:12 -07:00
Android Build Coastguard Worker
2fe1716cda Snap for 11919022 from 1e3b1303f5 to mainline-tzdata6-release
Change-Id: Ie8766af4d7b27f1e61d428dcf8913cba67f9e7c3
2024-06-03 15:30:33 +00:00
Android Build Coastguard Worker
e622773879 Snap for 11915075 from e2ee725f85 to 24Q4-release
Change-Id: Ic5707e6b7c87fd8071920a5b653ddafa7b69fd7e
2024-06-01 01:02:04 +00:00
Android Build Coastguard Worker
38cc5bb6a4 Snap for 11915075 from 1e3b1303f5 to 24Q4-release
Change-Id: Ie739a6573f716dc9ee81a6c3429cc49d934da533
2024-06-01 01:02:03 +00:00
Android Build Coastguard Worker
7676b88662 Snap for 11908474 from e2ee725f85 to 24Q3-release
Change-Id: I26224f00e1ad17347d583649e25f7d2db4efa5ee
2024-05-30 23:02:14 +00:00
Android Build Coastguard Worker
432662684c Snap for 11908474 from 1e3b1303f5 to 24Q3-release
Change-Id: Ic0c955146efc5a7fc196057e653476f267439081
2024-05-30 23:02:13 +00:00
Ankur Bakshi
bc25286b64 Update felix SVN to 53
Bug: 342381152
Change-Id: I21048d04ff40b1237bcf3d8258b3a3263394fe42
2024-05-30 00:05:52 +00:00
Cyan_Hsieh
1e3b1303f5 Switch makefile owners to MK_OWNERS am: 5537f0189d am: 3353815bc3
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3107247

Change-Id: Ieecb018967c147ad3fcd822359d93ed0e358123c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 21:59:59 +00:00
Xin Li
e2ee725f85 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 8dc65eb428 -s ours
am skip reason: Merged-In I250fd1c8415c3c865bffa4504c8c290c0d49fddb with SHA-1 1979e8df0a is already in history

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

Change-Id: Iead8f08424e4ab89eb64a11a3135940c0ba9a8b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:49:31 +00:00
Xin Li
42cbf6bab4 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 1c48c9f6e4 -s ours
am skip reason: Merged-In Iac265af75b5fbb9bf6b34448ff3d2d4413ae3959 with SHA-1 5c4d4da8e8 is already in history

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

Change-Id: I6339ae310fef49a75606d58372539fc1aba92477
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:48:57 +00:00
Cyan_Hsieh
3353815bc3 Switch makefile owners to MK_OWNERS am: 5537f0189d
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3107247

Change-Id: Idf6420dfddc69f692d5b94a9878a1ce9897c5fb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:13 +00:00
Cyan_Hsieh
5537f0189d Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5f2a464f9f1dd6536b257d873ad4c47bd0ae83f9)
Merged-In: Idb90ff62c5180bc81e358bad05df03d1c0ba2023
Change-Id: Idb90ff62c5180bc81e358bad05df03d1c0ba2023
2024-05-29 10:00:10 +00:00
Leo Chen
30b137a0e3 Update IDisplay to V12
Test: trigger test build
Bug: 309897479
Change-Id: Ia66b36711deaad59135d15f435a0db9319687051
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-23 06:44:03 +00:00
Android Build Coastguard Worker
d2bae1d67a Snap for 11869550 from 5e6d0a0716 to 24Q3-release
Change-Id: Ie72796a34ad14c5c34985e84c6b9e77d46f39dcf
2024-05-21 23:02:49 +00:00
Sam Ou
5e6d0a0716 Merge "thermal: Remove SOFT_OCP related tzones" into main 2024-05-21 12:28:55 +00:00
Android Build Coastguard Worker
da48ab6773 Snap for 11865526 from c6e58188ca to 24Q3-release
Change-Id: Icbd9181bfb7bf19fc50ad280066beac6f2a4fdb4
2024-05-21 01:02:08 +00:00
Ravi Jain
c6e58188ca Merge "Vibrator: Set Soong Config variable - kernel_ver" into main 2024-05-20 11:00:40 +00:00
Ravi Jain
b0a6cbf1e4 Vibrator: Set Soong Config variable - kernel_ver
Bug: 340148508
Test: Build and check fw files in all devices.
Change-Id: I835b4556bb88d40bc11bec5108496806915cb42c
2024-05-20 06:51:37 +00:00
Android Build Coastguard Worker
5c4ca38b98 Snap for 11859356 from c5bbba8808 to 24Q3-release
Change-Id: I846127e1ae8d898eda501e82ac67838e35b7d9a6
2024-05-18 03:02:02 +00:00
Wei Wang
c5bbba8808 Merge "Adpf:felix: enable heuristic boost." into main 2024-05-17 07:07:39 +00:00
guibing
ff36604d18 Adpf:felix: enable heuristic boost.
Heuristic boost will adjust the ADPF boost profile when the
powerhal detects the power session is very janky, providing more
boost for deadline sensitive threads managered in the session.

Bug: 341111433
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: I02ed6e281447a080346337554d9566e4173e57b7
2024-05-16 20:45:57 +00:00
Android Build Coastguard Worker
1c058859d1 Snap for 11847214 from cd15076da0 to 24Q3-release
Change-Id: I432f0470a0172b8d0802e23ea9ba9549adea1c28
2024-05-16 01:02:33 +00:00
Cyan Hsieh
cd15076da0 Merge "Update bootloader pdk folder and soong config" into main 2024-05-15 14:01:34 +00:00
samou
e52b5d2407 thermal: Remove SOFT_OCP related tzones
Bug: 337976702
Test: Confirm boot
Change-Id: I676dcdd53742737effd14283ad1d71e1d7bcf63d
Signed-off-by: samou <samou@google.com>
2024-05-15 11:52:55 +00:00
Android Build Coastguard Worker
04d77259ec Snap for 11834877 from d9706b6ef9 to 24Q3-release
Change-Id: Iad608a06a4060005ff24201d2d3651fbcc686805
2024-05-13 23:02:18 +00:00
Treehugger Robot
d9706b6ef9 Merge "gps: Reduce logging mask" into main 2024-05-13 01:50:58 +00:00
Android Build Coastguard Worker
df54429c3f Snap for 11816316 from 799400bb47 to 24Q3-release
Change-Id: Icfa7d40f1272104072bfc760c944d4b27b074e53
2024-05-08 23:02:14 +00:00
Leo Chen
799400bb47 Update IDisplay to V11-V12
V12 is not frozen yet. We should still allow V11 for `next` build.

Test: trigger test build
Bug: 309897479
Bug: 303162192
Change-Id: I7e3c91a76bd82a3aec915c92d8b792f8a3878723
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-08 08:50:47 +00:00
Xin Li
8dc65eb428 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I250fd1c8415c3c865bffa4504c8c290c0d49fddb
Change-Id: Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687
2024-05-06 12:09:15 -07:00
Xin Li
1c48c9f6e4 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: Iac265af75b5fbb9bf6b34448ff3d2d4413ae3959
Change-Id: I59d25be35974c9b6ae5140fbe02a0e457de59845
2024-05-06 12:09:15 -07:00
Cheng Chang
ef1ebee4bb gps: Reduce logging mask
Bug: 267729515
Bug: 312716075
Test: Verification for logging system.
Change-Id: I5c43536e5a7bcfb150366ad8527ce84fa2a34364
2024-05-06 14:32:27 +00:00
Cyan_Hsieh
50f5ed51d7 Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: I238d51c4895cdd314ff8fa9a2475d8c1a547300a
2024-05-06 16:43:49 +08:00
Android Build Coastguard Worker
20c2dcd0ea Snap for 11800966 from ea60b53ce1 to 24Q3-release
Change-Id: I5b35e136bee4bff0ec1f44ea2ddae1e9e34724a1
2024-05-04 01:02:24 +00:00
Qian-Hao Huang
ea60b53ce1 Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: I4e049294aa1194a46d6a6d1eabf93ac7a50257a1
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-02 13:16:43 +00:00
Android Build Coastguard Worker
c92d984cb3 Snap for 11789350 from 3eb08635a0 to 24Q3-release
Change-Id: Iffe020c015ed34acd2a040a10e12ae2004b588e6
2024-05-01 23:02:43 +00:00
Nick Chameyev
3eb08635a0 Merge "Enable haptics for unfold animation on Felix" into main 2024-05-01 14:31:06 +00:00
Android Build Coastguard Worker
2c08fd95d3 Snap for 11784291 from d0669d782e to 24Q3-release
Change-Id: Ife854526bdc3fbb78bff04fa1723ca6a9dc78d61
2024-04-30 23:02:57 +00:00
Android Build Coastguard Worker
e5f4fa3204 Snap for 11778614 from 466863b60e to 24Q3-release
Change-Id: I6246e381b1067cd463cab1fb9be628bc6995ef95
2024-04-29 23:02:10 +00:00
Matt Buckley
d0669d782e Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into main 2024-04-29 19:42:15 +00:00
Hao Dong
466863b60e Merge "Rename style from AuthCredential to AuthNonBioCredential." into main 2024-04-29 18:51:55 +00:00
Nick Chameyev
141d4917a4 Enable haptics for unfold animation on Felix
Bug: 336388573
Change-Id: I1bc1afc1cfeb0cf6f6cce0715b14cedc57895983
Test: atest UnfoldHapticsPlayerTest
Test: manual test that haptics could be disabled
2024-04-29 14:39:17 +00:00
Android Build Coastguard Worker
0b0a047922 Snap for 11772614 from 24086fb478 to 24Q3-release
Change-Id: Ib254a962ea97729ec8b046d809baed2d85089481
2024-04-27 01:02:08 +00:00
Hao Dong
4ce0287a43 Rename style from AuthCredential to AuthNonBioCredential.
Bug: 335199602
Test: N/A
Change-Id: Ief716415b2dbe330e69835a31f323a012a39af1c
2024-04-26 18:10:24 +00:00
Thomas Girardier
24086fb478 Merge "Revert "[Bluetooth] Disable BT auto on feature"" into main 2024-04-26 04:02:59 +00:00
Ankur Bakshi
85ab287b51 Merge "Update felix SVN to 52" into main 2024-04-26 00:24:51 +00:00
Ankur Bakshi
bf019fab5d Merge "Update felix SVN to 51" into main 2024-04-26 00:19:29 +00:00
Thomas Girardier
b1c645d05f Revert "[Bluetooth] Disable BT auto on feature"
Revert submission 26919210-BTAUTOOFF4389

Reason for revert: Auto On has been approved for 24Q3

Reverted changes: /q/submissionid:26919210-BTAUTOOFF4389

Change-Id: I6954cbe2e9dcbed7ee450b73fceb3025e149d349
2024-04-25 16:21:30 +00:00
Ankur Bakshi
499a0fb8e0 Update felix SVN to 52
Bug: 336526332
Change-Id: I29b92d74abee7982022151fb53ef23634fd707f8
2024-04-25 03:46:50 +00:00
Android Build Coastguard Worker
255f50d7ae Snap for 11760402 from b830ea62b3 to 24Q3-release
Change-Id: I85bd322c14e0c9c215f77f3e3fa18fd84503e037
2024-04-24 23:02:01 +00:00
Ankur Bakshi
e222c30712 Update felix SVN to 51
Bug: 336526332
Change-Id: I0b4bea1a97004139cc18129eeeab302aa557ca05
2024-04-24 19:56:03 +00:00
Cutter Coryell
b830ea62b3 Turn off ML in system back gesture
Bug: b/332343111
Fixes: b/332343111
Test: atest BackAnimationControllerTest BackNavigationControllerTests OnBackInvokedDispatcherTest
Change-Id: I3de429ed6d9972355dae4edd2fd03b15859d0f4b
2024-04-24 16:57:15 +00:00
Android Build Coastguard Worker
ad7324bc7f Snap for 11740859 from f7fb3a0297 to 24Q3-release
Change-Id: I175533de648ddffbc6c80345af1c501dd8e88423
2024-04-20 01:02:04 +00:00
Treehugger Robot
f7fb3a0297 Merge "felix/vibrator: Add removecapo flag reference for it to show up in aconfig" into main 2024-04-19 16:28:38 +00:00
Treehugger Robot
91b6311bc3 Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:45 +00:00
Chris Paulo
c1da63bc66 felix/vibrator: Add removecapo flag reference for it to show up in
aconfig

Bug: 335547922
Test: adb shell device_config list | egrep -i 'remove_capo'
Change-Id: I1f6dca0f0dc61fa4bc2db85a1fc55f56ce7146af
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2024-04-18 16:23:39 -07:00
Cyan_Hsieh
dc242dcbda Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: If900f24f9f171a27f81fed59c4712bf536c84734
2024-04-18 16:02:34 +08:00
Android Build Coastguard Worker
bb7e262189 Snap for 11728787 from 7c40f4f50b to 24Q3-release
Change-Id: Ib3fe8791ee145fbc0c74a6cd9dcee7b067ceeae3
2024-04-17 23:03:29 +00:00
Poomarin Phloyphisut
7c40f4f50b [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: Ib6794b13c755f00c2c5918f418fe1a62bbe0da98
2024-04-17 04:16:23 +00:00
Android Build Coastguard Worker
a977a85ae4 Snap for 11722130 from 5e17e9e8a5 to 24Q3-release
Change-Id: Iba5b441a34525db48637d4bd8826494c5ae459df
2024-04-16 23:02:21 +00:00
Charles Yo
5e17e9e8a5 Merge "Switch default kernel directory and change build flag naming" into main 2024-04-16 01:34:48 +00:00
Android Build Coastguard Worker
84dcdd13f6 Snap for 11717025 from f916dc1b49 to 24Q3-release
Change-Id: I9d7c71579bd93ba278360616ebf96f48ab50ff7e
2024-04-15 23:02:32 +00:00
Isaac Chiou
f916dc1b49 Merge "wifi: disable FW roaming when in idle mode" into main 2024-04-15 13:46:13 +00:00
isaacchiou
29b72d3928 wifi: disable FW roaming when in idle mode
When device is idle, disable FW roaming (LOW RSSI roam, high band roam) to save power

Bug: 321639511
Test: Manual
Change-Id: Iab34c0fdda533a33d1a9f38429a809091df5dd57
2024-04-15 11:56:52 +00:00
Android Build Coastguard Worker
7405beba23 Snap for 11710546 from 7088cc28d6 to 24Q3-release
Change-Id: Ida72edfcb228f6f3055e66928269a9d9126813df
2024-04-13 01:02:22 +00:00
Cyan_Hsieh
9f7ed821c8 Switch default kernel directory and change build flag naming
Bug: 309749142
Change-Id: I1be08e889dfa60d6a24acac7f71f21b0241221b1
2024-04-12 17:41:29 +08:00
Barry
7088cc28d6 [Bluetooth] Disable BT auto on feature
Set bluetooth.server.automatic_turn_on false for disable Bluetooth Auto
On feature

Bug: 333830114

Test: make
Change-Id: I18365504a4f7c9f16b5b20842e15a6248770bdab
2024-04-11 14:58:47 +00:00
Android Build Coastguard Worker
69c1e46e64 Snap for 11697857 from 6eb6002115 to 24Q3-release
Change-Id: Ifae64448261a7f610441e1b35fcb51e8d3fe70f3
2024-04-10 23:02:06 +00:00
Jimmy Shiu
6eb6002115 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: 1ab55d56bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26899888

Change-Id: I3be8684df226b750d9ee093dd77e4d6c098787a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:21 +00:00
Jimmy Shiu
1ab55d56bc powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I9b748e2fb6110cac3d8589da2f3bb6d89a619ed3
2024-04-10 11:45:08 +00:00
Frank Yu
55e6bf60f4 Merge "Fix wrong unit in mipi table for F10." into main 2024-04-10 05:27:14 +00:00
Android Build Coastguard Worker
77f560c6ba Snap for 11679388 from 50cb4553ef to 24Q3-release
Change-Id: Icb73c5a8d152a86e421f84d88e3398b2ba783d3e
2024-04-06 01:01:59 +00:00
Ankur Bakshi
50cb4553ef Merge changes from topic "svn-set-3" into main
* changes:
  Update felix SVN to 50
  Update felix SVN to 49
2024-04-05 02:13:25 +00:00
Ankur Bakshi
73220aeecf Update felix SVN to 50
Bug: 330382848
Change-Id: Ic4cb9fec016661b45d7af9a1075e5912bd435b9e
2024-04-03 23:17:39 +00:00
Android Build Coastguard Worker
15bf2c2dd2 Snap for 11666018 from 1893564a14 to 24Q3-release
Change-Id: I34702a637597f5ef9fa1ad1f5d307be1ab69f7c6
2024-04-03 23:02:02 +00:00
Jimmy Shiu
1893564a14 powerhint: set uclampmin_init value for applying CPU Load boost am: 8bed816740
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26809469

Change-Id: I8494acf063f656185191e9d17cf56f22df1e0a50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:19:42 +00:00
Jimmy Shiu
8bed816740 powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Test: Manual Test
Change-Id: I9e3afbeb455391ab1493f184bbf27f3c8e6c8e5a
2024-04-03 01:04:47 +00:00
Android Build Coastguard Worker
c577e645b2 Snap for 11648291 from 182fa65fc7 to 24Q3-release
Change-Id: I0427b660facdb7c163da163c6acf4239723af2b4
2024-03-30 01:02:11 +00:00
cweichun
182fa65fc7 felix: upgrade IDisplay to V11 am: d33926ec06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26755013

Change-Id: I37f7eb92b7da52b693a84aaa61c4acf5aac049dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 04:11:04 +00:00
cweichun
d33926ec06 felix: upgrade IDisplay to V11
Bug: 307787644
Test: build pass
Change-Id: Iba924e74c72d2d8f857a47068d702d4197f56ce8
2024-03-28 23:53:11 +00:00
Ankur Bakshi
f4e79e0825 Update felix SVN to 49
Bug: 330382848
Change-Id: I4adff31a3d552c862fab43cba73c0cb074904be8
2024-03-28 15:35:42 +00:00
Android Build Coastguard Worker
a5873e93c0 Snap for 11635697 from 1b9a113162 to 24Q3-release
Change-Id: Iaec4582fde6cd7e1a5791309b62eaab62d961b8a
2024-03-27 23:02:23 +00:00
Frank Yu
5f25b6c426 Fix wrong unit in mipi table for F10.
Test: Manual test with MDS apps. The result display mipi frequency is expected.
Bug: 331336468
Change-Id: I72ec2519ea345716b5430da5b8cc6a845123d399
2024-03-27 03:33:09 +00:00
Ankur Bakshi
1b9a113162 Merge "Update felix SVN to 48" into main 2024-03-26 22:20:47 +00:00
Android Build Coastguard Worker
8f1d90f9a2 Snap for 11623990 from 85c783c08f to 24Q3-release
Change-Id: I07ad9770f7993fd0c9d838f6a89eb490df34e466
2024-03-25 23:02:14 +00:00
Ravi Jain
85c783c08f Merge "cs40l26: Align Felix Hal with common HAL" into main 2024-03-25 12:34:03 +00:00
Ravi Jain
75d87040c7 cs40l26: Align Felix Hal with common HAL
Pull ag/22589260 to replace new/delete by using vector from the common
HAL.

Bug: 322648133
Test: idlcli compose commands
Test: adb shell cmd vibrator_manager synced prebaked 1
Test: adb shell idlcli vibrator compose 0 8 1.0; \
      sleep 1; adb shell idlcli vibrator compose 0 7 1.0;
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuitePrivate \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  android.os.cts.VibratorTest \
  android.os.cts.VibratorManagerTest \
  android.os.cts.VibrationEffectTest \
  android.os.cts.VibrationAttributesTest \
  android.os.cts.CombinedVibrationTest
Change-Id: Ia6e9111c47f27089521f05a68b538bbefb235d6b
2024-03-22 00:42:07 +00:00
Ankur Bakshi
662666134f Update felix SVN to 48
Bug: 325156176
Change-Id: Ifd4c3df67510d9f7cf5a88b9269614572b5eb0bc
2024-03-21 21:46:31 +00:00
Android Build Coastguard Worker
6a7e98c030 Snap for 11607654 from cb66557aef to mainline-tzdata6-release
Change-Id: Id7cfb690b675083ce5cfec74819b9cf86f4347c5
2024-03-21 12:27:10 +00:00
Cyan_Hsieh
10a4784c6b Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: I692d1ffbd7f3ae425a84fce55c4bc537f0e2c4d8
2024-03-21 18:24:36 +08:00
Android Build Coastguard Worker
7d8e7a4216 Snap for 11603317 from cb66557aef to 24Q3-release
Change-Id: I6adca44b60e5d3b609a5f892979c76dc29890c76
2024-03-20 23:02:21 +00:00
Ankur Bakshi
cb66557aef Merge "Update felix SVN to 47" into main 2024-03-20 05:01:24 +00:00
Android Build Coastguard Worker
a300e957f8 Snap for 11591048 from 611b4d69f1 to 24Q3-release
Change-Id: I82615d7a9fd7a635be2af08d6bf181aacf9c9c3d
2024-03-18 23:02:15 +00:00
Nina Chen
611b4d69f1 Merge "Change the rule to specify kernel directory with release configurations" into main 2024-03-18 03:47:37 +00:00
Android Build Coastguard Worker
c58de49624 Snap for 11585034 from bc701d8d61 to 24Q3-release
Change-Id: Ia5832ea6aa15da59c265463ae1f6286595b4a41d
2024-03-16 01:02:25 +00:00
Ankur Bakshi
0771df9996 Update felix SVN to 47
Bug: 325156176
Change-Id: I80ca14c7073707ef69dd3feef8f7731afbe09582
2024-03-15 18:58:49 +00:00
Nina Chen
eda8074af2 Change the rule to specify kernel directory with release configurations
Bug: 326879772
Change-Id: I6e93b76380f4a71b28009319d914f325d04d8796
Signed-off-by: Nina Chen <sheaunic@google.com>
2024-03-15 14:15:59 +08:00
Ankur Bakshi
bc701d8d61 Update felix SVN to 46
Bug: 325156176
Change-Id: I84212cd2b6e36d162d6f6624a21f393e0ec0d070
2024-03-15 00:51:23 +00:00
Android Build Coastguard Worker
3903b175cd Snap for 11578433 from ad47d16718 to 24Q3-release
Change-Id: Iad25740062133dd824dba17957f896b76f147b26
2024-03-14 23:06:37 +00:00
Ankur Bakshi
ad47d16718 Merge "Update felix SVN to 45" into main 2024-03-14 01:35:09 +00:00
Sam Paradis
2692711374 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency am: 011bda50b8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26566996

Change-Id: I25f4599ae628a6d88c558a55b71280619ac9c00d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-13 23:29:13 +00:00
Sam Paradis
011bda50b8 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I6d6f3b6c8990bbe3c04575a60797a2aefa898172
2024-03-13 17:12:21 +00:00
Android Build Coastguard Worker
287ea34372 Snap for 11565217 from 31bee4ad9d to 24Q3-release
Change-Id: I1e6ab60ea698dd6727b89a5629de47d570ea5669
2024-03-12 23:02:14 +00:00
Melvin Huang
31bee4ad9d F10: Update BQR Event Mask property value
Bug: 327514325
Test: Build Pass
Change-Id: I9f0a3e27099eab86bf39733bf2f137418cde9156
2024-03-12 13:33:09 +08:00
Sam Paradis
9e9a886bbb Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I6d6f3b6c8990bbe3c04575a60797a2aefa898172
2024-03-09 01:56:19 +00:00
Android Build Coastguard Worker
b320b7df63 Snap for 11545716 from db96ab8a6a to 24Q3-release
Change-Id: I55fd4140147452c453c89507e60b8fd8656fe200
2024-03-08 00:01:49 +00:00
Android Build Coastguard Worker
193cd104ce Snap for 11545716 from 3f20d14a71 to 24Q3-release
Change-Id: I640888207d3564333568056390fe9c7df69b0912
2024-03-08 00:01:49 +00:00
Xin Li
3f20d14a71 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 57e651cd73 -s ours am: edf45affd6 -s ours
am skip reason: Merged-In I1e89d5091baa1df8662e4dcbd0a15460d0826c4b with SHA-1 099b593e11 is already in history

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

Change-Id: I6226fc97f0123adbfb1cc000b2d4d5226dcb7681
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:25 +00:00
Xin Li
db96ab8a6a [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 4532257287 -s ours am: 4bb4c55c09 -s ours
am skip reason: Merged-In I7b028059ddd64f3abd93f58ef84ec443d10c1d96 with SHA-1 3b8ff0887e is already in history

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

Change-Id: I598e3a053b1a1ef5035a0c85c326eaef6c164d16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:18 +00:00
Xin Li
edf45affd6 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 57e651cd73 -s ours
am skip reason: Merged-In I1e89d5091baa1df8662e4dcbd0a15460d0826c4b with SHA-1 099b593e11 is already in history

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

Change-Id: I258ff0f0d84a18a0b5490f9676d6da4e41be94dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:00 +00:00
Xin Li
4bb4c55c09 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 4532257287 -s ours
am skip reason: Merged-In I7b028059ddd64f3abd93f58ef84ec443d10c1d96 with SHA-1 3b8ff0887e is already in history

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

Change-Id: I0c85c93023dd3c4f09fa4bf8de1ea77895f93b90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:54:54 +00:00
Android Build Coastguard Worker
4015124715 Snap for 11540345 from 13d30b3035 to 24Q3-release
Change-Id: I44ed73507d9d06d698c39d7e99dd7082fca12604
2024-03-07 01:51:42 +00:00
Xin Li
4532257287 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I7b028059ddd64f3abd93f58ef84ec443d10c1d96
Change-Id: I977205f4f6780ca20e1f81ac7f61f3a0aa03084f
2024-03-06 09:29:48 -08:00
Xin Li
57e651cd73 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I1e89d5091baa1df8662e4dcbd0a15460d0826c4b
Change-Id: I5ec91ce4c108cefcb2510fa54e28e888f5bff567
2024-03-06 09:29:47 -08:00
Ankur Bakshi
abb540718b Update felix SVN to 45
Bug: 325156176
Change-Id: I5ebc65fcd00c7d5c593f8a56c8ccdfd424551005
2024-03-06 15:00:18 +00:00
Ravi Jain
13d30b3035 Merge "cs40l26: Align Felix Hal with common HAL" into main 2024-03-06 14:30:32 +00:00
Ravi Jain
85299be2ad cs40l26: Align Felix Hal with common HAL
Pull DSPMemChunk related CLs from common HAL.
ag/22087481, ag/22093662

Bug: 322648133
Test: idlcli compose commands
Test: adb shell cmd vibrator_manager synced prebaked 1
Test: adb shell idlcli vibrator composePwle -b \
  a 0.1 300.0 0.1 30.0 1000 \
  a 0.1 30.0 0.1 300.0 500
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  android.os.cts.VibratorTest \
  android.os.cts.VibratorManagerTest \
  android.os.cts.VibrationEffectTest \
  android.os.cts.VibrationAttributesTest \
  android.os.cts.CombinedVibrationTest
Change-Id: I32258500ec02c2a8cbfc6d0b37aaea2c83c7c8b4
2024-03-06 11:19:19 +00:00
Ankur Bakshi
d4ba2efe22 Merge "Update felix SVN to 44" into main 2024-03-06 02:53:13 +00:00
Android Build Coastguard Worker
253590a1e9 Snap for 11533280 from a5c3209e2f to 24Q3-release
Change-Id: I76b4a2a979145505651c63f690dcc30e318cd216
2024-03-06 00:02:00 +00:00
Android Build Coastguard Worker
c45a994066 Snap for 11533280 from ad564d868f to 24Q3-release
Change-Id: If71595b898813a2114a98917dc88fe952a8b4471
2024-03-06 00:01:59 +00:00
Barry Wang
ad564d868f Merge "BT: set system property for Bluetooth Auto On" into main 2024-03-05 11:48:13 +00:00
Barry
abe266909e BT: set system property for Bluetooth Auto On
Set bluetooth.server.automatic_turn_on true for Bluetooth Auto On
feature.
The feature will be enabled with both system property and flag set.

Bug: 328168526
Test: check system property value
Change-Id: I9a48c7dd041dc87dae8f1659b3a782b71cb67ccb
2024-03-05 09:13:08 +00:00
Android Build Coastguard Worker
dc869670a2 Snap for 11520864 from 2f802dde2c to 24Q3-release
Change-Id: I58bca033d3b6d86fe970b6173e12d5ccae2bf449
2024-03-02 02:02:22 +00:00
Mark Chang
a5c3209e2f Add device specific entry back.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.

Change-Id: If9ea56afc11e2978bc2b02cfeaf2ee08296a8804
Signed-off-by: Mark Chang <changmark@google.com>
2024-03-01 11:53:47 +00:00
Android Build Coastguard Worker
97e55d8432 Snap for 11517216 from 64a306d0e1 to 24Q3-release
Change-Id: Ie5a11416cf2dded97da3927b5e192469243a5cb6
2024-03-01 00:02:41 +00:00
Ravi Jain
ef3616fe66 dumpstate: touch: Init using touch_predump
More info at go/touch_predump

Test: Test locally on test device and check predump_touch works.
Bug: 287907308
Change-Id: Iadad909a658f4fa1d3bc163b8bfd950e5029c4a5
2024-02-29 13:23:39 +00:00
Android Build Coastguard Worker
9b3528ba0a Snap for 11510413 from 1979e8df0a to 24Q3-release
Change-Id: Iac12fa4011604e7036bda4aadcc32c38e25d6470
2024-02-29 00:02:42 +00:00
Android Build Coastguard Worker
1d9f7353ca Snap for 11504269 from 836da8022d to 24Q3-release
Change-Id: Ic99c9a051829125a5fe79c60fe15e72da456a7bf
2024-02-28 00:02:46 +00:00
Liana Kazanova
1979e8df0a Revert "Add device specific entry back."
Revert submission 26288713-twoshay-sepolicy-24

Reason for revert: DroidMonitor: Potential culprit for b/327235315 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Bug:327235315

Reverted changes: /q/submissionid:26288713-twoshay-sepolicy-24

Change-Id: I250fd1c8415c3c865bffa4504c8c290c0d49fddb
2024-02-27 21:20:02 +00:00
Android Build Coastguard Worker
5f6caf7f39 Snap for 11469542 from d2bc8e7dc0 to 24Q3-release
Change-Id: I1d53e5742971a8ece21d0fc644b809653b1908c0
2024-02-20 00:02:30 +00:00
Mark Chang
836da8022d Add device specific entry back.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.
Change-Id: I10132c2da0b6b3b76e67ba07a6692f41a6a1a58a
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-19 05:46:59 +00:00
Android Build Coastguard Worker
96ce74f8d5 Merge "Snap for 11455877 from 0764dad6b4 to 24Q3-release" into 24Q3-release 2024-02-16 01:30:23 +00:00
Android Build Coastguard Worker
4a4ef584b4 Snap for 11455877 from 0764dad6b4 to 24Q3-release
Change-Id: I978b9323ef1270c93e5f7203b59a7e9d40f643f4
2024-02-16 00:23:12 +00:00
Android Build Coastguard Worker
c545f91965 Snap for 11455651 from 0764dad6b4 to 24Q3-release
Change-Id: Ic6f82c41151fdabf29ae8e9100715816798d8ca7
2024-02-16 00:14:05 +00:00
Ankur Bakshi
e30274d4c9 Update felix SVN to 44
Bug: 325156176
Change-Id: Id9052a3303fc7c2c1842f3db9b52a2adf1ba164e
2024-02-15 02:06:34 +00:00
Jacky Liu
2bc710e44c Update i2c device paths
Update i2c device paths with static bus numbers.
Remove entries which are already in gs201-sepolicy.

Bug: 323447554
Test: Boot to home
Change-Id: I5de14147fbe16242182e3940c9318c3dec372bdc
2024-02-06 16:17:32 +00:00
Xin Li
b25ac8c5fa [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: 3b8ff0887e -s ours
am skip reason: Merged-In I6cf8988e22bbbcac11a8b195f00021c0920f7e6d with SHA-1 fe45ceb4ef is already in history

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

Change-Id: I70eb3413168baab521365b329fc2cae7e0e06012
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:02:32 +00:00
Darren Hsu
0ddbc3d4a3 sepolicy: label required display paths for hal_power_stats
Bug: 322458289
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I8dd6d0a26f4dc6dcdd3025f36f8bb5262a7a1a25
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-26 17:57:06 +08:00
Xin Li
3b8ff0887e Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I6cf8988e22bbbcac11a8b195f00021c0920f7e6d
Change-Id: I7b028059ddd64f3abd93f58ef84ec443d10c1d96
2024-01-17 22:12:34 -08:00
Jenny Ho
260dd531fe sepolicy: felix: add wireless path permission
W binder:558_3: type=1400 audit(0.0:734): avc:  denied  { read } for  name="wakeup80" dev="sysfs" ino=86209 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0
E android.system.suspend-service: Error opening kernel wakelock stats for: wakeup13 (../../devices/platform/10da0000.hsi2c/i2c-8/8-0061/power_supply/wireless/wakeup13): Permission denied

W UeventThread: type=1400 audit(0.0:189): avc:  denied  { read } for  name="voltage_now" dev="sysfs" ino=69837 scontext=u:r:hal_wireless_charger:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 320193504
Change-Id: Iec4bf714ab4051fcd32bfc8c824e81af0fc35793
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-01-16 15:40:32 +08:00
Limon Mia
bb2d2ad0c9 allow bthal to access vendor bluetooth folder
Bug: 316071157
Test: enable vendor btsnoop property and check the vendor snoop log
Flag: EXEMPT .
Change-Id: I5b1b9f475089313c205ae384589e07414497a72b
2023-12-26 08:01:41 +00:00
Xin Li
804c6d80bb [automerger skipped] Merge Android 14 QPR1 am: 14ea4f5b53 -s ours am: acfb9aede4 -s ours am: 66f45c611e -s ours
am skip reason: Merged-In I92b1361b9833dcf97f0eb37ad65b8c85b048d24a with SHA-1 bf9b89a17e is already in history

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

Change-Id: I9150d16e857d16af471272ced5691fb87138c903
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:57:27 +00:00
Xin Li
66f45c611e [automerger skipped] Merge Android 14 QPR1 am: 14ea4f5b53 -s ours am: acfb9aede4 -s ours
am skip reason: Merged-In I92b1361b9833dcf97f0eb37ad65b8c85b048d24a with SHA-1 bf9b89a17e is already in history

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

Change-Id: Ic88a5f604716db65c3428f2f7ed478b4becdd24d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:02:14 +00:00
Xin Li
acfb9aede4 [automerger skipped] Merge Android 14 QPR1 am: 14ea4f5b53 -s ours
am skip reason: Merged-In I92b1361b9833dcf97f0eb37ad65b8c85b048d24a with SHA-1 bf9b89a17e is already in history

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

Change-Id: Id89fa1bea38a28121a56cf25e305a8321c2cd1f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:16:25 +00:00
Xin Li
14ea4f5b53 Merge Android 14 QPR1
Merged-In: I92b1361b9833dcf97f0eb37ad65b8c85b048d24a
Bug: 315507370
Change-Id: Ic7101f803005df1759f8a3805bce76b8bc5dc75e
2023-12-08 13:13:23 -08:00
Treehugger Robot
c5697205e7 Merge "Update SELinux error" into main 2023-10-20 13:16:59 +00:00
Xin Li
bb4cd66700 [automerger skipped] Merge 10952656 am: bf9b89a17e -s ours am: e8c0aa94ed -s ours
am skip reason: Merged-In Ic35032349ac6c8668a5aca48f95b0b9b09fd4931 with SHA-1 c7f972b65d is already in history

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

Change-Id: I8688ef8e0e8fb04a6279763208b66b5332554e8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 23:54:26 +00:00
Xin Li
e8c0aa94ed [automerger skipped] Merge 10952656 am: bf9b89a17e -s ours
am skip reason: Merged-In Ic35032349ac6c8668a5aca48f95b0b9b09fd4931 with SHA-1 c7f972b65d is already in history

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

Change-Id: Ib3fddbac3d6ae12498cd923742a3198969b5e741
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 18:47:41 +00:00
Wilson Sung
fe45ceb4ef Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 306344097
Test: scanBugreport
Bug: 305600372
Test: scanAvcDeniedLogRightAfterReboot
Bug: 305600372
Change-Id: I6cf8988e22bbbcac11a8b195f00021c0920f7e6d
2023-10-19 11:06:20 +00:00
Xin Li
bf9b89a17e Merge 10952656
Merged-In: Ic35032349ac6c8668a5aca48f95b0b9b09fd4931
Change-Id: I92b1361b9833dcf97f0eb37ad65b8c85b048d24a
2023-10-17 10:06:29 -07:00
Wilson Sung
1cac1ae708 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 305600843
Bug: 305600734
Bug: 305600372
Change-Id: I5c54a0938e80236853048948eeb380c5b1409b9e
2023-10-16 05:39:05 +00:00
Xin Li
9f559d7267 [automerger skipped] Merge Android 14 am: fe44673ea9 -s ours am: 0374df24b8 -s ours am: 91cba67266 -s ours am: 7018e13eb7 -s ours am: c7f972b65d -s ours
am skip reason: Merged-In I48f5d334d01d9031b488a0051c84bf4b38d2b09a with SHA-1 3254e69a85 is already in history

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

Change-Id: Id9ba75a26c90ec768b28443dd8b3620ea9a13878
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-07 00:19:37 +00:00
Xin Li
c7f972b65d [automerger skipped] Merge Android 14 am: fe44673ea9 -s ours am: 0374df24b8 -s ours am: 91cba67266 -s ours am: 7018e13eb7 -s ours
am skip reason: Merged-In I48f5d334d01d9031b488a0051c84bf4b38d2b09a with SHA-1 3254e69a85 is already in history

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

Change-Id: Ic35032349ac6c8668a5aca48f95b0b9b09fd4931
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 11:00:08 +00:00
Xin Li
7018e13eb7 [automerger skipped] Merge Android 14 am: fe44673ea9 -s ours am: 0374df24b8 -s ours am: 91cba67266 -s ours
am skip reason: Merged-In I48f5d334d01d9031b488a0051c84bf4b38d2b09a with SHA-1 3254e69a85 is already in history

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

Change-Id: I750294d8fa2914a8b1eb576dfeb34caee491658e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 09:50:17 +00:00
Xin Li
91cba67266 [automerger skipped] Merge Android 14 am: fe44673ea9 -s ours am: 0374df24b8 -s ours
am skip reason: Merged-In I48f5d334d01d9031b488a0051c84bf4b38d2b09a with SHA-1 3254e69a85 is already in history

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

Change-Id: I52f4ff3fe8f4ad6186c5a10a2e2e7f15a2ebae9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 08:58:36 +00:00
Xin Li
0374df24b8 [automerger skipped] Merge Android 14 am: fe44673ea9 -s ours
am skip reason: Merged-In I48f5d334d01d9031b488a0051c84bf4b38d2b09a with SHA-1 3254e69a85 is already in history

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

Change-Id: I1f785729870ed98a5c1ff782108db73c6fb310e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 07:51:36 +00:00
Xin Li
fe44673ea9 Merge Android 14
Bug: 298295554
Merged-In: I48f5d334d01d9031b488a0051c84bf4b38d2b09a
Change-Id: Ib270fe228674c231af8414b0645850d16a38eb3a
2023-10-05 15:33:24 -07:00
Desmond Huang
9a3bd6d75b Relocate common tracking denial entries
Bug: 299029620
Change-Id: If7211101f01ca07ad5ca46991c1acec13ab184c9
2023-09-14 14:12:18 +08:00
Xin Li
94ed609d11 [automerger skipped] Merge Android U (ab/10368041) am: ad837e70f4 -s ours am: 91be16b6c7 -s ours am: e48dad8ad9 -s ours am: ae031adfcf -s ours
am skip reason: Merged-In Ie57b7ae1cdd680523e78d20809aa9b37051a6808 with SHA-1 71e5601787 is already in history

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

Change-Id: Ifdd3b9979e0839367fe726e0d7e375ab63ed689e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 20:37:34 +00:00
Xin Li
ae031adfcf [automerger skipped] Merge Android U (ab/10368041) am: ad837e70f4 -s ours am: 91be16b6c7 -s ours am: e48dad8ad9 -s ours
am skip reason: Merged-In Ie57b7ae1cdd680523e78d20809aa9b37051a6808 with SHA-1 71e5601787 is already in history

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

Change-Id: I3c1ad3f6d5755019556eedbbd4f1ee60f1271523
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 01:10:27 +00:00
Xin Li
e48dad8ad9 [automerger skipped] Merge Android U (ab/10368041) am: ad837e70f4 -s ours am: 91be16b6c7 -s ours
am skip reason: Merged-In Ie57b7ae1cdd680523e78d20809aa9b37051a6808 with SHA-1 71e5601787 is already in history

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

Change-Id: I37adaa34f7253a6654f8c89d8f26ac2fbe2ebbb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 00:34:44 +00:00
Xin Li
91be16b6c7 [automerger skipped] Merge Android U (ab/10368041) am: ad837e70f4 -s ours
am skip reason: Merged-In Ie57b7ae1cdd680523e78d20809aa9b37051a6808 with SHA-1 71e5601787 is already in history

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

Change-Id: I688424760431023aa9015af103dbb79a2b439938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-28 23:58:45 +00:00
Matt Buckley
8f82ebc72c Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.

Bug: 277285195
Test: manual
Change-Id: Ibeca70e171d8c15ec73eb57cd8dd7a5bf21eaea5
2023-08-19 05:25:10 +00:00
Xin Li
ad837e70f4 Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: Ie57b7ae1cdd680523e78d20809aa9b37051a6808
Change-Id: I90082f41467d176bab16b9f7df30a383735234cb
2023-08-14 15:33:37 -07:00
eddielan
5990e7698e Correct fps sepolicy error am: 2e9cc3bd53 am: c8b7b50622
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24353433

Change-Id: Ife157d8d41bc7f7af56813a92e8ef18835bafdf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 11:43:56 +00:00
eddielan
c8b7b50622 Correct fps sepolicy error am: 2e9cc3bd53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24353433

Change-Id: I180596e9eec42692da19dc7967e48cfb2246a08b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 11:02:05 +00:00
eddielan
2e9cc3bd53 Correct fps sepolicy error
E SELinux : avc:  denied  { find }
name=android.frameworks.sensorservice.ISensorManager/default
scontext=u:r:hal_fingerprint_capacitance:s0
tcontext=u:object_r:fwk_sensor_service:s0
tclass=service_manager permissive=0

Bug: 294959986
Test: make selinux_policy -j128

Change-Id: If7d548c02731864b83e04b97e048cb38b5a8a600
2023-08-08 17:33:06 +08:00
Sebastian Pickl
e8d9e91885 Revert "selinux: fix the wakeup avc denials" am: 959371629b am: c6050bb668 am: 6e6ea34596
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24189204

Change-Id: I08eb5863d39931ed297045ff7d6ee8ce2dd02866
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 12:20:00 +00:00
Sebastian Pickl
6e6ea34596 Revert "selinux: fix the wakeup avc denials" am: 959371629b am: c6050bb668
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24189204

Change-Id: I71d2a8a0f47b259d5e58ffc571657a5cffeb6203
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 11:36:48 +00:00
Sebastian Pickl
c6050bb668 Revert "selinux: fix the wakeup avc denials" am: 959371629b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24189204

Change-Id: Ic88b1083c931606b01114182ee3346f44695e83d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 10:51:47 +00:00
Sebastian Pickl
959371629b Revert "selinux: fix the wakeup avc denials"
This reverts commit 6cd5fef048.

Reason for revert: build break b/292813704

Change-Id: Ib9cb338d2767f62f048c7ae979bc97242d18e500
2023-07-25 08:26:34 +00:00
Ken Yang
c9caf31ee0 selinux: fix the wakeup avc denials am: 6cd5fef048 am: 15b985efa6 am: 68a5d82a54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24158114

Change-Id: I7b4aed3c8e9480d363c68aabd4c1f1dab6a7d406
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 04:10:43 +00:00
Ken Yang
68a5d82a54 selinux: fix the wakeup avc denials am: 6cd5fef048 am: 15b985efa6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24158114

Change-Id: Ic0e68446b4fb3211cd4bb8f07ad4707496b8de5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 03:26:22 +00:00
Ken Yang
15b985efa6 selinux: fix the wakeup avc denials am: 6cd5fef048
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/24158114

Change-Id: I82d6423360c14f80a89b498ad9de471b62f105fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 02:41:13 +00:00
Ken Yang
6cd5fef048 selinux: fix the wakeup avc denials
Bug: 292076108
Change-Id: I8ce862cd945edc63541b36cd3e5227c43b4c7caa
Signed-off-by: Ken Yang <yangken@google.com>
2023-07-24 05:43:40 +00:00
DesmondH
4b2e6c4dc4 Remove fixed or obsolete entries
Fix: 275001897
Fix: 277155247
Change-Id: I50f087e1e135c3391055c6955cc1be0f2ddfe6af
2023-06-14 16:48:18 +00:00
changyan
8197f35e99 Remove the tracking_denials entry as the issue
Bug: 282626702
Change-Id: Ieef6b12b7bec17653e82497f3be9fd88f832f488
2023-06-08 06:22:39 +00:00
DesmondH
c49d964214 Remove obsolete entries
Bug: 281602658
Bug: 240632721
Bug: 275001799
Bug: 270633150
Bug: 280706429
Bug: 270247256
Fix: 240632821
Fix: 282626451
Fix: 277155366
Change-Id: I6fd36358d6126b10892d4644945b8293a72731db
2023-06-02 03:21:41 +00:00
Feiyu Chen
51a7568197 Merge "Remove two hal_camera_default errors from tracking_denials/bug_map" 2023-05-30 15:29:16 +00:00
feiyuchen
d792cf8cd5 Remove two hal_camera_default errors from tracking_denials/bug_map
Bug: 275001798
Test: mm
Change-Id: I9168df124aebf272b73c8a40b03fa99a50876352
2023-05-26 15:57:29 +00:00
Ted Wang
80a56e3eb1 Add sepolicy for aidl bt extension hal am: fda887ed1b am: 144cca57fa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23367245

Change-Id: Ifc8c7b3558226103859e54ab6aa08fdb26bd289e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 07:22:13 +00:00
Ted Wang
144cca57fa Add sepolicy for aidl bt extension hal am: fda887ed1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23367245

Change-Id: I2929c5403e5b6e0fc35da9cf719a2bedd1e4ac10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 06:40:53 +00:00
Ted Wang
fda887ed1b Add sepolicy for aidl bt extension hal
Bug: 274906319
Bug: 282685427
Test: make sepolicy and manual test
Change-Id: Ic8f870a570f5bb68277419a6ae6a8350c6c53639
2023-05-22 07:44:40 +00:00
Wilson Sung
65713db080 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 282626451
Test: scanBugreport
Bug: 282626702
Bug: 282626428
Bug: 282626451
Test: scanAvcDeniedLogRightAfterReboot
Bug: 282626451
Change-Id: I0d09420daa5e19b5fa36cda10f3d43b3223fb437
2023-05-15 15:32:29 +08:00
Adam Shih
19154d7293 Merge "introduce a new sepolicy owner" 2023-05-15 02:11:19 +00:00
Adam Shih
87970cccd4 introduce a new sepolicy owner
Bug: 281631102
Test: N/A
Change-Id: I5fa3cf7bd0d7d78087053509df626464a59500e4
2023-05-12 02:32:00 +00:00
Wilson Sung
c9c476d5a5 Update SELinux error am: 3254e69a85 am: de0988dc65 am: a098388add am: 42432bd121
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: If9626ffee65edc6aac164eaee5531b5f432320d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 10:15:51 +00:00
Wilson Sung
29451c54e3 Update SELinux error am: 3254e69a85 am: 71e5601787 am: 8d12006052 am: d011d0bdd5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: I99b5e18325eaba595b40f27855197f0e4d92629d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 09:55:29 +00:00
Wilson Sung
c3209da8b0 Update SELinux error am: 3254e69a85 am: de0988dc65 am: a767f1c254 am: a28ece85a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: I314762089bc8030b8cfbf2e4111a82d9e0aed3c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 08:12:38 +00:00
Wilson Sung
42432bd121 Update SELinux error am: 3254e69a85 am: de0988dc65 am: a098388add
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: I5635b0e8f39069ebd2ddc4610c1b96399fa50249
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 07:07:31 +00:00
Wilson Sung
d011d0bdd5 Update SELinux error am: 3254e69a85 am: 71e5601787 am: 8d12006052
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: I3983fc781da2d96e00c14d3ca1bd943bf634c203
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 07:04:42 +00:00
Wilson Sung
a28ece85a5 Update SELinux error am: 3254e69a85 am: de0988dc65 am: a767f1c254
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: I02e79598632c65941cc7a88c64bed0d0036d19ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 07:04:22 +00:00
Wilson Sung
8d12006052 Update SELinux error am: 3254e69a85 am: 71e5601787
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: Ic687520dacd9d5383210410e44f6d7efd4013569
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 06:23:22 +00:00
Wilson Sung
a098388add Update SELinux error am: 3254e69a85 am: de0988dc65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: If2c1c0476b967c11ba481da2f9586908da73e429
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 06:21:50 +00:00
Wilson Sung
4d67e95368 Update SELinux error am: 3254e69a85 am: 75c380cc96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: Ie2d09ec9e13a359f638771e5db2f50ec02104983
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 06:19:44 +00:00
Wilson Sung
a767f1c254 Update SELinux error am: 3254e69a85 am: de0988dc65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: Ied1af46a7f46c9a383cfc1d771e6dd03bf5e02f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 06:17:47 +00:00
Wilson Sung
71e5601787 Update SELinux error am: 3254e69a85
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: Ie57b7ae1cdd680523e78d20809aa9b37051a6808
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 05:37:55 +00:00
Wilson Sung
75c380cc96 Update SELinux error am: 3254e69a85
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: Ieab910d2dba8c69d5908b25dca890c0d058c0cee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 05:37:16 +00:00
Wilson Sung
de0988dc65 Update SELinux error am: 3254e69a85
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23123983

Change-Id: I7daad65471c686efed1fff608db1dc944612c14f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 05:37:09 +00:00
Wilson Sung
3254e69a85 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 280706429
Test: scanBugreport
Bug: 281602658
Change-Id: I48f5d334d01d9031b488a0051c84bf4b38d2b09a
2023-05-10 20:01:01 +08:00
Wilson Sung
dbccaee86a Update SELinux error am: 3269d81be0 am: 95097c9f06 am: 5453b60550 am: b854372c53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: I37d8dbe261472aa231c9029360a31c6a9b9647ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 14:53:11 +00:00
Wilson Sung
de0c16c3f6 Update SELinux error am: 3269d81be0 am: 68c78d696f am: 2c128e05bb am: 0d1df3e315
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: Ibc9c509e77ad4c299ac54c497d3f8a080ac3f97b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 14:32:51 +00:00
Wilson Sung
66057b2ebb Update SELinux error am: 3269d81be0 am: 95097c9f06 am: 61222a4c24 am: f010699ac9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: Id22b996e34e6011f42f964bbf14c42d0b2047281
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 14:17:27 +00:00
Wilson Sung
b854372c53 Update SELinux error am: 3269d81be0 am: 95097c9f06 am: 5453b60550
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: Ie4b2af1a9f8061d2effd628cd41c277084b8e18c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 12:41:43 +00:00
Wilson Sung
0d1df3e315 Update SELinux error am: 3269d81be0 am: 68c78d696f am: 2c128e05bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: Idc29b75404169cccdd0593d844687af006101c1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 12:36:42 +00:00
Wilson Sung
f010699ac9 Update SELinux error am: 3269d81be0 am: 95097c9f06 am: 61222a4c24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: I11fbfdbf3f509c2d255f24ee39b45ec5de5fea02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 12:36:14 +00:00
Wilson Sung
2c128e05bb Update SELinux error am: 3269d81be0 am: 68c78d696f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: I5d5d6bcfa5370078a63a1c2b1491db170c76783f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 11:57:55 +00:00
Wilson Sung
5453b60550 Update SELinux error am: 3269d81be0 am: 95097c9f06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: Idd8546fe2fdec2fd713f300fd6a7fd815726f334
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 11:57:38 +00:00
Wilson Sung
1687ca0b1d Update SELinux error am: 3269d81be0 am: 621313f40a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: I770d3b695655a276471f7f28423b51576203acfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 11:54:50 +00:00
Wilson Sung
61222a4c24 Update SELinux error am: 3269d81be0 am: 95097c9f06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: I97622b154e4d011aaf12ac52a37a2df383d34de8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 11:53:21 +00:00
Wilson Sung
95097c9f06 Update SELinux error am: 3269d81be0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: Idf29106a48e09b3a65f796efe63fd67c4393a351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 11:15:55 +00:00
Wilson Sung
621313f40a Update SELinux error am: 3269d81be0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: Ib971bec1a740fdaa8b0e1e2b26f6352c964f685d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 11:12:20 +00:00
Wilson Sung
68c78d696f Update SELinux error am: 3269d81be0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/23100076

Change-Id: I21659a8c8f6f29663b16b0e26ada56ff2a061c32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 11:11:16 +00:00
Wilson Sung
3269d81be0 Update SELinux error
Test: scanBugreport
Bug: 281602658
Change-Id: Iea3d0acee3b894b6a262b7cf38a1a53cc2dc7e09
2023-05-09 10:07:26 +08:00
Chungkai Mei
9355db5dec sepolicy: fix avc denials am: 354a3d1de2 am: ce7af37d2d am: 7acee0a0b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: I0828fe0786ca762f1f0bf4875130b9bb95cb6c79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 16:20:45 +00:00
Chungkai Mei
18ac978a26 sepolicy: fix avc denials am: 354a3d1de2 am: 39cbdabe10 am: 25d3df1447
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: Ib3695e3048c770fc01ab49497a508d0266521333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 16:19:37 +00:00
Chungkai Mei
7acee0a0b3 sepolicy: fix avc denials am: 354a3d1de2 am: ce7af37d2d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: I2f32890cb3bde99904c40e6fa09b8c19f244abbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 15:42:16 +00:00
Chungkai Mei
b363ca7f1a sepolicy: fix avc denials am: 354a3d1de2 am: a5756f52f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: Iae660258ae3e3ba9ed770f6c68014bf852abe4e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 15:37:10 +00:00
Chungkai Mei
25d3df1447 sepolicy: fix avc denials am: 354a3d1de2 am: 39cbdabe10
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: I6bbf46b7f0cc56ce5afd3e7cbca3f0000891fcd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 15:36:59 +00:00
Chungkai Mei
39cbdabe10 sepolicy: fix avc denials am: 354a3d1de2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: Ib51dd2672c7b6c9fc695f29f3d1a953a12f11571
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 14:59:40 +00:00
Chungkai Mei
a5756f52f1 sepolicy: fix avc denials am: 354a3d1de2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: I9b1cbed55d780cdf7fdc7b24109b8947096c7efa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 14:59:38 +00:00
Chungkai Mei
ce7af37d2d sepolicy: fix avc denials am: 354a3d1de2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22901828

Change-Id: I922fbc4984ee15b6a5aade14a3fcc2fb653fce1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 14:55:16 +00:00
Chungkai Mei
354a3d1de2 sepolicy: fix avc denials
add potential paths for i2c peripheral devices
sine we enable parallel module loading

Test: ABTD https://android-build.googleplex.com/builds/abtd/run/L94600000960253970 https://android-build.googleplex.com/builds/abtd/run/L92800000960257192
Bug: 279848350
Change-Id: I7779752aa79c1e0ffa1d1c5a7150ef5193d4f986
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-04-27 12:19:40 +00:00
Wilson Sung
1e0dbf8a03 Update error on ROM 9890454 am: 60404f62e3 am: 5c2122033b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22525744

Change-Id: I809cbd818256110b7600f3e3adcbf4700aa6bf9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 08:41:59 +00:00
Wilson Sung
917adb5d83 Update error on ROM 9890454 am: 60404f62e3 am: dcad76e0d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22525744

Change-Id: Ieaae884ff84ae2fa4c3ef8beeff0a076c4d68b86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 08:41:53 +00:00
Wilson Sung
dcad76e0d9 Update error on ROM 9890454 am: 60404f62e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22525744

Change-Id: I5ece6adea9383fd304c0d05e8e84da23ac5c52ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 08:00:29 +00:00
Wilson Sung
5c2122033b Update error on ROM 9890454 am: 60404f62e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22525744

Change-Id: I82b97c14594bba75bb13b3452b6c19c4d01d5f07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 07:59:17 +00:00
Wilson Sung
60404f62e3 Update error on ROM 9890454
Bug: 277155247
Bug: 277155366
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: I4de26053ca9b4e572a62a40d73268453cee3b7a1
2023-04-07 06:37:02 +00:00
Wilson Sung
e529e8dbcf Update SELinux error am: cb0c1bab29 am: 700a5ee970
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22244822

Change-Id: Id3d24d04373aea241c3379c456e0037d8db42954
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 06:06:27 +00:00
Wilson Sung
1adb4435e3 Update SELinux error am: cb0c1bab29 am: ef2ecb700d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22244822

Change-Id: I6494465db189f85a6ef4b205e8bb5defd4cb13cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 06:06:14 +00:00
Wilson Sung
700a5ee970 Update SELinux error am: cb0c1bab29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22244822

Change-Id: I1f46af13a9869f021d45c1b6544eed146010916f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:39:27 +00:00
Wilson Sung
ef2ecb700d Update SELinux error am: cb0c1bab29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/22244822

Change-Id: Icc207b2b92aaa55c5a7bcccc584ec8420e6fa9ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:39:10 +00:00
Wilson Sung
cb0c1bab29 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 275001798
Test: scanBugreport
Bug: 275001897
Bug: 275001799
Change-Id: Ifa1adaaa2bf33297e3c36a559dccc12726568896
2023-03-24 11:11:05 +08:00
sukiliu
4672405091 Update SELinux error am: 036e3370c2 am: d60c246e2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/21572470

Change-Id: I714cb37473d22f4ea001f7cd5d15249fe6634ef8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 06:55:32 +00:00
sukiliu
d60c246e2b Update SELinux error am: 036e3370c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/21572470

Change-Id: I9f56bb0bf55d95cdce3a24e0c31376ecc1bff808
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 06:17:41 +00:00
sukiliu
c39c2c93d1 Update SELinux error am: 036e3370c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/21572470

Change-Id: I791473498a5b703b7852538e8219b51f82afbbd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 04:26:28 +00:00
sukiliu
036e3370c2 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 270633150
Change-Id: I9dc73b7e5be8d872d4c68972df77907e08b656f3
2023-02-24 09:59:43 +08:00
leochuang
c1ce4499e3 Update SELinux error am: 88988e5d2e am: abb924f3df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/21533864

Change-Id: Idcebb3e79c195536b8492fe0a5957437ef1593a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 03:23:03 +00:00
leochuang
abb924f3df Update SELinux error am: 88988e5d2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/21533864

Change-Id: I231c08713d77f9c9b38f181534aa0d0e2613b0d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 01:30:09 +00:00
leochuang
14491e4803 Update SELinux error am: 88988e5d2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/21533864

Change-Id: I315f53f05496d4d586ce6c3f19d1456301a31b57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 01:29:55 +00:00
leochuang
88988e5d2e Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 270247256
Change-Id: Id8a692a7e5bc3979c000b85de60785216b8f6a64
2023-02-22 10:29:31 +08:00
Ken Yang
698f1f3488 Merge "WLC: Cleanup the sysfs_wlc policies" 2023-01-13 14:41:32 +00:00
Joshua McCloskey
451bd3388d [automerger skipped] Allow SystemUI to access fp hal. am: 663979a772 am: d335b77a09 -s ours
am skip reason: Merged-In Iefeca78703af30246420a55133c00769b84789f9 with SHA-1 e71f3a8739 is already in history

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

Change-Id: I186d35f68be30a22c4a7310a973404746c5f3bf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 04:30:31 +00:00
Joshua McCloskey
d335b77a09 Allow SystemUI to access fp hal. am: 663979a772
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20922424

Change-Id: I0b77b7218028fc0566f82ecc8d9c70fd66a8ac6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 04:05:05 +00:00
Joshua McCloskey
663979a772 Allow SystemUI to access fp hal.
Bug: 261209932
Test: Verified SystemUI can access HAL extension.
Change-Id: Iefeca78703af30246420a55133c00769b84789f9
Merged-In: Iefeca78703af30246420a55133c00769b84789f9
2023-01-10 01:39:36 +00:00
Joshua Mccloskey
fd408fc003 Merge "Allow SystemUI to access fp hal." 2023-01-10 01:38:27 +00:00
Joshua McCloskey
e71f3a8739 Allow SystemUI to access fp hal.
Bug: 261209932
Test: Verified SystemUI can access HAL extension.
Change-Id: Iefeca78703af30246420a55133c00769b84789f9
2023-01-09 18:00:07 +00:00
Eddie Lan
c6adebd32f Merge "fingerprint: allow fps to access sysfs_leds" into tm-qpr-dev am: c3b8cda0f5 am: 884f7fb41d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20619011

Change-Id: I4f7d7e2ca2fb0f00899fd6766813f6341f7f1283
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 13:14:59 +00:00
Eddie Lan
884f7fb41d Merge "fingerprint: allow fps to access sysfs_leds" into tm-qpr-dev am: c3b8cda0f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20619011

Change-Id: I141ec0a89718917b3a1125b0c319ef5f3ee699a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 12:38:11 +00:00
Eddie Lan
c3b8cda0f5 Merge "fingerprint: allow fps to access sysfs_leds" into tm-qpr-dev 2023-01-09 12:06:39 +00:00
Ken Yang
b6e7c3d0c7 WLC: Cleanup the sysfs_wlc policies
Bug: 263830018
Change-Id: I534eda445241e3a907b11004cafb737f6ec63586
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-06 19:24:38 +00:00
Wasb Liu
d6606b7439 sepolicy: add necessary sepolicy for dual battery am: 49cdfcb3c7 am: 6c46e922ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20803963

Change-Id: I99ec363f789026842ff58ba39801f479ac41cf18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 08:53:31 +00:00
Wasb Liu
6c46e922ab sepolicy: add necessary sepolicy for dual battery am: 49cdfcb3c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20803963

Change-Id: I6f13e1edb662003b8ab907e0be8740aeed4d8fe9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 08:17:26 +00:00
Wasb Liu
49cdfcb3c7 sepolicy: add necessary sepolicy for dual battery
12-22 16:24:51.964  1000   865   865 I auditd  : type=1400 audit(0.0:10): avc: denied { read } for comm="android.hardwar" name="logbuffer_maxfg_secondary" dev="tmpfs" ino=799 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
12-22 16:24:51.968  1000   865   865 I auditd  : type=1400 audit(0.0:11): avc: denied { read } for comm="android.hardwar" name="logbuffer_maxfg_secondary_monitor" dev="tmpfs" ino=630 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
12-22 16:24:51.968  1000   865   865 I auditd  : type=1400 audit(0.0:12): avc: denied { read } for comm="android.hardwar" name="logbuffer_dual_batt" dev="tmpfs" ino=1040 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0

12-22 16:23:17.056  1000   522   522 I auditd  : type=1400 audit(0.0:4): avc: denied { read } for comm="binder:522_1" name="wakeup65" dev="sysfs" ino=79686 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0

Bug: 263496320
Test: no dual batt related denied
Change-Id: I021cd15d771524828a942fe1e4c63e3a24418ae8
Signed-off-by: Wasb Liu <wasbliu@google.com>
2022-12-23 09:21:05 +00:00
Ken Yang
7cea766957 Merge "WLC: Add device specific sepolicy for wireless_charger" 2022-12-21 08:36:16 +00:00
Ken Yang
97c1d104cc WLC: Add device specific sepolicy for wireless_charger
Bug: 237600973
Change-Id: I301c636cffb5520aa7bcf998d099c29ca19a2dd6
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-20 00:58:11 +00:00
Jenny Ho
05a2ff9ae0 remove tracking denial of device chr_file am: 3a92d3d265 am: edce76c2b1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20733206

Change-Id: I93103c93ffe596a8bdd076dc5b281f889060909d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 08:04:34 +00:00
Jenny Ho
edce76c2b1 remove tracking denial of device chr_file am: 3a92d3d265
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20733206

Change-Id: I51af87a6a17323a334cf3408e5dd324a097b5571
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 07:26:40 +00:00
eddielan
0e76ae19c1 fingerprint: allow fps to access sysfs_leds
Bug: 261151317
Test: make selinux_policy -j112
Change-Id: If098515510ac48efb7d2ea23f4aeee87869e01e6
2022-12-15 20:53:11 +08:00
Jenny Ho
3a92d3d265 remove tracking denial of device chr_file
Bug: 254164096
Change-Id: I300d092df3610f29f05ca65a89eba5459ca0063a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-12-14 15:21:50 +08:00
Chase Wu
f4be42ae00 Remove sepolicy for vibrator manager service am: c02424796d am: cbfaaeea39
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20610806

Change-Id: If5c216b5bbcbfda16712a8e8421c0498a35b0900
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 11:26:50 +00:00
Chase Wu
cbfaaeea39 Remove sepolicy for vibrator manager service am: c02424796d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20610806

Change-Id: I558a8250352ec221945eafaaa5f1054488d94ea5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 10:52:38 +00:00
Chase Wu
c02424796d Remove sepolicy for vibrator manager service
Bug: 260090235
Test: check avc error
Change-Id: I2cb9f9efe849ae6e7fb9b1b5aba2f92a3346af6d
Signed-off-by: Chase Wu <chasewu@google.com>
2022-12-02 01:09:45 +08:00
Mason Wang
6b826a850d [automerger skipped] Allow dumpstate to access touch vendor nodes[DO NOT MERGE] am: 3c82f575b9 am: 7184709e5f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5b92d44c11fc348616bee7fc2384dcb49d99d833
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 02:21:52 +00:00
Mason Wang
7184709e5f Allow dumpstate to access touch vendor nodes[DO NOT MERGE] am: 3c82f575b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20541991

Change-Id: I0b3d46eab39ba1471b751cdd2810fa0cf27fe723
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 01:53:24 +00:00
Mason Wang
3c82f575b9 Allow dumpstate to access touch vendor nodes[DO NOT MERGE]
Fix following avc denial log:
avc: denied { read } for name="driver_test" dev="proc" ino=4026535583 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { write } for name="driver_test" dev="proc" ino=4026535583 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { open } for path="/proc/fts/driver_test" dev="proc" ino=4026535583 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { open } for path="/sys/devices/platform/10950000.spi/spi_master/spi6/spi6.0/appid" dev="sysfs" ino=110523 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { open } for path="/sys/devices/platform/10950000.spi/spi_master/spi6/spi6.0/stm_fts_cmd" dev="sysfs" ino=110529 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { open } for path="/proc/fts_ext/driver_test" dev="proc" ino=4026535585 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { write } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { read } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { read } for name="appid" dev="sysfs" ino=108992 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 bug=b/240632721


Bug: 226475119
Bug: 254164096
Test: There are no above avc denial logs.
Change-Id: I0a136a7e259640e3e13ea66c945251cf26878b33
2022-11-24 15:35:16 +08:00
Nicole Lee
50e095c30d Revert "Allow dumpstate to access touch vendor nodes" am: d6fe8df131 am: bb99a93833
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20519118

Change-Id: I92b3ab14af65c34621046e42dac72e091c59dda1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 07:22:33 +00:00
Nicole Lee
bb99a93833 Revert "Allow dumpstate to access touch vendor nodes" am: d6fe8df131
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20519118

Change-Id: I054a4a0ae0d8136e50be58276ff860294096ba7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 06:47:10 +00:00
Nicole Lee
d6fe8df131 Revert "Allow dumpstate to access touch vendor nodes"
This reverts commit b1d4e8ab2f.

Reason for revert: DroidMonitor: Potential culprit for Bug 260019672 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I8c3bf9982eb9c163e73e75624fd3265ddaa1de95
2022-11-22 06:02:47 +00:00
eddielan
7fd47dc7fb sepolicy: Allow fingerprint to access fwk hwservice am: f544a5a651 am: 25e250aad0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20441648

Change-Id: I60f5ed42cc20df7c62f0212b68f4a4d0137985b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 04:24:06 +00:00
eddielan
25e250aad0 sepolicy: Allow fingerprint to access fwk hwservice am: f544a5a651
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20441648

Change-Id: I477e36aeecb337216b8bdbe656370885a2699733
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 03:29:38 +00:00
eddielan
f544a5a651 sepolicy: Allow fingerprint to access fwk hwservice
11-11 19:57:30.203   464   464 E SELinux : avc:
denied  { find } for interface=android.frameworks.sensorservice::ISensorManager
sid=u:r:hal_fingerprint_capacitance:s0 pid=903
scontext=u:r:hal_fingerprint_capacitance:s0
tcontext=u:object_r:fwk_sensor_hwservice:s0
tclass=hwservice_manager permissive=0

Bug: 258783592
Test: Build pass
Change-Id: I58a31c04cbb45ab12b0bf42a10c57ddf4f065ee7
2022-11-11 20:10:20 +08:00
Chase Wu
6fb0d40d35 add sepolicy for vibrator manager service am: 6c42229dcc am: a8a51be9ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18350088

Change-Id: I3f1a2b791dabc0c323e89b9a763be0ff7bc12b03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 10:10:10 +00:00
Chase Wu
a8a51be9ae add sepolicy for vibrator manager service am: 6c42229dcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18350088

Change-Id: Ib7de5bab2bda145de85e42607c0fdf32862c5431
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 08:08:46 +00:00
Chase Wu
6c42229dcc add sepolicy for vibrator manager service
Bug: 181615889
Test: Run all test suites
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Ie9e3c86b01afb26557ae69ead813dd123b4df91b
2022-11-03 12:14:03 +08:00
Mason Wang
98c3066632 Allow dumpstate to access touch vendor nodes am: b1d4e8ab2f am: 1d9860e41c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20305443

Change-Id: I5703d35cc715b30a92fe2632f62fde743e2a8fce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 10:14:40 +00:00
Mason Wang
1d9860e41c Allow dumpstate to access touch vendor nodes am: b1d4e8ab2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20305443

Change-Id: I0b297e88ad40f6bba61423e203be01297b486ebb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 09:00:57 +00:00
Mason Wang
b1d4e8ab2f Allow dumpstate to access touch vendor nodes
Fix following avc denial log:
avc: denied { write } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { open } for path="/sys/devices/platform/10950000.spi/spi_master/spi6/spi6.0/stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { read } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
avc: denied { read } for name="driver_test" dev="proc" ino=4026535565 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0 bug=b/240632721
avc: denied { read } for name="appid" dev="sysfs" ino=108992 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 bug=b/240632721


Bug: 226475119
Bug: 254164096
Test: There are no above avc denial logs.
Change-Id: Ie01104ebfb94154584d9d466cb295095eb634f48
2022-10-28 12:44:25 +08:00
TreeHugger Robot
b651631851 Merge "sepolicy: remove tracking bugs for PowerStatsHAL and SystemSuspend" into tm-qpr-dev am: 9219b31d13 am: 2157e5e3b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20279296

Change-Id: Iec0c88d5d2a0ce637fbddc52a50cb392c10a10ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 04:37:55 +00:00
TreeHugger Robot
2157e5e3b0 Merge "sepolicy: remove tracking bugs for PowerStatsHAL and SystemSuspend" into tm-qpr-dev am: 9219b31d13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20279296

Change-Id: I3e6a9c16df76bd8d859f948fe77e56a9bdf42a5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 04:01:31 +00:00
eddielan
68117d5f56 Fix FPS servicemanager sepolicy issue am: ef12403d44 am: 7d9bbe844f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20271738

Change-Id: I19c42155bb11f8502f8bcb14571ad3b29db4a5d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 03:48:47 +00:00
TreeHugger Robot
9219b31d13 Merge "sepolicy: remove tracking bugs for PowerStatsHAL and SystemSuspend" into tm-qpr-dev 2022-10-27 03:26:15 +00:00
eddielan
7d9bbe844f Fix FPS servicemanager sepolicy issue am: ef12403d44
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20271738

Change-Id: Ia4a7b299d28f6105d98e2febe1116b24a68024de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 03:12:02 +00:00
Darren Hsu
577965ec5f sepolicy: remove tracking bugs for PowerStatsHAL and SystemSuspend
b/240632970 is not reproducible on TD3A.221020.001.
b/240632822 has been fixed by ag/20209545.

Bug: 240632970
Bug: 240632822
Test: Capture bugreport and check no avc denails
Change-Id: I9a2290e2857415c3edecd98b88af6382a42530ff
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-26 17:31:17 +08:00
eddielan
ef12403d44 Fix FPS servicemanager sepolicy issue
10-25 03:25:07.740   429   429 I auditd  : type=1400 audit(0.0:4):
avc: denied { call } for comm="servicemanager"
scontext=u:r:servicemanager:s0
tcontext=u:r:hal_fingerprint_capacitance:s0
tclass=binder permissive=0

Bug: 253533883
Test: make selinux_policy -j128 && check log on device
Change-Id: Ic3007d53398eb9770466c24b3aa49c1325bdbb47
2022-10-26 12:01:36 +08:00
TreeHugger Robot
ff01c72b31 Merge "sepolicy: add sysfs_wakeup labels for System Suspend" into tm-qpr-dev am: f2b9557796 am: d0b886a5b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20209545

Change-Id: I86a311a85907784a3deaf192e31c0c94340844a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 10:36:57 +00:00
TreeHugger Robot
d0b886a5b5 Merge "sepolicy: add sysfs_wakeup labels for System Suspend" into tm-qpr-dev am: f2b9557796
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20209545

Change-Id: Icbdf3b3b7f721b5ef0b6222d0e18ec39cc6ca200
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 09:46:40 +00:00
TreeHugger Robot
f2b9557796 Merge "sepolicy: add sysfs_wakeup labels for System Suspend" into tm-qpr-dev 2022-10-19 09:18:11 +00:00
eddielan
e8282686e4 Remove fingerprint tracking bug am: 2fef9efcc4 am: 9326d9fa80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20194455

Change-Id: I508fc7b8dcf9996632ef2e370524c7fc4a372a45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 03:47:19 +00:00
Darren Hsu
99f9cd6a45 sepolicy: add sysfs_wakeup labels for System Suspend
Bug: 253980198
Test: run vts -m SuspendSepolicyTests
Change-Id: Ie58c35b37ad0a904d0292d2be9092f82b02d514b
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-18 11:39:51 +08:00
eddielan
9326d9fa80 Remove fingerprint tracking bug am: 2fef9efcc4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20194455

Change-Id: I6f5973e3e41d6998a8bcbeaa822548e43eb07f54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 03:15:45 +00:00
eddielan
2fef9efcc4 Remove fingerprint tracking bug
Patch was merged on ag/19457937

Bug: 240633068
Test: make selinux_policy -j128
Change-Id: Ic25e266701993fadc51b12c25c9a170c38e29785
2022-10-17 15:09:24 +08:00
Ted Lin
8d46affec7 Remove bug mapping in the tracking denials am: 5126a011d0 am: a054dec9fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19880945

Change-Id: I6395da93e92ac6011a30d59c0eeaadb0774d78e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 07:40:05 +00:00
Ted Lin
a054dec9fc Remove bug mapping in the tracking denials am: 5126a011d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19880945

Change-Id: Iba4f8821193619d447145f8cef2148b0097dd2e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 07:09:47 +00:00
Ted Lin
5126a011d0 Remove bug mapping in the tracking denials
Bug: 240632860
Test: Check the bugreport
Signed-off-by: Ted Lin <tedlin@google.com>
Change-Id: Ic4c68fe39b3e7e82cf9edcb6b594b598f5ba9499
2022-09-07 16:50:57 +08:00
Adam Shih
e503f72b10 Update error on ROM 8979803 am: 454e019bee am: 4761cbe496
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19738804

Change-Id: I4164cc84bc93edc8b08d6cbad83d492c4f3e372c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 06:27:11 +00:00
Adam Shih
4761cbe496 Update error on ROM 8979803 am: 454e019bee
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19738804

Change-Id: Iba8252bc53919aa1f65658a84cebaa914913230c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 05:49:17 +00:00
Adam Shih
454e019bee Update error on ROM 8979803
Bug: 240632860
Test: SELinuxUncheckedDenialBootTest
Change-Id: Ie192b157e89f86fe36b99202e6ab8677a55c7cee
2022-08-25 10:52:53 +08:00
Wasb Liu
d36e2db35c Add sepolicy for dual_batt_gauge power supply am: 2dcb7cc94f am: 913839b663
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19711294

Change-Id: Ieb6af9f83457d34d1763f34f2f0aaa519a3b889b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 08:52:29 +00:00
Wasb Liu
913839b663 Add sepolicy for dual_batt_gauge power supply am: 2dcb7cc94f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19711294

Change-Id: I2483b95415b062d883bce62b25418a0920789e55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 08:23:16 +00:00
Wasb Liu
2dcb7cc94f Add sepolicy for dual_batt_gauge power supply
08-23 02:45:54.456   860   860 I auditd  : type=1400 audit(0.0:4): avc: denied { read } for comm="android.hardwar" name="type" dev="sysfs" ino=100372 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 243491187
Test: reboot device and check the avc
Signed-off-by: Wasb Liu <wasbliu@google.com>
Change-Id: I7600c816e743fc91afaf66db00ba332229b21e28
2022-08-24 05:01:15 +00:00
Ted Lin
533b9f2d8c Merge "Remove bug mapping in the tracking denials" into tm-qpr-dev am: 1ef6c24de8 am: bbb3fc3708
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19500898

Change-Id: I4e15b6aa509065db3d36ea61bee0fb10f02743df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 08:21:28 +00:00
Ted Lin
bbb3fc3708 Merge "Remove bug mapping in the tracking denials" into tm-qpr-dev am: 1ef6c24de8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19500898

Change-Id: I5ebf6cf1afb86cf4c5b0f9844d3f9262a3497a47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 08:02:16 +00:00
Ted Lin
1ef6c24de8 Merge "Remove bug mapping in the tracking denials" into tm-qpr-dev 2022-08-19 07:36:47 +00:00
TreeHugger Robot
bbde11073f Merge "Revert "Update SELinux error"" into tm-qpr-dev am: e334d5ec9f am: 739043b7fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19560940

Change-Id: Ie10c596c904d2506c0ea4221014e22d1063a04fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 08:29:39 +00:00
TreeHugger Robot
739043b7fc Merge "Revert "Update SELinux error"" into tm-qpr-dev am: e334d5ec9f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19560940

Change-Id: I76f2aad0142c3baed60b188429a16aa8795fa106
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 08:02:11 +00:00
TreeHugger Robot
e334d5ec9f Merge "Revert "Update SELinux error"" into tm-qpr-dev 2022-08-09 07:37:37 +00:00
Adam Shih
baebf44224 Revert "Update SELinux error"
This reverts commit 342edcb7de.

Reason for revert: ag/19563471 has fixed the problem

Change-Id: Iad76a9ca182e1cf3363dc58aed943ef4ae13be59
2022-08-09 06:15:39 +00:00
Ted Lin
bea255c50f Sepolicy: fix the avc am: fd1cdb48b7 am: e2f6f89231
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19492695

Change-Id: Iace0a310222dbe93467de985833f268731cc2d22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 09:35:34 +00:00
Ted Lin
e2f6f89231 Sepolicy: fix the avc am: fd1cdb48b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19492695

Change-Id: I44f83fe37b39bfaef410b1a79defe2ee99915121
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 09:11:19 +00:00
Ted Lin
b1ce1cbeec Remove bug mapping in the tracking denials
Bug: 240632860
Test: Check the bugreport
Signed-off-by: Ted Lin <tedlin@google.com>
Change-Id: I35c69c1289337cd40ab3511512045b986bad9388
2022-08-04 08:50:16 +00:00
Ted Lin
fd1cdb48b7 Sepolicy: fix the avc
07-29 08:18:53.464   876   876 I auditd  : type=1400 audit(0.0:4): avc: denied { read } for comm="android.hardwar" name="type" dev="sysfs" ino=78463 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 240632860
Test: reboot device and check the avc
Signed-off-by: Ted Lin <tedlin@google.com>
Change-Id: Ibb1f93c2003e9229c1fd2b3bd14ee022fa6539cc
2022-08-03 09:18:35 +00:00
Adam Shih
b92e7299c8 Update SELinux error am: 342edcb7de am: 94d1ef3763
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19492689

Change-Id: I2fa4373b4914d92f7b6ccac1e3e0993cfe2f583c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 04:04:05 +00:00
Adam Shih
94d1ef3763 Update SELinux error am: 342edcb7de
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19492689

Change-Id: Icb6715418d0a731d6847b2a1ef02929efb418966
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 03:43:52 +00:00
Adam Shih
342edcb7de Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 241034024
Change-Id: I712b025aef59d838773ff55b62b8fb5ecbcbb35b
2022-08-02 10:22:27 +08:00
TreeHugger Robot
2105124dfe Merge "Fix FPS hwservice sepolicy issue" into tm-qpr-dev am: bf70ca168c am: 0abc0dfde7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19457937

Change-Id: Ib89848441552896799e8ee83ce3a60f4271a8e48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 13:02:40 +00:00
TreeHugger Robot
0abc0dfde7 Merge "Fix FPS hwservice sepolicy issue" into tm-qpr-dev am: bf70ca168c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19457937

Change-Id: Ibc4c8aab78ff2ee40fb72989872440f861a26d63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 12:44:48 +00:00
TreeHugger Robot
bf70ca168c Merge "Fix FPS hwservice sepolicy issue" into tm-qpr-dev 2022-08-01 07:33:53 +00:00
Adam Shih
e3636ecf1f Update SELinux error am: 44f363e147 am: cd3b31ce21
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19457931

Change-Id: Ib9802f70ceccca66423a18abe310cbbe5188bb03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-29 08:51:43 +00:00
Adam Shih
cd3b31ce21 Update SELinux error am: 44f363e147
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19457931

Change-Id: Icdc2cf2bdd1186202d619c0f01b0cbb7a64a12c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-29 08:25:44 +00:00
eddielan
99914783af Fix FPS hwservice sepolicy issue
avc:  denied  { find } for interface=com.fingerprints42.extension::IFingerprintEngineering sid=u:r:hal_fingerprint_capacitance:s0 pid=895 scontext=u:r:hal_fingerprint_capacitance:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0

Bug: 240633068
Test: make selinux_policy -j128
Change-Id: Ifd13d8c73c97cef9a85555a7d09de4424548ca73
2022-07-29 12:15:19 +08:00
Adam Shih
44f363e147 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 240632970
Bug: 240632821
Bug: 240632822
Bug: 240632721
Bug: 240633068
Bug: 240632860
Change-Id: I9b38d4edca95f2721d94c2d7bc1af046cd8382b9
2022-07-29 10:17:52 +08:00
luofrank
e3edd7cbbf Add rules to allow Sensor HAL write access to als_table am: f6c212c921 am: 1972d6266e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19378829

Change-Id: Ifac94148a858956023ecfee9a6fb2a1dadb2478d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-25 07:31:14 +00:00
luofrank
1972d6266e Add rules to allow Sensor HAL write access to als_table am: f6c212c921
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19378829

Change-Id: Iea12193ba9f0f47d650b40cca9a575de39ce67d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-25 07:12:52 +00:00
luofrank
f6c212c921 Add rules to allow Sensor HAL write access to als_table
Sensor HAL needs write access to
/sys/class/backlight/panel1-backlight/als_table.

Bug: 238847421
Test: Refer to b/238847421#comment5.
Change-Id: I21845b7772b3806f8796dab7e23b91fe3ae6c881
2022-07-25 09:50:17 +08:00
TreeHugger Robot
dccf79622b Merge "add sepolicy for both vibrator path" into tm-qpr-dev am: fde1b9d375 am: 0ea832f327
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19371059

Change-Id: I5285fd8bc8152564107b64762da80243db8f6f85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 02:27:21 +00:00
TreeHugger Robot
0ea832f327 Merge "add sepolicy for both vibrator path" into tm-qpr-dev am: fde1b9d375
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19371059

Change-Id: I2750e7c7768858d47f56b00c588a243a50cf1888
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 02:00:49 +00:00
TreeHugger Robot
fde1b9d375 Merge "add sepolicy for both vibrator path" into tm-qpr-dev 2022-07-22 01:44:54 +00:00
TreeHugger Robot
9eb72fccc7 Merge "Add service context for IDisplay/secondary" into tm-qpr-dev am: 82d6ccff80 am: 46de6e64b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18883487

Change-Id: Ib479f28b37d2ad5a1a58ede6255bb7023c83e879
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 09:11:39 +00:00
TreeHugger Robot
46de6e64b0 Merge "Add service context for IDisplay/secondary" into tm-qpr-dev am: 82d6ccff80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18883487

Change-Id: I30603c9d1d7e9b6a0edd3275990f2db457717b03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 08:43:58 +00:00
TreeHugger Robot
82d6ccff80 Merge "Add service context for IDisplay/secondary" into tm-qpr-dev 2022-07-21 08:21:39 +00:00
Chase Wu
eb0d700258 add sepolicy for both vibrator path
Change the both driver path's sysfs to sysfs_vibrator

Bug: 181615889
Test: adb shell ls -lZ /sys/bus/i2c/devices/i2c-cs40l26a/default/
Test: adb shell ls -lZ /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I839d4b9406d140a326730873cb8cb86d13188fe2
2022-07-21 16:20:10 +08:00
Adam Shih
c2c7a9556f Update SELinux error am: eece5dd7a0 am: 2c3ad6b2a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19320247

Change-Id: I29f1e875de2f56b53e13ab94b5124d2a0497029a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 09:03:09 +00:00
Adam Shih
2c3ad6b2a3 Update SELinux error am: eece5dd7a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19320247

Change-Id: Ic9e644698d859d4d6e5cba9af7af0de01fb6f8ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 08:19:18 +00:00
Adam Shih
eece5dd7a0 Update SELinux error
Bug: 234547283
Change-Id: Ie74f138fdb08167ec4e3ebf2461bc430e6ca3664
2022-07-18 02:58:25 +00:00
Adam Shih
9edae3f9c0 setup felix tracking folder am: 0ee97b98fe am: 2a8007bf5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19291511

Change-Id: Ibfdf98e51fa92514803cb393f64e045fafb1fb17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 07:11:52 +00:00
Adam Shih
2a8007bf5b setup felix tracking folder am: 0ee97b98fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19291511

Change-Id: I0a331b691d86b8ee2a8290dfb544f75ba25e3135
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 06:52:08 +00:00
Adam Shih
0ee97b98fe setup felix tracking folder
Bug: 234547283
Test: build pass
Change-Id: Ibe8461efae81360fdf18c1908ef9e6b1d080a482
2022-07-15 10:25:44 +08:00
TreeHugger Robot
8a9a231a11 Merge "Add sepolicy for Blutooth" into tm-qpr-dev am: 8f8a358606 am: cd75b0472a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19084684

Change-Id: Id6e5e9f2d2208cbe5f9b615fc3aea5c3ad99fae5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 08:27:36 +00:00
TreeHugger Robot
cd75b0472a Merge "Add sepolicy for Blutooth" into tm-qpr-dev am: 8f8a358606
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19084684

Change-Id: Id3b3c1f4f41774be7e97adc111f287b4c077f204
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 08:09:53 +00:00
TreeHugger Robot
8f8a358606 Merge "Add sepolicy for Blutooth" into tm-qpr-dev 2022-07-06 07:51:36 +00:00
eddielan
ab4f35aaa2 fingerprint: Add new lable for capacitance fingerprint am: c16dc8d226 am: 68f7c979ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19163165

Change-Id: I2ef7830159fa343acc2ecea6caad63d5471508c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-05 03:46:15 +00:00
eddielan
68f7c979ae fingerprint: Add new lable for capacitance fingerprint am: c16dc8d226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/19163165

Change-Id: I400952165f156b81626b4110cc0d24a0509fa794
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-05 03:17:49 +00:00
eddielan
c16dc8d226 fingerprint: Add new lable for capacitance fingerprint
u:object_r:hal_fingerprint_capacitance_exec:s0
android.hardware.biometrics.fingerprint-service.fpc42

Cherry-pick from ag/19085661

Bug: 235424180
Test: make selinux_policy -j128
Test: Check binary sepolicy on device
Change-Id: I8859965df77356b4691292ab66dbbb8c0b9db3b3
2022-07-04 14:23:16 +08:00
Ted Wang
9d19bb92a9 Add sepolicy for Blutooth
Bug: 236681575
Test: Manually
Change-Id: I7bb8af445718703032ba1b22858654b6a5972063
2022-06-28 15:19:42 +08:00
linpeter
96d7d967fe Add service context for IDisplay/secondary
Bug: 210380703
test: check avc
Change-Id: I32a62b5cbbd0168d3a90245af04a204e74d063b2
2022-06-14 21:58:44 +08:00
linpeter
e877781286 Add file context for decon1 and dsim1 am: bc7b3c639c am: 2ee6d894bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18799710

Change-Id: Iee544e344d9d8071a8f60efe3280e9fed7f71102
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 09:21:44 +00:00
linpeter
2ee6d894bb Add file context for decon1 and dsim1 am: bc7b3c639c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18799710

Change-Id: I2b42a44e7badffab28e04157c03719ad9091c5a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 08:34:32 +00:00
linpeter
bc7b3c639c Add file context for decon1 and dsim1
Bug: 232886745
test: check sysfs context
Change-Id: Icb85a54fd4d5b949fde698ca7afeb97a0bd43408
2022-06-09 15:47:41 +08:00
Wasb Liu
fcf6b3ab5b Add sepolicy for P9222 WLC power_supply am: 1b1d98425f am: 682fd999ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18047571

Change-Id: I2fe461f3a46c29505dd43c53251043671bdf9ef3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 09:37:00 +00:00
Wasb Liu
682fd999ba Add sepolicy for P9222 WLC power_supply am: 1b1d98425f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/18047571

Change-Id: Ie1d529f067749259704b7fde805830ad101016fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 08:53:56 +00:00
Wasb Liu
1b1d98425f Add sepolicy for P9222 WLC power_supply
avc: denied { getattr } for comm="android.hardwar" path="/sys/devices/platform/10da0000.hsi2c/i2c-7/i2c-p9222/power_supply/wireless/capacity" dev="sysfs" ino=72303 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 229820966
Test: build ok, wireless power_supply can be detected by healthd
Signed-off-by: Wasb Liu <wasbliu@google.com>
Change-Id: I3078a11d6398be626d2c419ebee7d9e33babe441
2022-04-29 16:40:45 +08:00
JimiChen
52f2de87ff Add sepolicy for specific camera components am: d4c74fffeb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/17767962

Change-Id: I1b4f0670e4a3dcfa88053691c86151e8aafb2531
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-15 10:40:06 +00:00
JimiChen
d4c74fffeb Add sepolicy for specific camera components
Bug: 228822580
Bug: 228823145
Test: build okay
Change-Id: I9530292acb28414d13374128d9f453bdb602503f
2022-04-15 15:41:43 +08:00
horngchuang
df3336efbc Add F10 specific camera component sepolicy settings am: 4f83b87879
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/17652569

Change-Id: I9b1f8532c59c4c46665e0f01f7c0aade16842770
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 08:02:53 +00:00
horngchuang
4f83b87879 Add F10 specific camera component sepolicy settings
Bug: 227709256
Test: build okay
Change-Id: If1d2a22a0d3efd5b87a44f137ad115091e5653ac
2022-04-08 19:06:35 +08:00
Joel Galenson
93f622093c Include core policy OWNERS
Test: None
Change-Id: I79aa7e4f49da1d0c64ccf808f5fddac6bead73d0
2021-12-21 07:40:09 -08:00
Cyan_Hsieh
a61abb8263 Initial device felix sepolicy
Bug: 206057564
Change-Id: Ie0a08bf9c7a6cdaf634efce69401bcaa9e6a5d1b
2021-12-06 12:12:10 +08:00
Roman Yepishev
7fe887b3f5 Initial empty repository 2021-11-22 17:46:22 +00:00
251 changed files with 6547 additions and 273654 deletions

1
.gitupstream Normal file
View File

@@ -0,0 +1 @@
https://android.googlesource.com/device/google/felix

View File

@@ -16,9 +16,4 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_felix.mk \
$(LOCAL_DIR)/aosp_felix_hwasan.mk \
$(LOCAL_DIR)/factory_felix.mk
COMMON_LUNCH_CHOICES := \
aosp_felix-trunk_staging-userdebug
$(LOCAL_DIR)/lineage_felix.mk

4
BoardConfigEvolution.mk Normal file
View File

@@ -0,0 +1,4 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#

11
BoardConfigLineage.mk Normal file
View File

@@ -0,0 +1,11 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Kernel modules
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.vendor_kernel_boot
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_kernel_boot))
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD += $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES += $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)))

4
OWNERS
View File

@@ -1,4 +0,0 @@
per-file powerhint.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com
# per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details.
per-file *.mk,*/BoardConfig.mk=file:device/google/gs-common:main:/OWNERS

View File

@@ -1,2 +0,0 @@
[Builtin Hooks]
jsonlint = true

View File

@@ -27,6 +27,3 @@ PRODUCT_DEVICE := felix
PRODUCT_MODEL := AOSP on Felix
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
DEVICE_MANIFEST_FILE := \
device/google/felix/manifest.xml

View File

@@ -1,23 +0,0 @@
#
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, device/google/felix/aosp_felix.mk)
PRODUCT_NAME := aosp_felix_hwasan
# Add "hwaddress" as a global sanitizer if it's missing.
ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
endif

View File

@@ -1344,7 +1344,7 @@
<path name="bluetooth-sco-headset-microphones" />
</path>
<path name="usb-headset-microphones">
<path name="usb-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@@ -1354,6 +1354,15 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="usb-headset-microphones">
<path name="usb-microphones" />
</path>
<path name="usb-device-microphones">
<path name="usb-microphones" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c -->
<path name="cs35l41-load-protection-firmware-start">
<!-- Enable it after get the protection firmware -->

View File

@@ -64,27 +64,3 @@ PRODUCT_COPY_FILES += \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
# userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
#Bluenote files
PRODUCT_COPY_FILES += \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
PRODUCT_COPY_FILES += \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
# Waves ini/mps files for unit tests of halcontroller
PRODUCT_COPY_FILES += \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/test_config.ini \
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
endif

View File

@@ -59,7 +59,7 @@
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">

View File

@@ -59,7 +59,7 @@
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"

View File

@@ -60,7 +60,7 @@
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">

View File

@@ -11,6 +11,7 @@
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio broadcast output" role="source" />
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000"
@@ -51,6 +52,7 @@
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
<devicePort tagName="BLE Broadcast Out" type="AUDIO_DEVICE_OUT_BLE_BROADCAST" role="sink"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
@@ -66,6 +68,8 @@
<route type="mix" sink="le audio input"
sources="BLE Headset In"/>
<route type="mix" sink="BLE Speaker Out"
sources="le audio output"/>
sources="le audio output"/>
<route type="mix" sink="BLE Broadcast Out"
sources="le audio broadcast output"/>
</routes>
</module>

View File

@@ -1,384 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<mixer>
<ctl name="TDM_0_RX Mixer EP3" value="0" />
<ctl name="TDM_0_RX Mixer EP6" value="0" />
<ctl name="I2S_0_RX Mixer EP3" value="0" />
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="E Main AMP Enable Switch" value="0" />
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
<ctl name="EP1 TX Mixer TDM_0_TX" value="0" />
<ctl name="DEFAULT_MIC_ID" value="0" />
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_ON" />
<path name="mfg-playback">
</path>
<path name="deep-buffer-playback speaker">
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
<ctl name="TDM_0_RX Mixer EP6" value="1" />
<path name="mfg-playback" />
</path>
<path name="deep-buffer-playback headphones">
<ctl name="I2S_0_RX Mixer EP6" value="1" />
<path name="mfg-playback" />
</path>
<path name="mfg-record">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="mfg-record usb-headset-mic">
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
<ctl name="USB Playback EP ID v2" value="0" />
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="USB Config To AoC v2" value="1"/>
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic1-status">
</path>
<path name="mic2-status">
</path>
<path name="mic3-status">
</path>
<path name="mic4-status">
</path>
<path name="mic1-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic2-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic3-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic4-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic1-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic2-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic3-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic4-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="usb-capture-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic1-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic2-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic3-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic-all">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="amp_iv-only">
<ctl name="E ASPTX1 Slot Position" value="3" />
<ctl name="E ASPTX2 Slot Position" value="5" />
<ctl name="E ASPTX3 Slot Position" value="6" />
<ctl name="E ASPTX4 Slot Position" value="7" />
<ctl name="R ASPTX1 Slot Position" value="2" />
<ctl name="R ASPTX2 Slot Position" value="0" />
<ctl name="R ASPTX3 Slot Position" value="6" />
<ctl name="R ASPTX4 Slot Position" value="7" />
<ctl name="ASPTX1 Slot Position" value="1" />
<ctl name="ASPTX2 Slot Position" value="4" />
<ctl name="ASPTX3 Slot Position" value="5" />
<ctl name="ASPTX4 Slot Position" value="6" />
<ctl name="E ASP TX1 Source" value="VMON" />
<ctl name="E ASP TX2 Source" value="Zero" />
<ctl name="E ASP TX3 Source" value="Zero" />
<ctl name="E ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX2 Source" value="ASPRX1" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv1-only">
<ctl name="E ASPTX1 Slot Position" value="4" />
<ctl name="E ASPTX2 Slot Position" value="5" />
<ctl name="E ASPTX3 Slot Position" value="6" />
<ctl name="E ASPTX4 Slot Position" value="7" />
<ctl name="R ASPTX1 Slot Position" value="4" />
<ctl name="R ASPTX2 Slot Position" value="5" />
<ctl name="R ASPTX3 Slot Position" value="6" />
<ctl name="R ASPTX4 Slot Position" value="7" />
<ctl name="ASPTX1 Slot Position" value="0" />
<ctl name="ASPTX2 Slot Position" value="1" />
<ctl name="ASPTX3 Slot Position" value="2" />
<ctl name="ASPTX4 Slot Position" value="3" />
<ctl name="E ASP TX1 Source" value="Zero" />
<ctl name="E ASP TX2 Source" value="Zero" />
<ctl name="E ASP TX3 Source" value="Zero" />
<ctl name="E ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX1 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="IMON" />
<ctl name="ASP TX3 Source" value="VPMON" />
<ctl name="ASP TX4 Source" value="ASPRX1" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv2-only">
<ctl name="E ASPTX1 Slot Position" value="4" />
<ctl name="E ASPTX2 Slot Position" value="5" />
<ctl name="E ASPTX3 Slot Position" value="6" />
<ctl name="E ASPTX4 Slot Position" value="7" />
<ctl name="R ASPTX1 Slot Position" value="0" />
<ctl name="R ASPTX2 Slot Position" value="1" />
<ctl name="R ASPTX3 Slot Position" value="2" />
<ctl name="R ASPTX4 Slot Position" value="3" />
<ctl name="ASPTX1 Slot Position" value="4" />
<ctl name="ASPTX2 Slot Position" value="5" />
<ctl name="ASPTX3 Slot Position" value="6" />
<ctl name="ASPTX4 Slot Position" value="7" />
<ctl name="E ASP TX1 Source" value="Zero" />
<ctl name="E ASP TX2 Source" value="Zero" />
<ctl name="E ASP TX3 Source" value="Zero" />
<ctl name="E ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX2 Source" value="IMON" />
<ctl name="R ASP TX3 Source" value="VPMON" />
<ctl name="R ASP TX4 Source" value="ASPRX1" />
<ctl name="ASP TX1 Source" value="Zero" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv3-only">
<ctl name="E ASPTX1 Slot Position" value="0" />
<ctl name="E ASPTX2 Slot Position" value="1" />
<ctl name="E ASPTX3 Slot Position" value="2" />
<ctl name="E ASPTX4 Slot Position" value="3" />
<ctl name="R ASPTX1 Slot Position" value="4" />
<ctl name="R ASPTX2 Slot Position" value="5" />
<ctl name="R ASPTX3 Slot Position" value="6" />
<ctl name="R ASPTX4 Slot Position" value="7" />
<ctl name="ASPTX1 Slot Position" value="4" />
<ctl name="ASPTX2 Slot Position" value="5" />
<ctl name="ASPTX3 Slot Position" value="6" />
<ctl name="ASPTX4 Slot Position" value="7" />
<ctl name="E ASP TX1 Source" value="VMON" />
<ctl name="E ASP TX2 Source" value="IMON" />
<ctl name="E ASP TX3 Source" value="VPMON" />
<ctl name="E ASP TX4 Source" value="ASPRX1" />
<ctl name="R ASP TX1 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="ASP TX1 Source" value="Zero" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="speaker1-status">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="speaker2-status">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="speaker3-status">
<ctl name="E Main AMP Enable Switch" value="1" />
</path>
<path name="speaker1-gain">
<ctl name="AMP PCM Gain" />
</path>
<path name="speaker2-gain">
<ctl name="R AMP PCM Gain" />
</path>
<path name="speaker3-gain">
<ctl name="E AMP PCM Gain" />
</path>
<path name="usb-playback-gain">
<ctl name="Headset Playback Volume" />
</path>
<path name="mfg-playback speaker">
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
<ctl name="TDM_0_RX Mixer EP3" value="1" />
<ctl name="ASPRX1 Slot Position" value="0" />
<ctl name="R ASPRX1 Slot Position" value="1" />
<ctl name="SINK_IDS" id="0" value="0" />
<ctl name="SINK_IDS" id="1" value="-1" />
</path>
<path name="mfg-playback headphones">
<ctl name="I2S_0_RX Chan" value="Two" />
<ctl name="I2S_0_RX Format" value="S32_LE" />
<ctl name="I2S_0_RX Mixer EP3" value="1" />
<ctl name="SINK_IDS" id="0" value="1" />
<ctl name="SINK_IDS" id="1" value="-1" />
</path>
<path name="mfg-playback usb-headphones">
<ctl name="USB Dev ID v2" value="2" />
<ctl name="USB Capture EP ID v2" value="0" />
<ctl name="USB Playback EP ID v2" value="1" />
<ctl name="USB Playback FORMAT v2" value="6" />
<ctl name="USB Playback SR v2" value="48000" />
<ctl name="USB Playback CH v2" value="2" />
<ctl name="USB Playback BW v2" value="16" />
<ctl name="USB Config To AoC v2" value="1" />
<ctl name="USB_RX Mixer EP3" value="1" />
</path>
<path name="speaker1-only">
<ctl name="Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="AMP PCM Gain" value="17" />
<ctl name="PCM Source" value="ASP" />
</path>
<path name="speaker2-only">
<ctl name="R Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R PCM Source" value="ASP" />
</path>
<path name="speaker3-only">
<ctl name="E Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="E PCM Source" value="ASP" />
</path>
<path name="headphones">
<ctl name="DAC1 MIXL DAC1 Switch" value="1" />
<ctl name="DAC1 MIXR DAC1 Switch" value="1" />
<ctl name="Stereo1 DAC MIXL DAC L1 Switch" value="1" />
<ctl name="Stereo1 DAC MIXR DAC R1 Switch" value="1" />
<ctl name="DAC L1 Source" value="Stereo1 DAC Mixer" />
<ctl name="DAC R1 Source" value="Stereo1 DAC Mixer" />
<ctl name="HPOL Playback Switch" value="1" />
<ctl name="HPOR Playback Switch" value="1" />
<path name="mfg-playback headphones" />
</path>
<path name="speaker-all">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="PCM Source" value="ASP" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="R PCM Source" value="ASP" />
<ctl name="E Main AMP Enable Switch" value="1" />
<ctl name="E PCM Source" value="ASP" />
<path name="mfg-playback speaker" />
</path>
<path name="loopback-mic-speaker">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
<ctl name="SINK_IDS" id="0" value="0" />
<ctl name="SINK_IDS" id="1" value="-1" />
<path name="mfg-playback" />
</path>
<path name="loopback-mic-headphones">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
<ctl name="SINK_IDS" id="0" value="1" />
<ctl name="SINK_IDS" id="1" value="-1" />
<path name="mfg-playback" />
</path>
<path name="loopback-mic-usb-headphones">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
<ctl name="TDM_0_TX Format" value="S32_LE" />
<ctl name="TDM_0_TX Chan" value="One" />
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="loopback-usb-mic-speaker">
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="loopback-usb-mic-usb-headphone">
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<pcm_id name="loopback-mic1" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic2" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic3" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic4" value="EP1 capture (*)"/>
<pcm_id name="loopback-speaker1" value="EP3 playback (*)"/>
<pcm_id name="loopback-speaker2" value="EP3 playback (*)"/>
<pcm_id name="loopback-speaker3" value="EP3 playback (*)"/>
<pcm_id name="loopback-headphones" value="EP3 playback (*)"/>
<pcm_id name="loopback-usb-headphones" value="EP3 playback (*)"/>
<pcm_id name="loopback-usb-mic" value="EP1 capture (*)"/>
<pcm_id name="loopback-amp_iv" value="nohost1 capture (*)"/>
</mixer>

View File

@@ -1,307 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<!-- Initial Values -->
<!-- Preload Stage -->
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
<!-- Clock-trigger Stage -->
<ctl name="SINK_IDS" id="0" value="-1"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="PCM Playback Volume" value="10"/>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<!-- Preparation Stage -->
<path name="crus-switch-fw-prepare">
<ctl name="DRE DRE Switch" value="1" />
<ctl name="VBSTMON Output Switch" value="1" />
<ctl name="DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R DRE DRE Switch" value="1" />
<ctl name="R VBSTMON Output Switch" value="1" />
<ctl name="R DSP Booted" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
</path>
<!-- Preload Stage -->
<path name="crus-fw-preload">
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- Firmware-switching Stage -->
<path name="crus-switch-fw-Calibration">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Calibration" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Calibration" />
</path>
<path name="crus-switch-fw-Diagnostic">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Diagnostic" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Diagnostic" />
</path>
<path name="crus-switch-fw-Protection">
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Protection" />
</path>
<!-- DSP-initialization Stage -->
<path name="crus-dsp-pre-calibration-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration">
<path name="crus-dsp-pre-calibration-amp1" />
<path name="crus-dsp-pre-calibration-amp2" />
</path>
<path name="crus-dsp-pre-diagnostic-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic">
<path name="crus-dsp-pre-diagnostic-amp1" />
<path name="crus-dsp-pre-diagnostic-amp2" />
</path>
<path name="crus-dsp-pre-protection">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<!-- Clock-trigger Stage -->
<path name="platform-controls">
<ctl name="PCM Playback Volume" value="1000"/>
<ctl name="SINK_IDS" id="0" value="0"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</path>
<!-- Post loaded firmware -->
<path name="crus-dsp-post-loading-fw">
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
</path>
<!-- Value & Information Fetch Stage -->
<path name="platform-values">
<ctl name="TDM_0_RX Format" />
<ctl name="TDM_0_RX Chan" />
<ctl name="TDM_0_RX Sample Rate" />
<ctl name="PCM Playback Volume" />
<ctl name="TDM_0_RX Mixer EP6" />
</path>
<path name="cs35l41-values">
<ctl name="DRE DRE Switch" />
<ctl name="R DRE DRE Switch" />
<ctl name="VBSTMON Output Switch" />
<ctl name="R VBSTMON Output Switch" />
<ctl name="AMP PCM Gain" />
<ctl name="R AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<ctl name="R Digital PCM Volume" />
<ctl name="PCM Source" />
<ctl name="R PCM Source" />
<ctl name="DSP Booted" />
<ctl name="R DSP Booted" />
<ctl name="Main AMP Enable Switch" />
<ctl name="R Main AMP Enable Switch" />
<ctl name="DSP1 Preload Switch" />
<ctl name="R DSP1 Preload Switch" />
<ctl name="DSP1 Firmware" />
<ctl name="R DSP1 Firmware" />
</path>
<!-- Note that the order of controls does matter because
it should be matched to the structure defined in
sp_cal_common.h -->
<!--
struct calibration_data {
unsigned int cal_r;
unsigned int cal_status;
unsigned int cal_checksum;
unsigned int cal_ambient;
unsigned int amp_pcm_gain;
unsigned int digital_pcm_gain;
};
-->
<path name="cs35l41-dsp-amp1-calibration-values">
<ctl name="DSP1 Calibration cd CAL_R" />
<ctl name="DSP1 Calibration cd CAL_STATUS" />
<ctl name="DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-values">
<ctl name="R DSP1 Calibration cd CAL_R" />
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
<ctl name="R DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="R DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="R DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<!--
struct diagnostic_data {
struct calibration_data calibration_data;
unsigned int z_low_diff;
unsigned int diag_f0;
unsigned int diag_f0_status;
};
-->
<path name="cs35l41-dsp-amp1-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Diagnostic cd CAL_R" />
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="DSP1 Diagnostic cd DIAG_F0" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Diagnostic cd CAL_R" />
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="R DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="R DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="R DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Protection cd CAL_R" />
<ctl name="DSP1 Protection cd CAL_STATUS" />
<ctl name="DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp2-protection-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Protection cd CAL_R" />
<ctl name="R DSP1 Protection cd CAL_STATUS" />
<ctl name="R DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="R DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp1-calibration-completion">
<ctl name="DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-completion">
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-completion">
<ctl name="DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-protection-completion">
<ctl name="R DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-diagnostic-completion">
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-completion">
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-enable-status">
<ctl name="Main AMP Enable Switch" />
</path>
<path name="cs35l41-dsp-amp2-enable-status">
<ctl name="R Main AMP Enable Switch" />
</path>
</mixer>

View File

@@ -1,22 +0,0 @@
#
# Copyright (C) 2020 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
AUDIO_FACTORY_TABLE_FOLDER := felix
# Mixer Path Configuration for Audio Factory
PRODUCT_COPY_FILES += \
device/google/felix/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml

View File

@@ -1,307 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<modules>
<module id="2" name="Waves">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="3" name="Forte">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="5" name="Auto Gain Control">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="GainApplied" type="float"/>
<param id="17" name="idealRMS" type="float"/>
<param id="18" name="noiseGate" type="float"/>
<param id="19" name="minGain" type="float"/>
<param id="20" name="maxGain" type="float"/>
<param id="21" name="longGainAtRt" type="uint32"/>
<param id="22" name="GainAtRt" type="uint32"/>
<param id="23" name="rmsTav" type="uint32"/>
</module>
<module id="6" name="Surround Record">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="7" id="3" name="chMask_" type="uint32"/>
<param id="16" max="1" min="0" name="alpha" type="float"/>
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
<param complex="true" id="20" name="ch0_profileR" size="1024" type="float"/>
<param complex="true" id="21" name="ch1_profileR" size="1024" type="float"/>
<param complex="true" id="22" name="ch2_profileR" size="1024" type="float"/>
<param complex="true" id="23" name="ch0_profileAZ" size="1024" type="float"/>
<param complex="true" id="24" name="ch1_profileAZ" size="1024" type="float"/>
<param complex="true" id="25" name="ch2_profileAZ" size="1024" type="float"/>
<struct id="26">
<param default="1" name="ch_gain" type="float"/>
<param default="1" name="zoom_gain" type="float"/>
</struct>
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
<param default="0.33" id="30" name="alpha_enhancedRate" type="float"/>
<param default="0" id="31" name="swapOutputLR" type="int32"/>
<struct id="32">
<param default="1.0" name="CB_alpha_lowband" type="float"/>
<param default="1.0" name="CB_alpha_midband" type="float"/>
<param default="1.0" name="CB_alpha_highband" type="float"/>
</struct>
<struct id="33">
<param default="1.0" name="CB_epsilon_lowband" type="float"/>
<param default="1.0" name="CB_epsilon_midband" type="float"/>
<param default="1.0" name="CB_epsilon_highband" type="float"/>
</struct>
<struct id="34">
<param default="13" name="CB_fc_low_mid" type="int32"/>
<param default="22" name="CB_fc_mid_high" type="int32"/>
<param default="5" name="CB_smooth_span" type="int32"/>
<param default="1.0" name="CB_forget_factor" type="float"/>
</struct>
</module>
<module id="7" name="Multi Channel IIR 2">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="8" name="Multi Band DRC">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param default="1" max="3" min="1" name="numBand" type="uint32"/>
<param name="IIR_LowPass1" size="5" type="float"/>
<param name="IIR_HighPass1" size="5" type="float"/>
<param name="IIR_LowPass2" size="5" type="float"/>
<param name="IIR_HighPass2" size="5" type="float"/>
</struct>
<struct id="17">
<param max="20" min="0" name="band0_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band0_rms_ms" type="float"/>
<param max="30" min="0" name="band0_gain_dB" type="float"/>
<param max="30" min="-30" name="band0_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band0_numOfKnee" type="uint32"/>
<param name="band0_threadhold_dB" size="3" type="float"/>
<param name="band0_compressRatio" size="4" type="float"/>
<param name="band0_kneeWidth" size="3" type="float"/>
<param name="band0_attackTime_ms" size="4" type="float"/>
<param name="band0_releaseTime_ms" size="4" type="float"/>
<param name="band0_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band1_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band1_rms_ms" type="float"/>
<param max="30" min="0" name="band1_gain_dB" type="float"/>
<param max="30" min="-30" name="band1_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band1_numOfKnee" type="uint32"/>
<param name="band1_threadhold_dB" size="3" type="float"/>
<param name="band1_compressRatio" size="4" type="float"/>
<param name="band1_kneeWidth" size="3" type="float"/>
<param name="band1_attackTime_ms" size="4" type="float"/>
<param name="band1_releaseTime_ms" size="4" type="float"/>
<param name="band1_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band2_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band2_rms_ms" type="float"/>
<param max="30" min="0" name="band2_gain_dB" type="float"/>
<param max="30" min="-30" name="band2_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band2_numOfKnee" type="uint32"/>
<param name="band2_threadhold_dB" size="3" type="float"/>
<param name="band2_compressRatio" size="4" type="float"/>
<param name="band2_kneeWidth" size="3" type="float"/>
<param name="band2_attackTime_ms" size="4" type="float"/>
<param name="band2_releaseTime_ms" size="4" type="float"/>
<param name="band2_hysteresis" size="4" type="float"/>
</struct>
<struct id="18">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="float"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="float"/>
</struct>
<struct id="19">
<param name="frequency0" type="uint32"/>
<param name="frequency1" type="uint32"/>
</struct>
</module>
<module id="11" name="Stationary Noise Suppression">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="1" id="16" name="strength level" type="uint32"/>
<param id="17" name="POWER_TIME_SMOOTH" type="float"/>
<param id="18" name="RMS_TIME_SMOOTH" type="float"/>
<param id="19" name="LOWER_BAND_THRESHOLD" size="129" type="float"/>
<param id="20" name="UPPER_BAND_THRESHOLD" size="3" type="float"/>
<param id="21" name="ATTACK_TIME" type="float"/>
<param id="22" name="RELEASE_TIME" type="float"/>
</module>
<module id="14" name="Linear Gain">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="Simple_gain" type="float"/>
<param default="0" id="17" name="ch0_assignFrom" type="int32"/>
<param default="1" id="18" name="ch1_assignFrom" type="int32"/>
<param default="2" id="19" name="ch2_assignFrom" type="int32"/>
</module>
<module id="17" name="Wind Noise Reduction">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="450" id="16" name="DECISION_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="17" name="DECISION_ATTACK_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="18" name="DECISION_RELEASE_HIGH_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="19" name="DECISION_RELEASE_LOW_SMOOTHING_FACTOR" type="int32"/>
<param default="700" id="20" name="DECISION_RELEASE_THRESHOLD" type="int32"/>
<param default="0" id="21" name="DECISION_RANGE_OFFSET_FACTOR" type="int32"/>
<param default="1000" id="22" name="DECISION_RANGE_SLOPE_FACTOR" type="int32"/>
<param default="450" id="23" name="DECISION_GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="27" id="24" name="DECISION_DB_RANGE" type="int32"/>
<param default="1000" id="25" name="MASTER_REDUCTION_FACTOR" type="int32"/>
<param default="15" id="26" name="KEEP_NUM_OF_PREV_DECISIONS" type="int32"/>
<param default="1000" id="27" name="DEC_PRE_GAIN" type="int32"/>
<param default="16000" id="28" name="SUP_PRE_GAIN" type="int32"/>
<param default="2" id="29" name="COHERENCE_ENABLE" type="int32"/>
<param default="1" id="30" name="COHERENCE_START_BIN" type="int32"/>
<param default="10" id="31" name="COHERENCE_END_BIN" type="int32"/>
<param default="300" id="32" name="COHERENCE_THRESHOLD" type="int32"/>
<param default="990" id="33" name="COHERENCE_FORGETTING_FACTOR" type="int32"/>
<param default="0" id="34" name="DB_SCALING_FACTOR" type="int32"/>
<param default="9" id="35" name="SEP_LAYER" type="int32"/>
<param default="1" id="36" name="SP_GAIN_ENABLE" type="int32"/>
<param default="15" id="37" name="SP_GAIN_MAX_BIN" type="int32"/>
<param default="500" id="38" name="SP_GAIN_MIN" type="int32"/>
<param default="200" id="39" name="SP_GAIN_TH_MIN" type="int32"/>
<param default="450" id="40" name="SP_GAIN_TH_MAX" type="int32"/>
<param default="800" id="41" name="SP_GAIN_SMOOTH" type="int32"/>
<param default="3" id="42" name="SP_GAIN_FREQ_SMOOTH" type="int32"/>
<param default="300" id="43" name="MASTER_MAX_SUP_SMOOTHING_FACTOR" type="int32"/>
<param default="1" id="44" name="GAIN_FREQ_SMOOTH" type="int32"/>
<param default="2" id="45" name="GMIN_CURVE_TYPE" type="int32"/>
<param default="55" id="46" name="GMIN_LINEAR_SPLIT_MID_POINT_BINR" type="int32"/>
<param default="330" id="47" name="GMIN_LINEAR_SPLIT_MID_POINT_VAL" type="int32"/>
<param default="1000" id="48" name="SP_OVERSUB_RATIO" type="int32"/>
<param default="16" id="49" name="WIND_ENERGY_EST_COMPENSATION_GAIN" type="int32"/>
<param default="2000" id="50" name="WIND_ENERGY_CURVE_SLOPE" type="int32"/>
<param default="300" id="51" name="WIND_ENERGY_CURVE_OFFSET" type="int32"/>
<param default="16000" id="52" name="WIND_ENERGY_CURVE_MIN" type="int32"/>
<param default="16000" id="53" name="WIND_ENERGY_CURVE_MAX" type="int32"/>
<param default="900" id="54" name="WIND_ENERGY_SMOOTHING" type="int32"/>
<param default="144" id="55" name="WIND_ENERGY_NORM_DENOM" type="int32"/>
<param default="600" id="56" name="WIND_ENERGY_CURVE_SCALED_TH_MIN" type="int32"/>
<param default="900" id="57" name="WIND_ENERGY_CURVE_SCALED_TH_MAX" type="int32"/>
<param default="1" id="58" name="ENABLE_ML_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="59" name="ENABLE_SP_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="60" name="ENALBE_SP_COMBI_OVERSUBTRACTION" type="int32"/>
<param default="1" id="61" name="ENABLE_PRIORI_SNR" type="int32"/>
<param default="1000" id="62" name="PRIORI_SNR_ML_TUNING" type="int32"/>
<param default="15" id="63" name="DEC_PREV_NUM" type="int32"/>
<param default="1" id="64" name="SSC_ENABLE" type="int32"/>
<param default="930" id="65" name="SSC_SOFT_SMOOTHING_FACTOR" type="int32"/>
<param default="1600" id="66" name="SSC_OVERDRIVE" type="int32"/>
<param default="3" id="67" name="SSC_MIN_FREQ" type="int32"/>
<param default="130" id="68" name="SSC_MAX_FREQ" type="int32"/>
<param default="700" id="69" name="SSC_PSD_SMOOTHING_FACTOR" type="int32"/>
<param default="12" id="70" name="SSC_SOFT_DECISION_MIN_FREQ" type="int32"/>
<param default="450" id="71" name="SSC_SOFT_DECISION_MAX_FREQ" type="int32"/>
<param default="5" id="72" name="SSC_KEEP_SAVED_PROB_SMOOTH_SIZE" type="int32"/>
<param default="1000" id="73" name="GAIN_BOOSTING_COST" type="int32"/>
</module>
<module id="18" name="Multi Channel IIR 1">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="32" name="Single Band DRC">
<param default="1" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param max="20" min="0" name="delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="rms_ms" type="float"/>
<param max="30" min="0" name="gain_dB" type="float"/>
<param max="30" min="-30" name="Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="numOfKnee" type="uint32"/>
<param name="threadhold_dB" size="3" type="float"/>
<param name="compressRatio" size="4" type="float"/>
<param name="kneeWidth" size="3" type="float"/>
<param name="attackTime_ms" size="4" type="float"/>
<param name="releaseTime_ms" size="4" type="float"/>
<param name="hysteresis" size="4" type="float"/>
<param default="0" max="1" min="0" name="rms_manual_enable" type="uint32"/>
<param default="0" max="2" min="0" name="rms_channel" type="uint32"/>
</struct>
<struct id="17">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="uint32"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
</struct>
</module>
<module id="10000" name="Eraser">
<param id="275" name="eraser_pre_gain" type="uint32"/>
<param id="277" name="eraser_post_gain" type="uint32"/>
<param id="279" name="non_eraser_gain" type="uint32"/>
</module>
<module id="10001" name="Cleaner">
<param id="299" name="cleaner_post_gain" type="uint32"/>
</module>
<module id="10002" name="CHRE">
<param id="297" name="chre_gain" type="uint32"/>
</module>
</modules>
<signalflows>
<signalflow id="1" name="Spatial Audio">
<block id="128">
<moduleRef id="18"/>
<moduleRef id="17"/>
</block>
<block id="134">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="6"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="8"/>
</block>
</signalflow>
<signalflow id="2" name="General Mic Recording">
<block id="137">
<moduleRef id="14"/>
<moduleRef id="7"/>
<moduleRef id="8"/>
</block>
</signalflow>
<signalflow id="1000" name="Smart Feature">
<block id="0">
<moduleRef id="10000"/>
<moduleRef id="10001"/>
<moduleRef id="10002"/>
</block>
</signalflow>
</signalflows>
</template>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,58 +0,0 @@
########################################################################################################
# (Optional) The supported features list for platform vendors to query from.
# Platform vendors should call maxxaudio_qdsp_is_feature_supported with a string to query from the list.
# This config has no effect in the MaxxAudioQdspHalController. It's only meaningful for platform vendors.
# Putting any value other than 1 would be equivalent to not supported.
########################################################################################################
[HAL_SUPPORTED_FEATURES]
CUSTOM_ACTION_256=1
########################################################################################################
# This defined the options of supported sample rates.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_SAMPLE_RATES]
SR_COMMON = 48000
########################################################################################################
# (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_ORIENTATION_SUBTYPES]
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
########################################################################################################
# This defines available preset configurations.
# This should be configured by Waves only unless platform vendor is familiar with MPS structure.
########################################################################################################
[HAL_SUPPORTED_PRESETS]
SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER
HEADSET_MUSIC = OM:2,SM:2
########################################################################################################
# This defines available CONTROL configurations. Only define the CONTROL if you need it.
# The numbers could vary from device to device.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_CONTROLS]
SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL
A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
[COEFS_CONVERTER_SETTING]
AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so
AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
# do not modify the following if not necessary
#AudioFormatType=0
#AudioFormatChannels=2
#AudioFormatSampleRate=48000
#AudioFormatBitsPerSample=32
#AudioFormatSampleSize=4
#AudioFormatIncrement=8
[CUSTOM_ACTION_256]
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC

View File

@@ -3,4 +3,10 @@
# Uart port name
UartPort = /dev/ttySAC18
# Update BQR Event Mask property value
BqrEventMaskValueUpdate = 295006
BtOpusEnabled = true
# Silent recover unimplement type packet when no device connected
SilentRecoverUnimplementedPacket = true

View File

@@ -86,7 +86,7 @@ on early-boot
start insmod_sh_felix
chown system system /sys/class/power_supply/dualbatt/dbatt_stats
service insmod_sh_felix /vendor/bin/insmod.sh /vendor/etc/init.insmod.felix.cfg
service insmod_sh_felix /vendor/bin/insmod.sh /vendor_dlkm/etc/init.insmod.felix.cfg
class main
user root
group root system

6
device-evolution.mk Normal file
View File

@@ -0,0 +1,6 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution

View File

@@ -14,28 +14,11 @@
# limitations under the License.
#
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
TARGET_KERNEL_DIR ?= device/google/felix-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/felix-kernel/kernel-headers
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT
ifdef RELEASE_GOOGLE_FELIX_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_FELIX_KERNEL_VERSION)
endif
ifdef RELEASE_GOOGLE_FELIX_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_FELIX_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_FELIX_KERNEL_DIR)/kernel-headers
endif
$(call inherit-product-if-exists, vendor/google_devices/felix/prebuilts/device-vendor-felix.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/felix/proprietary/felix/device-vendor-felix.mk)
$(call inherit-product-if-exists, vendor/google_devices/felix/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/felix/proprietary/WallpapersFelix.mk)
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_FELIX_VERSION)
TARGET_KERNEL_DIR := device/google/felix-kernels/evolution
TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
$(call inherit-product, device/google/felix/uwb/uwb_calibration_country.mk)
@@ -46,12 +29,11 @@ include device/google/gs201/device-shipping-common.mk
$(call soong_config_set,fp_hal_feature,pixel_product, product_a)
include device/google/felix/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/display/dump_second_display.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/stm/stm6.mk
ifeq ($(filter factory_felix, $(TARGET_PRODUCT)),)
include device/google/gs-common/display/dump_exynos_second_display.mk
include device/google/gs-common/touch/gti/predump_gti_dual.mk
include device/google/gs-common/touch/stm/predump_stm6.mk
include device/google/felix/uwb/uwb_calibration.mk
endif
# go/lyric-soong-variables
$(call soong_config_set,lyric,camera_hardware,felix)
@@ -66,10 +48,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/felix/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.felix.rc
# insmod files
PRODUCT_COPY_FILES += \
device/google/felix/init.insmod.felix.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.felix.cfg
# Camera
PRODUCT_COPY_FILES += \
device/google/felix/media_profiles_felix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
@@ -114,6 +92,12 @@ PRODUCT_PACKAGES += \
android.hardware.nfc-service.st \
NfcOverlayFelix
# Shared Modem Platform
SHARED_MODEM_PLATFORM_VENDOR := lassen
# Shared Modem Platform
include device/google/gs-common/modem/modem_svc_sit/shared_modem_platform.mk
# SecureElement
PRODUCT_PACKAGES += \
android.hardware.secure_element@1.2-service-gto \
@@ -146,6 +130,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.server.automatic_turn_on=true
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
device/google/felix/bluetooth/bluetooth_power_limits_felix_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
@@ -167,14 +155,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_transaural_enabled_default=false \
persist.vendor.audio.spatializer.speaker_enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
sar_test
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
@@ -219,10 +199,36 @@ PRODUCT_SOONG_NAMESPACES += \
device/google/felix
# Increment the SVN for any official public releases
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=51
ifdef RELEASE_SVN_FELIX
TARGET_SVN ?= $(RELEASE_SVN_FELIX)
else
# Set this for older releases that don't use build flag
TARGET_SVN ?= 55
endif
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=F10
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_FELIX))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_FELIX)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_FELIX))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_FELIX)
endif
endif
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_VENDOR_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=0 \
ro.vendor.vibrator.hal.gpio.num=44 \
@@ -230,8 +236,14 @@ PRODUCT_VENDOR_PROPERTIES +=\
persist.vendor.vibrator.hal.chirp.enabled=0
ACTUATOR_MODEL := luxshare_ict_lt_xlra1906d
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
vendor.audio.hapticgenerator.distortion.output.gain=0.52
# Fingerprint
include device/google/gs101/fingerprint/fpc1540/sw42/fpc1540.mk
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
FPC_MODULE_TYPE=1542_C
# Fingerprint config
include device/google/felix/fingerprint_config.mk
@@ -262,16 +274,6 @@ PRODUCT_PACKAGES += \
SettingsOverlayG0B96 \
SettingsOverlayG9FPL
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts/trusty/trunk
endif
# Set zram size
PRODUCT_VENDOR_PROPERTIES += \
vendor.zram.size=3g
@@ -285,16 +287,15 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml
# Location
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/felix/location/lhd_user.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/felix/location/scd_user.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/felix/location/gps.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/felix/location/lhd.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/felix/location/scd.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
device/google/felix/location/gps_user.6.1.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/felix/location/gps_user.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/felix/location/lhd_user.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/felix/location/scd_user.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
device/google/felix/location/gps_user.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
PRODUCT_PACKAGES += \
@@ -347,12 +348,6 @@ PRODUCT_VENDOR_PROPERTIES += \
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# WLC userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
endif
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_offload.supported=true \
@@ -366,13 +361,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.vcp.controller.enabled=true \
# Override BQR mask to enable LE Audio Choppy report
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=262238
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=94
endif
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=16 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=false
# Bluetooth LE Audio CIS handover to SCO
# Set the property only if the controller doesn't support CIS and SCO
@@ -390,11 +383,15 @@ PRODUCT_COPY_FILES += \
# LE Audio Unicast Allowlist
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.allow_list=SM-R510
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
ewp_tool
# Disable Bluetooth HAP by default
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.hap.enabled_by_default=false
# Disable Bluetooth LE Audio toggle for ASHA device
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.toggle_visible_for_asha=false
# Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \
@@ -413,3 +410,7 @@ PRODUCT_PACKAGES += \
NoCutoutOverlay \
AvoidAppsInCutoutOverlay
# Bluetooth device id
# Felix: 0x410C
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16652

53
device-lineage.mk Normal file
View File

@@ -0,0 +1,53 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-lineage
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
ANGLE
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# Fold extensions
PRODUCT_SYSTEM_SERVER_JARS += \
system_ext:felix-services
# HBM
PRODUCT_PACKAGES += \
HbmSVManagerOverlayFelix
# IWLAN
PRODUCT_PACKAGES += \
Iwlan
# wireless_charger HAL service
include device/google/gs-common/wireless_charger/wireless_charger.mk
# Build necessary packages for vendor
# Dumpstate
PRODUCT_PACKAGES += \
dump_gsc.sh
# GNSS
PRODUCT_PACKAGES += \
android.hardware.sensors-V2-ndk.vendor:64
# Graphics
PRODUCT_PACKAGES += \
libEGL_angle \
libGLESv1_CM_angle \
libGLESv2_angle
# Sensors
PRODUCT_PACKAGES += \
sensors.dynamic_sensor_hal

View File

@@ -1,7 +1,7 @@
<compatibility-matrix version="1.0" type="framework" level="7">
<hal format="aidl" optional="true">
<name>com.google.hardware.pixel.display</name>
<version>10</version>
<version>13-15</version>
<interface>
<name>IDisplay</name>
<instance>secondary</instance>

16
evolution.dependencies Normal file
View File

@@ -0,0 +1,16 @@
[
{
"repository": "device_google_gs201",
"target_path": "device/google/gs201"
},
{
"remote": "evo-tensor",
"repository": "device_google_felix-kernels_evolution",
"target_path": "device/google/felix-kernels/evolution"
},
{
"remote": "evo-tensor",
"repository": "vendor_google_felix",
"target_path": "vendor/google/felix"
}
]

13
extract-files.py Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)"
pushd "${MY_DIR}/felix"
./extract-files.py $@
popd

View File

@@ -1,25 +0,0 @@
#!/bin/sh
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
source ../../../common/clear-factory-images-variables.sh
BUILD=9548499
DEVICE=felix
PRODUCT=felix
VERSION=td3a.230201.001
SRCPREFIX=signed-
BOOTLOADER=felix-1.0-9477737
RADIO=g5300n-230112-230118-b-9502391
source ../../../common/generate-factory-images-common.sh

View File

@@ -1,34 +0,0 @@
#
# Copyright 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_LINUX_KERNEL_VERSION := 5.10
$(call inherit-product, device/google/gs201/factory_common.mk)
$(call inherit-product, device/google/felix/device-felix.mk)
include device/google/felix/audio/felix/factory-audio-tables.mk
PRODUCT_NAME := factory_felix
PRODUCT_DEVICE := felix
PRODUCT_MODEL := Factory build on Felix
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# Factory binary of camera
PRODUCT_PACKAGES += fatp_f10_wide_hat_tool fatp_f10_tele_hat_tool

11
felix/Android.bp Normal file
View File

@@ -0,0 +1,11 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "init.recovery.felix.touch.rc",
src: "init.recovery.touch.rc",
sub_dir: "init",
recovery: true,
}

View File

@@ -21,18 +21,15 @@ USES_DEVICE_GOOGLE_FELIX := true
BOARD_KERNEL_CMDLINE += swiotlb=noforce
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_FELIX_RADIO_DIR)
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
else
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
endif
RELEASE_GOOGLE_BOOTLOADER_FELIX_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_FELIX_DIR)
$(call soong_config_set,felix_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_FELIX_DIR))
# Enable load module in parallel
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
BOARD_KERNEL_CMDLINE += panel-samsung-ana6707-f10.load_sequential=1
BOARD_KERNEL_CMDLINE += s2mpg12-regulator.load_sequential=1
@@ -41,7 +38,11 @@ BOARD_KERNEL_CMDLINE += s2mpg12-regulator.load_sequential=1
USES_IDISPLAY_INTF_SEC := true
include device/google/gs201/BoardConfig-common.mk
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
-include vendor/google_devices/felix/proprietary/BoardConfigVendor.mk
include device/google/felix-sepolicy/felix-sepolicy.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
include device/google/felix/sepolicy/felix-sepolicy.mk
include device/google/felix/wifi/BoardConfig-wifi.mk
DEVICE_PATH := device/google/felix
VENDOR_PATH := vendor/google/felix
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk

View File

@@ -0,0 +1,6 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
include $(DEVICE_PATH)/BoardConfigEvolution.mk

View File

@@ -0,0 +1,9 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
include $(DEVICE_PATH)/BoardConfigLineage.mk
include $(VENDOR_PATH)/BoardConfigVendor.mk

View File

@@ -0,0 +1,8 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(DEVICE_PATH)/device-evolution.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-evolution

13
felix/device-lineage.mk Normal file
View File

@@ -0,0 +1,13 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(DEVICE_PATH)/device-lineage.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
# Init
PRODUCT_PACKAGES += \
init.recovery.felix.touch.rc

105
felix/extract-files.py Executable file
View File

@@ -0,0 +1,105 @@
#!/usr/bin/env -S PYTHONPATH=../../../../tools/extract-utils python3
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
from extract_utils.extract import extract_fns_user_type
from extract_utils.extract_pixel import (
extract_pixel_factory_image,
extract_pixel_firmware,
pixel_factory_image_regex,
pixel_firmware_regex,
)
from extract_utils.file import FileArgs, FileList
from extract_utils.fixups_blob import (
blob_fixup,
blob_fixups_user_type,
)
from extract_utils.fixups_lib import (
lib_fixup_remove,
lib_fixups,
lib_fixups_user_type,
)
from extract_utils.main import (
ExtractUtils,
ExtractUtilsModule,
)
namespace_imports = [
'device/google/felix',
'hardware/google/av',
'hardware/google/interfaces',
'hardware/google/pixel',
]
def lib_fixup_vendor_suffix(lib: str, partition: str, *args, **kwargs):
return f'{lib}_{partition}' if partition == 'vendor' else None
lib_fixups: lib_fixups_user_type = {
**lib_fixups,
(
'com.google.edgetpu_app_service-V3-ndk',
'com.google.edgetpu_vendor_service-V2-ndk',
): lib_fixup_vendor_suffix,
'android.hardware.sensors-V2-ndk': lib_fixup_remove,
}
blob_fixups: blob_fixups_user_type = {
'product/etc/felica/common.cfg': blob_fixup()
.patch_file('osaifu-keitai.patch'),
'vendor/etc/init/init.modem_logging_control.rc': blob_fixup()
.regex_replace(' && property:ro.debuggable=0', ''),
} # fmt: skip
extract_fns: extract_fns_user_type = {
pixel_factory_image_regex: extract_pixel_factory_image,
pixel_firmware_regex: extract_pixel_firmware,
}
module = ExtractUtilsModule(
'felix',
'google',
device_rel_path='device/google/felix/felix',
blob_fixups=blob_fixups,
lib_fixups=lib_fixups,
namespace_imports=namespace_imports,
add_generated_carriersettings_file=True,
add_firmware_proprietary_file=True,
extract_fns=extract_fns,
)
def fix_vendor_file_list(file_list: FileList):
# flp.default & gps.default have incorrect SONAME
# gpsd depends on android.hardware.sensors-V2-ndk & android.hardware.sensors-V3-ndk
disable_checkelf_file_paths = [
'vendor/bin/hw/gpsd',
'vendor/lib64/hw/flp.default.so',
'vendor/lib64/hw/gps.default.so',
]
for file_path in disable_checkelf_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.DISABLE_CHECKELF, True)
module_suffix_file_paths = [
'vendor/lib/com.google.edgetpu_app_service-V3-ndk.so',
'vendor/lib64/com.google.edgetpu_app_service-V3-ndk.so',
'vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so',
]
for file_path in module_suffix_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.MODULE_SUFFIX, '_vendor')
module.add_generated_proprietary_file(
'proprietary-files-vendor.txt',
partition='vendor',
skip_file_list_name='skip-files-vendor.txt',
fix_file_list=fix_vendor_file_list,
)
if __name__ == '__main__':
utils = ExtractUtils.device(module)
utils.run()

View File

@@ -0,0 +1,4 @@
on init
insmod /lib/modules/goog_touch_interface.ko
insmod /lib/modules/fst2.ko
insmod /lib/modules/ftm5.ko

24
felix/osaifu-keitai.patch Normal file
View File

@@ -0,0 +1,24 @@
From aab255f2807cfc460c0dce40decd5554d49c0076 Mon Sep 17 00:00:00 2001
From: jabashque <jabashque@gmail.com>
Date: Mon, 5 Feb 2024 21:36:03 +0000
Subject: [PATCH 1/1] Enable Osaifu-Keitai on non-Japanese SKUs
---
common.cfg | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common.cfg b/common.cfg
index 3b78765..00f53cb 100644
--- a/common.cfg
+++ b/common.cfg
@@ -11,6 +11,5 @@
02030001,0
02030002,0
02030003,intent:#Intent;action=android.settings.NFC_SETTINGS;end
-00000014,content://com.google.android.pixelnfc.provider.DeviceInfoContentProvider/isJapanSku
-00000015,is_japan_sku
00000016,0001
+00000018,1
--
2.47.0

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 The Evolution X Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Android version screen, build maintainer -->
<string name="build_maintainer_summary" translatable="false">Anierin Bliss</string>
<string name="build_maintainer_donate_url" translatable="false">https://PayPal.me/AnierinB</string>
</resources>

View File

@@ -221,6 +221,9 @@
<!-- Indicates whether to enable hinge angle sensor when using unfold animation -->
<bool name="config_unfoldTransitionHingeAngle">true</bool>
<!-- Indicates whether to enable haptics during unfold animation -->
<bool name="config_unfoldTransitionHapticsEnabled">true</bool>
<!-- Timeout for receiving the keyguard drawn event from System UI. -->
<integer name="config_keyguardDrawnTimeout">1700</integer>

View File

@@ -16,6 +16,6 @@
*/
-->
<resources>
<!-- for 20dp of padding at 3.5px/dp at default density -->
<dimen name="rounded_corner_content_padding">50px</dimen>
<!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">14dp</dimen>
</resources>

View File

@@ -151,13 +151,17 @@
</array>
<!-- Additional power used when screen is ambient mode -->
<item name="ambient.on">32</item>
<item name="ambient.on.display0">32</item>
<item name="ambient.on.display1">32</item>
<!-- Additional power used when screen is turned on at minimum brightness -->
<item name="screen.on">98</item>
<item name="screen.on.display0">98</item>
<item name="screen.on.display1">98</item>
<!-- Additional power used when screen is at maximum brightness, compared to
screen at minimum brightness -->
<item name="screen.full">470</item>
<item name="screen.full.display0">470</item>
<item name="screen.full.display1">470</item>
<!-- Average power used by the camera flash module when on -->
<item name="camera.flashlight">240.47</item>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2024 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<fraction name="display_density_max_scale">116.79993%</fraction>
</resources>

View File

@@ -16,10 +16,6 @@
*/
-->
<resources>
<!-- Landscape, just use the regular values -->
<dimen name="status_bar_padding_start">8dp</dimen>
<dimen name="status_bar_padding_end">8dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">0dp</dimen>
</resources>

View File

@@ -16,7 +16,7 @@
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="AuthCredentialPatternContainerStyle">
<style name="AuthNonBioCredentialPatternContainerStyle">
<item name="android:gravity">center</item>
<item name="android:maxHeight">@dimen/biometric_auth_pattern_view_max_size</item>
<item name="android:maxWidth">@dimen/biometric_auth_pattern_view_max_size</item>

View File

@@ -148,5 +148,8 @@
4 : DEVICE_POSTURE_FLIPPED
-->
<integer name="config_face_auth_supported_posture">1</integer>
<!-- Whether to use a machine learning model for back gesture falsing. -->
<bool name="config_useBackGestureML">false</bool>
</resources>

View File

@@ -16,21 +16,20 @@
*/
-->
<resources>
<!-- Don't need the left side padding due to being inset from the cutout -->
<!-- the padding on the start of the statusbar -->
<dimen name="status_bar_padding_start">0dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">1px</dimen>
<!-- Padding for the system icons on the keyguard (when no multi user switch is showing).
The icons always have a 4dp padding in the container so we only need 56 extra px of padding
for the corners -->
<dimen name="system_icons_super_container_avatarless_margin_end">11px</dimen>
<!-- Height of the status bar header bar when on Keyguard (match status_bar_height) -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Multi user switch has some intrinsic padding to it -->
<dimen name="multi_user_switch_keyguard_margin">40px</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
<dimen name="keyguard_carrier_text_margin">0px</dimen>
<!-- Total minimum padding to enforce to ensure that the dot can always show -->
<dimen name="ongoing_appops_dot_min_padding">14dp</dimen>
<dimen name="config_rounded_mask_size">71px</dimen>
<dimen name="config_rounded_mask_size_top">71px</dimen>

View File

@@ -0,0 +1,463 @@
# All blobs below are extracted from the release mentioned in proprietary-files.txt
product/etc/CarrierSettings/1and1_de.pb
product/etc/CarrierSettings/2degrees_nz.pb
product/etc/CarrierSettings/321communications_us.pb
product/etc/CarrierSettings/48_ie.pb
product/etc/CarrierSettings/4ka_sk.pb
product/etc/CarrierSettings/a1_at.pb
product/etc/CarrierSettings/a1_bg.pb
product/etc/CarrierSettings/a1_hr.pb
product/etc/CarrierSettings/a1_mk.pb
product/etc/CarrierSettings/a1_si.pb
product/etc/CarrierSettings/a1mpn_at.pb
product/etc/CarrierSettings/ahamo_jp.pb
product/etc/CarrierSettings/airbus_de.pb
product/etc/CarrierSettings/airbus_fr.pb
product/etc/CarrierSettings/airtel_in.pb
product/etc/CarrierSettings/ais_th.pb
product/etc/CarrierSettings/alcom_fi.pb
product/etc/CarrierSettings/alestra_mx.pb
product/etc/CarrierSettings/aliv_bs.pb
product/etc/CarrierSettings/altice_us.pb
product/etc/CarrierSettings/alticeroaming_us.pb
product/etc/CarrierSettings/andorratelecom_ad.pb
product/etc/CarrierSettings/antel_uy.pb
product/etc/CarrierSettings/appalachian_us.pb
product/etc/CarrierSettings/apt_tw.pb
product/etc/CarrierSettings/asda_gb.pb
product/etc/CarrierSettings/assurance_us.pb
product/etc/CarrierSettings/astca_as.pb
product/etc/CarrierSettings/astoundbroadband_us.pb
product/etc/CarrierSettings/att4g_mx.pb
product/etc/CarrierSettings/att5g_us.pb
product/etc/CarrierSettings/att5gsa_us.pb
product/etc/CarrierSettings/att_mx.pb
product/etc/CarrierSettings/att_us.pb
product/etc/CarrierSettings/attbootstrap_us.pb
product/etc/CarrierSettings/attmvnos_mx.pb
product/etc/CarrierSettings/attmvnos_us.pb
product/etc/CarrierSettings/axis_id.pb
product/etc/CarrierSettings/bait_mx.pb
product/etc/CarrierSettings/bark_us.pb
product/etc/CarrierSettings/base_be.pb
product/etc/CarrierSettings/batelco_bh.pb
product/etc/CarrierSettings/bell_ca.pb
product/etc/CarrierSettings/bite_lt.pb
product/etc/CarrierSettings/bite_lv.pb
product/etc/CarrierSettings/bluegrass_us.pb
product/etc/CarrierSettings/bob_at.pb
product/etc/CarrierSettings/boost_us.pb
product/etc/CarrierSettings/boosttmo_us.pb
product/etc/CarrierSettings/bouygues_fr.pb
product/etc/CarrierSettings/bsnl_in.pb
product/etc/CarrierSettings/btb_gb.pb
product/etc/CarrierSettings/btc_gb.pb
product/etc/CarrierSettings/cablemovil_es.pb
product/etc/CarrierSettings/carolinawest_us.pb
product/etc/CarrierSettings/carrier_list.pb
product/etc/CarrierSettings/celcom_my.pb
product/etc/CarrierSettings/cellcom_il.pb
product/etc/CarrierSettings/cellcom_us.pb
product/etc/CarrierSettings/cellcommno_us.pb
product/etc/CarrierSettings/cellfie_ge.pb
product/etc/CarrierSettings/celluarone_us.pb
product/etc/CarrierSettings/chatr_ca.pb
product/etc/CarrierSettings/chinamobile_hk.pb
product/etc/CarrierSettings/cht_tw.pb
product/etc/CarrierSettings/cityfone_ca.pb
product/etc/CarrierSettings/claro_br.pb
product/etc/CarrierSettings/claro_cl.pb
product/etc/CarrierSettings/claro_co.pb
product/etc/CarrierSettings/claro_pr.pb
product/etc/CarrierSettings/commonmvnxatt_us.pb
product/etc/CarrierSettings/congstar_de.pb
product/etc/CarrierSettings/consumercellularatt_us.pb
product/etc/CarrierSettings/consumercellulartmo_us.pb
product/etc/CarrierSettings/coopvoce_it.pb
product/etc/CarrierSettings/coppervalley_us.pb
product/etc/CarrierSettings/coriolis_fr.pb
product/etc/CarrierSettings/cox_us.pb
product/etc/CarrierSettings/cricket5g_us.pb
product/etc/CarrierSettings/cricket_us.pb
product/etc/CarrierSettings/cspire_nl.pb
product/etc/CarrierSettings/cspire_us.pb
product/etc/CarrierSettings/default.pb
product/etc/CarrierSettings/digi_hu.pb
product/etc/CarrierSettings/digi_my.pb
product/etc/CarrierSettings/digi_pt.pb
product/etc/CarrierSettings/digi_ro.pb
product/etc/CarrierSettings/digimobil_es.pb
product/etc/CarrierSettings/dish5gsa_us.pb
product/etc/CarrierSettings/dishatt_us.pb
product/etc/CarrierSettings/dito_ph.pb
product/etc/CarrierSettings/dna_fi.pb
product/etc/CarrierSettings/docomo_jp.pb
product/etc/CarrierSettings/docomomvno_jp.pb
product/etc/CarrierSettings/docomopacific_us.pb
product/etc/CarrierSettings/dtac_th.pb
product/etc/CarrierSettings/du_ae.pb
product/etc/CarrierSettings/eastlink_ca.pb
product/etc/CarrierSettings/ee_gb.pb
product/etc/CarrierSettings/eeyoumobility_ca.pb
product/etc/CarrierSettings/eir_ie.pb
product/etc/CarrierSettings/elisa1_fi.pb
product/etc/CarrierSettings/elisa2_fi.pb
product/etc/CarrierSettings/elisa_ee.pb
product/etc/CarrierSettings/enetworks_gy.pb
product/etc/CarrierSettings/enreach_nl.pb
product/etc/CarrierSettings/entel_cl.pb
product/etc/CarrierSettings/epic_mt.pb
product/etc/CarrierSettings/eplus_de.pb
product/etc/CarrierSettings/erate_no.pb
product/etc/CarrierSettings/esimgo_gb.pb
product/etc/CarrierSettings/esn_gb.pb
product/etc/CarrierSettings/etisalat_ae.pb
product/etc/CarrierSettings/euskaltel_es.pb
product/etc/CarrierSettings/evolve_us.pb
product/etc/CarrierSettings/fastweb_it.pb
product/etc/CarrierSettings/fet_tw.pb
product/etc/CarrierSettings/fi_at.pb
product/etc/CarrierSettings/fi_tmo_us.pb
product/etc/CarrierSettings/fido_ca.pb
product/etc/CarrierSettings/finetwork_es.pb
product/etc/CarrierSettings/firstnet_us.pb
product/etc/CarrierSettings/firstnetpacific2_us.pb
product/etc/CarrierSettings/firstnetpacific_us.pb
product/etc/CarrierSettings/fizz_ca.pb
product/etc/CarrierSettings/fl1_li.pb
product/etc/CarrierSettings/fliggsmobile_us.pb
product/etc/CarrierSettings/foroyatele_fo.pb
product/etc/CarrierSettings/free_fr.pb
product/etc/CarrierSettings/free_gp.pb
product/etc/CarrierSettings/free_mq.pb
product/etc/CarrierSettings/free_re.pb
product/etc/CarrierSettings/freedommobile_ca.pb
product/etc/CarrierSettings/gamma_gb.pb
product/etc/CarrierSettings/gci_us.pb
product/etc/CarrierSettings/gibtel_gi.pb
product/etc/CarrierSettings/giffgaff_gb.pb
product/etc/CarrierSettings/giga_sg.pb
product/etc/CarrierSettings/globe_ph.pb
product/etc/CarrierSettings/gomobile_mt.pb
product/etc/CarrierSettings/grameenphone_bd.pb
product/etc/CarrierSettings/gta_us.pb
product/etc/CarrierSettings/guuk_es.pb
product/etc/CarrierSettings/h3_at.pb
product/etc/CarrierSettings/h3_gb.pb
product/etc/CarrierSettings/h3_ie.pb
product/etc/CarrierSettings/h3_lk.pb
product/etc/CarrierSettings/h3_se.pb
product/etc/CarrierSettings/h3g27202_ie.pb
product/etc/CarrierSettings/halebop_se.pb
product/etc/CarrierSettings/helium_us.pb
product/etc/CarrierSettings/help_at.pb
product/etc/CarrierSettings/homobile_it.pb
product/etc/CarrierSettings/hotmobile_il.pb
product/etc/CarrierSettings/humane_us.pb
product/etc/CarrierSettings/ice_no.pb
product/etc/CarrierSettings/idea_in.pb
product/etc/CarrierSettings/idmobile_gb.pb
product/etc/CarrierSettings/iliad_it.pb
product/etc/CarrierSettings/indosat_id.pb
product/etc/CarrierSettings/inland_us.pb
product/etc/CarrierSettings/iwireless_us.pb
product/etc/CarrierSettings/izziatt_mx.pb
product/etc/CarrierSettings/jazz_pk.pb
product/etc/CarrierSettings/jazztel_es.pb
product/etc/CarrierSettings/jcommobile_jp.pb
product/etc/CarrierSettings/joonto_us.pb
product/etc/CarrierSettings/kajeetmvno_us.pb
product/etc/CarrierSettings/kddi5gsa_jp.pb
product/etc/CarrierSettings/kddi_jp.pb
product/etc/CarrierSettings/kddimvno5gsa_jp.pb
product/etc/CarrierSettings/kddimvno_jp.pb
product/etc/CarrierSettings/kena_it.pb
product/etc/CarrierSettings/koodo_ca.pb
product/etc/CarrierSettings/kpn_nl.pb
product/etc/CarrierSettings/lebara_es.pb
product/etc/CarrierSettings/lebara_fr.pb
product/etc/CarrierSettings/lebara_gb.pb
product/etc/CarrierSettings/lebara_nl.pb
product/etc/CarrierSettings/liberty_pr.pb
product/etc/CarrierSettings/lifecell_ua.pb
product/etc/CarrierSettings/linemo_jp.pb
product/etc/CarrierSettings/llamaya_es.pb
product/etc/CarrierSettings/lmt_lv.pb
product/etc/CarrierSettings/lowi_es.pb
product/etc/CarrierSettings/luckymobile_ca.pb
product/etc/CarrierSettings/lum_ca.pb
product/etc/CarrierSettings/lyca_es.pb
product/etc/CarrierSettings/lyca_us.pb
product/etc/CarrierSettings/lycamobile_gb.pb
product/etc/CarrierSettings/lycamobile_pt.pb
product/etc/CarrierSettings/lycamobile_se.pb
product/etc/CarrierSettings/m1_sg.pb
product/etc/CarrierSettings/magticom_ge.pb
product/etc/CarrierSettings/manxcontract_im.pb
product/etc/CarrierSettings/manxprepaid_im.pb
product/etc/CarrierSettings/masmovil_es.pb
product/etc/CarrierSettings/maxis_my.pb
product/etc/CarrierSettings/mediacom_us.pb
product/etc/CarrierSettings/megamovil_mx.pb
product/etc/CarrierSettings/melita_mt.pb
product/etc/CarrierSettings/meo_pt.pb
product/etc/CarrierSettings/metropcs_us.pb
product/etc/CarrierSettings/mettel_us.pb
product/etc/CarrierSettings/mobifone_vn.pb
product/etc/CarrierSettings/mobily_sa.pb
product/etc/CarrierSettings/monacotelecom_mc.pb
product/etc/CarrierSettings/movistar_cl.pb
product/etc/CarrierSettings/movistar_co.pb
product/etc/CarrierSettings/movistar_es.pb
product/etc/CarrierSettings/movistar_mx.pb
product/etc/CarrierSettings/mucho_ch.pb
product/etc/CarrierSettings/mvnoconnect_us.pb
product/etc/CarrierSettings/nema_fo.pb
product/etc/CarrierSettings/netcomgroup_fr.pb
product/etc/CarrierSettings/newww_mx.pb
product/etc/CarrierSettings/nexphone_ch.pb
product/etc/CarrierSettings/nextech_us.pb
product/etc/CarrierSettings/no_sim.pb
product/etc/CarrierSettings/nos_pt.pb
product/etc/CarrierSettings/nova_gr.pb
product/etc/CarrierSettings/nova_is.pb
product/etc/CarrierSettings/nymobile_us.pb
product/etc/CarrierSettings/o2_cz.pb
product/etc/CarrierSettings/o2_de.pb
product/etc/CarrierSettings/o2_sk.pb
product/etc/CarrierSettings/o2postpaid_gb.pb
product/etc/CarrierSettings/o2prepaid_de.pb
product/etc/CarrierSettings/o2prepaid_gb.pb
product/etc/CarrierSettings/omantel_om.pb
product/etc/CarrierSettings/one_me.pb
product/etc/CarrierSettings/onecall_no.pb
product/etc/CarrierSettings/only_yt.pb
product/etc/CarrierSettings/ooredoo_kw.pb
product/etc/CarrierSettings/ooredoo_qa.pb
product/etc/CarrierSettings/optimera_us.pb
product/etc/CarrierSettings/optus_au.pb
product/etc/CarrierSettings/orange_be.pb
product/etc/CarrierSettings/orange_es.pb
product/etc/CarrierSettings/orange_fr.pb
product/etc/CarrierSettings/orange_gp.pb
product/etc/CarrierSettings/orange_lu.pb
product/etc/CarrierSettings/orange_pl.pb
product/etc/CarrierSettings/orange_re.pb
product/etc/CarrierSettings/orange_ro.pb
product/etc/CarrierSettings/orange_sk.pb
product/etc/CarrierSettings/others.pb
product/etc/CarrierSettings/oxio_us.pb
product/etc/CarrierSettings/paradisemobile_bm.pb
product/etc/CarrierSettings/partner_il.pb
product/etc/CarrierSettings/pcmobilebell_ca.pb
product/etc/CarrierSettings/pelephone_il.pb
product/etc/CarrierSettings/pepephone_es.pb
product/etc/CarrierSettings/play_pl.pb
product/etc/CarrierSettings/plintron_us.pb
product/etc/CarrierSettings/plus_pl.pb
product/etc/CarrierSettings/post_lu.pb
product/etc/CarrierSettings/postemobile_it.pb
product/etc/CarrierSettings/povo5gsa_jp.pb
product/etc/CarrierSettings/povo_jp.pb
product/etc/CarrierSettings/proximus_be.pb
product/etc/CarrierSettings/publicmobile_ca.pb
product/etc/CarrierSettings/pwg_us.pb
product/etc/CarrierSettings/qlink_us.pb
product/etc/CarrierSettings/r_es.pb
product/etc/CarrierSettings/racc_es.pb
product/etc/CarrierSettings/rakuten_jp.pb
product/etc/CarrierSettings/reach_us.pb
product/etc/CarrierSettings/reallycommunications_us.pb
product/etc/CarrierSettings/redpocketatt_us.pb
product/etc/CarrierSettings/redpockettmo_us.pb
product/etc/CarrierSettings/republicwireless_us.pb
product/etc/CarrierSettings/rjio_in.pb
product/etc/CarrierSettings/robi_bd.pb
product/etc/CarrierSettings/roccstar_us.pb
product/etc/CarrierSettings/rockisland_us.pb
product/etc/CarrierSettings/rogers5g_ca.pb
product/etc/CarrierSettings/rogers_ca.pb
product/etc/CarrierSettings/rogerswpn_ca.pb
product/etc/CarrierSettings/salt_ch.pb
product/etc/CarrierSettings/salt_li.pb
product/etc/CarrierSettings/sasktel_ca.pb
product/etc/CarrierSettings/sfr_fr.pb
product/etc/CarrierSettings/shaw_ca.pb
product/etc/CarrierSettings/simba_sg.pb
product/etc/CarrierSettings/siminn_is.pb
product/etc/CarrierSettings/simple_us.pb
product/etc/CarrierSettings/simyo_es.pb
product/etc/CarrierSettings/singtel_sg.pb
product/etc/CarrierSettings/skinny_nz.pb
product/etc/CarrierSettings/skt_kr.pb
product/etc/CarrierSettings/sky_gb.pb
product/etc/CarrierSettings/sky_ie.pb
product/etc/CarrierSettings/sky_mx.pb
product/etc/CarrierSettings/skylo_zz.pb
product/etc/CarrierSettings/smart_ph.pb
product/etc/CarrierSettings/smartfren_id.pb
product/etc/CarrierSettings/smartless_us.pb
product/etc/CarrierSettings/smartone_hk.pb
product/etc/CarrierSettings/smarty_gb.pb
product/etc/CarrierSettings/softbank_jp.pb
product/etc/CarrierSettings/solomobile_ca.pb
product/etc/CarrierSettings/spark_nz.pb
product/etc/CarrierSettings/spectrum_us.pb
product/etc/CarrierSettings/spectrummso_us.pb
product/etc/CarrierSettings/spectrummsotest_us.pb
product/etc/CarrierSettings/spmtelecom_pm.pb
product/etc/CarrierSettings/sprint_us.pb
product/etc/CarrierSettings/sprintprepaid_us.pb
product/etc/CarrierSettings/sprintwholesale_us.pb
product/etc/CarrierSettings/spusu_at.pb
product/etc/CarrierSettings/spusu_ch.pb
product/etc/CarrierSettings/spusu_gb.pb
product/etc/CarrierSettings/spusu_it.pb
product/etc/CarrierSettings/ssimobile_ca.pb
product/etc/CarrierSettings/starhub_sg.pb
product/etc/CarrierSettings/stc_bh.pb
product/etc/CarrierSettings/stc_kw.pb
product/etc/CarrierSettings/stc_sa.pb
product/etc/CarrierSettings/strata_us.pb
product/etc/CarrierSettings/sunrise_ch.pb
product/etc/CarrierSettings/superdrug_gb.pb
product/etc/CarrierSettings/sweno_es.pb
product/etc/CarrierSettings/swisscom_ch.pb
product/etc/CarrierSettings/swisscom_li.pb
product/etc/CarrierSettings/swisscommvno_ch.pb
product/etc/CarrierSettings/talkmobile_gb.pb
product/etc/CarrierSettings/tango_lu.pb
product/etc/CarrierSettings/tango_us.pb
product/etc/CarrierSettings/tbaytel_ca.pb
product/etc/CarrierSettings/tchibo_at.pb
product/etc/CarrierSettings/tchibo_de.pb
product/etc/CarrierSettings/tdc_dk.pb
product/etc/CarrierSettings/telavox_be.pb
product/etc/CarrierSettings/telavox_se.pb
product/etc/CarrierSettings/telcel_mx.pb
product/etc/CarrierSettings/telco_re.pb
product/etc/CarrierSettings/tele2_ee.pb
product/etc/CarrierSettings/tele2_lt.pb
product/etc/CarrierSettings/tele2_lv.pb
product/etc/CarrierSettings/tele2_se.pb
product/etc/CarrierSettings/telecable2_es.pb
product/etc/CarrierSettings/telekom_de.pb
product/etc/CarrierSettings/telekom_gr.pb
product/etc/CarrierSettings/telekom_hr.pb
product/etc/CarrierSettings/telekom_hu.pb
product/etc/CarrierSettings/telekom_me.pb
product/etc/CarrierSettings/telekom_mk.pb
product/etc/CarrierSettings/telekom_pl.pb
product/etc/CarrierSettings/telekom_ro.pb
product/etc/CarrierSettings/telekom_si.pb
product/etc/CarrierSettings/telekom_sk.pb
product/etc/CarrierSettings/telemach_hr.pb
product/etc/CarrierSettings/telemach_si.pb
product/etc/CarrierSettings/telenet_be.pb
product/etc/CarrierSettings/telenor_dk.pb
product/etc/CarrierSettings/telenor_no.pb
product/etc/CarrierSettings/telenor_pk.pb
product/etc/CarrierSettings/telenor_se.pb
product/etc/CarrierSettings/telia_dk.pb
product/etc/CarrierSettings/telia_ee.pb
product/etc/CarrierSettings/telia_fi.pb
product/etc/CarrierSettings/telia_lt.pb
product/etc/CarrierSettings/telia_no.pb
product/etc/CarrierSettings/telia_se.pb
product/etc/CarrierSettings/telkomsel_id.pb
product/etc/CarrierSettings/tello_us.pb
product/etc/CarrierSettings/telstra_au.pb
product/etc/CarrierSettings/telus_ca.pb
product/etc/CarrierSettings/tesco_gb.pb
product/etc/CarrierSettings/test001_zz.pb
product/etc/CarrierSettings/three_dk.pb
product/etc/CarrierSettings/tigo_co.pb
product/etc/CarrierSettings/tim_br.pb
product/etc/CarrierSettings/tim_it.pb
product/etc/CarrierSettings/tmobile_at.pb
product/etc/CarrierSettings/tmobile_cz.pb
product/etc/CarrierSettings/tmobile_nl.pb
product/etc/CarrierSettings/tmobile_us.pb
product/etc/CarrierSettings/tmobileprivate_us.pb
product/etc/CarrierSettings/tmomvno_nl.pb
product/etc/CarrierSettings/tmomvno_us.pb
product/etc/CarrierSettings/tracfoneatt_us.pb
product/etc/CarrierSettings/tracfonetmo_us.pb
product/etc/CarrierSettings/tracfoneverizon_us.pb
product/etc/CarrierSettings/truemove_th.pb
product/etc/CarrierSettings/truphone_us.pb
product/etc/CarrierSettings/truphone_zz.pb
product/etc/CarrierSettings/tstar_tw.pb
product/etc/CarrierSettings/turkcell_tr.pb
product/etc/CarrierSettings/turktelekom_tr.pb
product/etc/CarrierSettings/tusass_gl.pb
product/etc/CarrierSettings/twm_tw.pb
product/etc/CarrierSettings/u264a_ca.pb
product/etc/CarrierSettings/u264a_us.pb
product/etc/CarrierSettings/u264ab_ca.pb
product/etc/CarrierSettings/u264ao_at.pb
product/etc/CarrierSettings/u264ap_at.pb
product/etc/CarrierSettings/ubixatt_mx.pb
product/etc/CarrierSettings/ultra_us.pb
product/etc/CarrierSettings/umobile_my.pb
product/etc/CarrierSettings/unifi_my.pb
product/etc/CarrierSettings/unionwireless_us.pb
product/etc/CarrierSettings/unitedwireless_us.pb
product/etc/CarrierSettings/uqmobile5gsa_jp.pb
product/etc/CarrierSettings/uqmobile_jp.pb
product/etc/CarrierSettings/uscc_us.pb
product/etc/CarrierSettings/verizon_us.pb
product/etc/CarrierSettings/verizononsitelte_us.pb
product/etc/CarrierSettings/verymobile_it.pb
product/etc/CarrierSettings/viaero_us.pb
product/etc/CarrierSettings/vianova_it.pb
product/etc/CarrierSettings/videotron_ca.pb
product/etc/CarrierSettings/viettel_vn.pb
product/etc/CarrierSettings/vimla_se.pb
product/etc/CarrierSettings/vinaphone_vn.pb
product/etc/CarrierSettings/virgin_ca.pb
product/etc/CarrierSettings/virgin_gb.pb
product/etc/CarrierSettings/virgin_us.pb
product/etc/CarrierSettings/virgintelco_es.pb
product/etc/CarrierSettings/visible_us.pb
product/etc/CarrierSettings/visiblev_us.pb
product/etc/CarrierSettings/viti_pf.pb
product/etc/CarrierSettings/vivacom_bg.pb
product/etc/CarrierSettings/vivo_br.pb
product/etc/CarrierSettings/vodafone_au.pb
product/etc/CarrierSettings/vodafone_cz.pb
product/etc/CarrierSettings/vodafone_de.pb
product/etc/CarrierSettings/vodafone_es.pb
product/etc/CarrierSettings/vodafone_gb.pb
product/etc/CarrierSettings/vodafone_gr.pb
product/etc/CarrierSettings/vodafone_hu.pb
product/etc/CarrierSettings/vodafone_ie.pb
product/etc/CarrierSettings/vodafone_in.pb
product/etc/CarrierSettings/vodafone_is.pb
product/etc/CarrierSettings/vodafone_it.pb
product/etc/CarrierSettings/vodafone_nl.pb
product/etc/CarrierSettings/vodafone_nz.pb
product/etc/CarrierSettings/vodafone_om.pb
product/etc/CarrierSettings/vodafone_pt.pb
product/etc/CarrierSettings/vodafone_qa.pb
product/etc/CarrierSettings/vodafone_ro.pb
product/etc/CarrierSettings/vodafone_tr.pb
product/etc/CarrierSettings/walmart_mx.pb
product/etc/CarrierSettings/webbing_hk.pb
product/etc/CarrierSettings/wim_mx.pb
product/etc/CarrierSettings/windtre_it.pb
product/etc/CarrierSettings/wom_cl.pb
product/etc/CarrierSettings/xfinity2_us.pb
product/etc/CarrierSettings/xfinity_us.pb
product/etc/CarrierSettings/xfinitymso_us.pb
product/etc/CarrierSettings/yes_my.pb
product/etc/CarrierSettings/yesss_at.pb
product/etc/CarrierSettings/yettel_bg.pb
product/etc/CarrierSettings/yettel_hu.pb
product/etc/CarrierSettings/yoigo_es.pb
product/etc/CarrierSettings/yomobile_mx.pb
product/etc/CarrierSettings/zain_bh.pb
product/etc/CarrierSettings/zain_kw.pb
product/etc/CarrierSettings/zain_sa.pb
product/etc/CarrierSettings/zeop_re.pb
product/etc/CarrierSettings/ztar_us.pb

File diff suppressed because it is too large Load Diff

186
felix/proprietary-files.txt Normal file
View File

@@ -0,0 +1,186 @@
# All blobs are extracted from Google factory images for each new ASB
# product partition
# AiAi
product/priv-app/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02.apk;PRESIGNED
product/priv-app/DevicePersonalizationPrebuiltPixel2022-bfinal_aiai_20250217.00_RC08/DevicePersonalizationPrebuiltPixel2022-bfinal_aiai_20250217.00_RC08.apk;PRESIGNED
# Audio
product/etc/ambient/matcher_tah.leveldb
product/etc/firmware/music_detector.descriptor
product/etc/firmware/music_detector.sound_model
product/etc/firmware/music_detector.sound_model_2
product/etc/firmware/music_detector.sound_model_tflite
# Camera
product/priv-app/GoogleCamera/GoogleCamera.apk;OVERRIDES=Aperture,Camera2;PRESIGNED
# Camera extensions
product/etc/permissions/androidx.camera.extensions.impl.xml
product/priv-app/PixelCameraServices/PixelCameraServices.apk;PRESIGNED
# Camera services
product/etc/permissions/com.google.pixel.camera.connectivity.impl.xml
product/etc/permissions/com.google.pixel.camera.services.cameraidremapper.impl.xml
product/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.impl.xml
# Felica
product/etc/felica/common.cfg
product/etc/felica/mfm.cfg
product/etc/felica/mfs.cfg
# Hardware info
product/etc/permissions/com.google.android.hardwareinfo.xml
product/framework/libhwinfo.jar
product/priv-app/HardwareInfo/HardwareInfo.apk;PRESIGNED
# Hotword
product/priv-app/HotwordEnrollmentOKGoogleFUSIONPro/HotwordEnrollmentOKGoogleFUSIONPro.apk;PRESIGNED
product/priv-app/HotwordEnrollmentXGoogleFUSIONPro/HotwordEnrollmentXGoogleFUSIONPro.apk;PRESIGNED
# IMS
product/etc/sysconfig/allowlist_com.shannon.imsservice.xml
# Permissions
product/etc/permissions/privapp-permissions-google-p.xml:product/etc/permissions/privapp-permissions-google-p-evolution.xml
product/etc/sysconfig/GoogleCamera_6gb_or_more_ram.xml
product/etc/sysconfig/google-hiddenapi-package-whitelist.xml
product/etc/sysconfig/nexus.xml
product/etc/sysconfig/pixel_experience_2017.xml
product/etc/sysconfig/pixel_experience_2018.xml
product/etc/sysconfig/pixel_experience_2019.xml
product/etc/sysconfig/pixel_experience_2019_midyear.xml
product/etc/sysconfig/pixel_experience_2020.xml
product/etc/sysconfig/pixel_experience_2020_midyear.xml
product/etc/sysconfig/pixel_experience_2021.xml
product/etc/sysconfig/pixel_experience_2021_midyear.xml
product/etc/sysconfig/pixel_experience_2022.xml
product/etc/sysconfig/pixel_experience_2022_midyear.xml
product/etc/sysconfig/pixel_experience_2023_midyear.xml
# Radio
product/etc/permissions/com.android.sdm.plugins.connmo.xml
product/etc/permissions/com.android.sdm.plugins.dcmo.xml
product/etc/permissions/com.android.sdm.plugins.diagmon.xml
product/lib/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm/libdmengine.so
product/lib/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm/libdmjavaplugin.so
product/lib64/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmengine.so
product/lib64/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmjavaplugin.so
product/priv-app/CarrierSettings_signed_53.0.733201674/CarrierSettings_signed_53.0.733201674.apk;PRESIGNED
product/priv-app/CarrierWifi/CarrierWifi.apk;PRESIGNED
product/priv-app/ConnMO/ConnMO.apk
product/priv-app/DCMO/DCMO.apk
product/priv-app/DMService/DMService.apk
product/priv-app/DiagMon/DiagMon.apk
product/priv-app/EuiccGoogle/EuiccGoogle.apk;PRESIGNED
product/priv-app/TetheringEntitlement/TetheringEntitlement.apk
# VZW
product/app/VZWAPNLib/VZWAPNLib.apk;PRESIGNED
product/etc/permissions/com.android.omadm.service.xml
product/etc/permissions/com.google.omadm.trigger.xml
product/etc/permissions/com.verizon.apn.xml
product/etc/permissions/com.verizon.services.xml
product/etc/permissions/features-verizon.xml
product/etc/sysconfig/allowlist_com.android.omadm.service.xml
product/priv-app/AppDirectedSMSService/AppDirectedSMSService.apk;PRESIGNED
product/priv-app/OemDmTrigger/OemDmTrigger.apk
product/priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
# system_ext partition
# Camera extensions
system_ext/etc/permissions/com.google.android.camera.extensions.xml
system_ext/etc/permissions/com.google.android.camerax.extensions.xml
system_ext/framework/com.google.android.camera.extensions.jar
system_ext/framework/com.google.android.camerax.extensions.jar
# Camera services
system_ext/app/PersistentBackgroundCameraServices/PersistentBackgroundCameraServices.apk
system_ext/etc/permissions/com.google.pixel.camera.connectivity.xml
system_ext/etc/permissions/com.google.pixel.camera.services.cameraidremapper.xml
system_ext/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.xml
system_ext/etc/vintf/manifest/com.google.pixel.camera.services@1.0-service-google.xml
system_ext/framework/com.google.pixel.camera.connectivity.jar
system_ext/framework/com.google.pixel.camera.services.cameraidremapper.jar
system_ext/framework/com.google.pixel.camera.services.lyricconfigprovider.jar
# Edge TPU
system_ext/bin/hw/vendor.google.edgetpu_app_service@1.0-service
system_ext/etc/init/vendor.google.edgetpu_app_service@1.0-service.rc
system_ext/etc/public.libraries-google.txt
system_ext/etc/vintf/manifest/vendor.google.edgetpu_app_service@1.0-service.xml
system_ext/lib64/com.google.edgetpu_app_service-V3-ndk.so
system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
# Fold extensions
system_ext/framework/felix-services.jar
# HBM
system_ext/lib64/libhbmsvmanager_jni.so;SYMLINK=system_ext/priv-app/HbmSVManager/lib/arm64/libhbmsvmanager_jni.so
system_ext/priv-app/HbmSVManager/HbmSVManager.apk
# Hotword
system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
system_ext/framework/com.android.hotwordenrollment.common.util.jar
# IMS
system_ext/etc/permissions/com.android.qns.xml
system_ext/etc/permissions/com.shannon.imsservice.xml
system_ext/etc/permissions/com.shannon.rcsservice.xml
system_ext/lib/libmediaadaptor.so
system_ext/lib64/libmediaadaptor.so
system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.apk
system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
# Permissions
system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-evolution.xml
# Radio
system_ext/etc/default-permissions/default-permissions-euiccpixel.xml
system_ext/etc/permissions/com.android.omadm.radioconfig.xml
system_ext/etc/permissions/com.google.euiccpixel.permissions.xml
system_ext/etc/permissions/com.google.euiccpixel.xml
system_ext/etc/permissions/google-ril.xml
system_ext/framework/RadioConfigLib.jar
system_ext/framework/google-ril.jar
system_ext/priv-app/CarrierSetup/CarrierSetup.apk;PRESIGNED
system_ext/priv-app/ConnectivityThermalPowerManager/ConnectivityThermalPowerManager.apk
system_ext/priv-app/EuiccGoogleOverlay/EuiccGoogleOverlay.apk
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_DVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_DVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_EVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_EVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_0109_P22_DVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_DVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_DVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_EVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_DVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_DVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_EVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_EVT.up
system_ext/priv-app/EuiccSupportPixel/EuiccSupportPixel.apk;PRESIGNED
system_ext/priv-app/EuiccSupportPixel/esim-full-ofl-v1.img
system_ext/priv-app/EuiccSupportPixel/esim-full-v0-security.img
system_ext/priv-app/EuiccSupportPixel/esim-full-v0.img
system_ext/priv-app/EuiccSupportPixel/esim-full-v1.img
system_ext/priv-app/EuiccSupportPixelPermissions/EuiccSupportPixelPermissions.apk;PRESIGNED
system_ext/priv-app/RilConfigService/RilConfigService.apk
system_ext/priv-app/grilservice/grilservice.apk;PRESIGNED
# RIL
system_ext/app/OemRilHookService/OemRilHookService.apk
system_ext/etc/permissions/com.samsung.slsi.telephony.oemril.xml
system_ext/etc/permissions/oemrilhook.xml
system_ext/framework/oemrilhook.jar
system_ext/priv-app/OemRilService/OemRilService.apk;PRESIGNED
# UWB
system_ext/etc/permissions/privapp-permissions-qorvo.xml
system_ext/priv-app/UwbVendorService/UwbVendorService.apk;PRESIGNED
# VZW
system_ext/etc/permissions/vzw_mvs_permissions.xml
system_ext/priv-app/MyVerizonServices/MyVerizonServices.apk;PRESIGNED

View File

@@ -0,0 +1,11 @@
# All firmware images are extracted from Google factory images for each new ASB
abl.img;AB
bl1.img;AB
bl2.img;AB
bl31.img;AB
gsa.img;AB
ldfw.img;AB
modem.img;AB
pbl.img;AB
tzsw.img;AB

View File

@@ -1,7 +1,7 @@
730000,670000
365000,335000
1810000,1835000,670000
720000,740000,670000
0,710000,730000
750000,1800000,730000
1845000,50000000,730000
1810000,1835000,335000
720000,740000,335000
0,710000,365000
750000,1800000,365000
1845000,50000000,365000
1 730000,670000 365000,335000
2 1810000,1835000,670000 1810000,1835000,335000
3 720000,740000,670000 720000,740000,335000
4 0,710000,730000 0,710000,365000
5 750000,1800000,730000 750000,1800000,365000
6 1845000,50000000,730000 1845000,50000000,365000
7

1
felix/setup-makefiles.py Executable file
View File

@@ -0,0 +1 @@
#!./extract-files.py --regenerate_makefiles

1537
felix/skip-files-vendor.txt Normal file

File diff suppressed because it is too large Load Diff

13
felix/vendor.prop Normal file
View File

@@ -0,0 +1,13 @@
# DRM
drm.service.enabled=true
media.mediadrmservice.enable=true
# Radio
persist.vendor.ril.ecc.use.xml=1
persist.vendor.ril.support_nr_ds=1
persist.vendor.ril.use_radio_hal=2.0
ro.vendor.config.build_carrier=europen
vendor.rild.libpath=libsitril.so
# UWB
ro.vendor.uwb.calibration.calibrationpaths=/vendor/etc/uwb/calib_paths

View File

@@ -1,11 +1,5 @@
# Factory build, use HIDL hal & extension so that we can use Test tool
ifneq ( ,$(findstring factory, $(TARGET_PRODUCT)))
GOOGLE_CONFIG_FP_STATUS=1
FPC_CONFIG_TRUSTY_CLEAN_TA=1
else
# Non factory build, use fingerprint AIDL version
GOOGLE_CONFIG_POWER_NODE=/dev/input/event2
GOOGLE_CONFIG_DP_COUNT=2
GOOGLE_CONFIG_FP_STATUS=1
GOOGLE_CONFIG_TOUCH_TO_UNLOCK_ANYTIME=1
endif

View File

@@ -1,19 +0,0 @@
#######################################################
# init.insmod.felix.cfg #
# This file contains felix specific kernel modules to #
# load at init time by init.insmod.sh script #
#######################################################
# Load device specific kernel modules
# Modules here will be loaded *after* all common modules
modprobe|bcmdhd4389.ko
modprobe|snd-soc-cs35l41-i2c.ko
modprobe|fst2.ko
modprobe|ftm5.ko
modprobe|cs40l26-i2c.ko
modprobe|snd-soc-cs40l26.ko
# All device specific modules loaded
setprop|vendor.device.modules.ready
setprop|vendor.all.modules.ready
setprop|vendor.all.devices.ready

35
lineage_felix.mk Normal file
View File

@@ -0,0 +1,35 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Inherit some common Evolution X stuff
TARGET_DISABLE_EPPE := true
$(call inherit-product, vendor/lineage/config/common_full_foldable_book_telephony.mk)
# Inherit device configuration
DEVICE_CODENAME := felix
DEVICE_PATH := device/google/felix
VENDOR_PATH := vendor/google/felix
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
$(call inherit-product, device/google/gs201/lineage_common.mk)
$(call inherit-product, device/google/gs201/evolution_common.mk)
$(call inherit-product, $(DEVICE_PATH)/$(DEVICE_CODENAME)/device-lineage.mk)
$(call inherit-product, $(DEVICE_PATH)/$(DEVICE_CODENAME)/device-evolution.mk)
# Device identifier. This must come after all inclusions
PRODUCT_BRAND := google
PRODUCT_MODEL := Pixel Fold
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
# Boot animation
TARGET_SCREEN_HEIGHT := 2092
TARGET_SCREEN_WIDTH := 1080
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="felix-user 16 BP2A.250805.005 13691446 release-keys" \
BuildFingerprint=google/felix/felix:16/BP2A.250805.005/13691446:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)
$(call inherit-product, $(VENDOR_PATH)/$(DEVICE_CODENAME)-vendor.mk)

View File

@@ -5,20 +5,19 @@
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="true"
LogEnabled="false"
Log="JAVA"
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="true"
SuplLogEnable="false"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplSslMethod="SSLv23"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
@@ -35,7 +34,7 @@
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="false"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
@@ -49,20 +48,24 @@
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true"
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
CpLppDisableUEAInLTE="true"
CpLppGalileoCapable="true"
CpLppGalileoIE="true"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/class/pps/pps0/assert_elapsed"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
SensorsMask="0x244"
MaxThreadNum="13"
/>
@@ -70,7 +73,7 @@
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI | LOG_MEASAPI"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
@@ -88,7 +91,7 @@
RfPathLossDb_Cp_L5="3.7"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="2"
EnableOnChipStopNotification="0"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"

View File

@@ -17,7 +17,7 @@
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplSslMethod="SSLv23"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
@@ -34,7 +34,7 @@
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="false"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
@@ -48,6 +48,7 @@
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
@@ -99,6 +100,7 @@
<gll_features
EnableNicAutoSwitch="true"
EnableNavic="true"
ConstellationAutoSwitchOffNavOnly="true"
/>
</glgps>

View File

@@ -1,34 +0,0 @@
LheName=bbd
LheRsmResetTimeoutMS=10000
GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
LhePatch=/vendor/firmware/SensorHub.patch
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
LheConsole=/data/vendor/gps/LheConsole
LogEnabled=true
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
LheBbdPacket=/dev/ttyBCM
LheBbdControl=/dev/bbd_control
# LheBbdSensor=/dev/bbd_sensor
LheFailSafe=/data/vendor/gps/logs/esw-crash-dump.txt
LogLevel=*:I
NvStorageDir=/data/vendor/gps/
# Enable BBD debugging at these stages:
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
LheAutoBaudDelayMS=10
TrafficLogEnabled=false
SecondaryConfigPath=/data/vendor/gps/overlay/lhd_overlay.conf
SkipSensorWakeLock=true
LoggerWakeLockEnable=false
PpsEnable=true

View File

@@ -1,6 +0,0 @@
LogEnabled=true
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
NvStorageDir=/data/vendor/gps/
TcpConnectionTimeout=20
SecondaryConfigPath=/data/vendor/gps/overlay/scd_overlay.conf

View File

@@ -1,133 +0,0 @@
<manifest version="1.0" type="device" target-level="5">
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>7.1</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
<version>7.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.soundtrigger</name>
<transport>hwbinder</transport>
<version>2.3</version>
<interface>
<name>ISoundTriggerHw</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOmx</name>
<instance>default</instance>
</interface>
<interface>
<name>IOmxStore</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.allocator</name>
<transport>hwbinder</transport>
<version>4.0</version>
<interface>
<name>IAllocator</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.mapper</name>
<transport arch="32+64">passthrough</transport>
<version>4.0</version>
<interface>
<name>IMapper</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>
<version>2.4</version>
<interface>
<name>IComposer</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.renderscript</name>
<transport arch="32+64">passthrough</transport>
<version>1.0</version>
<interface>
<name>IDevice</name>
<instance>default</instance>
</interface>
</hal>
<hal format = "hidl">
<name>android.hardware.dumpstate</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IDumpstateDevice</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.boot</name>
<transport>hwbinder</transport>
<fqname>@1.2::IBootControl/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.neuralnetworks</name>
<transport>hwbinder</transport>
<fqname>@1.3::IDevice/google-edgetpu</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.health</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IHealth</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>vendor.google.google_battery</name>
<version>3</version>
<interface>
<name>IGoogleBattery</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.google.whitechapel.audio.audioext</name>
<transport>hwbinder</transport>
<version>4.0</version>
<interface>
<name>IAudioExt</name>
<instance>default</instance>
</interface>
</hal>
<kernel target-level="6"/>
</manifest>

View File

@@ -0,0 +1,3 @@
blocklist fst2.ko
blocklist ftm5.ko
blocklist goog_touch_interface.ko

View File

@@ -0,0 +1,3 @@
extra/fst2.ko
extra/ftm5.ko
extra/goog_touch_interface.ko

View File

@@ -135,7 +135,7 @@ OFFHOST_ROUTE_ESE={86}
# host 0x00
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
DEFAULT_ISODEP_ROUTE=0x81
DEFAULT_ISODEP_ROUTE=0x00
###############################################################################
# Configure the HAL Clock control

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">false</bool>
<!-- If false and config_allowAllRotations is false, the screen will rotate to the natural
orientation of the device when the auto-rotate policy is toggled. -->
<bool name="config_useCurrentRotationOnRotationLockChange">true</bool>
<!-- Set to true to enable the user switcher on the keyguard. -->
<bool name="config_keyguardUserSwitcher">false</bool>
<!-- If true, show multiuser switcher by default unless the user specifically disables it. -->
<bool name="config_showUserSwitcherByDefault">false</bool>
</resources>

View File

@@ -0,0 +1,262 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate.
NOTE: The naming convention is "config_camelCaseValue". Some legacy
entries do not follow the convention, but all new entries should. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- If true, allows rotation resolver service to help resolve screen rotation. -->
<bool name="config_allowRotationResolver">false</bool>
<!-- The device states (supplied by DeviceStateManager) that should be treated as open by the
device fold controller. Default is empty. -->
<integer-array name="config_openDeviceStates">
<item>2</item>
</integer-array>
<!-- The device states (supplied by DeviceStateManager) that should be treated as folded by the
display fold controller. Default is empty. -->
<integer-array name="config_foldedDeviceStates">
<item>0</item>
</integer-array>
<!-- The device states (supplied by DeviceStateManager) that should be treated as half-folded by
the display fold controller. Default is empty. -->
<integer-array name="config_halfFoldedDeviceStates">
<item>1</item>
</integer-array>
<!-- The device states (supplied by DeviceStateManager) that should be treated as a rear display
state. Default is empty. -->
<integer-array name="config_rearDisplayDeviceStates">
<item>3</item>
<item>5</item>
</integer-array>
<!-- The device states (supplied by DeviceStateManager) that should be treated as concurrent
display state. Default is empty. -->
<integer-array name="config_concurrentDisplayDeviceStates">
<item>4</item>
</integer-array>
<!-- Indicates whether the window manager reacts to half-fold device states by overriding
rotation. -->
<bool name="config_windowManagerHalfFoldAutoRotateOverride">false</bool>
<!-- Indicates whether the window manager pauses autorotation when folding or unfolding
a foldable device based on hinge angle sensor events and physical display switch events. -->
<bool name="config_windowManagerPauseRotationWhenUnfolding">true</bool>
<!-- Amount of time during which autorotation will be disabled since last hinge angle event -->
<integer name="config_pauseRotationWhenUnfolding_maxHingeAngle">165</integer>
<!-- Maximum hinge angle event to be considered to disable autorotation when folding or
unfolding -->
<integer name="config_pauseRotationWhenUnfolding_hingeEventTimeout">400</integer>
<!-- Amount of time during which autorotation will be disabled since last display switch -->
<integer name="config_pauseRotationWhenUnfolding_displaySwitchTimeout">1000</integer>
<!-- When a device enters any of these states, it should be woken up. States are defined in
device_state_configuration.xml. -->
<integer-array name="config_deviceStatesOnWhichToWakeUp">
<item>1</item>
<item>2</item>
</integer-array>
<!-- When a device enters any of these states, it should go to sleep. States are defined in
device_state_configuration.xml. -->
<integer-array name="config_deviceStatesOnWhichToSleep">
<item>0</item>
</integer-array>
<!-- Map of device posture to rotation lock setting. Each entry must be in the format
"key:value", or "key:value:fallback_key" for example: "0:1" or "2:0:1". The keys are one of
Settings.Secure.DeviceStateRotationLockKey, and the values are one of
Settings.Secure.DeviceStateRotationLockSetting.
The fallback is a key to a device posture that can be specified when the value is
Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED.
-->
<string-array name="config_perDeviceStateRotationLockDefaults">
<item>0:1</item>
<item>1:0:2</item>
<item>2:2</item>
<item>3:0:0</item>
</string-array>
<!-- Whether to show Fold lock behavior setting feature in Settings App -->
<bool name="config_fold_lock_behavior">true</bool>
<!-- Device states where the sensor based rotation values should be reversed around the Z axis
for the default display.
TODO(b/265312193): Remove this workaround when this bug is fixed.-->
<integer-array name="config_deviceStatesToReverseDefaultDisplayRotationAroundZAxis">
<item>3</item>
<item>5</item>
</integer-array>
<!-- Boolean indicating whether secondary built-in displays should have their orientation
match the active default display. This config assumes that the secondary display only
requires swapping ROTATION_90 and ROTATION_270.
TODO(b/265991392): This should eventually be configured and parsed in
display_settings.xml -->
<bool name="config_matchSecondaryInternalDisplaysOrientationToReverseDefaultDisplay">true</bool>
<!-- The time in milliseconds after which a press on power button is considered "long". -->
<integer name="config_longPressOnPowerDurationMs">750</integer>
<!-- Amount of time in ms the user needs to press the relevant key to bring up the
global actions dialog -->
<integer name="config_globalActionsKeyTimeout">750</integer>
<!-- The fixed keyboard vibration strength in [0,1], or -1 to indicate the strength not fixed
and should depend on the touch feedback intensity user setting -->
<item name="config_keyboardHapticFeedbackFixedAmplitude" type="dimen">1.0</item>
<!-- Class name of the device specific implementation of DeviceStatePolicy.Provider
or empty if the default should be used. -->
<string name="config_deviceSpecificDeviceStatePolicyProvider" translatable="false">com.google.android.server.policy.FelixDeviceStatePolicyProvider</string>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps">true</bool>
<!-- Set to true to offset the wallpaper when using multiple displays so that it's centered
at the same position as in the largest display.-->
<bool name="config_offsetWallpaperToCenterOfLargestDisplay">true</bool>
<!-- WindowsManager JetPack display features -->
<string name="config_display_features" translatable="false">fold-[1104,0,1104,1848]</string>
<!-- Map of System DeviceState supplied by DeviceStateManager to WM Jetpack posture. Must be in
the format [System DeviceState]:[WM Jetpack Posture], for example: "0:1". -->
<string-array name="config_device_state_postures" translatable="false">
<item>0:1</item>
<item>1:2</item>
<item>2:3</item>
<item>3:1</item>
<item>4:1000</item>
<item>5:1</item>
</string-array>
<!-- Which Surface rotations are considered as tabletop posture (horizontal hinge) when the
device is half-folded. Other half-folded postures will be assumed to be book (vertical
hinge) mode. Units: degrees; valid values: 0, 90, 180, 270. -->
<integer-array name="config_deviceTabletopRotations">
<item>90</item>
<item>270</item>
</integer-array>
<!-- Whether enabling rotation compat policy for immersive apps that prevents auto rotation
into non-optimal screen orientation while in fullscreen. This is needed because immersive
apps, such as games, are often not optimized for all orientations and can have a poor UX
when rotated. Additionally, some games rely on sensors for the gameplay so users can
trigger such rotations accidentally when auto rotation is on.
Applicable only if ignoreOrientationRequest is enabled. -->
<bool name="config_letterboxIsDisplayRotationImmersiveAppCompatPolicyEnabled">true</bool>
<!-- Aspect ratio of letterboxing for fixed orientation. Values <= 1.0 will be ignored.
Note: Activity min/max aspect ratio restrictions will still be respected.
Therefore this override can control the maximum screen area that can be occupied by
the app in the letterbox mode. -->
<item name="config_fixedOrientationLetterboxAspectRatio" type="dimen">1.333</item>
<!-- Corners radius for activity presented the letterbox mode. Values < 0 enable rounded
corners with radius equal to min between device bottom corner radii. Default 0 value turns
off rounded corners logic in LetterboxUiController. -->
<integer name="config_letterboxActivityCornersRadius">-1</integer>
<!-- Vertical position of a center of the letterboxed app window.
0 corresponds to the upper side of the screen and 1 to the lower side. If given value < 0
or > 1 it is ignored and for non-tabletop mode central position is used (0.5); for
tabletop mode top (0.0) is used. -->
<item name="config_letterboxVerticalPositionMultiplier" type="dimen">0.5</item>
<!-- Whether horizontal reachability repositioning is allowed for letterboxed fullscreen apps.
-->
<bool name="config_letterboxIsHorizontalReachabilityEnabled">true</bool>
<!-- Whether vertical reachability repositioning is allowed for letterboxed fullscreen apps. -->
<bool name="config_letterboxIsVerticalReachabilityEnabled">true</bool>
<!-- Whether should ignore app requested orientation in response to an app
calling Activity#setRequestedOrientation. See
LetterboxUiController#shouldIgnoreRequestedOrientation for details. -->
<bool name="config_letterboxIsPolicyForIgnoringRequestedOrientationEnabled">true</bool>
<!-- Whether displaying letterbox education is enabled for letterboxed fullscreen apps. -->
<bool name="config_letterboxIsEducationEnabled">true</bool>
<!-- Whether using split screen aspect ratio as a default aspect ratio for unresizable apps. -->
<bool name="config_letterboxIsSplitScreenAspectRatioForUnresizableAppsEnabled">true</bool>
<!-- Whether using display aspect ratio as a default aspect ratio for all letterboxed apps. -->
<bool name="config_letterboxIsDisplayAspectRatioForFixedOrientationLetterboxEnabled">true</bool>
<!-- Whether should use split screen aspect ratio for the activity when camera compat treatment
is enabled and activity is connected to the camera in fullscreen. -->
<bool name="config_isWindowManagerCameraCompatSplitScreenAspectRatioEnabled">true</bool>
<!-- Whether the specific behaviour for translucent activities letterboxing is enabled.
TODO(b/255532890) Enable when ignoreOrientationRequest is set -->
<bool name="config_letterboxIsEnabledForTranslucentActivities">true</bool>
<!-- Whether per-app user aspect ratio override settings is enabled -->
<bool name="config_appCompatUserAppAspectRatioSettingsIsEnabled">true</bool>
<!-- Whether per-app fullscreen override option is allowed in user aspect ratio settings -->
<bool name="config_appCompatUserAppAspectRatioFullscreenIsEnabled">true</bool>
<!-- Whether sending compat fake focus for split screen resumed activities is enabled.
Needed because some game engines wait to get focus before drawing the content of
the app which isn't guaranteed by default in multi-window modes. -->
<bool name="config_isCompatFakeFocusEnabled">true</bool>
<!-- Whether camera compat treatment is enabled for issues caused by orientation mismatch
between camera buffers and an app window. This includes force rotation of fixed
orientation activities connected to the camera in fullscreen and showing a tooltip in
split screen. -->
<bool name="config_isWindowManagerCameraCompatTreatmentEnabled">true</bool>
<!-- List of the labels of requestable device state config values -->
<string-array name="config_deviceStatesAvailableForAppRequests">
<item>config_deviceStateRearDisplay</item>
<item>config_deviceStateConcurrentRearDisplay</item>
</string-array>
<!-- Device state that corresponds to rear display mode, feature provided
through Jetpack WindowManager
TODO(b/236022708) Move rear display state to device state config file
-->
<integer name="config_deviceStateRearDisplay">3</integer>
<!-- Device state that corresponds to concurrent display mode where the default display
is the internal display. Public API for the feature is provided through Jetpack
WindowManager.
TODO(b/236022708) Move concurrent display state to device state config file
-->
<integer name="config_deviceStateConcurrentRearDisplay">4</integer>
<!-- Physical display address that corresponds to the rear display in rear display mode
and concurrent display mode. Used to get information about the display before
entering the corresponding modes -->
<string name="config_rearDisplayPhysicalAddress" translatable="false">4619827677550801153</string>
</resources>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Indicating whether the retry timer from setup data call response for data throttling should
be honored for emergency network request. By default this is off, meaning for emergency
network requests, the data frameworks will ignore the previous retry timer passed in from
setup data call response. -->
<bool name="config_honor_data_retry_timer_for_emergency_network">true</bool>
<!-- Telephony qualified networks service package name to bind to by default. -->
<string name="config_qualified_networks_service_package" translatable="false">com.android.qns</string>
</resources>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether the extended restart dialog is enabled -->
<bool name="config_letterboxIsRestartDialogEnabled">true</bool>
<!-- Whether the additional education about reachability is enabled -->
<bool name="config_letterboxIsReachabilityEducationEnabled">true</bool>
</resources>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<bool name="def_accelerometer_rotation">true</bool>
</resources>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- The number of columns in the QuickSettings -->
<integer name="quick_settings_num_columns">2</integer>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2019, The LineageOS Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether the device supports wireless charging or not -->
<bool name="config_deviceSupportsWirelessCharging">true</bool>
</resources>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- An array of triplets made of (camera ID, approximate zoom ratio, exact zoom ratio).
These values will be added to the lens selector if one or more cameras uses the
multi-camera API to let the user select which lens to use.
It's highly recommended to leave config_enableAuxCameras to false, since with
multi-camera API you only use a single camera device for all sensors.
You may enable it if you need auxiliary camera devices for a set of cameras on one
of the device's side (e.g. logical main back camera but multiple physical camera
devices on front), in that case if a main device side's lens is referenced here
all the auxiliary camera devices of that side will be ignored.
You may be able to get the exact zoom ratio needed to trigger the lens switch from
your stock camera app and observing the zoom ratio it sets with the following command:
adb shell dumpsys media.camera | grep 'android.control.zoomRatio' -1
Example for Google Pixel 7 Pro's back camera configuration:
<string-array name="config_logicalZoomRatios">
<item>0</item> <item>0.5</item> <item>0.55632502</item>
<item>0</item> <item>2.0</item> <item>2.0</item>
<item>0</item> <item>5.0</item> <item>5.0</item>
</string-array>
-->
<string-array name="config_logicalZoomRatios">
<item>0</item> <item>0.6</item> <item>0.66169298</item>
<item>0</item> <item>2.0</item> <item>2.0</item>
<item>0</item> <item>5.0</item> <item>5.0</item>
</string-array>
</resources>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Outodraai wanneer dit gevou is</string>
<string name="setting_auto_rotate_unfolded">Outodraai wanneer dit oopgevou is</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">በሚታጠፍበት ጊዜ በራስ-አዙር</string>
<string name="setting_auto_rotate_unfolded">በማይታጠፍበት ጊዜ በራስ-አዙር</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">التدوير تلقائيًا عندما يكون الجهاز مطويًا</string>
<string name="setting_auto_rotate_unfolded">التدوير تلقائيًا عندما يكون الجهاز غير مطوي</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">ফ’ল্ড কৰিলে স্বয়ংক্ৰিয়ভাৱে ঘূৰাওক</string>
<string name="setting_auto_rotate_unfolded">আনফ’ল্ড কৰিলে স্বয়ংক্ৰিয়ভাৱে ঘূৰাওক</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Qatlandıqda avtomatik fırlansın</string>
<string name="setting_auto_rotate_unfolded">ıldıqda avtomatik fırlansın</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Automatski rotiraj kada je preklopljen</string>
<string name="setting_auto_rotate_unfolded">Automatski rotiraj kada nije preklopljen</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Павярнуць аўтаматычна, калі прылада складзена</string>
<string name="setting_auto_rotate_unfolded">Павярнуць аўтаматычна, калі прылада раскладзена</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Автоматично завъртане, когато устройството е сгънато</string>
<string name="setting_auto_rotate_unfolded">Автоматично завъртане, когато устройството е разгънато</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">ফোল্ড করা হলে নিজে থেকে ঘুরবে</string>
<string name="setting_auto_rotate_unfolded">আনফোল্ড করা হলে নিজে থেকে ঘুরবে</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Automatsko rotiranje kada je uređaj sklopljen</string>
<string name="setting_auto_rotate_unfolded">Automatsko rotiranje kada uređaj nije sklopljen</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Gira automàticament quan estigui plegat</string>
<string name="setting_auto_rotate_unfolded">Gira automàticament quan estigui desplegat</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Automatické otáčení při složení</string>
<string name="setting_auto_rotate_unfolded">Automatické otáčení při rozložení</string>
</resources>

Some files were not shown because too many files have changed in this diff Show More