521 Commits
udc ... bka

Author SHA1 Message Date
b0cab762f4 tangorpro: Initialize for Evolution X 11.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-09-26 04:55:14 +00:00
Michael Bestas
05a1c0bece tangorpro: Drop prebuilt kernel dependency
Change-Id: I51aeb3320f678df6bcd322b39bb19aa53dd10ae6
2025-08-28 16:16:30 +03:00
Michael Bestas
f7e6c47464 Update fingerprint/build description from BP2A.250805.005
Change-Id: I58ce3400962c796169f4e15653685eb21e357413
2025-08-13 02:22:25 +00:00
Michael Bestas
047d138ff3 Update fingerprint/build description from BP2A.250705.008
Change-Id: I71b0c6d4d7e619657244f29e7695b7ea39e2f845
2025-07-09 16:02:42 +03:00
Michael Bestas
ef7e54bbb0 tangorpro: sepolicy: Add missing castkey sepolicy
Change-Id: I24045ad4ebd36912d434042ed11d0d4ab5f1af9b
2025-06-26 10:19:33 +03:00
Michael Bestas
ddc7d0a6fd tangorpro: Drop flood control HAL
We are missing the sepolicy for it and it's disabled

Change-Id: I22f2055e74ecfd3115cd035e685245ca0d6202e2
2025-06-26 10:19:33 +03:00
Michael Bestas
b2ecfb344b tangorpro: Remove SystemUI dexpreopt speed compile flags
They are already defined in vendor

Change-Id: I27097e32091d0066fc3da1a1b786e5a6ae11bc86
2025-06-26 10:19:33 +03:00
Michael Bestas
7b17ab192b tangorpro: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 10:19:33 +03:00
Michael Bestas
4ab59f37cd tangorpro: Remove userdebug/eng configuration
Change-Id: I3739e6e099681c667c80723f0f6e3197923ff762
2025-06-26 10:19:33 +03:00
Michael Bestas
879e5a4eb0 tangorpro: Remove factory scripts & self-extractors
Change-Id: I64f34481d9d3a41f5c01b5a9a3cd27db2cd10866
2025-06-26 10:19:33 +03:00
Michael Bestas
eb7b498c6f tangorpro: Remove all boards except tangorpro
Change-Id: Ib34dd38d55f39e9a61c0f61d9c659e07494177a1
2025-06-26 10:19:33 +03:00
Michael Bestas
73b47f9d11 tangorpro: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-26 10:19:33 +03:00
Michael Bestas
226bd99479 tangorpro: Remove dependency on gs101
Change-Id: Ib4533ef5566ec442dfa1f20928789362a8628319
2025-06-26 10:19:33 +03:00
Michael Bestas
6375d23423 Update fingerprint/build description from BP2A.250605.031.A2
Change-Id: I49c4cd1e5481f3d78b449e6402080760bdc455fc
2025-06-26 10:19:33 +03:00
Michael Bestas
fad97e08cc tangorpro: Update UWB calibration from BP2A
Change-Id: I5114b07f04d1870abdd85170c9e1aaa9ac9d40d6
2025-06-23 22:46:04 +03:00
Michael Bestas
2f0bad0305 tangorpro: Move libspeechenhancer to vendor
Change-Id: I7b254dd9ecc64e5535011a9014ac541ab83e788f
2025-06-23 22:46:04 +03:00
Michael Bestas
f8535c571c tangorpro: Update proprietary files setup for 16
Change-Id: I915a8192f5694d03ddbd2a6d4c6ea5033669500a
2025-06-23 22:46:04 +03:00
Michael Bestas
00804e9801 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
# eLMQAJ9psot4LEWHgDkO5XwjapA/xaVN+ACgiGcMLr01IdW/slrF3ap1JqQgw/g=
# =Zd/F
# -----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 (3) and others
# Via Android Build Coastguard Worker (8) and others
* tag 'aml_tz6_351400020':
  Remove old unused VINTF manifest file
  ADPF:tangorpro: use tagged ADPF profile for SYSTEM_UI.
  ADPF:tangorpro: remove unused adpf profiles.
  Remove SystemUITitan from SPEED apps
  Tangorpro: update libspeechenhancer 20241203_1624_RC01
  Change set preferred idle mask to top-app
  Backport autopreferfit for launch
  remove unused hint

Change-Id: I713a107a4087f78d177e5bde7f1092bfa3c356c4
2025-06-23 05:20:17 +03:00
Michael Bestas
9338fc1e20 Update fingerprint/build description from BP1A.250505.005
Change-Id: I36c24cad103ceac2b390c5888c6f0b07d2685454
2025-05-07 06:18:39 +03:00
Michael Bestas
c98593a399 Update fingerprint/build description from BP1A.250405.007
Change-Id: Ia7c52bbb871a17bd162631a8072c66e240e919a0
2025-04-11 19:34:52 +03:00
Michael Bestas
71e4dd30cd Update fingerprint/build description from BP1A.250305.020.T2
Change-Id: I45867b889663f390b2f505d5fbc49b79815ad1e5
2025-03-11 16:08:33 +02:00
Michael Bestas
84284c5818 Update lineage.dependencies
Change-Id: If857abf1d6d974c6a434e74c8a6cd9e52bda7ee8
2025-03-10 18:56:36 +02:00
Michael Bestas
430eda3bbd proprietary-files: BP1A.250305.020.T2
Change-Id: I3f2a5ecfd20d48218f06f2ca29b342fc430fc6bb
2025-03-09 11:14:35 +02:00
Michael Bestas
5d517213df Merge tag 'android-15.0.0_r23' into staging/lineage-22.2_merge-android-15.0.0_r23
Android 15.0.0 Release 23 (BP1A.250305.020.T2)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8fg5gAKCRDorT+BmrEO
# eBjdAJ9xkXIsFwIgDUFTWCdrHTLMhz2OIwCeKQkrl5YMxov1CS1zUogzepVCMlg=
# =aQxt
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 07:28:06 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Rock Huang (1) and yucliu (1)
# Via Android Build Coastguard Worker (4) and others
* tag 'android-15.0.0_r23':
  Use SELinux rules from private instead of tangorpro for MediaDrm plugin
  Remove unused audio_proxy sepolicy

Change-Id: I3f91ba16a44b8bc61fe9f185b228e73e6f363317
2025-03-09 11:05:50 +02:00
Michael Bestas
cc19fb6d53 Merge tag 'android-15.0.0_r23' into staging/lineage-22.2_merge-android-15.0.0_r23
Android 15.0.0 Release 23 (BP1A.250305.020.T2)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8fg5gAKCRDorT+BmrEO
# eFEuAKCMvafbxuWE34OI5t4iatYy7MLusgCcDAM0tIw34tZgJCI28E8TrGOWa50=
# =gp2u
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 07:28:06 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Eileen Lai (4) and others
# Via Android Build Coastguard Worker (11) and others
* tag 'android-15.0.0_r23':
  modem_svc: remove shared_modem_platform from T6pro
  modem_svc: make shared_modem_platform build empty in tangorpro
  Enable TAPreferHighCap for first frame
  Revert "modem_svc: remove shared_modem_platform from T6pro"
  modem_svc: remove shared_modem_platform from T6pro
  Add PLAYVIDEOS_VERSION_DIR and PRODUCT_SOONG_NAMESPACES for Videos in tangorpro.
  [Revert^2] Use mediadrm from private instead of tangorpro
  modem_svc: use shared_modem_platform to replace all modem_svc_sit
  Move $(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk to the end
  tangorpro: Pull init.insmod.*.cfg from vendor_dlkm
  dumpstate: touch: Init using touch_predump

 Conflicts:
	tangorpro/BoardConfig.mk

Change-Id: I158dad1f74e306fd9b5e217ae3a87a6e869ffb02
2025-03-09 11:05:46 +02:00
Android Build Coastguard Worker
f93c39ba4b Snap for 13025264 from cadaa795ca to mainline-tzdata6-release
Change-Id: I54542cdfc91e57e0d245bae5467be11a6f2e0fb5
2025-02-06 14:21:58 -08:00
Devin Moore
cadaa795ca Remove old unused VINTF manifest file am: 460aea1f1c am: 5cc7affab1
Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3477780

Change-Id: I3513dc921e8f30f29618b5da818208ca68ba3270
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 03:30:37 -08:00
Devin Moore
5cc7affab1 Remove old unused VINTF manifest file am: 460aea1f1c
Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3477780

Change-Id: I9e7148c9a3d35ad342374f00dc644bbfc85fb131
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 03:05:38 -08:00
Devin Moore
460aea1f1c 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: I8c310be86aa6765f45415a903ce3a01780449f84
2025-02-05 21:48:42 +00:00
Michael Bestas
53b4d0d3d8 Update fingerprint/build description from AP4A.250205.002
Change-Id: Ia8829bbc0257408a45ad778e9abea237d6f35ce4
2025-02-05 18:02:42 +02:00
guibing
0d66d11b31 ADPF:tangorpro: 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: Iac35bf28d85b608c7949e4caeec49942f2787373
2025-02-03 19:33:12 +00:00
guibing
7f7ddfbc45 ADPF:tangorpro: 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: I318e0bcd7b8bed396526b209e73872874a95412d
2025-02-03 19:28:55 +00:00
Michael Bestas
0c862790d2 tangorpro: Add more Pixel camera prebuilts
These are present on stock since QPR1

Change-Id: I58ba2d30d28d4c9cd525f1e1d4ddb353eaaf9db0
2025-01-24 13:50:21 +02:00
Michael Bestas
bda03ba8a4 Update fingerprint/build description from AP4A.250105.002
Change-Id: I33ca8ec8d3c8b5f0ca36bb069b01b0a0e57dbebe
2025-01-08 12:11:02 +02:00
Nishant Panwar
f49f7cfca2 Merge "Remove SystemUITitan from SPEED apps" into main 2025-01-06 20:33:32 -08:00
Nishant Panwar
6d5f581bc8 Remove SystemUITitan from SPEED apps
We are switching SystemUI from speed compilation to profile guided compilation on Pixel devices. This change removes the SystemUITitan from the list of speed apps and enables profile guided compilation in dexpreopt.

Bug: 271887637, 381463273
Flag: build.RELEASE_SYSTEMUI_USE_SPEED_PROFILE
Test: Locally built and flashed on device. Verifed the compilation mode in dexpreopt.
Change-Id: I0dbf43f9acda3c7dfe4a05c24c2775f283f99c7f
2025-01-06 20:33:03 -08:00
Android Build Coastguard Worker
b199b8752a Snap for 12872597 from 6cbbb3368d to mainline-tzdata6-release
Change-Id: Ie89869a01c89f21359ae30814dd48bb105531300
2025-01-06 04:37:07 -08:00
Chung-Kai (Michael) Mei
6cbbb3368d Merge changes Iaeb21216,I0f1912c5 into main
* changes:
  Change set preferred idle mask to top-app
  Backport autopreferfit for launch
2025-01-05 23:52:11 -08:00
Carter Hsu
6e15ffc943 Merge "Tangorpro: update libspeechenhancer 20241203_1624_RC01" into main 2025-01-05 21:54:30 -08:00
Carter Hsu
0eba70056e Tangorpro: update libspeechenhancer 20241203_1624_RC01
note: The rapid version: 20241203_1624_RC01
      fix spam debugging log leak

https://rapid.corp.google.com/#/candidate/libspeechenhancer/libspeechenhancer_20241203_1624/libspeechenhancer_20241203_1624_RC01

Bug: 375468708
Test: VoIP recording
Flag: EXEMPT bugfix
Change-Id: I7e46c7bd7670076461ed145c3e988591b9222804
Signed-off-by: Carter Hsu <carterhsu@google.com>
2025-01-02 17:15:50 -08:00
Chungkai Mei
8523bfff54 Change set preferred idle mask to top-app
Set value to 0x3f to exclude big core for all low priority when app launch.

Bug: 379810138
Flag: EXEMPT add powerhint config
Change-Id: Iaeb21216459a150107f44838aec5e410cb278a30
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-26 22:31:38 -08:00
Chungkai Mei
a45a9f13dd Backport autopreferfit for launch
Bug: 379810138
Flag: EXEMPT add powerhint config
Change-Id: I0f1912c5def918906e2212e3c31988da9ac25e22
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-24 01:49:34 -08:00
Chungkai Mei
1a8b8047a7 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:08:50 -08:00
Xin Li
0b01dd31f8 [automerger skipped] Merge 24Q4 into AOSP main am: 99862216a4 -s ours am: a62c6ed1e6 -s ours
am skip reason: Merged-In I3c1c31b871275bf2b5ceb93120918f749f828cd1 with SHA-1 32c2f95b10 is already in history

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

Change-Id: I154b650ebde6620ed6bdbb3e40fd21b78631c365
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 20:42:57 -08:00
Xin Li
a62c6ed1e6 [automerger skipped] Merge 24Q4 into AOSP main am: 99862216a4 -s ours
am skip reason: Merged-In I3c1c31b871275bf2b5ceb93120918f749f828cd1 with SHA-1 32c2f95b10 is already in history

Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3413877

Change-Id: If8c2dfcaa1dc440d7137aa3301c22d3082957e5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:17:39 -08:00
Xin Li
99862216a4 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I3c1c31b871275bf2b5ceb93120918f749f828cd1
Change-Id: I7da0085965df8fd7a5feb3ef0547e217f10a93b5
2024-12-13 11:15:10 -08:00
Michael Bestas
9a37a12abe proprietary-files: AP4A.241205.013
Change-Id: Ia0d253867c9fafa277404610923457b1056c035f
2024-12-11 15:40:17 +02:00
Michael Bestas
b5a04156de Update fingerprint/build description from AP4A.241205.013
Change-Id: Ia86f61708aca23842e73e3e1870da21e81d1cdc8
2024-12-11 04:12:23 +02:00
Michael Bestas
bd85dfeef1 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
# eM1GAJ9N+Aef1AocglMiH4J4SJDh+sUFdwCff6k02884D0/7YQ6EJ/5Zza2hhvo=
# =WINv
# -----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 David Li
# Via Android Build Coastguard Worker (6) and others
* tag 'android-15.0.0_r6':
  remove audioserver vendor_file file b/312069156 from bug_map

Change-Id: Ie7dcc37d05b7b3fa72e88e085e11771bb7cee6de
2024-12-11 03:51:38 +02:00
Michael Bestas
58a5a65a9d 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
# eH2QAJ4sG9Gc7S5h94K3D7N+X74auzh7NgCfY9XbuuDKhWOvXU/s2QSPE7X8XsE=
# =qEFp
# -----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 Peter (YM) (2) and others
# Via Android Build Coastguard Worker (17) and others
* tag 'android-15.0.0_r6':
  Revert "Use mediadrm from private instead of tangorpro"
  Use mediadrm from private instead of tangorpro
  Add SOONG_NAMESPACES for mediaDrm plugin
  Symlink current prebuilt folder to android root
  Delete mapper4 manifest
  thermal: read thermistor temp from sysfs
  thermal:remove unused state2power value
  update OWNERS to include Android.bp
  thermal: Remove bcl related tzones
  tangorpro: Add build_flags based properties for SMR/EMR build
  Adpf:tangorpro: switch to multitier heuristic boost.
  audio: support spatial audio on speaker-safe

Change-Id: I3f4a0b28845fdc26464d1f06cd7c4ba82824d86f
2024-12-11 03:51:18 +02:00
Android Build Coastguard Worker
36034cca55 Snap for 12770256 from dc1995ccb3 to 25Q1-release
Change-Id: Iba0f687a5243e731a292342df95a86696ee91c4d
2024-12-10 00:33:15 +00:00
Eileen Lai
dc1995ccb3 modem_svc: remove shared_modem_platform from T6pro
Bug: 377799843

Change-Id: Ia45361ca7a6ebdaf84ef3fdc3a76de234c486d56
Flag: NONE local testing only
2024-12-08 07:44:59 +00:00
Android Build Coastguard Worker
1fc583e43a Snap for 12715656 from 71f464d189 to 25Q1-release
Change-Id: I69bb4ba2c762d57e0df5328265e26153ffa02f63
2024-11-27 00:04:40 +00:00
Eileen Lai
71f464d189 modem_svc: make shared_modem_platform build empty in tangorpro
Bug: 377799843
Change-Id: I8f53130d3c39053dd0a923a98a5e0121a9cbf0a5
Flag: NONE local testing only
2024-11-26 07:26:11 +00:00
Chungkai Mei
af98660b14 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:50:33 +00:00
Android Build Coastguard Worker
b3e5dda716 Snap for 12695596 from da4b0d2873 to 25Q1-release
Change-Id: I0ffcb256a284978c61da880a85b9a3ce7a134749
2024-11-22 00:03:59 +00:00
Liana Kazanova (xWF)
da4b0d2873 Revert "modem_svc: remove shared_modem_platform from T6pro"
Revert submission 30519089-move_modem_sepolicy

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

Reverted changes: /q/submissionid:30519089-move_modem_sepolicy

Change-Id: I38b91b63d67d3a72ef688a5f5869bab301ed2853
2024-11-21 17:53:56 +00:00
Eileen Lai
b32c27d074 modem_svc: remove shared_modem_platform from T6pro
Bug: 377799843

Change-Id: I1c9a6e6ed29c6fa428a91e12761cdb028fc345cf
Flag: NONE local testing only
2024-11-21 05:36:30 +00:00
Android Build Coastguard Worker
fc4e79acb1 Snap for 12680993 from ba93e73aa5 to 25Q1-release
Change-Id: I29b3b4a0bbac6ab3466ad1d8ccf34e899c4f8300
2024-11-20 00:04:56 +00:00
kellyhung
ba93e73aa5 Add PLAYVIDEOS_VERSION_DIR and PRODUCT_SOONG_NAMESPACES for Videos in tangorpro.
Bug: 377402842
Test: m Videos
Flag: EXEMPT bugfix

Change-Id: Ie2ff3ccb7d0f238177f7db02616818a772659fae
2024-11-18 09:47:37 +00:00
Android Build Coastguard Worker
2638f59cf6 Snap for 12658558 from 0a33420e8a to 25Q1-release
Change-Id: Ia46078c7cb267d83ad5280120b574f89c3831882
2024-11-15 00:04:11 +00:00
Android Build Coastguard Worker
8c46be4365 Snap for 12658558 from 538758a2e8 to 25Q1-release
Change-Id: I02741d8b8d1ff488776075e47df0c826d422d6cb
2024-11-15 00:04:10 +00:00
Xin Li
538758a2e8 [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: d660fac25a -s ours
am skip reason: Merged-In I3c1c31b871275bf2b5ceb93120918f749f828cd1 with SHA-1 32c2f95b10 is already in history

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

Change-Id: I1cfe6c7f6a24fdf4aa601f4d8660806c382c3bd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:31:20 +00:00
Xin Li
0a33420e8a [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 0eae11b318 -s ours
am skip reason: Merged-In I9bdc34bc76f6cc7053588f9b16c8aa0b1c7fa012 with SHA-1 56ed2ee1ce is already in history

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

Change-Id: I377bc328122ca22987313ed2e4b2ac5d6133b305
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 00:14:35 +00:00
Michael Bestas
f3547d708c Update fingerprint/build description from AP3A.241105.007
Change-Id: Id3d82e6575a3a7b7fee270fdddd62148b3920075
2024-11-07 15:17:12 +02:00
Xin Li
d660fac25a Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I3c1c31b871275bf2b5ceb93120918f749f828cd1
Change-Id: Ia60f2843773230597449bfd789b4dafbadd8611d
2024-11-06 10:31:20 -08:00
Xin Li
0eae11b318 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I9bdc34bc76f6cc7053588f9b16c8aa0b1c7fa012
Change-Id: Ideb1ad3ce1dd39f5b45d46a58b74c4dbe6607cc3
2024-11-06 10:31:20 -08:00
Cosmin Tanislav
4aa169474a tangorpro: switch to python extract-utils
Change-Id: Ia2d6a0235d9343d7de0ef69d4197cac7f276af84
2024-11-06 13:07:19 +02:00
Android Build Coastguard Worker
11d2c6ddfd Snap for 12605939 from c0a8895700 to mainline-tzdata6-release
Change-Id: Ifda593a8f25302489fc8807c88278dbb2f269dd2
2024-11-05 10:10:55 +00:00
Michael Bestas
cc44c3f21d tangorpro: Enable ELF checks for c2 codec libs
Change-Id: I7702c3104fde477e27a18998982605673de29aee
2024-11-01 05:14:46 +02:00
Michael Bestas
1acd3d0af6 tangorpro: fix padding in status bar
Change-Id: If82b831c0267e732f545d92eec290d55f49c9972
2024-10-27 10:44:35 +01:00
LuK1337
681ed33926 tangorpro: Bring up touch in recovery
* Add novatek firmware
* Set appropriate touch rotation

Change-Id: I7e178ddc69c5e9397c7eef5dca0ba5998d942737
2024-10-27 10:44:35 +01:00
Michael Bestas
23a95f6b5b tangorpro: Copy touch modules to vendor_kernel_boot
Makes touch work in recovery
nvt_touch requires 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 10:44:35 +01:00
Nolen Johnson
a51219179e tangorpro: Opt out of GMS comms suite
Change-Id: I7ebd0960ac9adad758ecb5ca1a3660f73447a9d1
2024-10-20 01:12:32 +03:00
3e280a2443 tangorpro: Pull in various RROs from stock
SettingsGoogleTangorproOverlay - Disables WiFi hotspot & Sim settings, adds tablet lottie animations, etc.

TitanSettingsOverlay - Enables communal settings (Hub Mode Settings), etc.

TitanSettingsProviderOverlay - Sets default screen timeout to 120 seconds & enables dock sounds by default.

TitanSysuiConfigOverlay - Enables full screen user switcher, sets keyguard affordance dimens, and sets various dock/communal components. etc.

[npjohnson]: Guard TitanSettingsOverlay with GMS property to prevent
crashes without GMS.

Change-Id: Ieabe0e569edffe0c9bb5787f03a98adb5df355dd
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-10-20 01:12:32 +03:00
Nolen Johnson
3605af8a45 tangorpro: Build TangorproGMSOverlay RRO
* Conditionally enable GMS-specific product overlays related
  to HubUI.

Change-Id: I8eafc030e83dcd807191ea5941bf11e493617683
2024-10-20 01:12:32 +03:00
Nolen Johnson
417727c85e tangorpro: Build GrilRadioCustomizableNoRadio RRO unconditionally
Change-Id: Ia420c4ea6187d89fd8d9e936a897c58321b6c70a
2024-10-20 01:12:31 +03:00
Ethan Chen
ec577c0298 tangorpro: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 01:12:31 +03:00
Michael Bestas
cc2553c7df tangorpro: Disable Wi-Fi verbose logging by default
Change-Id: Iafe9f4b83d157906ca6b9114db52ab27b1a01878
2024-10-20 01:12:31 +03:00
Michael Bestas
88bb90b429 tangorpro: Add lineage.dependencies
Change-Id: Iab5f4f4b2d98606e4f658c69e8f16f73ce7924bb
2024-10-20 01:12:31 +03:00
Aayush Gupta
fd86cfcfed tangorpro: overlay: Enable aspect ratio setting for apps
Issue: calyxos#2318
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I59ebe99817e444439f40b40340f55932f586e279
2024-10-20 01:12:31 +03:00
LuK1337
93d667f40e tangorpro: overlay: Enable Ambient Display
Change-Id: I5229e4e19fe48812b0b058ffd5f8d3a939ca4e0c
2024-10-20 01:12:31 +03:00
Michael Bestas
1c79e4e16e tangorpro: overlay: Enable auto rotation by default
Change-Id: Ie31db9c76785f80a6d66033dc30117f724170771
2024-10-20 01:12:31 +03:00
LuK1337
169b12bf2b tangorpro: overlay: Import selected framework-res product RRO overlays
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I7e5fd6a7652feedbf98ee5b97e5a6703a79b77e3
2024-10-20 01:12:31 +03:00
Chirayu Desai
91feff6123 tangorpro: 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:12:31 +03:00
Chirayu Desai
596973f6ea Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2024-10-20 01:12:14 +03:00
Android Build Coastguard Worker
b34ff94265 Snap for 12496712 from 5d140bdb98 to 25Q1-release
Change-Id: I955ee58d5ab67afc3ff6ae4f1bce11d958f36581
2024-10-14 23:04:05 +00:00
Android Build Coastguard Worker
e3d32baa72 Snap for 12496712 from c0a8895700 to 25Q1-release
Change-Id: Idc97e6f5cde211e6910c6bbe286fde0046e34805
2024-10-14 23:04:04 +00:00
Rock Huang
c0a8895700 Merge "[Revert^2] Use mediadrm from private instead of tangorpro" into main 2024-10-14 07:50:04 +00:00
Eileen Lai
414e29c820 Merge "modem_svc: use shared_modem_platform to replace all modem_svc_sit" into main 2024-10-14 07:27:51 +00:00
Rock Huang
5d140bdb98 Use SELinux rules from private instead of tangorpro for MediaDrm plugin
* Private mediadrm: ag/29478046, ag/29547376
* MediaDrm SELinux rules are on ag/29567026

Bug: 367906184
Bug: 366426322
Flag: EXEMPT castauth enabled
Test: b/364190751#comment27
Change-Id: If98279ba8b6310206971069d064831fa5f053515
2024-10-12 02:37:50 +08:00
Rock Huang
2b73d48b95 [Revert^2] Use mediadrm from private instead of tangorpro
Use mediadrm from private instead of tangorpro

* Private mediadrm: ag/29478046, ag/29547376
* MediaDrm SELinux rules are on ag/29567026

Bug: 367906184
Bug: 366426322
Flag: EXEMPT castauth enabled
Test: b/364190751#comment27

Change-Id: I93a2f095fd9b1b0686f48308370e76f60b1318a1
2024-10-12 02:29:19 +08:00
Eileen Lai
4329839712 modem_svc: use shared_modem_platform to replace all modem_svc_sit
Bug: 368257019

Flag: NONE local testing only
Change-Id: I41c0d4aa9a02cf9efdfb98811769a44b4ca6dba8
2024-10-10 16:12:53 +00:00
Kwang-un Jin
439d11dd01 Move $(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk to the end
This is to redefine all the variables in the mk file, not just
TARGET_SCREEN_DENSITY.

Test: adb shell wm density
Flag: EXEMPT Bug fix
Bug: 369953823
Change-Id: I05733586e9e5ee1ee8769fde16b0032bdc2fd015
2024-10-10 14:18:14 +09:00
Android Build Coastguard Worker
cbe5484792 Snap for 12477291 from af493c2bd0 to 25Q1-release
Change-Id: I5106bba4367df7ca705b72398e1705c8b52a8e2c
2024-10-09 21:03:38 +00:00
Android Build Coastguard Worker
489d533485 Snap for 12477291 from 84a6b3d738 to 25Q1-release
Change-Id: I4a8836dde8e9af4212dc39a665340d09d7c7753b
2024-10-09 21:03:37 +00:00
Treehugger Robot
84a6b3d738 Merge "tangorpro: Pull init.insmod.*.cfg from vendor_dlkm" into main 2024-10-08 22:15:21 +00:00
Brian Norris
075b408020 tangorpro: 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: Icb9fd5db204cb482a339eb7d8129dfae2538ee68
2024-10-08 20:11:44 +00:00
Android Build Coastguard Worker
3975f91645 Snap for 12462067 from 69223d3af7 to mainline-tzdata6-release
Change-Id: Icafcf8201fe983db9ed5d445b4f512f4283383e5
2024-10-07 09:00:57 +00:00
Michael Bestas
6be64ea9f0 tangorpro: Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2024-10-06 23:49:48 +03:00
Michael Bestas
d32a4d834a Add .gitupstream
Change-Id: I2c0ab4e6b31282f6d8be88942c4fe9c38871d7d0
2024-10-06 23:43:54 +03:00
Michael Bestas
2cc890cd3b Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 6b6bd13dc4
git-subtree-split: bec3b11f79
Change-Id: I3a341668a4b4228ba933a4a291888d979a69b5fb
2024-10-06 23:40:33 +03:00
Android Build Coastguard Worker
4177b4d158 Snap for 12445464 from 69223d3af7 to 25Q1-release
Change-Id: Ic20caf578e1a5cd161ec90946b38114d675f1695
2024-10-02 23:04:19 +00:00
yucliu
af493c2bd0 Remove unused audio_proxy sepolicy
Flag: NONE remove unused code
Bug: 371009808
Test: Build
Change-Id: I1ed5a290d8bb9c15947de1c4f1594f4801fc9c39
2024-10-02 18:54:08 +00:00
Treehugger Robot
69223d3af7 Merge "dumpstate: touch: Init using touch_predump" into main 2024-10-02 08:57:01 +00:00
Android Build Coastguard Worker
c19551feeb Snap for 12410317 from 32c2f95b10 to 25Q1-release
Change-Id: I257f888abaff992b67209d52e917144f65e2adc6
2024-09-24 23:03:28 +00:00
Android Build Coastguard Worker
874fc54da1 Snap for 12406339 from 32c2f95b10 to 24Q4-release
Change-Id: I28e6b69c6f19ae90f8c12998e6938771b8058228
2024-09-24 17:35:48 +00:00
Android Build Coastguard Worker
e96318007d Snap for 12404440 from 25046bedc2 to 24Q4-release
Change-Id: I7ee7038c1432249597752c5f05934a214bbd28fa
2024-09-23 23:03:20 +00:00
Liana Kazanova (xWF)
32c2f95b10 Revert "Use mediadrm from private instead of tangorpro"
Revert submission 29489024-pixel_tablet_mediadrm

Reason for revert: DroidMonitor: Potential culprit for http://b/369192150 - Verifying through ABTD before submission. 

Reverted changes: /q/submissionid:29489024-pixel_tablet_mediadrm

Change-Id: I3c1c31b871275bf2b5ceb93120918f749f828cd1
2024-09-23 21:03:33 +00:00
Android Build Coastguard Worker
6a28923cc0 Snap for 12399304 from 70a2a32350 to 25Q1-release
Change-Id: I8443175003896ce854ffae6d7ca16d2b75840e37
2024-09-21 23:02:24 +00:00
Rock Huang
25046bedc2 Use mediadrm from private instead of tangorpro
* Private mediadrm: ag/29478046, ag/29489024

Bug: 367906184
Bug: 366426322
Flag: EXEMPT castauth enabled
Test: b/367906184#comment5
Change-Id: I8dc459ca757de0efd0e989adf92dcb0f4bf5519d
2024-09-20 20:09:33 +08:00
Android Build Coastguard Worker
1c129ded22 Snap for 12373988 from 70a2a32350 to 24Q4-release
Change-Id: I3a42640e3547d0c4a5b441e6151780e08527bd4e
2024-09-16 23:02:38 +00:00
Rock Huang
70a2a32350 Add SOONG_NAMESPACES for mediaDrm plugin
* Without this CL, the following gs-common ag/29381547 will hit a
  duplicated name issue.

Bug: 364190751
Bug: 229298787
Bug: 366426322
Flag: EXEMPT castauth enabled
Test: ab/P80927970
Change-Id: I6bf2fe4ce933f70179cb83fa597caaf98806ffdc
2024-09-16 16:43:14 +08:00
Android Build Coastguard Worker
c2af5ec536 Snap for 12337407 from fcc13445d9 to 25Q1-release
Change-Id: I032b9ec2cc882877e0deb3e9480a0f2fc4f5f0cf
2024-09-07 23:04:38 +00:00
Android Build Coastguard Worker
928e724ab5 Snap for 12337407 from fe83ab93d4 to 25Q1-release
Change-Id: Ic2c16878c9a5533868f03a34b802591ac9a3e197
2024-09-07 23:04:35 +00:00
Android Build Coastguard Worker
cf885a9bd9 Snap for 12337246 from fcc13445d9 to 24Q4-release
Change-Id: I792184cfde545f40900515fa83fc753078bc885f
2024-09-07 21:02:38 +00:00
Android Build Coastguard Worker
ac7bd4d11f Snap for 12337246 from fe83ab93d4 to 24Q4-release
Change-Id: Ib1c210074d3346572ac4cefec2d17cec41fbe22a
2024-09-07 21:02:38 +00:00
Xin Li
fcc13445d9 [automerger skipped] Merge 24Q3 to AOSP main am: f503a505a5 -s ours am: 1f2b5c710f -s ours
am skip reason: Merged-In I7d27c3d1aa5f6e5e666b05e157333fd217f776c0 with SHA-1 04b05427fc is already in history

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

Change-Id: I4e0c2d0174752bb20105d5f7502a7d7ad22125ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 06:09:50 +00:00
Xin Li
fe83ab93d4 [automerger skipped] Merge 24Q3 to AOSP main am: f58f7ef409 -s ours am: ffa3824435 -s ours
am skip reason: Merged-In Id1e1267ab774725d18687193c1e168dc543a1e7d with SHA-1 0b1f5e7fc9 is already in history

Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3257965

Change-Id: If274207a658a0d184a19afb75d0192a7b2a980ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:32:12 +00:00
Xin Li
1f2b5c710f [automerger skipped] Merge 24Q3 to AOSP main am: f503a505a5 -s ours
am skip reason: Merged-In I7d27c3d1aa5f6e5e666b05e157333fd217f776c0 with SHA-1 04b05427fc is already in history

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

Change-Id: Ic1d81d9ad76570b6d816c9dd03842c9c4a473ea7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:28:52 +00:00
Xin Li
ffa3824435 [automerger skipped] Merge 24Q3 to AOSP main am: f58f7ef409 -s ours
am skip reason: Merged-In Id1e1267ab774725d18687193c1e168dc543a1e7d with SHA-1 0b1f5e7fc9 is already in history

Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3257965

Change-Id: I947b093387edc157a515ed0f8e44edb630a4cb8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:49:26 +00:00
Android Build Coastguard Worker
bc60dde087 Snap for 12335440 from 3dedd0cfa0 to 24Q4-release
Change-Id: I643fdec2f40095bbf7f760d5e52c4e6e3ec013c8
2024-09-07 02:32:51 +00:00
Robin Peng
3dedd0cfa0 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: Ieb2d6f517d62bf9a5270fe7ed5fc7643572ea3fe
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-09-06 07:35:42 +00:00
Xin Li
f58f7ef409 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: Id1e1267ab774725d18687193c1e168dc543a1e7d
Change-Id: I2e0f086cb2ebcc02314163c6a91c63040bf2adaf
2024-09-05 17:02:39 -07:00
Xin Li
f503a505a5 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: I7d27c3d1aa5f6e5e666b05e157333fd217f776c0
Change-Id: I7b1236697d5737465c6c17cbb139f628baff5d2d
2024-09-05 17:02:39 -07:00
Android Build Coastguard Worker
5de4d4e0c7 Snap for 12304452 from 2dba660f5a to 24Q4-release
Change-Id: I5b877b27d5515fa090c0dd06fb90fef63e19ef4a
2024-08-31 01:02:45 +00:00
Ankit Goyal
2dba660f5a Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: Ie43abdb59c2c5a7c07670f187229314c0cf9539f
2024-08-28 22:55:49 -07:00
Android Build Coastguard Worker
5045d7ef0d Snap for 12247339 from e1715fd574 to 24Q4-release
Change-Id: I0753f175b6ea53bd298d515dfe689f83e727ed7d
2024-08-19 23:02:56 +00:00
Peter (YM)
e1715fd574 Merge "thermal: read thermistor temp from sysfs" into main 2024-08-19 04:10:07 +00:00
Android Build Coastguard Worker
cbaa58a4d7 Snap for 12238800 from 390be24332 to mainline-tzdata6-release
Change-Id: I79b331cc18cd3484765ef55fac6abd4354540972
2024-08-16 13:01:20 +00:00
Peter (YM)
760188730b 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: Id3f90b16dcbb1f485915de9877ff2906d99901c6
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:27:38 +00:00
Android Build Coastguard Worker
712921b0ba Snap for 12235414 from 390be24332 to 24Q4-release
Change-Id: Ida56b8bd43ffda425edeba0a0014313e57f7fac3
2024-08-15 23:02:42 +00:00
Peter (YM)
390be24332 Merge "thermal:remove unused state2power value" into main 2024-08-15 07:19:18 +00:00
Peter (YM)
8c72a7406d thermal:remove unused state2power value
Bug: 355566259
Test: Build test
Flag: EXEMPT NDK
Change-Id: I7575597cf934c18fd31228a4641bef5e80f4e0a2
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-15 04:14:20 +00:00
Android Build Coastguard Worker
d1f5d2be32 Snap for 12217053 from e36c43bcd3 to 24Q4-release
Change-Id: Idbb6a2bfef091a4524c3208c73f4cc71fe087963
2024-08-12 23:07:22 +00:00
Sam Ou
e36c43bcd3 Merge "thermal: Remove bcl related tzones" into main 2024-08-12 12:32:35 +00:00
Android Build Coastguard Worker
1ac7a991a3 Snap for 12210778 from dd5b81d8c6 to 24Q4-release
Change-Id: Ia82484a923b9ffdca83a5fcde96cff4ee1ee201f
2024-08-10 01:07:20 +00:00
Cyan_Hsieh
dd5b81d8c6 update OWNERS to include Android.bp am: 258f90a967 am: 545e139c48
Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3214347

Change-Id: I371d2a650926f4f050a077390f5a1f3544c7d806
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:35 +00:00
Cyan_Hsieh
545e139c48 update OWNERS to include Android.bp am: 258f90a967
Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3214347

Change-Id: I6d2f1fc52dcd897a7f5cee6fc56e12d62fc32118
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:03 +00:00
Cyan_Hsieh
258f90a967 update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:21fe5059b81ac22b2a22f07606d3a5f019e14e28)
Merged-In: I14accc21c396a63d492736a235a37cc104683128
Change-Id: I14accc21c396a63d492736a235a37cc104683128
2024-08-09 08:34:24 +00:00
Android Build Coastguard Worker
51729b8b1c Snap for 12190349 from 3ff00c0207 to 24Q4-release
Change-Id: I6e5de64a9c07bc04ce2c8bcd658b6091781981f8
2024-08-06 23:03:01 +00:00
samou
89ece9edde thermal: Remove bcl related tzones
Flag: EXEMPT tuning changes
Bug: 349935208
Test: Confirm boot
Change-Id: I7aacd517cdd0543e9e4f2010615059b03bf10695
Signed-off-by: samou <samou@google.com>
2024-08-06 07:28:53 +00:00
Lokesh Kumar Goel
3ff00c0207 tangorpro: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_TANGORPRO
Bug: 155105803
Change-Id: If08bf526b8929a47a964486e45220c725b03e506
2024-07-31 16:59:47 +00:00
Android Build Coastguard Worker
01ebc389e5 Snap for 12148957 from df3dc0eda1 to 24Q4-release
Change-Id: Ibdf49a5bd36eb1c013eefd566068c798435b3c4d
2024-07-27 21:02:35 +00:00
guibing
df3dc0eda1 Adpf:tangorpro: 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: I934a7763c480a6cd46e98ba6020c5ac29cb7587c
2024-07-26 23:20:53 +00:00
Android Build Coastguard Worker
c5fe36936f Snap for 12122529 from 56ed2ee1ce to 24Q4-release
Change-Id: I8d545479b348aa94cff4e2a18cb245c6918163d9
2024-07-22 23:02:31 +00:00
David Li
56ed2ee1ce remove audioserver vendor_file file b/312069156 from bug_map
Bug: 312069156
Test: n/a
Flag: NONE bug_map
Change-Id: I9bdc34bc76f6cc7053588f9b16c8aa0b1c7fa012
2024-07-19 06:06:32 +00:00
Android Build Coastguard Worker
7eac372522 Snap for 12110738 from 5b16c748ba to 24Q4-release
Change-Id: If29744ed280f34983be8146741867723e23bb7ff
2024-07-18 23:02:42 +00:00
Jasmine Cha
5b16c748ba audio: support spatial audio on speaker-safe
Flag: EXEMPT bugfix
Bug: 349953895
Test: manual test

Change-Id: I8fea55fc023ce6ee6ca1d5641695d0b6b0d34fda
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-07-17 07:33:38 +00:00
Android Build Coastguard Worker
b822ffaf86 Snap for 12034474 from 14e7fa65de to mainline-tzdata6-release
Change-Id: I124c68aa1a4efaefd5f62f9d97acf4341f5b829a
2024-07-01 08:36:17 +00:00
Android Build Coastguard Worker
446dd8971a Snap for 11996894 from 0ab65c4d38 to 24Q4-release
Change-Id: I6d70eeb9b6168c2361fa64601576855ce04565c1
2024-06-20 23:03:12 +00:00
Android Build Coastguard Worker
2fb3a29def Snap for 11996894 from 14e7fa65de to 24Q4-release
Change-Id: Ia27ba5494644c9d389a049d55402ce7ce653d512
2024-06-20 23:03:12 +00:00
Xin Li
0ab65c4d38 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 965a2ad217 -s ours
am skip reason: Merged-In I7d27c3d1aa5f6e5e666b05e157333fd217f776c0 with SHA-1 04b05427fc is already in history

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

Change-Id: Ib30717aae1695e5ec1c4a4469aa97e15327e4249
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:48:46 +00:00
Xin Li
14e7fa65de [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 9c2d57272f -s ours
am skip reason: Merged-In Id1e1267ab774725d18687193c1e168dc543a1e7d with SHA-1 0b1f5e7fc9 is already in history

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

Change-Id: Ia81209f5474a4701f68e7c5311709e60136953b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:46:13 +00:00
Android Build Coastguard Worker
332be08c18 Snap for 11987757 from 96d3e8fcdc to 24Q4-release
Change-Id: I63a3876720e08015b5e3f6738b094336b612431c
2024-06-18 23:03:07 +00:00
Android Build Coastguard Worker
15fe5a0a7d Snap for 11987757 from 01778be4df to 24Q4-release
Change-Id: Iab696af11fd7e8f4839e67766030c605b0a8c7db
2024-06-18 23:03:06 +00:00
Xin Li
965a2ad217 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: I7d27c3d1aa5f6e5e666b05e157333fd217f776c0
Change-Id: I83faabe9636f4b6a56ab0dbd503ebd5776eec8e9
2024-06-18 14:13:24 -07:00
Xin Li
9c2d57272f Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: Id1e1267ab774725d18687193c1e168dc543a1e7d
Change-Id: Id60e845a9c5546f68d70bb05c9fb7d3741fc625b
2024-06-18 14:13:24 -07:00
Xin Li
96d3e8fcdc [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 4e191a8d97 -s ours am: 45c89ee59a -s ours
am skip reason: Merged-In Ie31a1c1a26f73f4c833a9aba379fa662387bce25 with SHA-1 c7ffd1ba22 is already in history

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

Change-Id: I42b061af9a32cdb97d666431aa7d00a3e19a00d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:56:01 +00:00
Xin Li
01778be4df [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 89a0673397 -s ours am: e80edb1f85 -s ours
am skip reason: Merged-In Ie052fcfb128711cdeed0083e52b40c8c53f4f805 with SHA-1 16db441dbe is already in history

Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3131540

Change-Id: Ib95e5344f1b18cd770a9c0d05127bdc91a9ba6e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:38 +00:00
Android Build Coastguard Worker
cc96c62aa6 Snap for 11981331 from 2b5632bbe4 to 24Q4-release
Change-Id: I91de5fab5571f81903ccade846f6a0f193ab29cf
2024-06-17 23:03:39 +00:00
Android Build Coastguard Worker
b888fc9b7e Snap for 11981331 from a9f6474c2b to 24Q4-release
Change-Id: Ic624a8bc8b6f65604b5c6fb41821e26ad3948e0a
2024-06-17 23:03:36 +00:00
Xin Li
45c89ee59a [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 4e191a8d97 -s ours
am skip reason: Merged-In Ie31a1c1a26f73f4c833a9aba379fa662387bce25 with SHA-1 c7ffd1ba22 is already in history

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

Change-Id: Iabfc168ca3dd17e603f4f4e702d3e9042e14527e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:42:07 +00:00
Xin Li
e80edb1f85 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 89a0673397 -s ours
am skip reason: Merged-In Ie052fcfb128711cdeed0083e52b40c8c53f4f805 with SHA-1 16db441dbe is already in history

Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3131540

Change-Id: Ide683cfac6e58bbd03081bd29049d9311eb9abec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:58 +00:00
Xin Li
4e191a8d97 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: Ie31a1c1a26f73f4c833a9aba379fa662387bce25
Change-Id: I16e8234d34a8ee4d50f02f6d86e3d6877dc0bdff
2024-06-13 10:49:16 -07:00
Xin Li
89a0673397 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: Ie052fcfb128711cdeed0083e52b40c8c53f4f805
Change-Id: I51d6f822dd16d050b9d8082d6c1c2f7a61d4249e
2024-06-13 10:49:07 -07:00
Android Build Coastguard Worker
6b6bd13dc4 Snap for 11959661 from a9f6474c2b to 24Q3-release
Change-Id: I44ca3516a505f9b8b9970af601f134ccf224cae1
2024-06-12 23:03:19 +00:00
Carter Hsu
a9f6474c2b Merge "audio: update libspeechenhancer for 24Q3" into main 2024-06-12 02:27:57 +00:00
Android Build Coastguard Worker
e09fea449c Snap for 11947112 from 4f457fb780 to mainline-tzdata6-release
Change-Id: Id5e4d759241e76aed3c6049e1c8b09b91005e451
2024-06-10 10:13:29 +00:00
Android Build Coastguard Worker
f93ce47a3c Snap for 11944020 from 4f457fb780 to 24Q3-release
Change-Id: Ie9d916d5bf77ee12242d913a51f61a198b2501e1
2024-06-08 01:03:24 +00:00
Android Build Coastguard Worker
bec3b11f79 Snap for 11938003 from 2b5632bbe4 to 24Q3-release
Change-Id: I601ab07ed55e02ebce24155a8220497df35d9292
2024-06-06 23:03:01 +00:00
Xin Li
4f457fb780 [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 16db441dbe -s ours
am skip reason: Merged-In I9ce27a764a09b8d878d4d14ed956205000355610 with SHA-1 bcef5e2c3f is already in history

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

Change-Id: I36856d493c04fceb7d4c77247cdabe4a36e5f870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:13 +00:00
Erin Yan
2b5632bbe4 Merge "Remove SEPolicy for Mediashell from device level make file" into main 2024-06-06 18:50:42 +00:00
Roshan Pius
0b1f5e7fc9 tangor: Enable flag to enable/disable persistent cache for country code
This will be useful for devices that don't have cellular.

Bug: 339139695
Change-Id: Id1e1267ab774725d18687193c1e168dc543a1e7d
Test: None
2024-06-06 18:04:36 +00:00
Xin Li
16db441dbe Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I9ce27a764a09b8d878d4d14ed956205000355610
Change-Id: Ie052fcfb128711cdeed0083e52b40c8c53f4f805
2024-06-05 14:12:12 -07:00
Erin Yan
04b05427fc Remove SEPolicy for Mediashell from device level make file
Bug: 343288392
Test: Verified L1 content Cast working on Tangorpro and no avc error on mediashell_app in logs with forest build.

Change-Id: I7d27c3d1aa5f6e5e666b05e157333fd217f776c0
2024-06-05 16:02:06 +00:00
Carter Hsu
fbd0cb8bc3 audio: update libspeechenhancer for 24Q3
This involves the API change for allowing
HAL to control different instances

Bug: 344707694
Test: VoIP call
Change-Id: I6d811b160f107c16201158c99bf1228ccb7d0d49
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-06-04 11:46:09 +08:00
Android Build Coastguard Worker
d17f55dac7 Snap for 11919022 from 9b01f7e657 to mainline-tzdata6-release
Change-Id: I48d4872668ef84901a0e9365b9c2a222af4dfa76
2024-06-03 15:31:26 +00:00
Android Build Coastguard Worker
ac6880d4f8 Snap for 11915075 from 3d96ae7ed8 to 24Q4-release
Change-Id: I75c13c4db061310308ed794cf5da0fa40f67ad25
2024-06-01 01:02:52 +00:00
Android Build Coastguard Worker
fbf6757438 Snap for 11915075 from 9b01f7e657 to 24Q4-release
Change-Id: I563896ac094dfecfe91f2342dc67cf56e907cf8d
2024-06-01 01:02:51 +00:00
Android Build Coastguard Worker
1cec3eb9a6 Snap for 11908474 from 3d96ae7ed8 to 24Q3-release
Change-Id: I5845f134d809346f8f166e32ebd86a5d313ee16a
2024-05-30 23:03:04 +00:00
Android Build Coastguard Worker
ad99860ea5 Snap for 11908474 from 9b01f7e657 to 24Q3-release
Change-Id: I8417fc8e29ffcf48cc0fa5460de8db9702218acb
2024-05-30 23:03:02 +00:00
Android Build Coastguard Worker
1dd5800192 Snap for 11902131 from a6f591bdff to 24Q3-release
Change-Id: Id8eb78f0e5c0a80d1ca5b931249124c8ac158be2
2024-05-29 23:03:09 +00:00
Cyan_Hsieh
9b01f7e657 Switch makefile owners to MK_OWNERS am: 231936b1b3 am: b65605ead3
Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3107877

Change-Id: I16be342da1b9176ce7d28a94e745020cea5e8076
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 22:00:00 +00:00
Xin Li
3d96ae7ed8 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: c7ffd1ba22 -s ours
am skip reason: Merged-In I3643ce79da93b8873843a06eb86a5af5c26df449 with SHA-1 567253e387 is already in history

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

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

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

Change-Id: Id8ac913b200afc8a4b3ad1bc785e79efa0fbd36a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 19:45:59 +00:00
Cyan_Hsieh
b65605ead3 Switch makefile owners to MK_OWNERS am: 231936b1b3
Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/3107877

Change-Id: I78065e3350668512f0a3ba527897f58805a603a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:15 +00:00
Cyan_Hsieh
231936b1b3 Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:060a2e65f6976227591588b69114c8488f21077b)
Merged-In: Icedf5981c6a9cd5d08ca9591de8960948dbeb1b3
Change-Id: Icedf5981c6a9cd5d08ca9591de8960948dbeb1b3
2024-05-29 10:00:48 +00:00
Hyungwoo Yang
a6f591bdff selinux: add sysfs_wake label for USI pen battery
Bug: 337984471, 342968299

Change-Id: Ia190f99eb684bddcd59dae8f560b4a8eb8979446
Signed-off-by: Hyungwoo Yang <hyungwooyang@google.com>
2024-05-28 06:01:42 +00:00
Android Build Coastguard Worker
7bcdca27bf Snap for 11892734 from 76bf3cea64 to 24Q3-release
Change-Id: I58d948581ed5b9c41fe9370e8ffbfada6a23968d
2024-05-27 23:02:55 +00:00
Treehugger Robot
76bf3cea64 Merge "audio: remove unused device" into main 2024-05-27 03:23:18 +00:00
Android Build Coastguard Worker
9152f08107 Snap for 11869550 from 8e1ce1268f to 24Q3-release
Change-Id: I5bfb726663880f68631f9c96a4e417f1152a64c3
2024-05-21 23:03:43 +00:00
Sam Ou
8e1ce1268f Merge "thermal: Remove SOFT_OCP related tzones" into main 2024-05-21 12:28:55 +00:00
Android Build Coastguard Worker
3838065b64 Snap for 11859356 from 0d6bf9a031 to 24Q3-release
Change-Id: I08103e2c70ecbf3bb68764766b068d277003d649
2024-05-18 03:02:50 +00:00
Hyungwoo Yang
0d6bf9a031 Merge "Add USI stylus input configuration file" into main 2024-05-17 14:53:49 +00:00
Hyungwoo Yang
6602d509b3 Add USI stylus input configuration file
This is to support the Google USI Subsystem.

Bug: 337984471

Change-Id: If2f935239047028ac70cc2451ec8369248659b95
2024-05-17 08:19:39 +00:00
Wei Wang
34d6cdb063 Merge "Adpf:tangorpro: enable heuristic boost." into main 2024-05-17 07:07:39 +00:00
guibing
8c4dea2fa8 Adpf:tangorpro: 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: I4f4d79ed9e169fba6de0eea0e5356fef0bf7e388
2024-05-16 20:42:28 +00:00
Android Build Coastguard Worker
4ec6ed316d Snap for 11847214 from 3e11fd4cda to 24Q3-release
Change-Id: Id02005eaab3fdbf5fc26f3babe1a8b2883d17d22
2024-05-16 01:03:22 +00:00
Android Build Coastguard Worker
5a5b0f3cb3 Snap for 11847214 from c134324a8d to 24Q3-release
Change-Id: I7ffab8791a8016d76b687804bad9ef390ae99432
2024-05-16 01:03:22 +00:00
Cyan Hsieh
c134324a8d Merge "Update bootloader pdk folder and soong config" into main 2024-05-15 14:01:34 +00:00
samou
4a90451745 thermal: Remove SOFT_OCP related tzones
Bug: 337976702
Test: Confirm boot
Change-Id: If2bf94b3d673b7bd5c7a6367b6eb969af38dba72
Signed-off-by: samou <samou@google.com>
2024-05-15 11:53:59 +00:00
Wilson Sung
3e11fd4cda Merge "SELinux: fix avc denials" into main 2024-05-15 04:04:06 +00:00
Ken Yang
301e7513b0 SELinux: fix avc denials
Fix avc denials for hal_health_default. Add this as tangorpro specific rule to avoid bad build on other devices.

Bug: 338332877
Change-Id: Ifecd53cf053f1e00dd8d7c76acdb24eaebe6217e
Signed-off-by: Ken Yang <yangken@google.com>
2024-05-15 02:50:41 +00:00
Xin Li
c7ffd1ba22 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I3643ce79da93b8873843a06eb86a5af5c26df449
Change-Id: Ie31a1c1a26f73f4c833a9aba379fa662387bce25
2024-05-06 12:09:16 -07:00
Xin Li
c0f2fd69c5 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I861842e416f0bb4b72aafdbcd6075b01b5a17eef
Change-Id: Ica26d9d65a718cbd78a888afd57c3b27480bdd3a
2024-05-06 12:09:16 -07:00
Cyan_Hsieh
1df894ba9a Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: I9b0a749ffcb996c82eb79a5759c1465f38780704
2024-05-06 16:38:41 +08:00
Android Build Coastguard Worker
824799114d Snap for 11800966 from 8cb1da499c to 24Q3-release
Change-Id: I38aef78c9fe322e7575bf427ea89752c5cf64d2b
2024-05-04 01:03:15 +00:00
Qian-Hao Huang
8cb1da499c Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: I3928032b7c5d1eb2595722ca165181172b9535d2
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-02 13:13:33 +00:00
Android Build Coastguard Worker
ebb0fee1d7 Snap for 11784291 from 80b2d761ba to 24Q3-release
Change-Id: I2662d2286cd9534cf089470637683a3d27ae77be
2024-04-30 23:03:51 +00:00
Matt Buckley
80b2d761ba Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into main 2024-04-29 19:42:15 +00:00
Android Build Coastguard Worker
3407892dfa Snap for 11772614 from 0bd44ea059 to 24Q3-release
Change-Id: Ic9362c2ce2c465518bd29f6015da63ef34d70fe2
2024-04-27 01:02:59 +00:00
Carter Hsu
c4b8f8b977 audio: remove unused device
Bug: 337191827
Test: build pass
Change-Id: Iddcd4b9faa7b491974db36f1de79821d37fc2528
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-04-27 02:00:39 +08:00
Thomas Girardier
0bd44ea059 Merge "Revert^2 "BT: set system property for Bluetooth Auto On"" into main 2024-04-26 04:02:59 +00:00
Thomas Girardier
c3da58cd2a Revert^2 "BT: set system property for Bluetooth Auto On"
2e7c13a9b5

Change-Id: Ibae2fb2e4e14dc07eefb7b78b647608f5845b3f1
2024-04-25 16:19:08 +00:00
Android Build Coastguard Worker
2f7ec9270c Snap for 11740859 from 1e99ffa18b to 24Q3-release
Change-Id: I2f70a8bbc72a237f9e543a4bcf18f03254f5ec33
2024-04-20 01:02:46 +00:00
Treehugger Robot
1e99ffa18b Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:46 +00:00
Cyan_Hsieh
d3ebe379f9 Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I503fbd2495390284958280bda7dad7b80395d9b7
2024-04-18 16:04:10 +08:00
Android Build Coastguard Worker
559b633493 Snap for 11728787 from afc9f7b790 to 24Q3-release
Change-Id: Ia28585945619ca62ef73e84fa801c7daf87193ff
2024-04-17 23:04:14 +00:00
Poomarin Phloyphisut
afc9f7b790 [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: I0759333c2fe51c334e0d64681e75551f9239c614
2024-04-17 04:16:25 +00:00
Android Build Coastguard Worker
9185298f68 Snap for 11722130 from 3e27193e8e to 24Q3-release
Change-Id: I2f970990b48b631c707f56b07dde9811758adecc
2024-04-16 23:03:06 +00:00
Charles Yo
3e27193e8e Merge "Switch kernel directory to control by build flag" into main 2024-04-16 01:34:49 +00:00
Android Build Coastguard Worker
a6fe5e6884 Snap for 11710546 from 4d2fa59bc3 to 24Q3-release
Change-Id: Iba29d296112897f113cc6489b1ad0edb78f83f8a
2024-04-13 01:03:10 +00:00
Cyan_Hsieh
034f842e84 Switch kernel directory to control by build flag
Bug: 309749142
Change-Id: I76bf00c8009ceaf70a26dc837e75f1c574f4f75f
2024-04-12 18:35:59 +08:00
Mina Granic
4d2fa59bc3 Merge "Enable landscape_to_portrait camera feed rotate-and-crop for Tangor." into main 2024-04-12 09:23:15 +00:00
Mina Granic
870addb6bc Enable landscape_to_portrait camera feed rotate-and-crop for Tangor.
Bug: 332496523
Test: manual

Change-Id: I7db652d48201b931413ac1428850d1b64090e2e4
2024-04-12 09:23:05 +00:00
Android Build Coastguard Worker
657605e4a7 Snap for 11697857 from 66ece29e0a to 24Q3-release
Change-Id: Ief63989beb4287758214d2413cd4b014ebadcf2b
2024-04-10 23:02:54 +00:00
Jimmy Shiu
66ece29e0a powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: b50b9cde68
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/26902699

Change-Id: I41c7df0432d74139d5bf13c92ca02e56f7ac6a5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:23 +00:00
Jimmy Shiu
b50b9cde68 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I8c90fe98ccc19e88596eb506876edf1b66132a7b
2024-04-10 11:45:08 +00:00
Android Build Coastguard Worker
a078ec46fc Snap for 11691493 from ae44830a40 to 24Q3-release
Change-Id: I4851229c4d59dd3087326a0c731a1bbe9301f367
2024-04-09 23:03:14 +00:00
Poompatai Puntitpong
ae44830a40 Merge "Revert "BT: set system property for Bluetooth Auto On"" into main 2024-04-09 05:46:11 +00:00
Poompatai Puntitpong
2e7c13a9b5 Revert "BT: set system property for Bluetooth Auto On"
Revert submission 26454366-bton-tablets

Reason for revert: It causes power usage bump and lower user satisfaction

Reverted changes: /q/submissionid:26454366-bton-tablets

Change-Id: Iabc1aac3829909df31292e2b15fa183febf7a741
2024-04-08 14:07:40 +00:00
Android Build Coastguard Worker
d528df2874 Snap for 11672362 from b621d69c03 to 24Q3-release
Change-Id: Id5667d9060eda02749a91d6b3cb2257ee1e1f947
2024-04-04 23:02:52 +00:00
Android Build Coastguard Worker
346fd27480 Snap for 11666018 from 823aa61aaa to 24Q3-release
Change-Id: I9f7c8389a45f367e0bcdadee280f97afa9797c9f
2024-04-03 23:02:45 +00:00
Baligh Uddin
b621d69c03 Merge "Revert "Switch Tangorpro to use v/g_d/r/phones/tangorpro/release_config_map.mk"" into main 2024-04-03 21:32:00 +00:00
Ben Murdoch
75ce8fadef Revert "Switch Tangorpro to use v/g_d/r/phones/tangorpro/release_config_map.mk"
This reverts commit c35512774f.

Reason for revert: breaks *-without-vendor build (release config is under vendor/ tree)

Change-Id: I608deff25ab5a68f9b1443899f3382dabb8afa9f
2024-04-03 17:07:30 +00:00
Treehugger Robot
ea79f4b33a Merge "Switch Tangorpro to use v/g_d/r/phones/tangorpro/release_config_map.mk" into main 2024-04-03 16:15:53 +00:00
Jimmy Shiu
823aa61aaa powerhint: set uclampmin_init value for applying CPU Load boost am: c68f4c88c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/26809467

Change-Id: I14d0ab3cd86f163d9d6d442cf0a9e6ee7174d4dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:19:43 +00:00
Jimmy Shiu
c68f4c88c7 powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Test: Manual Test
Change-Id: I37c7c084e286d8ab544ef20a723974838af4d6c8
2024-04-03 01:04:41 +00:00
Ben Murdoch
c35512774f Switch Tangorpro to use v/g_d/r/phones/tangorpro/release_config_map.mk
Bug: 332548096
Test: Build & Flash
Change-Id: I2954c7a3f2ccb739e7954333da122ed4204c3eb2
2024-04-02 19:27:27 +00:00
Android Build Coastguard Worker
632fe721d1 Snap for 11654651 from c3e3b8d64e to 24Q3-release
Change-Id: I5d226685c930ad5f1adb87b91ff70a5eaf44292c
2024-04-01 23:02:37 +00:00
Treehugger Robot
c3e3b8d64e Merge "audio: remove non-supported analog headset" into main 2024-04-01 08:54:54 +00:00
vincenttew
9f5df0bbf9 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: If6b2560bca230e7c6a3132696761edc0e3030329
Signed-off-by: vincenttew <vincenttew@google.com>
2024-03-27 11:29:41 +08:00
Android Build Coastguard Worker
cc54167bf1 Snap for 11623990 from 5d8bcc3d52 to 24Q3-release
Change-Id: I994e23a8b479c9c2676df843b64913c0187c3a52
2024-03-25 23:02:59 +00:00
Cyan_Hsieh
5d8bcc3d52 Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: I5f17634c1bce1f5d184b50092a5c419c66e8f449
2024-03-21 18:20:04 +08:00
Android Build Coastguard Worker
f6e23b787f Snap for 11591048 from 49ce0f99f5 to 24Q3-release
Change-Id: Ie0d3bf148c38e83001538dbb697a9e945a0c763d
2024-03-18 23:02:59 +00:00
Nina Chen
49ce0f99f5 Merge "Change the rule to specify kernel directory with release configurations" into main 2024-03-18 03:47:38 +00:00
Android Build Coastguard Worker
5c1e2295a8 Snap for 11585034 from 809bf6f774 to 24Q3-release
Change-Id: I9cedeecbd560ae1ddd26c605a65d04337ea0bdb1
2024-03-16 01:03:15 +00:00
Nina Chen
c203472864 Change the rule to specify kernel directory with release configurations
Bug: 326879772
Change-Id: I95255c3d333aad3ff5dca0ac6ca873b190346571
Signed-off-by: Nina Chen <sheaunic@google.com>
2024-03-15 14:17:03 +08:00
Tristan Ho
809bf6f774 Merge "Add Pokebowl definition" into main 2024-03-15 03:06:00 +00:00
Carter Hsu
bcef5e2c3f audio: disable the audio proxy hal(mediashell)
Bug: 329351565
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: I9ce27a764a09b8d878d4d14ed956205000355610
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-03-15 00:15:48 +00:00
Android Build Coastguard Worker
7430cd8a64 Snap for 11545716 from e33788bdde to 24Q3-release
Change-Id: I201770e7eacd1e0f3eace9e46fb7757bef87d5f6
2024-03-08 00:02:35 +00:00
Android Build Coastguard Worker
3836ec433d Snap for 11545716 from 8c3609efcc to 24Q3-release
Change-Id: Ib2b2154b1569b2d544c2f0276591c810d70be579
2024-03-08 00:02:34 +00:00
Xin Li
e33788bdde [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 2994007654 -s ours am: ace7a66f13 -s ours
am skip reason: Merged-In I91a10a027ae1d1bab87ba89bdbba246d9ca8876b with SHA-1 de3b6df51d is already in history

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

Change-Id: Id72e3408e690da889154d219883a0a5f573070fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:49 +00:00
Xin Li
8c3609efcc [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 541afa711a -s ours am: 390b23dca7 -s ours
am skip reason: Merged-In Ia40a99a6d324044f8f90b7907501715431ccdd0c with SHA-1 4c090bf1ed is already in history

Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/2990108

Change-Id: I133052b7d2fdd12e75940ee52d9533afd0b2f045
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:32 +00:00
Xin Li
ace7a66f13 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 2994007654 -s ours
am skip reason: Merged-In I91a10a027ae1d1bab87ba89bdbba246d9ca8876b with SHA-1 de3b6df51d is already in history

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

Change-Id: I8ead5cba132de6c56341bd0702be6977e4675a70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:24 +00:00
Xin Li
390b23dca7 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 541afa711a -s ours
am skip reason: Merged-In Ia40a99a6d324044f8f90b7907501715431ccdd0c with SHA-1 4c090bf1ed is already in history

Original change: https://android-review.googlesource.com/c/device/google/tangorpro/+/2990108

Change-Id: I3fdeb92e40bf2d0257a8302d207df3d5da0627e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:07 +00:00
Android Build Coastguard Worker
94ab8f1592 Snap for 11540345 from 0159d7fd54 to 24Q3-release
Change-Id: I12d3824599f98d258dcffbdf2b85dcd087aec418
2024-03-07 01:52:24 +00:00
Xin Li
2994007654 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I91a10a027ae1d1bab87ba89bdbba246d9ca8876b
Change-Id: I6e5666560b20cc3d29ba527dd6711ed4865118b3
2024-03-06 09:29:51 -08:00
Xin Li
541afa711a Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: Ia40a99a6d324044f8f90b7907501715431ccdd0c
Change-Id: Ic3a797c843cedba077451095d9ee36b4aabaf260
2024-03-06 09:29:50 -08:00
Poompatai Puntitpong
0159d7fd54 Merge "BT: set system property for Bluetooth Auto On" into main 2024-03-06 02:38:17 +00:00
Poompatai Puntitpong
a0d97f5a9f BT: set system property for Bluetooth Auto On
bug: 328185738
Test: m
Change-Id: I714b5358f0b04c6f1f8e948a0ede47aa82b7f80d
2024-03-05 10:16:42 +00:00
Android Build Coastguard Worker
2326eaab62 Snap for 11517216 from 2c9cacfb28 to 24Q3-release
Change-Id: Ic7c278c6e319a1bd69995216e28ebd7482638875
2024-03-01 00:03:22 +00:00
Ravi Jain
8bb8258ea5 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: If949310a0721177a5a860f9f0d46698982d1279e
2024-02-29 14:56:10 +00:00
Android Build Coastguard Worker
e74e4e964a Snap for 11492556 from f69dfd5994 to 24Q3-release
Change-Id: I3e7f7b1f0c71f50ba0df8480706a8cf39aa73d94
2024-02-24 02:17:20 +00:00
Tristan Ho
7700d78617 Add Pokebowl definition
- feature to turn on/off support_pokebowl in aoc_control.c
 - TUNING_COMPONEBT definition
 - including *.so in build

 To use pokebowl, please unmark the 3 lines with pokebowl keyword
 The pokebowl definition will take effect after ag/26138938 is submitted

Bug:319613487
Test: mm

Change-Id: Ibffc0a7dc37c5dbc42fdadd251f47ea37bd4b01a
Signed-off-by: Tristan Ho <tristanho@google.com>

Change-Id: I9fbac68cea1b43d9fb54ee49e2a3018e08f28cfe
2024-02-20 10:39:41 +00:00
Jacky Liu
567253e387 Update i2c device paths
Remove entries which are already in gs201-sepolicy.

Bug: 323447554
Test: Boot to home
Change-Id: I3643ce79da93b8873843a06eb86a5af5c26df449
2024-02-06 16:15:32 +00:00
Xin Li
d1c2edb86d [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: de3b6df51d -s ours
am skip reason: Merged-In Ia58c0e4b3378f63aaafd2317353ca2779fab14d7 with SHA-1 ad3e118f4f is already in history

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

Change-Id: Id98e2d3df5232a51be5d36481ec734388fab55d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:36 +00:00
Jacky Liu
af4ca9a019 Add additional rfkill path for bluetooth
Add another possible rfkill path for bluetooth.

Test: Enable bluetooth successfully
Bug: 316820336
Change-Id: I444b083a5dd985f98e507311ee79d22ff172ee16
2024-01-23 18:19:36 +08:00
Xin Li
de3b6df51d Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: Ia58c0e4b3378f63aaafd2317353ca2779fab14d7
Change-Id: I91a10a027ae1d1bab87ba89bdbba246d9ca8876b
2024-01-17 22:13:21 -08:00
Xin Li
c7be07805c [automerger skipped] Merge Android 14 QPR1 am: ad50b1a30f -s ours am: 07c76a516e -s ours am: dec61b7213 -s ours
am skip reason: Merged-In Icc5989bb85aa25d28c8b44f90c76a7a95b9b396e with SHA-1 4dc38075c2 is already in history

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

Change-Id: I73a7dc2ebed78005d4ff5f01170a60e5da5bfa81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:57:56 +00:00
Xin Li
dec61b7213 [automerger skipped] Merge Android 14 QPR1 am: ad50b1a30f -s ours am: 07c76a516e -s ours
am skip reason: Merged-In Icc5989bb85aa25d28c8b44f90c76a7a95b9b396e with SHA-1 4dc38075c2 is already in history

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

Change-Id: I8112639c8a8daed892a0beb220a1bda65ed17c00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:02:43 +00:00
Xin Li
07c76a516e [automerger skipped] Merge Android 14 QPR1 am: ad50b1a30f -s ours
am skip reason: Merged-In Icc5989bb85aa25d28c8b44f90c76a7a95b9b396e with SHA-1 4dc38075c2 is already in history

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

Change-Id: I71cfefaa62fcf04b796fa8b55b7d32362b17d99f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:16:54 +00:00
Xin Li
ad50b1a30f Merge Android 14 QPR1
Merged-In: Icc5989bb85aa25d28c8b44f90c76a7a95b9b396e
Bug: 315507370
Change-Id: I950dc20eef63eda80b7c490b81606c177e30fcbe
2023-12-08 13:13:55 -08:00
Wilson Sung
ad3e118f4f Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 312375728
Change-Id: Ia58c0e4b3378f63aaafd2317353ca2779fab14d7
2023-11-21 07:41:36 +00:00
Wilson Sung
f074293d7b Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 312069156
Change-Id: I8c6fd9908e126e23ced56fccea3275a0bddb4311
2023-11-20 03:15:04 +00:00
Xin Li
c8428611f1 [automerger skipped] Merge 10952656 am: 4dc38075c2 -s ours am: ea43994fb5 -s ours
am skip reason: Merged-In I7652eac97c248e39787d715e4bc8fa529db97aec with SHA-1 ab9aa7563e is already in history

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

Change-Id: Ic71c1d65b71c53841ab5e2d83d70d0ed0f9c7415
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 23:54:57 +00:00
Xin Li
ea43994fb5 [automerger skipped] Merge 10952656 am: 4dc38075c2 -s ours
am skip reason: Merged-In I7652eac97c248e39787d715e4bc8fa529db97aec with SHA-1 ab9aa7563e is already in history

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

Change-Id: I6d70496a40d8a1a47e8f7fac46de537ac0dcd5bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 18:48:11 +00:00
Xin Li
4dc38075c2 Merge 10952656
Merged-In: I7652eac97c248e39787d715e4bc8fa529db97aec
Change-Id: Icc5989bb85aa25d28c8b44f90c76a7a95b9b396e
2023-10-17 10:08:12 -07:00
Wilson Sung
4d67b2011b Move kernel.te to gs201-sepolicy
Bug: 305880925
Fix: 305880925
Change-Id: Ie387dc9c424e41321e2ffce807f7245b6e189efc
2023-10-17 07:22:58 +00:00
Wilson Sung
f4bf916b05 Supress kernel avc log before SELinux initialized
Fix: 305600863
Change-Id: I795c7cd3b1df318a9164d0e3ec15d2930ecd7e21
2023-10-17 04:03:20 +00:00
Wilson Sung
4320e842e1 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 305600863
Change-Id: I7922325ac2ae83a2974a00bdf7a62b96f9b328fd
2023-10-16 12:20:36 +08:00
Xin Li
eb74c009b2 [automerger skipped] Merge Android 14 am: bc8e0e9a26 -s ours am: 3178755574 -s ours am: 921a9f1f5e -s ours am: 5b42f8faef -s ours am: ab9aa7563e -s ours
am skip reason: Merged-In I0650636d7177ea7748f3690eef98ccb47a1eaf1b with SHA-1 468e83b490 is already in history

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

Change-Id: Id7f0678e455e35c1a45602a8aafe28cec47ee9af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-07 00:20:38 +00:00
Xin Li
ab9aa7563e [automerger skipped] Merge Android 14 am: bc8e0e9a26 -s ours am: 3178755574 -s ours am: 921a9f1f5e -s ours am: 5b42f8faef -s ours
am skip reason: Merged-In I0650636d7177ea7748f3690eef98ccb47a1eaf1b with SHA-1 468e83b490 is already in history

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

Change-Id: I7652eac97c248e39787d715e4bc8fa529db97aec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 11:01:08 +00:00
Xin Li
5b42f8faef [automerger skipped] Merge Android 14 am: bc8e0e9a26 -s ours am: 3178755574 -s ours am: 921a9f1f5e -s ours
am skip reason: Merged-In I0650636d7177ea7748f3690eef98ccb47a1eaf1b with SHA-1 468e83b490 is already in history

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

Change-Id: Ifc0b804785347cf04ea96a2762cf824803562343
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 09:51:17 +00:00
Xin Li
921a9f1f5e [automerger skipped] Merge Android 14 am: bc8e0e9a26 -s ours am: 3178755574 -s ours
am skip reason: Merged-In I0650636d7177ea7748f3690eef98ccb47a1eaf1b with SHA-1 468e83b490 is already in history

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

Change-Id: I9a68d4829ebeea66400f4487bd5c3a910ac36890
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 08:59:38 +00:00
Xin Li
3178755574 [automerger skipped] Merge Android 14 am: bc8e0e9a26 -s ours
am skip reason: Merged-In I0650636d7177ea7748f3690eef98ccb47a1eaf1b with SHA-1 468e83b490 is already in history

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

Change-Id: Ic795e41abbf2afbffa083bf527c3a14a00fce63b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 07:52:37 +00:00
Xin Li
bc8e0e9a26 Merge Android 14
Bug: 298295554
Merged-In: I0650636d7177ea7748f3690eef98ccb47a1eaf1b
Change-Id: I4b10d410f2c326ae8ae9c5c91b7374068340b562
2023-10-05 15:36:53 -07:00
Xin Li
47ca22793b [automerger skipped] Merge Android U (ab/10368041) am: f417fa45b6 -s ours am: 7d5ceaea4c -s ours am: 7327b27d0c -s ours am: 776ee694e7 -s ours
am skip reason: Merged-In Icea535234dc31f0655bfd551f2cc2f0764646fde with SHA-1 6d0df30675 is already in history

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

Change-Id: I72b8367544db9d33a71054d2e1f87ad6cf01c995
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 20:38:32 +00:00
Xin Li
776ee694e7 [automerger skipped] Merge Android U (ab/10368041) am: f417fa45b6 -s ours am: 7d5ceaea4c -s ours am: 7327b27d0c -s ours
am skip reason: Merged-In Icea535234dc31f0655bfd551f2cc2f0764646fde with SHA-1 6d0df30675 is already in history

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

Change-Id: I5a6927663dbdc162270aa066c9e9d1be323245b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 01:11:27 +00:00
Xin Li
7327b27d0c [automerger skipped] Merge Android U (ab/10368041) am: f417fa45b6 -s ours am: 7d5ceaea4c -s ours
am skip reason: Merged-In Icea535234dc31f0655bfd551f2cc2f0764646fde with SHA-1 6d0df30675 is already in history

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

Change-Id: I63483bd11f1fd9d02de1ec34d8d2e4cc4d6d57ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 00:35:43 +00:00
Xin Li
7d5ceaea4c [automerger skipped] Merge Android U (ab/10368041) am: f417fa45b6 -s ours
am skip reason: Merged-In Icea535234dc31f0655bfd551f2cc2f0764646fde with SHA-1 6d0df30675 is already in history

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

Change-Id: Id5132c1746f67a7c91865d8b7f9779b628886ff7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-28 23:59:43 +00:00
Matt Buckley
73026c0748 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: I40f4d41e089aef21bcf1b762376e07670dcbc4f5
2023-08-19 05:42:48 +00:00
Xin Li
f417fa45b6 Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: Icea535234dc31f0655bfd551f2cc2f0764646fde
Change-Id: Ida3d5d7569a098018e118d2ed4f75459af49e6da
2023-08-14 15:36:11 -07:00
eddielan
8426d5feb7 Correct fps sepolicy error am: 1ef0169b1f am: 2788239ea6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/24327051

Change-Id: If47f62e61f8c538c632207d5e9ae5f2427b48722
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 11:43:56 +00:00
eddielan
2788239ea6 Correct fps sepolicy error am: 1ef0169b1f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/24327051

Change-Id: I00326f25c044b29f4a07f659f75ddd7d9f98c438
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 11:02:05 +00:00
eddielan
1ef0169b1f 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: I987349032bdf7b79e1985a321949987860a08098
2023-08-08 17:37:51 +08:00
Nikhil Kumar
f158e2bde3 Tracked SELinux denials for HSUM tangorpro mode am: 076dee1318 am: 77bdfa9251
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23845801

Change-Id: I3198e8af9fab2cf9c45aaa64105978fe22a3cf7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 22:44:52 +00:00
Nikhil Kumar
77bdfa9251 Tracked SELinux denials for HSUM tangorpro mode am: 076dee1318
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23845801

Change-Id: I9159b1e332c416399adb8a036b8f7e0ae837e965
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 22:04:56 +00:00
Nikhil Kumar
076dee1318 Tracked SELinux denials for HSUM tangorpro mode
Bug: 289358324
Test: Run the boot health test to verify if the Denials are ignored.
Change-Id: I74063ed1634dc4b9bff524203e537b0dfc36b02e
2023-06-30 16:17:50 +01:00
changyan
7d9914d66e Remove the tracking_denials entry as the issue
Bug: 275001805
Test: SELinuxUncheckedDenialBootTest
Change-Id: I0b15523fdbfb6d96467719a45a9e5c4f46715cc5
2023-06-20 06:46:36 +00:00
Luis Delgado de Mendoza Garcia
15b36c1509 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: 5f1b0a9ba6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: Ida5810b39e5a7b67141564b28577f883b48b5506
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 18:08:22 +00:00
Adam Shih
84e2bd8231 remove obsolete entry
Bug: 239115418
Test: adb bugreport
Change-Id: I5bc086c3cf5dd742307109f22bf7e9ee154a3d72
2023-05-31 01:45:12 +00:00
Luis Delgado de Mendoza Garcia
5f1b0a9ba6 Remove bugmap for aoc sepolicy error. am: 468e83b490
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I2f94f91b0042b2569e40d5c22e29e29d20ca4774
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 04:32:30 +00:00
Luis Delgado de Mendoza Garcia
da31a152f6 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: b71b1e2ae2 am: 866b1d7627 am: e002e98e54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I035f8046c5875572a9ea93fb3acc4d9a31647921
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 22:45:09 +00:00
Luis Delgado de Mendoza Garcia
ce1f923adb Remove bugmap for aoc sepolicy error. am: 468e83b490 am: 6d0df30675 am: c0fcb086db am: 296f6aa1c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I83f5c1ad6c27cca9d4c98b131b458d0b74730a09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 22:32:51 +00:00
Luis Delgado de Mendoza Garcia
9e280461f0 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: b71b1e2ae2 am: c48ffc1632 am: 6492b30156
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I8211143f80cc1c202a1987832c5f48150d9dac91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 22:18:17 +00:00
Luis Delgado de Mendoza Garcia
e002e98e54 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: b71b1e2ae2 am: 866b1d7627
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: Iad08e3f839d2ee6185cee3da41c97b37500a78fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 20:17:51 +00:00
Luis Delgado de Mendoza Garcia
296f6aa1c2 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: 6d0df30675 am: c0fcb086db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I2acdc8dddc42125611b8bd2c23a2037ece41f53f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 20:09:12 +00:00
Luis Delgado de Mendoza Garcia
6492b30156 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: b71b1e2ae2 am: c48ffc1632
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: Ifac657d50366deb8e5c4760e284871ac0890fc59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 20:08:14 +00:00
Luis Delgado de Mendoza Garcia
866b1d7627 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: b71b1e2ae2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: Iad66dcef9d324960cfac6a9431adcf8644c2f6ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 19:03:15 +00:00
Luis Delgado de Mendoza Garcia
c0c090dba1 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: e03684088d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I94bcc634084db35b25077285380c0fdb8fec02f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 19:03:11 +00:00
Luis Delgado de Mendoza Garcia
c0fcb086db Remove bugmap for aoc sepolicy error. am: 468e83b490 am: 6d0df30675
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I7f07c37a0f8c440cad1afa724ef7ff87069d6c89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 19:03:02 +00:00
Luis Delgado de Mendoza Garcia
c48ffc1632 Remove bugmap for aoc sepolicy error. am: 468e83b490 am: b71b1e2ae2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I44bd5c2c759c32e9dfa5c8148c238c00286d9fbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 19:02:33 +00:00
Luis Delgado de Mendoza Garcia
6d0df30675 Remove bugmap for aoc sepolicy error. am: 468e83b490
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: Icea535234dc31f0655bfd551f2cc2f0764646fde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 18:30:06 +00:00
Luis Delgado de Mendoza Garcia
b71b1e2ae2 Remove bugmap for aoc sepolicy error. am: 468e83b490
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: Ic9f4d215ec1fd5cd511a5b182a1243ac4ffb95f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 18:28:39 +00:00
Luis Delgado de Mendoza Garcia
e03684088d Remove bugmap for aoc sepolicy error. am: 468e83b490
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23263337

Change-Id: I31ff4e7719338726e473ea21a69f8b1918f0627d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 18:28:15 +00:00
Luis Delgado de Mendoza Garcia
468e83b490 Remove bugmap for aoc sepolicy error.
The sepolicy error was fixed by adding the necessary entries to
the gs201 sepolicy. Removing the bug map.

Bug: 281814892
Test: N/A
Change-Id: I0650636d7177ea7748f3690eef98ccb47a1eaf1b
2023-05-16 08:54:29 -07:00
Adam Shih
282e1ed30e Merge "introduce a new sepolicy owner" 2023-05-15 02:11:14 +00:00
Adam Shih
8bfc8ce40c introduce a new sepolicy owner
Bug: 281631102
Test: N/A
Change-Id: Ia857a34560dc7709effba2ccb4d83052c46b46dc
2023-05-12 02:29:41 +00:00
Wilson Sung
056465beab Update SELinux error am: 6a684e0fcc am: 11825fdf95 am: ea154c2063 am: 92265f47c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: I7e4dbfb3166af1b9d527bbc3ec3b154ce0af7d8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 05:37:17 +00:00
Wilson Sung
d7cc129bcd Update SELinux error am: 6a684e0fcc am: 11825fdf95 am: aaa1b13e82 am: 9e6f1fd157
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: Id9afcf0cf4ceeb84afb1e6fd85139478de294339
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 04:55:44 +00:00
Wilson Sung
9666eb4a2d Update SELinux error am: 6a684e0fcc am: 5563e75d72 am: cf1243a7da am: a148e4406d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: Ie4d8591e4fbdde65887e8ab5783effc4dafa83e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 04:34:46 +00:00
Wilson Sung
92265f47c9 Update SELinux error am: 6a684e0fcc am: 11825fdf95 am: ea154c2063
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: Ie4a361cc909bcf0ed047b15233c889f6f44efff0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 02:21:28 +00:00
Wilson Sung
9e6f1fd157 Update SELinux error am: 6a684e0fcc am: 11825fdf95 am: aaa1b13e82
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: I5b50531bc7379586952a883a2f0d3329b6b416ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 02:20:49 +00:00
Wilson Sung
ea154c2063 Update SELinux error am: 6a684e0fcc am: 11825fdf95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: I0c2328e138fa679fe431513e31b4e8f87fee0ec3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 01:35:30 +00:00
Wilson Sung
aaa1b13e82 Update SELinux error am: 6a684e0fcc am: 11825fdf95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: Iec9958402a0a3a64f74573bfa19a302addf98429
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 01:34:41 +00:00
Wilson Sung
a148e4406d Update SELinux error am: 6a684e0fcc am: 5563e75d72 am: cf1243a7da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: Iac83468037f0101a1de5c50a1308aab7c09f74c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 00:27:15 +00:00
Wilson Sung
700341413d Update SELinux error am: 6a684e0fcc am: c001123704
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: I4e1bd155fe0b949b158ae9bd707b5da7ef25164d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 23:51:17 +00:00
Wilson Sung
cf1243a7da Update SELinux error am: 6a684e0fcc am: 5563e75d72
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: Ieed269b178062b98b9262179c9edc26af5dd617f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 23:48:13 +00:00
Wilson Sung
5563e75d72 Update SELinux error am: 6a684e0fcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: I21f22cdf487337ab7fd21b2caa4760a4fc62291e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 22:58:09 +00:00
Wilson Sung
c001123704 Update SELinux error am: 6a684e0fcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: I7240da9f715708b741142473d1bf159b172ab8cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 22:57:49 +00:00
Wilson Sung
11825fdf95 Update SELinux error am: 6a684e0fcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/23123011

Change-Id: Icb34b3ba1974c83d72ba21fb9d1e86898056b642
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 22:55:25 +00:00
Wilson Sung
6a684e0fcc Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 281814892
Fix: 281663915
Change-Id: Ib2cd9aa4e42441c1d7bdb9c7df20f7ab2108cda4
2023-05-10 12:05:04 +00:00
matthuang
2675b0e28f [automerger skipped] Allow sensor hal to access uhid devices. am: 7e7ab2d604 am: c31a17278a -s ours am: 82c89ad06f -s ours am: 21af7c239b -s ours
am skip reason: Merged-In I2031c167f242b10b0a03076f0bc4184dd21e2cd5 with SHA-1 306f6c5e8c is already in history

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

Change-Id: I3349ec9164b3d932274ee0eb4845a960f73c2e85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 02:04:14 +00:00
matthuang
21af7c239b [automerger skipped] Allow sensor hal to access uhid devices. am: 7e7ab2d604 am: c31a17278a -s ours am: 82c89ad06f -s ours
am skip reason: Merged-In I2031c167f242b10b0a03076f0bc4184dd21e2cd5 with SHA-1 306f6c5e8c is already in history

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

Change-Id: Icdeae02f550ba89defd6292a248e96a5085b9722
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 00:07:30 +00:00
matthuang
09973822a4 [automerger skipped] Allow sensor hal to access uhid devices. am: 7e7ab2d604 am: c31a17278a -s ours am: 82c89ad06f -s ours am: 1527b47070 -s ours
am skip reason: Merged-In I2031c167f242b10b0a03076f0bc4184dd21e2cd5 with SHA-1 306f6c5e8c is already in history

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

Change-Id: I218cd240a0607ce31afad0ba3bb2b86289a33dcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 22:05:10 +00:00
matthuang
1527b47070 [automerger skipped] Allow sensor hal to access uhid devices. am: 7e7ab2d604 am: c31a17278a -s ours am: 82c89ad06f -s ours
am skip reason: Merged-In I2031c167f242b10b0a03076f0bc4184dd21e2cd5 with SHA-1 306f6c5e8c is already in history

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

Change-Id: I50bdebf28a8cedefe796d6a186d61ea60f1fe0f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 20:59:26 +00:00
matthuang
82c89ad06f [automerger skipped] Allow sensor hal to access uhid devices. am: 7e7ab2d604 am: c31a17278a -s ours
am skip reason: Merged-In I2031c167f242b10b0a03076f0bc4184dd21e2cd5 with SHA-1 306f6c5e8c is already in history

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

Change-Id: I32129f8db32c9b9285cc6a44add2f68ec7002014
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:16:56 +00:00
matthuang
c31a17278a Allow sensor hal to access uhid devices. am: 7e7ab2d604
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22163454

Change-Id: Id8e8918fc05caab71376e1da997e64fe1bff7bad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:29:14 +00:00
Wilson Sung
b23bcd5563 Update SELinux error am: 5acd6da793 am: b5a80c33f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22236037

Change-Id: Iab87e41632c917bdc0f6f19a33e35ffcff93b65a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:51:46 +00:00
Wilson Sung
99914f96e0 Update SELinux error am: 5acd6da793 am: 5abdd96451
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22236037

Change-Id: Ibb7789fa8f564cdd55e5efaf567fc0c7b7fb3c88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:51:31 +00:00
Wilson Sung
5abdd96451 Update SELinux error am: 5acd6da793
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22236037

Change-Id: I835ab82a42372389e9b143fa98c4f04064cfe0bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:24:18 +00:00
Wilson Sung
b5a80c33f3 Update SELinux error am: 5acd6da793
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22236037

Change-Id: I40b820ccf0c2c98b27245740eb2083376b8d390f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:24:13 +00:00
Wilson Sung
5acd6da793 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 275001805
Change-Id: Ia930f873d1471bf38416e74b7c1dcf23da0470c0
2023-03-24 11:12:09 +08:00
matthuang
7e7ab2d604 Allow sensor hal to access uhid devices.
Bug: 262056923
Bug: 274537630
Test: Screen is off when put a magnet close to hall sensor.
Change-Id: I2031c167f242b10b0a03076f0bc4184dd21e2cd5
Merged-In: I2031c167f242b10b0a03076f0bc4184dd21e2cd5
2023-03-22 03:45:38 +00:00
Marcello Galhardo
09eac9ef10 Allow platform_app:systemui to access system_update info am: 7e59945dbb am: ddf255dc1e am: 0b98c52dfc am: 67f232aa2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22086254

Change-Id: I887a3546e956d4ba488f6d2e5a13c27a580574da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 23:49:36 +00:00
Marcello Galhardo
53d7d0db28 Allow platform_app:systemui to access system_update info am: 7e59945dbb am: ddf255dc1e am: 0b98c52dfc am: 9c52389f67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22086254

Change-Id: I6d1c68f1d951859e35d11cb84a189ddf65ffe47d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 23:48:56 +00:00
Marcello Galhardo
67f232aa2f Allow platform_app:systemui to access system_update info am: 7e59945dbb am: ddf255dc1e am: 0b98c52dfc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22086254

Change-Id: I54088cd2aecf5b287ee7263ce35fec71f660cc4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 23:11:28 +00:00
Marcello Galhardo
9c52389f67 Allow platform_app:systemui to access system_update info am: 7e59945dbb am: ddf255dc1e am: 0b98c52dfc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22086254

Change-Id: I60d6a4837cbc8b8e5acd7d7fa3523d95da41b16e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 23:10:46 +00:00
Marcello Galhardo
0b98c52dfc Allow platform_app:systemui to access system_update info am: 7e59945dbb am: ddf255dc1e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22086254

Change-Id: Idb27dcfcf2d900cd9da0d1c7d15b91e7fc61e005
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 22:33:23 +00:00
Marcello Galhardo
ddf255dc1e Allow platform_app:systemui to access system_update info am: 7e59945dbb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/22086254

Change-Id: I655ec7bf295f1a77f8af89546d2190930bfaa3ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 21:56:23 +00:00
Marcello Galhardo
7e59945dbb Allow platform_app:systemui to access system_update info
Test: manual

Bug: 273684235
Change-Id: I516e792e926827471b04b336038fab1b1cd540ec
2023-03-15 11:45:10 +00:00
leochuang
248a2f85f2 Update SELinux error am: a32c0da2f6 am: d4d4a15644
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21533884

Change-Id: I7b01d062b86b14e31397f9a1a3bee078e3a037c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 02:07:27 +00:00
leochuang
d4d4a15644 Update SELinux error am: a32c0da2f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21533884

Change-Id: I689cdd744849121ebb4385de1e6798b30b13d2f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 01:11:52 +00:00
leochuang
d2a8e9928b Update SELinux error am: a32c0da2f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21533884

Change-Id: I0b2a4a48e6de1f79375d20e4ce173f2d59bdc14f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 01:10:38 +00:00
leochuang
a32c0da2f6 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 264823366
Change-Id: I9b6c67192c19d74429606653cd322a4686a21e4d
2023-02-22 10:30:21 +08:00
Super Liu
a026b453c4 Remove unnecessary denials.
Bug: 263430971
Test: TreeHugger build.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Icd6a9e1ba2f779ad20be44e186919cb621705c21
2023-02-14 08:47:16 +00:00
eddielan
efb19b6d76 fingerprint: Allow fps HAL to access sysfs_batteryinfo am: add3a60535 am: bb3aff7cb7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21309530

Change-Id: I5d6455863aa95faaf57d10459d68937ed86a794d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 05:49:17 +00:00
eddielan
bb3aff7cb7 fingerprint: Allow fps HAL to access sysfs_batteryinfo am: add3a60535
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21309530

Change-Id: I59fa51da0877d90c7a35f87513a106fd98d1c17d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 05:08:27 +00:00
eddielan
add3a60535 fingerprint: Allow fps HAL to access sysfs_batteryinfo
avc: denied { search } for name="dock" dev="sysfs" ino=68869
scontext=u:r:hal_fingerprint_capacitance:s0
tcontext=u:object_r:sysfs_batteryinfo:s0
tclass=dir permissive=1

Bug: 268158443
Test: make selinux_policy -j112
Change-Id: I28a50a68019bdf474df4de27d31df06ec13b2a7a
2023-02-07 17:52:35 +08:00
matthuang
306f6c5e8c Allow sensor hal to access uhid devices.
Bug: 262056923
Test: Screen is off when put a magnet close to hall sensor.
Change-Id: I2031c167f242b10b0a03076f0bc4184dd21e2cd5
2023-01-31 17:30:19 +08:00
Mariia Sandrikova
c81e6d423f [automerger skipped] Merge "DO NOT MERGE Revert "Revert "Clean up debug.sf.ignore_hwc_physical_display_or..."" into tm-qpr-dev am: 1dacfd5541 am: ea86adbe43 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I16ae8c24997ca05f09d4f94746d06e9303e543fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 19:30:23 +00:00
Mariia Sandrikova
83f511434f [automerger skipped] DO NOT MERGE Revert "Revert "Clean up debug.sf.ignore_hwc_physical_display_or..." am: 0f733764c2 am: de873ad131 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie342c6da79a973407ea16d29659f4ff15d64a144
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 19:30:22 +00:00
Mariia Sandrikova
ea86adbe43 Merge "DO NOT MERGE Revert "Revert "Clean up debug.sf.ignore_hwc_physical_display_or..."" into tm-qpr-dev am: 1dacfd5541
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21071003

Change-Id: I32741e5dab8a9793555d045159d48192477f8a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 18:42:09 +00:00
Mariia Sandrikova
de873ad131 DO NOT MERGE Revert "Revert "Clean up debug.sf.ignore_hwc_physical_display_or..." am: 0f733764c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21071003

Change-Id: I5b67f0c6c0077a01bd8b89240d6181afd48dcf60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 18:42:08 +00:00
Mariia Sandrikova
1dacfd5541 Merge "DO NOT MERGE Revert "Revert "Clean up debug.sf.ignore_hwc_physical_display_or..."" into tm-qpr-dev 2023-01-23 18:00:57 +00:00
Mariia Sandrikova
0f733764c2 DO NOT MERGE Revert "Revert "Clean up debug.sf.ignore_hwc_physical_display_or..."
Clean up debug.sf.ignore_hwc_physical_display_orientation

Temporary property was introduced in Iffbdc13149f517f0b59b313f1fe1f7900cc8597e

Test: manual
Bug: 246793311

Revert submission 20920163-revert-20881991-clean-up-temp-sysprop-FZOZHLNEBL

Reason for revert: Revert a revert of I000feb9e54a9f3b897eb4867fb285788cdb2fc46 to land it again

Reverted changes: /q/submissionid:20920163-revert-20881991-clean-up-temp-sysprop-FZOZHLNEBL

Change-Id: Id4658d31b73adfa9e0996891d0529a7277043ed3
2023-01-23 11:42:58 +00:00
Ken Yang
22698e6f3d Merge "WLC: Remove unused wireless_charger policies" 2023-01-13 14:41:31 +00:00
Myles Watson
bc6b0f11da [automerger skipped] TangorPro: Use common sepolicy for bt_device am: bb7ac209e5 -s ours
am skip reason: Merged-In I29ca448d60af312d7dbe241f93592233d16bfcbe with SHA-1 dc359f2178 is already in history

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

Change-Id: I67d8a0c5fab66b1aba459336f36257842269159f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 23:35:11 +00:00
Myles Watson
bb7ac209e5 TangorPro: Use common sepolicy for bt_device
Bug: 205758693
Test: build
Ignore-AOSP-First: Some devices in internal define bt_device
Change-Id: I29ca448d60af312d7dbe241f93592233d16bfcbe
(cherry picked from commit dc359f2178)
Merged-In: I29ca448d60af312d7dbe241f93592233d16bfcbe
2023-01-12 21:30:20 +00:00
Myles Watson
71e0e3a27c Merge "TangorPro: Use common sepolicy for bt_device" 2023-01-12 18:56:04 +00:00
Joshua Mccloskey
9126a81818 [automerger skipped] Merge "Allow SystemUI to access fp hal." into tm-qpr-dev am: def8493a1e am: 48ed8f6f41 -s ours
am skip reason: Merged-In If1a2c7debafad70b6aece6c8ac63852e4b2b6276 with SHA-1 a6ce6beb10 is already in history

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

Change-Id: Ic5dd96c6821c791a19e3720d2ce74fcc07955d37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 04:30:31 +00:00
Joshua Mccloskey
48ed8f6f41 Merge "Allow SystemUI to access fp hal." into tm-qpr-dev am: def8493a1e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20918834

Change-Id: I2e75924b54089d8568dc6fabc76d201e71fc2925
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 04:05:05 +00:00
Joshua Mccloskey
def8493a1e Merge "Allow SystemUI to access fp hal." into tm-qpr-dev 2023-01-11 03:56:47 +00:00
Sandeep Vijayasekar
aa1e6be9eb Merge "Revert^3 "Add SElinux policy for mediashell suffix property"" into tm-qpr-dev am: f7be904b78 am: 358ad366cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20833725

Change-Id: Ia2582a6f70f7417ec3926e8fdf2abfca79237a89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 02:50:31 +00:00
Sandeep Vijayasekar
358ad366cc Merge "Revert^3 "Add SElinux policy for mediashell suffix property"" into tm-qpr-dev am: f7be904b78
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20833725

Change-Id: Iae6382e639b9d564c2382edd8fbbe06f0eb64fb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 01:52:15 +00:00
Sandeep Vijayasekar
f7be904b78 Merge "Revert^3 "Add SElinux policy for mediashell suffix property"" into tm-qpr-dev 2023-01-11 01:00:04 +00:00
Sandeep Vijayasekar
d83126782f Revert^3 "Add SElinux policy for mediashell suffix property"
Bug: 263263027
Test: mediashell can read this property

Change-Id: Iebf5ced8e5c81777a7e14ed3c6d63aee8ff409b2
2023-01-10 20:32:17 +00:00
Myles Watson
dc359f2178 TangorPro: Use common sepolicy for bt_device
Bug: 205758693
Test: build
Ignore-AOSP-First: Some devices in internal define bt_device
Change-Id: I29ca448d60af312d7dbe241f93592233d16bfcbe
2023-01-10 06:45:19 -08:00
Neha Jain
e08c3c7ccf Merge "Revert "Clean up debug.sf.ignore_hwc_physical_display_orientation"" into tm-qpr-dev am: 23fc1ea69c am: 9d952e006f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20920162

Change-Id: I5bcbaf855233de429c4e0d1552c2af2dfb549e28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 05:59:28 +00:00
Neha Jain
9d952e006f Merge "Revert "Clean up debug.sf.ignore_hwc_physical_display_orientation"" into tm-qpr-dev am: 23fc1ea69c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20920162

Change-Id: Ie771a582af5dbdd9ae9bc3252c4107d2c3924ff9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 05:06:20 +00:00
Neha Jain
23fc1ea69c Merge "Revert "Clean up debug.sf.ignore_hwc_physical_display_orientation"" into tm-qpr-dev 2023-01-10 04:23:45 +00:00
Joshua McCloskey
9a9efabc88 Allow SystemUI to access fp hal.
Bug: 261209932
Test: Verified SystemUI can access HAL extension.
Change-Id: If1a2c7debafad70b6aece6c8ac63852e4b2b6276
Merged-In: If1a2c7debafad70b6aece6c8ac63852e4b2b6276
2023-01-10 01:40:02 +00:00
Joshua Mccloskey
0148d999a2 Merge "Allow SystemUI to access fp hal." 2023-01-10 01:38:27 +00:00
Neha Jain
d8820e6b69 Revert "Clean up debug.sf.ignore_hwc_physical_display_orientation"
Revert submission 20881991-clean-up-temp-sysprop

Reason for revert: b/264735287

Reverted changes: /q/submissionid:20881991-clean-up-temp-sysprop

Change-Id: Id102118883fa35e99e16b6cbe26cae9d009fa4f9
2023-01-09 23:10:42 +00:00
Joshua McCloskey
a6ce6beb10 Allow SystemUI to access fp hal.
Bug: 261209932
Test: Verified SystemUI can access HAL extension.
Change-Id: If1a2c7debafad70b6aece6c8ac63852e4b2b6276
2023-01-09 18:03:13 +00:00
Eddie Lan
d0e89db5e7 Merge "fingerprint: allow fps to access sysfs_leds" into tm-qpr-dev am: 08b041020f am: cd365867c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20743208

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

Change-Id: I6cb70dba28e44ce1e4b3f3fa743345ef7ced1970
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 12:38:11 +00:00
Eddie Lan
08b041020f Merge "fingerprint: allow fps to access sysfs_leds" into tm-qpr-dev 2023-01-09 12:06:39 +00:00
sukiliu
903888aa95 Update error on ROM 9467565
Bug: 264823366
Test: SELinuxUncheckedDenialBootTest
Change-Id: Ie484c1999f76eee4e1a9c49deda7b1fe0e0bbbdd
2023-01-09 12:15:45 +08:00
CJ Fan
7b208430ee Merge "Add sepolicy to allow lights to access display" into tm-qpr-dev am: bf9c2e4756 am: e34325cdfc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20858889

Change-Id: Ib0685955f5278f66d8eff77bf93be122433fa0b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-07 00:38:09 +00:00
CJ Fan
e34325cdfc Merge "Add sepolicy to allow lights to access display" into tm-qpr-dev am: bf9c2e4756
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20858889

Change-Id: I9c88fbefddecce837c7b587483c32358eacffedb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-07 00:00:33 +00:00
CJ Fan
bf9c2e4756 Merge "Add sepolicy to allow lights to access display" into tm-qpr-dev 2023-01-06 23:34:52 +00:00
Mariia Sandrikova
3faab91ddf Merge "Clean up debug.sf.ignore_hwc_physical_display_orientation" into tm-qpr-dev am: dc6d1c9e2a am: 56e9721251
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20881263

Change-Id: I6084249df3320667c8ec90b71ff7ba0c4c4e8c7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 19:08:26 +00:00
Mariia Sandrikova
56e9721251 Merge "Clean up debug.sf.ignore_hwc_physical_display_orientation" into tm-qpr-dev am: dc6d1c9e2a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20881263

Change-Id: I10dcdebe23c601d2af35e1c50f0d0e29c3adf454
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 18:28:21 +00:00
Mariia Sandrikova
dc6d1c9e2a Merge "Clean up debug.sf.ignore_hwc_physical_display_orientation" into tm-qpr-dev 2023-01-06 17:48:17 +00:00
Mariia Sandrikova
37cb898e4d Clean up debug.sf.ignore_hwc_physical_display_orientation
Temporary property was introduced in Iffbdc13149f517f0b59b313f1fe1f7900cc8597e

Test: manual
Bug: 246793311
Change-Id: I000feb9e54a9f3b897eb4867fb285788cdb2fc46
2023-01-06 01:23:20 +00:00
Ioannis Ilkos
f41a73e6e0 Revert "Add odm_cast_prop for Tangorpro" am: e1c1a2e4c9 am: e7eab8cde0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20882042

Change-Id: I46613fec40f897b8ee4b5cab1803e4e6c4361555
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 16:56:31 +00:00
Ioannis Ilkos
e7eab8cde0 Revert "Add odm_cast_prop for Tangorpro" am: e1c1a2e4c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20882042

Change-Id: Ia40a5eb4336afbab683e23bc8a6006bf08e5e874
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 16:23:33 +00:00
Ioannis Ilkos
e1c1a2e4c9 Revert "Add odm_cast_prop for Tangorpro"
This reverts commit a2b4399070.

Reason for revert: b/264514289 breaks build

Change-Id: Ibc75544493cf5e6522a767a126b3e616ea30cb42
2023-01-05 11:35:28 +00:00
Sandeep Vijayasekar
7a13f6a6af Add odm_cast_prop for Tangorpro am: a2b4399070 am: bafd71bd29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20865250

Change-Id: Iba32cee6e1a292993c3d95238cca0eb12138b44e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 07:39:19 +00:00
Ken Yang
12579828b0 WLC: Remove unused wireless_charger policies
Bug: 263830018
Change-Id: I5378ad328d4a431413d296afd68d79f5c72bec5e
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-05 07:37:13 +00:00
Sandeep Vijayasekar
bafd71bd29 Add odm_cast_prop for Tangorpro am: a2b4399070
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20865250

Change-Id: Ic1fb6ff585654bbdfe8bd1883fdc3706fcec18c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 07:02:42 +00:00
Sandeep Vijayasekar
a2b4399070 Add odm_cast_prop for Tangorpro
Bug: 263263027
Test: treehugger
Change-Id: I4f8e228c6cebca34d8b4494d43e1096f406da888
2023-01-05 03:07:42 +00:00
TreeHugger Robot
2f8dfe7e15 Merge "Add sepolicy for sysfs_touch type." 2023-01-04 04:13:53 +00:00
Chungjui Fan
74bdc8089b Add sepolicy to allow lights to access display
Avc denied logs in b/264023021#comment2

Bug: 264023021
Change-Id: Ib8527aa6cb65511488495e58bca51287107d6d53
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2023-01-04 03:52:30 +00:00
Super Liu
5df51157c3 Add sepolicy for sysfs_touch type.
Bug: 263108813
Test: TreeHugger build pass.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I83edfd28a116fe61cec323aecc30089b3298550f
2023-01-04 02:16:36 +00:00
Alvin Abdagic
c3e119b7d2 Revert^2 "Add SElinux policy for mediashell suffix property" am: 940816885f am: f212b5e6a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20805823

Change-Id: Ia1e3d66253f98d3859d624de80949d75c87846b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 19:49:05 +00:00
Alvin Abdagic
f212b5e6a3 Revert^2 "Add SElinux policy for mediashell suffix property" am: 940816885f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20805823

Change-Id: I4e87b61fc80253b72170d289043c44b0e7589666
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 19:14:11 +00:00
TreeHugger Robot
315edc8f9b Merge "WLC: Add device specific sepolicy for wireless_charger" 2022-12-26 11:11:22 +00:00
Alvin Abdagic
940816885f Revert^2 "Add SElinux policy for mediashell suffix property"
8b4d4d634b

Change-Id: I4ec5ff093103a42d271de92b7b1b26a93a7d64a0
Bug:263540972
2022-12-23 15:28:55 +00:00
Ken Yang
02379ea5d9 WLC: Add device specific sepolicy for wireless_charger
Bug: 263561134
Bug: 237600973
Change-Id: I95af98c9b7c2244522ba7e943b769e3e454edc20
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-23 11:21:59 +00:00
Sandeep Vijayasekar
f86aac7cbb Revert "Add SElinux policy for mediashell suffix property" am: 8b4d4d634b am: ae6823e228
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20811745

Change-Id: Ib2ce8ac23ca43b5de97753e508560440771516d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-23 03:19:03 +00:00
Sandeep Vijayasekar
ae6823e228 Revert "Add SElinux policy for mediashell suffix property" am: 8b4d4d634b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20811745

Change-Id: Ia044eef9fb9811cdb61b4e59eeec142de253ff13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-23 02:40:24 +00:00
TreeHugger Robot
3e0f20567c Merge "Suppress linux denials" 2022-12-23 00:55:23 +00:00
Sandeep Vijayasekar
8b4d4d634b Revert "Add SElinux policy for mediashell suffix property"
Revert submission 20796423-mediashell_wifi_suffix

Reason for revert: breaks build.

Reverted changes: /q/submissionid:20796423-mediashell_wifi_suffix

Change-Id: I2d6f66f38b04555a6095d0d5f610d3c6f30dd4e6
2022-12-22 23:56:43 +00:00
Sandeep Vijayasekar
7e544e983e Add SElinux policy for mediashell suffix property am: e729f1b95e am: f113d83009
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20804162

Change-Id: I1348412ca7719d137fbffe3d659a1b38223e0cff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 22:29:47 +00:00
Sandeep Vijayasekar
f113d83009 Add SElinux policy for mediashell suffix property am: e729f1b95e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20804162

Change-Id: I22188e793017657d1bd591ba38348c37c518ace9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 21:51:05 +00:00
Super Liu
0afa8d077d Suppress linux denials
Bug: 263430971
Test: TreeHugger build.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ic0e235cd44fa5114749b3d1c84df24745ecc0ec5
2022-12-22 05:37:24 +00:00
Sandeep Vijayasekar
e729f1b95e Add SElinux policy for mediashell suffix property
Bug: 263263027
Test: mediashell can read this property
Change-Id: I05cea67085a534aa9d862fc8af853d191a7d11c9
2022-12-21 19:59:46 -08:00
Mariia Sandrikova
26153a9bbd Merge changes from topic "tangor-pro-natural-orientation" into tm-qpr-dev am: ca9998daef am: 0b2e441cc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20689375

Change-Id: I4302ac3f1d66520890c20dfa6a0246c65ee62c1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 01:29:02 +00:00
Mariia Sandrikova
7019d908f8 [5/n][Pro] Change natural device orientation to portrait. am: 965a3fb846 am: 15965f1202
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20645458

Change-Id: Iafad4ea2a8dbe061c02e513701a8f882f3a0b127
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 01:28:53 +00:00
Mariia Sandrikova
0b2e441cc3 Merge changes from topic "tangor-pro-natural-orientation" into tm-qpr-dev am: ca9998daef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20689375

Change-Id: Ibe3b6f27b3cc287bbdeb0ae9a4e26967691d6841
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 00:42:23 +00:00
Mariia Sandrikova
15965f1202 [5/n][Pro] Change natural device orientation to portrait. am: 965a3fb846
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20645458

Change-Id: Ifacac769ae2d5feea047e9155c65b9bcea3290cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 00:42:15 +00:00
Mariia Sandrikova
ca9998daef Merge changes from topic "tangor-pro-natural-orientation" into tm-qpr-dev
* changes:
  [1/2][Pro] Set orientation for boot animation and default display rotation.
  [5/n][Pro] Change natural device orientation to portrait.
2022-12-21 00:37:13 +00:00
eddielan
6d590c3695 fingerprint: allow fps to access sysfs_leds
Bug: 261151317
Test: make selinux_policy -j112
Change-Id: I930ebbb5c5478cb2669dd169a8e03db7b5222c8f
2022-12-15 20:55:54 +08:00
Darren Hsu
6f45c41a76 sepolicy: allow binder call for hal_power_stats and hal_bluetooth
avc: denied { call } for comm="bluetooth@1.1-s"
scontext=u:r:hal_bluetooth_synabtlinux:s0
tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=0

avc: denied { call } for scontext=u:r:hal_bluetooth_synabtlinux:s0
tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=1

avc: denied { read } for comm="android.hardwar"
name="u:object_r:boot_status_prop:s0" dev="tmpfs" ino=109
scontext=u:r:hal_bluetooth_synabtlinux:s0
tcontext=u:object_r:boot_status_prop:s0 tclass=file permissive=0

Bug: 215487801 , 262386677
Test: captured bugreport and didn't see powerstats avc denials
Change-Id: I34840b7f8031084270477635c2bde5d702a0507c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
(cherry picked from commit ccd9f49f2b)
2022-12-14 07:23:00 +00:00
Super Liu
7e82edd07a [automerger skipped] [DO NOT MERGE] Suppress linux denials am: 6f12e9fcaf am: 00462a693c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3fce041816bcd64a56adf2732ca8e2ab178d0dcf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 08:59:24 +00:00
Super Liu
00462a693c [DO NOT MERGE] Suppress linux denials am: 6f12e9fcaf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20713030

Change-Id: Ib1725c3e5dec65be9f50342228ec4e3d901c1b35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 08:21:20 +00:00
Super Liu
6f12e9fcaf [DO NOT MERGE] Suppress linux denials
Bug: 262179373
Test: TreeHugger build.
Change-Id: I40cbdb22976fdb233a3f23868cde688b3b263e13
Signed-off-by: Super Liu <supercjliu@google.com>
2022-12-13 05:58:49 +00:00
Mariia Sandrikova
11808aa59b [1/2][Pro] Set orientation for boot animation and default display rotation.
Introduce ro.bootanim.set_orientation_<display_id> sysprop that allows to change the default display rotation value and boot animation orientation to be different from the natural display orientation

Context: go/tangor-natural-orientation

Bug: 260627934
Test: manual test with all 4 values
Change-Id: I14461e143c37440c4a655a1b175add86b60233b2
2022-12-11 13:55:43 +00:00
Mariia Sandrikova
965a3fb846 [5/n][Pro] Change natural device orientation to portrait.
Introduce debug.sf.ignore_hwc_physical_display_orientation to allow ignoring physical orientation provided through hwc API in favour of 'ro.surface_flinger.primary_display_orientation' to avoid breaking the build even for a short period of time since there is no direct way to synchronize landing of this CLs chain with pa/2342172

Test: manual
Bug: 246793311
Change-Id: Iffbdc13149f517f0b59b313f1fe1f7900cc8597e
2022-12-07 20:10:00 +00:00
Sandeep Vijayasekar
9a42f28172 [AudioProxy] SEPolicy for AudioProxy am: 0fe5303cf5 am: 4851980569
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20238256

Change-Id: Icc2362b6ebaa9259583f75dd8677c77721f6c45e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 19:22:45 +00:00
Sandeep Vijayasekar
4851980569 [AudioProxy] SEPolicy for AudioProxy am: 0fe5303cf5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20238256

Change-Id: Ided84755137fa4daa12b3c965e92b15b618128aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 18:58:42 +00:00
Adam Shih
483f42925d align sysfs_touch_gti type
Bug: 256521567
Test: build pass
Change-Id: I2452e2551ea47a3bbf1c4b084259e73c37e02f04
2022-12-06 12:01:08 +08:00
Adam Shih
d5db8fa0e2 rename sysfs_touch
Bug: 256521567
Test: adb bugreport
Change-Id: Ic10339198209b7e1c8874610f69c515a95d6e7da
2022-12-02 13:08:28 +08:00
Adam Shih
33c84b77d2 fix declaration missing error
Bug: 260175281
Test: build pass
Change-Id: Ibe07a278639afa3d0783785374502607ba81eb6e
2022-11-25 14:09:21 +08:00
Adam Shih
e1e330d587 remove obsolete entry
Bug: 260175281
Test: build pass
Change-Id: I0f6d070416b5fac8711434b84fc9c552b8a6a64d
2022-11-24 10:55:04 +08:00
Sandeep Vijayasekar
0fe5303cf5 [AudioProxy] SEPolicy for AudioProxy
1. MediaShell use its own selinux domain mediashell_app.
2. Allow mediashell_app to access AudioProxy service.

Bug: 197547824
Bug: 254515298
Test: Build and local run
Change-Id: Ia543225e2cbdbfc7296a101372d203274b108af4
2022-11-18 06:45:57 +00:00
eddielan
846a1546df sepolicy: Allow fingerprint to access fwk hwservice am: 58e5a0da26 am: a0a9c3e30f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20450227

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

Change-Id: I916d728f43839266b5619195e613c6034d320e34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 03:29:37 +00:00
eddielan
58e5a0da26 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: If2185f8f8a095f68ecb70df82c3253f3d5ee32cc
2022-11-11 20:09:32 +08:00
eddielan
874e238442 Fix FPS servicemanager sepolicy issue am: 8b78d57efa am: f464f3f2c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20278507

Change-Id: I92a533dc2aefe4d6eeece43c3985320c9bfb2661
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 03:48:46 +00:00
eddielan
f464f3f2c0 Fix FPS servicemanager sepolicy issue am: 8b78d57efa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20278507

Change-Id: If565ff408be265d856dfc5193112ab8a9d030a66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 03:12:02 +00:00
eddielan
8b78d57efa 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: Iea8655fead4398317f0d682e632df8377883d1ea
2022-10-26 14:09:12 +08:00
eddielan
ba38cbe06d Fix FPS hwservice sepolicy issue am: bfba5df7e5 am: d115259d9e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20207303

Change-Id: I0fcaa595a18089800256b6ac489d6048a5e9e2fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 03:47:48 +00:00
eddielan
d115259d9e Fix FPS hwservice sepolicy issue am: bfba5df7e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20207303

Change-Id: I361bbefb1d4f7bfc46c3f61471cd500db5370543
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 03:15:38 +00:00
eddielan
bfba5df7e5 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: 253533883
Test: make selinux_policy -j128
Change-Id: I745e01fa2337843a8f16dadb71a07706a6681284
2022-10-17 15:07:54 +08:00
Ryan Ki Sing Chung
48d74244ca Revert "Revert "CastAuth: SELinux rules for the MediaDrm plugin"" am: c3ea668daa am: 5e4bde23de
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20116451

Change-Id: I18383b804b1c3206111fdffa0c7caf29309f5a0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 04:38:36 +00:00
Ryan Ki Sing Chung
5e4bde23de Revert "Revert "CastAuth: SELinux rules for the MediaDrm plugin"" am: c3ea668daa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20116451

Change-Id: I4aa02c9c5c3333c23cd6ed4fb052785a2fbfde9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 04:07:02 +00:00
Ryan Ki Sing Chung
68f76df95e Revert "CastAuth: SELinux rules for the MediaDrm plugin" am: fae580c5ce am: abd3be9d76
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20110003

Change-Id: I0ad5e50db923d6125e8557f640a85808bd2b5644
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 02:41:59 +00:00
Ryan Ki Sing Chung
abd3be9d76 Revert "CastAuth: SELinux rules for the MediaDrm plugin" am: fae580c5ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20110003

Change-Id: I7b35558ccda6c8bc1b54de48664d0571df4d0d58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 02:10:48 +00:00
Ryan Ki Sing Chung
c3ea668daa Revert "Revert "CastAuth: SELinux rules for the MediaDrm plugin""
This reverts commit fae580c5ce.

Reason for revert: Relanding with fix

Bug: 250900568
Change-Id: I242a8b710d7d44e7390a1d63e39f7ebd7d406a4c
2022-10-05 01:10:00 +00:00
Ryan Ki Sing Chung
fae580c5ce Revert "CastAuth: SELinux rules for the MediaDrm plugin"
This reverts commit c579440a1f.

Reason for revert: Broke continuous build
Bug: 250900568

Change-Id: I69982e605c645373c38040d4b8527180a4efcecc
2022-10-04 19:19:26 +00:00
Ryan Ki Sing Chung
62a04bd5d1 Merge "CastAuth: SELinux rules for the MediaDrm plugin" into tm-qpr-dev am: bf74335744 am: 5d7e5c4958
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20068298

Change-Id: I04f822bc4483599375e8d68c1242dc67f265b495
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:38:52 +00:00
Ryan Ki Sing Chung
5d7e5c4958 Merge "CastAuth: SELinux rules for the MediaDrm plugin" into tm-qpr-dev am: bf74335744
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20068298

Change-Id: I4134f4c6034bbeb5c18c929bf7a2d475691457e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:04:26 +00:00
Ryan Ki Sing Chung
bf74335744 Merge "CastAuth: SELinux rules for the MediaDrm plugin" into tm-qpr-dev 2022-10-04 16:00:28 +00:00
Ryan Chung
c579440a1f CastAuth: SELinux rules for the MediaDrm plugin
Bug: 229298787
Test: Access Cast creds with MediaDrm plugin
Change-Id: Iff9386dc1223a9f5a088d7ba2d2bc8bd73eebc00
2022-09-29 18:15:15 -07:00
TreeHugger Robot
a7dc42a1de Merge "Sepolicy for hall effect notification." into tm-qpr-dev am: 9ed2e6925e am: 47d4948fd9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20060645

Change-Id: Iba57e60d01874c335e23fcd24bbd9adc4809db49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 17:14:22 +00:00
TreeHugger Robot
47d4948fd9 Merge "Sepolicy for hall effect notification." into tm-qpr-dev am: 9ed2e6925e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20060645

Change-Id: Iae8cb2bf76a38385f44f6cd46f744dd76c996e9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 16:41:51 +00:00
TreeHugger Robot
9ed2e6925e Merge "Sepolicy for hall effect notification." into tm-qpr-dev 2022-09-29 16:17:51 +00:00
Darren Hsu
e6e557f360 sepolicy: add sysfs_wakeup labels for acpm am: 36714befbb am: bf82087232
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20070665

Change-Id: I66f48db7ac9e29fb1d8dde70879412111ac28dd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 04:05:09 +00:00
Darren Hsu
bf82087232 sepolicy: add sysfs_wakeup labels for acpm am: 36714befbb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20070665

Change-Id: I716180e133650a3e605ccd3265969d721106ea0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 03:35:17 +00:00
matthuang
938a12a2dc Sepolicy for hall effect notification.
Bug: 241474630
Test: Check selinux log.
Change-Id: Ia4dc303849c98a7c067a2fb0426b7a7b6d3d0301
2022-09-28 10:54:39 +08:00
Darren Hsu
36714befbb sepolicy: add sysfs_wakeup labels for acpm
Bug: 248974063
Test: run vts -m SuspendSepolicyTests
Change-Id: Ie96d282d7a6b61bafff4b66f63ff320d80a3b4f2
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-28 09:49:33 +08:00
kuanyuhuang
9db85e1f94 Add binder call for grilservice and hal_bluetooth am: 39b4f3823a am: 67f5891c35
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19998306

Change-Id: Ic92294881b2d9d8e65a455fe009e11aeb6e511bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 03:44:08 +00:00
kuanyuhuang
67f5891c35 Add binder call for grilservice and hal_bluetooth am: 39b4f3823a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19998306

Change-Id: I1d23ccf34b4d5c2052c1cc5803c358b6471fe81c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 02:45:36 +00:00
kuanyuhuang
39b4f3823a Add binder call for grilservice and hal_bluetooth
Gril calls setBluetoothModeBasedTxPowerCap to bluetooh HAL
for SAR feature.

Bug: 244409539
Test: build pass and check grilservice can bind with IBluetoothSar
Change-Id: Ie563cdbe126371d50bb996a0d4d10fd5f52e8d6f
2022-09-21 08:47:27 +00:00
TreeHugger Robot
8d49353027 [automerger skipped] Merge "RESTRICT AUTOMERGE sepolicy: allow binder call for hal_power_stats and hal_bluetooth" into tm-qpr-dev am: 5c4efb3f22 am: 3625437c32 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If14843beee61cb46a6030cfa5af783785e82da11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 04:54:34 +00:00
Darren Hsu
be1bfc4e15 [automerger skipped] RESTRICT AUTOMERGE sepolicy: allow binder call for hal_power_stats and hal_bluetooth am: ccd9f49f2b am: 0696f7c503 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ied0b940e5c29d05a7ccc15fe72bd266a41ce7180
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 04:54:31 +00:00
TreeHugger Robot
3625437c32 Merge "RESTRICT AUTOMERGE sepolicy: allow binder call for hal_power_stats and hal_bluetooth" into tm-qpr-dev am: 5c4efb3f22
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19928508

Change-Id: Iaf6e89850a393ac8c6c638854f83000e343bf0e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 04:10:27 +00:00
Darren Hsu
0696f7c503 RESTRICT AUTOMERGE sepolicy: allow binder call for hal_power_stats and hal_bluetooth am: ccd9f49f2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19928508

Change-Id: I8a7c73669d875d2e2ff4cf090307a20fb1022345
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 04:10:25 +00:00
TreeHugger Robot
5c4efb3f22 Merge "RESTRICT AUTOMERGE sepolicy: allow binder call for hal_power_stats and hal_bluetooth" into tm-qpr-dev 2022-09-16 03:15:08 +00:00
Darren Hsu
ccd9f49f2b RESTRICT AUTOMERGE sepolicy: allow binder call for hal_power_stats and hal_bluetooth
avc: denied { call } for comm="bluetooth@1.1-s"
scontext=u:r:hal_bluetooth_synabtlinux:s0
tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=0

avc: denied { call } for scontext=u:r:hal_bluetooth_synabtlinux:s0
tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=1

avc: denied { read } for comm="android.hardwar"
name="u:object_r:boot_status_prop:s0" dev="tmpfs" ino=109
scontext=u:r:hal_bluetooth_synabtlinux:s0
tcontext=u:object_r:boot_status_prop:s0 tclass=file permissive=0

Bug: 215487801
Test: captured bugreport and didn't see powerstats avc denials
Change-Id: I34840b7f8031084270477635c2bde5d702a0507c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-14 10:44:38 +00:00
TreeHugger Robot
da66cb2254 Merge "Migrate LED sepolicy used by dumpstate to gs201" into tm-qpr-dev am: 30226d2510 am: 5c72944799
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19894290

Change-Id: Idcdb2dd357c31fae74da9fb2a91188dd8314e956
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-14 04:03:34 +00:00
TreeHugger Robot
5c72944799 Merge "Migrate LED sepolicy used by dumpstate to gs201" into tm-qpr-dev am: 30226d2510
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19894290

Change-Id: Iff61f9a3261d931609797e3c61ea7d0533d7c061
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-14 03:34:32 +00:00
TreeHugger Robot
30226d2510 Merge "Migrate LED sepolicy used by dumpstate to gs201" into tm-qpr-dev 2022-09-14 02:59:20 +00:00
Darren Hsu
e946d52939 sepolicy: add missing sysfs_wakeup labels am: f3b6df78da am: 3d731e788e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19919168

Change-Id: I225158513df197f5c43d341a8ad27f5d73737b93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 13:39:15 +00:00
Darren Hsu
3d731e788e sepolicy: add missing sysfs_wakeup labels am: f3b6df78da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19919168

Change-Id: Iaca299d87f5bf1bc5c9466af47100d17155677f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 13:09:27 +00:00
Darren Hsu
f3b6df78da sepolicy: add missing sysfs_wakeup labels
Bug: 245434941
Test: run vts -m SuspendSepolicyTests
Change-Id: I4873bbba4e6e276722037680056d4e003f8a0da9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-12 16:04:21 +08:00
Chungjui Fan
f7be842d13 Migrate LED sepolicy used by dumpstate to gs201
Bug: 242300919
Change-Id: I1b7f4be6670ef645df932207ece4746fcedb9e39
2022-09-08 09:12:30 +00:00
Badhri Jagan Sridharan
d701d4fdd9 Port pogo sepolicy for target am: aebc367bfa am: 3a0a52c18d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19719626

Change-Id: I30c7f56b041ab98cf88ec59cc5de13b31cdc0128
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 01:07:14 +00:00
Badhri Jagan Sridharan
3a0a52c18d Port pogo sepolicy for target am: aebc367bfa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19719626

Change-Id: I3557361371c3dc07651da4d523ea37ac158d620d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 00:47:43 +00:00
Badhri Jagan Sridharan
aebc367bfa Port pogo sepolicy for target
This is port of <0fe78c45624ac71c303f28d214d04f5382744110>
and <b85ae23600ba9db57d9ea4343769f928e5dc58dd> from previous
target.

Bug: 242751127
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I20205c63dc226c6863215b29e11b8c4b626b6010
2022-08-24 21:05:19 +00:00
Super Liu
68c9bf9fbc Allow vendor_init to read gesture_prop. am: 834dc1b842 am: 471e100517
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19293223

Change-Id: If71ee78e834cf3f04cbebc45bed9a4b95588a0c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 09:44:35 +00:00
Super Liu
471e100517 Allow vendor_init to read gesture_prop. am: 834dc1b842
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19293223

Change-Id: I0b549fb47b8616fe93e2a5d0e92e24e56e5f08cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 09:27:36 +00:00
Super Liu
834dc1b842 Allow vendor_init to read gesture_prop.
Logs:
07-15 04:04:39.052     1     1 I auditd  : type=1107 audit(0.0:4): uid=0
auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { read
} for property=persist.sys.tap_gesture pid=0 uid=0 gid=0
scontext=u:r:vendor_init:s0 tcontext=u:object_r:gesture_prop:s0
tclass=file permissive=0'
07-15 04:04:39.087     1     1 E init    :
/vendor/etc/init/hw/init.tangorpro.rc: 48: ParseTriggers() failed:
unexported property trigger found: persist.sys.tap_gesture

Test: check Treehugger build for sepolicy.
Bug: 201610482
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I2072ce786bf9f3590487b1807672e993764cc6f0
2022-07-18 10:26:10 +08:00
Adam Shih
4ba9cbef16 Update SELinux error am: 5cc0905307 am: 09553e4379
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19295507

Change-Id: I11f0e0fb9563f11c7e8032578bd653d581ce59b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 00:51:58 +00:00
Adam Shih
09553e4379 Update SELinux error am: 5cc0905307
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19295507

Change-Id: I11e651f1b714fb48a4cfd870c9280fb908b963fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 00:33:26 +00:00
Adam Shih
5cc0905307 Update SELinux error
Test: checkSensors
Bug: 239115418
Test: checkLockScreen
Bug: 239115418
Test: scanBugreport
Bug: 239115418
Change-Id: I36ba54820939f24d8f5293e1ba252fd0f6a9e970
2022-07-15 10:23:55 +08:00
Adam Shih
94c5db3c52 Setup tracking folder am: 3c989e7f01 am: 05574bc45b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19273075

Change-Id: I325264798d0191b14b5ddfa862d489c287f365ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 18:16:37 +00:00
Adam Shih
05574bc45b Setup tracking folder am: 3c989e7f01
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19273075

Change-Id: I3dd8ee8304d80cbc297328246ae5cbba063bf9ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 17:57:26 +00:00
Adam Shih
3c989e7f01 Setup tracking folder
Bug: 234547283
Test: build pass
Change-Id: I30b74797c2556fcf19636ed2cea401d58f85cbc2
2022-07-14 13:02:07 +08:00
TreeHugger Robot
a766984758 Merge "Add sepolicy to support lights HAL" into tm-qpr-dev am: 32185368bd am: eabc4b8ffa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18796908

Change-Id: I5717236409e31b2a6dd934fa694822f7fc7f5945
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 05:35:27 +00:00
TreeHugger Robot
eabc4b8ffa Merge "Add sepolicy to support lights HAL" into tm-qpr-dev am: 32185368bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18796908

Change-Id: I636c0959fff8cd7d92911953258d6441d18dfa7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 05:05:50 +00:00
TreeHugger Robot
32185368bd Merge "Add sepolicy to support lights HAL" into tm-qpr-dev 2022-07-06 04:46:25 +00:00
horngchuang
0c4a1e55d5 sepolicy: Correct the camera sepolicy for T6Pro am: ae3a1d0737 am: dba6332ff4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19084647

Change-Id: Idda4e02c278ae306f6be0cb6c94adfce16ea51b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 00:24:57 +00:00
horngchuang
dba6332ff4 sepolicy: Correct the camera sepolicy for T6Pro am: ae3a1d0737
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19084647

Change-Id: I26374b93c6238da8d2fd0d67e8c6613aa36b63b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 00:00:28 +00:00
horngchuang
ae3a1d0737 sepolicy: Correct the camera sepolicy for T6Pro
Bug: 233171614
Test: local build Pass, boot to Home
Change-Id: Id0af2fb48e4e79e7900a9e3fb33224e5f8f52bc4
2022-06-29 07:46:20 +00:00
Chungjui Fan
24d426e003 Add sepolicy to support lights HAL
Bug: 230288032
Test: atest VtsHalLightTargetTest
Change-Id: I4fd54341d4ef6a91cb84f0881725985f05abf2d5
2022-06-29 14:33:33 +08:00
eddielan
794df14ecc fingerprint: Add new lable for capacitance fingerprint am: 904d1b1e5b am: f8a85b574c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19085661

Change-Id: Idba0a91bcc238cae325197fa43774c0c712c5838
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 05:59:09 +00:00
eddielan
f8a85b574c fingerprint: Add new lable for capacitance fingerprint am: 904d1b1e5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19085661

Change-Id: Iaaf598a9830c9d7ed6fbe10d890504b5bde8441c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 05:40:23 +00:00
eddielan
904d1b1e5b fingerprint: Add new lable for capacitance fingerprint
u:object_r:hal_fingerprint_capacitance_exec:s0
android.hardware.biometrics.fingerprint-service.fpc42

Bug: 232500959
Test: make selinux_policy -j128
Test: Check binary sepolicy on device
Change-Id: I565030896b6e3ce2d0eec380415148ebfb623469
2022-06-28 18:51:16 +08:00
Jack Wu
e2fe61869c sepolicy: allows dock power supply permission am: 07b7d71e5b am: 1376f8031b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19040699

Change-Id: I7d808bce072617648d11c97aa5e5c7d066961c82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 13:01:50 +00:00
Jack Wu
1376f8031b sepolicy: allows dock power supply permission am: 07b7d71e5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/19040699

Change-Id: I35c92237f66160bc22d4b64c238dfbde8b16652f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 12:43:13 +00:00
Jack Wu
07b7d71e5b sepolicy: allows dock power supply permission
Bug: 232723240
Test: can dump dock power supply in dumpstate
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I955d72393bbe3413e56e6931a35e8cfa046001be
Signed-off-by: Jonglin Lee <jonglin@google.com>
2022-06-22 17:05:36 -07:00
Himanshu Rawat
60d537ede9 T6Pro Bluetooth bringup am: 37bb48c05e am: eb43aa817d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18841352

Change-Id: Ib8de9a072d5e3df08e59fc1d63b01193cfbc6aa8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-18 01:58:51 +00:00
Himanshu Rawat
eb43aa817d T6Pro Bluetooth bringup am: 37bb48c05e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18841352

Change-Id: I6b2d023d6297927819509749d08730b3667c9388
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-18 01:32:14 +00:00
Himanshu Rawat
37bb48c05e T6Pro Bluetooth bringup
SE policy update for Synaptics BT HAL

Bug: 224685891
Test: Manual
Change-Id: Ib80bece50509d01828b3f6e8c3794ee3d3ed1e56
2022-06-16 08:42:22 +00:00
Super Liu
e0e489b6d6 sepolicy: allow system_server to read sysfs_touch. am: 2d23765f0b am: 3f561a5c13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18159387

Change-Id: Idf296ee425246b592c6950873ff0a278e0967679
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 07:00:13 +00:00
Super Liu
a05bf73974 Initial touch sepolicy. am: b72de76e7b am: 1ad5b6cb03
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18159383

Change-Id: I87226871ad9b735a5933c1e4da7df68b176e7d92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 07:00:12 +00:00
Super Liu
3f561a5c13 sepolicy: allow system_server to read sysfs_touch. am: 2d23765f0b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18159387

Change-Id: I3d7d57c776df13cf521ffa5fc38259ef36a11116
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 01:44:03 +00:00
Super Liu
1ad5b6cb03 Initial touch sepolicy. am: b72de76e7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/18159383

Change-Id: I785fa5b8b83b81c89a96c2af7af37d9d2cae289f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 01:44:02 +00:00
Super Liu
2d23765f0b sepolicy: allow system_server to read sysfs_touch.
Bug: 231385413
Test: presubmit pass.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ica2e457d951e3de28fa7271eef03437c3203a373
2022-05-04 13:27:00 +08:00
Super Liu
b72de76e7b Initial touch sepolicy.
Bug: 193467774
Test: check touch sepolicy attribute from TreeHugger build rom.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ie3ccb47133dd9812ea91df59e1f9124bea1867c6
2022-05-04 11:07:08 +08:00
Roger Liao
47ccd955aa Initial device tangorpro sepolicy am: aa2098ee18 am: c909f0f766
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/17135924

Change-Id: Ie9c23710d1027b84dc7c44a7d3524c0ed9a5dc2d
2022-03-10 11:58:53 +00:00
Roger Liao
a937d7210a Initial device tangorpro sepolicy am: aa2098ee18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/17135924

Change-Id: I1e32ca06a822b4d7985881e0f9cca1363f49f765
2022-03-10 11:25:15 +00:00
Roger Liao
c909f0f766 Initial device tangorpro sepolicy am: aa2098ee18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/17135924

Change-Id: Id379a9e4bb7c46dc130c6d0006c42d4259e1a4ad
2022-03-10 11:23:12 +00:00
Roger Liao
aa2098ee18 Initial device tangorpro sepolicy
Bug: 220073297
Change-Id: Icbae09127d46c74aaa49bf417be263e62ce0c0ca
2022-03-09 15:50:55 +08:00
Bill Rassieur
eeb18c67fd Initial empty repository 2022-02-22 14:32:34 -08:00
443 changed files with 6285 additions and 419091 deletions

1
.gitupstream Normal file
View File

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

View File

@@ -16,8 +16,4 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_tangorpro.mk \
$(LOCAL_DIR)/aosp_tangorpro_hwasan.mk \
$(LOCAL_DIR)/factory_tangorpro.mk
COMMON_LUNCH_CHOICES := \
aosp_tangorpro-trunk_staging-userdebug
$(LOCAL_DIR)/lineage_tangorpro.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

4
USI_Stylus.idc Normal file
View File

@@ -0,0 +1,4 @@
touch.orientationAware = 1
touch.orientation = ORIENTATION_0
touch.usiVersionMajor = 2
touch.usiVersionMinor = 0

View File

@@ -29,6 +29,3 @@ PRODUCT_DEVICE := tangorpro
PRODUCT_MODEL := AOSP on Tangorpro
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
DEVICE_MANIFEST_FILE += \
device/google/tangorpro/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/tangorpro/aosp_tangorpro.mk)
PRODUCT_NAME := aosp_tangorpro_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

@@ -1410,7 +1410,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" />
@@ -1420,6 +1420,14 @@
<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 for rotation start -->
<path name="cs35l41-rotation-0">
</path>

View File

@@ -79,22 +79,3 @@ PRODUCT_COPY_FILES += \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/apmg3/downlink_dock_config.pb:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/downlink_dock_config.pb \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/apmg3/downlink_speaker_config.pb:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/downlink_speaker_config.pb \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/apmg3/downlink_external_speaker_config.pb:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/downlink_external_speaker_config.pb
# userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
PRODUCT_COPY_FILES += \
device/google/tangorpro/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/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/test_config.ini \
device/google/tangorpro/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
endif

View File

@@ -254,6 +254,7 @@
<feature name="SoundTriggerDockTuning"/>
<feature name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:WholeSpeaker"/>
<feature name="Apmg3"/>
<!--feature name="Pokebowl"/-->
</features>
<cfg_attr>
@@ -292,6 +293,7 @@
<item component="TUNING_COMPONENT_WAVES" id="2"/>
<item component="TUNING_COMPONENT_FORTEMEDIA" id="3"/>
<item component="TUNING_COMPONENT_APMG3" id="24"/>
<!--item component="TUNING_COMPONENT_POKEBOWL" id="25"/-->
<item component="TUNING_COMPONENT_CAMCORDER" id="6"/>
<item component="TUNING_COMPONENT_STEREO_SPATIALIZER" id="26"/>
</xlate_id>
@@ -312,6 +314,7 @@
<module libname="audio_amcs_ext.so" argu="SpeakerNum=4" />
<module libname="audio_bluenote_aoc.so"/>
<module libname="audio_apmg3_aoc.so"/>
<!--module libname="audio_pokebowl_aoc.so"/-->
</external_module>
<hal_effect>

View File

@@ -136,10 +136,6 @@
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
@@ -152,8 +148,6 @@
</devicePort>
<devicePort tagName="USB Dock" type="AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
@@ -161,8 +155,6 @@
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
@@ -195,7 +187,7 @@
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,ultrasound output,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,ultrasound output"/>
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx,ultrasound output,immersive_out"/>
<route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,compressed_offload,voip_rx,raw,mmap_no_irq_out,immersive_out"/>
<route type="mix" sink="BT A2DP Headphones"

View File

@@ -136,10 +136,6 @@
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
@@ -152,8 +148,6 @@
</devicePort>
<devicePort tagName="USB Dock" type="AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
@@ -161,8 +155,6 @@
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">

View File

@@ -132,10 +132,6 @@
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
@@ -146,8 +142,6 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
@@ -155,8 +149,6 @@
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">

View File

@@ -1,653 +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="L2 Main AMP Enable Switch" value="0" />
<ctl name="R2 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="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0" />
<ctl name="DEFAULT_MIC_ID" value="0" />
<ctl name="MIC0" value="0" />
<ctl name="MIC1" value="0" />
<ctl name="MIC2" value="0" />
<ctl name="MIC3" value="0" />
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_ON" />
<ctl name="TDM_0_RX Mixer US" value="0" />
<ctl name="US Record Enable" value="0" />
<ctl name="ASPRX1 Slot Position" value="0"/>
<ctl name="R ASPRX1 Slot Position" value="1"/>
<ctl name="L2 ASPRX1 Slot Position" value="0"/>
<ctl name="R2 ASPRX1 Slot Position" value="1"/>
<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 EP ID v2" value="1" />
<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"/>
</path>
<path name="us-mfg-record">
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
</path>
<path name="mic1-status">
<ctl name="MIC0" value="1" />
</path>
<path name="mic2-status">
<ctl name="MIC1" value="1" />
</path>
<path name="mic3-status">
<ctl name="MIC2" value="1" />
</path>
<path name="mic4-status">
<ctl name="MIC3" value="1" />
</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="MIC0" 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="MIC1" 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="MIC2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic4-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="MIC3" 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="MIC0" value="1" />
<ctl name="MIC1" value="1" />
<ctl name="MIC2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="us-mic1-only">
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC0" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="us-mic2-only">
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="3" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC1" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="us-mic3-only">
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="2" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="us-mic-all">
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC0" value="1" />
<ctl name="MIC1" value="1" />
<ctl name="MIC2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="cs35l41-us-config">
<ctl name="ASPRX1 Slot Position" value="2"/>
<ctl name="R ASPRX1 Slot Position" value="3"/>
<ctl name="L2 ASPRX1 Slot Position" value="2"/>
<ctl name="R2 ASPRX1 Slot Position" value="3"/>
</path>
<path name="amp_iv-only">
<ctl name="ASPTX1 Slot Position" value="0"/>
<ctl name="R ASPTX1 Slot Position" value="1"/>
<ctl name="L2 ASPTX1 Slot Position" value="2"/>
<ctl name="R2 ASPTX1 Slot Position" value="3"/>
<ctl name="ASPTX2 Slot Position" value="4"/>
<ctl name="R ASPTX2 Slot Position" value="5"/>
<ctl name="L2 ASPTX2 Slot Position" value="6"/>
<ctl name="R2 ASPTX2 Slot Position" value="7"/>
<ctl name="ASPTX3 Slot Position" value="4"/>
<ctl name="R ASPTX3 Slot Position" value="5"/>
<ctl name="L2 ASPTX3 Slot Position" value="6"/>
<ctl name="R2 ASPTX3 Slot Position" value="7"/>
<ctl name="ASPTX4 Slot Position" value="4"/>
<ctl name="R ASPTX4 Slot Position" value="5"/>
<ctl name="L2 ASPTX4 Slot Position" value="6"/>
<ctl name="R2 ASPTX4 Slot Position" value="7"/>
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="L2 ASP TX1 Source" value="VMON" />
<ctl name="R2 ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="L2 ASP TX2 Source" value="Zero" />
<ctl name="R2 ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="L2 ASP TX3 Source" value="Zero" />
<ctl name="R2 ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="L2 ASP TX4 Source" value="Zero" />
<ctl name="R2 ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv1-only">
<ctl name="ASPTX1 Slot Position" value="0"/>
<ctl name="R ASPTX1 Slot Position" value="4"/>
<ctl name="L2 ASPTX1 Slot Position" value="5"/>
<ctl name="R2 ASPTX1 Slot Position" value="6"/>
<ctl name="ASPTX2 Slot Position" value="1"/>
<ctl name="R ASPTX2 Slot Position" value="5"/>
<ctl name="L2 ASPTX2 Slot Position" value="6"/>
<ctl name="R2 ASPTX2 Slot Position" value="7"/>
<ctl name="ASPTX3 Slot Position" value="2"/>
<ctl name="R ASPTX3 Slot Position" value="5"/>
<ctl name="L2 ASPTX3 Slot Position" value="6"/>
<ctl name="R2 ASPTX3 Slot Position" value="7"/>
<ctl name="ASPTX4 Slot Position" value="3"/>
<ctl name="R ASPTX4 Slot Position" value="5"/>
<ctl name="L2 ASPTX4 Slot Position" value="6"/>
<ctl name="R2 ASPTX4 Slot Position" value="7"/>
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX1 Source" value="Zero" />
<ctl name="L2 ASP TX1 Source" value="Zero" />
<ctl name="R2 ASP TX1 Source" value="Zero" />
<ctl name="ASP TX2 Source" value="IMON" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="L2 ASP TX2 Source" value="Zero" />
<ctl name="R2 ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="VPMON" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="L2 ASP TX3 Source" value="Zero" />
<ctl name="R2 ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="ASPRX1" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="L2 ASP TX4 Source" value="Zero" />
<ctl name="R2 ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<!-- L2 prefix -->
<path name="amp_iv2-only">
<ctl name="ASPTX1 Slot Position" value="4"/>
<ctl name="R ASPTX1 Slot Position" value="5"/>
<ctl name="L2 ASPTX1 Slot Position" value="0"/>
<ctl name="R2 ASPTX1 Slot Position" value="6"/>
<ctl name="ASPTX2 Slot Position" value="4"/>
<ctl name="R ASPTX2 Slot Position" value="5"/>
<ctl name="L2 ASPTX2 Slot Position" value="1"/>
<ctl name="R2 ASPTX2 Slot Position" value="7"/>
<ctl name="ASPTX3 Slot Position" value="4"/>
<ctl name="R ASPTX3 Slot Position" value="5"/>
<ctl name="L2 ASPTX3 Slot Position" value="2"/>
<ctl name="R2 ASPTX3 Slot Position" value="7"/>
<ctl name="ASPTX4 Slot Position" value="4"/>
<ctl name="R ASPTX4 Slot Position" value="5"/>
<ctl name="L2 ASPTX4 Slot Position" value="3"/>
<ctl name="R2 ASPTX4 Slot Position" value="7"/>
<ctl name="ASP TX1 Source" value="Zero" />
<ctl name="R ASP TX1 Source" value="Zero" />
<ctl name="L2 ASP TX1 Source" value="VMON" />
<ctl name="R2 ASP TX1 Source" value="Zero" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="L2 ASP TX2 Source" value="IMON" />
<ctl name="R2 ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="L2 ASP TX3 Source" value="VPMON" />
<ctl name="R2 ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="L2 ASP TX4 Source" value="ASPRX1" />
<ctl name="R2 ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<!-- R2 prefix -->
<path name="amp_iv3-only">
<ctl name="ASPTX1 Slot Position" value="4"/>
<ctl name="R ASPTX1 Slot Position" value="5"/>
<ctl name="L2 ASPTX1 Slot Position" value="6"/>
<ctl name="R2 ASPTX1 Slot Position" value="0"/>
<ctl name="ASPTX2 Slot Position" value="4"/>
<ctl name="R ASPTX2 Slot Position" value="5"/>
<ctl name="L2 ASPTX2 Slot Position" value="6"/>
<ctl name="R2 ASPTX2 Slot Position" value="1"/>
<ctl name="ASPTX3 Slot Position" value="4"/>
<ctl name="R ASPTX3 Slot Position" value="5"/>
<ctl name="L2 ASPTX3 Slot Position" value="6"/>
<ctl name="R2 ASPTX3 Slot Position" value="2"/>
<ctl name="ASPTX4 Slot Position" value="4"/>
<ctl name="R ASPTX4 Slot Position" value="5"/>
<ctl name="L2 ASPTX4 Slot Position" value="6"/>
<ctl name="R2 ASPTX4 Slot Position" value="3"/>
<ctl name="ASP TX1 Source" value="Zero" />
<ctl name="R ASP TX1 Source" value="Zero" />
<ctl name="L2 ASP TX1 Source" value="Zero" />
<ctl name="R2 ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="L2 ASP TX2 Source" value="Zero" />
<ctl name="R2 ASP TX2 Source" value="IMON" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="L2 ASP TX3 Source" value="Zero" />
<ctl name="R2 ASP TX3 Source" value="VPMON" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="L2 ASP TX4 Source" value="Zero" />
<ctl name="R2 ASP TX4 Source" value="ASPRX1" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<!-- R prefix-->
<path name="amp_iv4-only">
<ctl name="ASPTX1 Slot Position" value="4"/>
<ctl name="R ASPTX1 Slot Position" value="0"/>
<ctl name="L2 ASPTX1 Slot Position" value="5"/>
<ctl name="R2 ASPTX1 Slot Position" value="6"/>
<ctl name="ASPTX2 Slot Position" value="4"/>
<ctl name="R ASPTX2 Slot Position" value="1"/>
<ctl name="L2 ASPTX2 Slot Position" value="6"/>
<ctl name="R2 ASPTX2 Slot Position" value="7"/>
<ctl name="ASPTX3 Slot Position" value="4"/>
<ctl name="R ASPTX3 Slot Position" value="2"/>
<ctl name="L2 ASPTX3 Slot Position" value="6"/>
<ctl name="R2 ASPTX3 Slot Position" value="7"/>
<ctl name="ASPTX4 Slot Position" value="4"/>
<ctl name="R ASPTX4 Slot Position" value="3"/>
<ctl name="L2 ASPTX4 Slot Position" value="6"/>
<ctl name="R2 ASPTX4 Slot Position" value="7"/>
<ctl name="ASP TX1 Source" value="Zero" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="L2 ASP TX1 Source" value="Zero" />
<ctl name="R2 ASP TX1 Source" value="Zero" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="IMON" />
<ctl name="L2 ASP TX2 Source" value="Zero" />
<ctl name="R2 ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="VPMON" />
<ctl name="L2 ASP TX3 Source" value="Zero" />
<ctl name="R2 ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="ASPRX1" />
<ctl name="L2 ASP TX4 Source" value="Zero" />
<ctl name="R2 ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="us-amp_iv-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv-only" />
</path>
<path name="us-amp_iv1-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv1-only" />
</path>
<path name="us-amp_iv2-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv2-only" />
</path>
<path name="us-amp_iv3-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv3-only" />
</path>
<path name="us-amp_iv4-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv4-only" />
</path>
<path name="speaker1-status">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="speaker2-status">
<ctl name="L2 Main AMP Enable Switch" value="1" />
</path>
<path name="speaker3-status">
<ctl name="R2 Main AMP Enable Switch" value="1" />
</path>
<path name="speaker4-status">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="speaker1-gain">
<ctl name="AMP PCM Gain" />
</path>
<path name="speaker2-gain">
<ctl name="L2 AMP PCM Gain" />
</path>
<path name="speaker3-gain">
<ctl name="R2 AMP PCM Gain" />
</path>
<path name="speaker4-gain">
<ctl name="R 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="us-mfg-playback speaker">
<path name="cs35l41-us-config" />
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_RX Mixer US" value="1" />
</path>
<path name="speaker1-only">
<ctl name="Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="AMP PCM Gain" value="17" />
<ctl name="PCM Source" value="ASP" />
</path>
<path name="speaker2-only">
<ctl name="L2 Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="L2 Digital PCM Volume" value="817" />
<ctl name="L2 AMP PCM Gain" value="17" />
<ctl name="L2 PCM Source" value="ASP" />
</path>
<path name="speaker3-only">
<ctl name="R2 Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="R2 Digital PCM Volume" value="817" />
<ctl name="R2 AMP PCM Gain" value="17" />
<ctl name="R2 PCM Source" value="ASP" />
</path>
<path name="speaker4-only">
<ctl name="R Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R PCM Source" value="ASP" />
</path>
<path name="us-speaker1-only">
<ctl name="Main AMP Enable Switch" value="1" />
<path name="us-mfg-playback speaker" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="AMP PCM Gain" value="17" />
<ctl name="PCM Source" value="ASP" />
</path>
<path name="us-speaker2-only">
<ctl name="L2 Main AMP Enable Switch" value="1" />
<path name="us-mfg-playback speaker" />
<ctl name="L2 Digital PCM Volume" value="817" />
<ctl name="L2 AMP PCM Gain" value="17" />
<ctl name="L2 PCM Source" value="ASP" />
</path>
<path name="us-speaker3-only">
<ctl name="R2 Main AMP Enable Switch" value="1" />
<path name="us-mfg-playback speaker" />
<ctl name="R2 Digital PCM Volume" value="817" />
<ctl name="R2 AMP PCM Gain" value="17" />
<ctl name="R2 PCM Source" value="ASP" />
</path>
<path name="us-speaker4-only">
<ctl name="R Main AMP Enable Switch" value="1" />
<path name="us-mfg-playback speaker" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R 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="Digital PCM Volume" value="817" />
<ctl name="AMP PCM Gain" value="17" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="R PCM Source" value="ASP" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="L2 Main AMP Enable Switch" value="1" />
<ctl name="L2 PCM Source" value="ASP" />
<ctl name="L2 Digital PCM Volume" value="817" />
<ctl name="L2 AMP PCM Gain" value="17" />
<ctl name="R2 Main AMP Enable Switch" value="1" />
<ctl name="R2 PCM Source" value="ASP" />
<ctl name="R2 Digital PCM Volume" value="817" />
<ctl name="R2 AMP PCM Gain" value="17" />
<path name="mfg-playback speaker" />
</path>
<path name="us-speaker-all">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="PCM Source" value="ASP" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="AMP PCM Gain" value="17" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="R PCM Source" value="ASP" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="L2 Main AMP Enable Switch" value="1" />
<ctl name="L2 PCM Source" value="ASP" />
<ctl name="L2 Digital PCM Volume" value="817" />
<ctl name="L2 AMP PCM Gain" value="17" />
<ctl name="R2 Main AMP Enable Switch" value="1" />
<ctl name="R2 PCM Source" value="ASP" />
<ctl name="R2 Digital PCM Volume" value="817" />
<ctl name="R2 AMP PCM Gain" value="17" />
<path name="us-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-speaker4" 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,508 +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" />
<ctl name="L2 Main AMP Enable Switch" value="0" />
<ctl name="L2 DSP1 Preload Switch" value="0" />
<ctl name="R2 Main AMP Enable Switch" value="0" />
<ctl name="R2 DSP1 Preload Switch" value="0" />
<!-- Clock-trigger Stage -->
<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" />
<ctl name="L2 DRE DRE Switch" value="1" />
<ctl name="L2 VBSTMON Output Switch" value="1" />
<ctl name="L2 DSP Booted" value="0" />
<ctl name="L2 DSP1 Preload Switch" value="0" />
<ctl name="R2 DRE DRE Switch" value="1" />
<ctl name="R2 VBSTMON Output Switch" value="1" />
<ctl name="R2 DSP Booted" value="0" />
<ctl name="R2 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" />
<ctl name="L2 DSP1 Preload Switch" value="1" />
<ctl name="R2 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" />
<ctl name="L2 AMP PCM Gain" value="17" />
<ctl name="L2 Digital PCM Volume" value="817" />
<ctl name="L2 PCM Source" value="DSP" />
<ctl name="L2 DSP1 Firmware" value="Calibration" />
<ctl name="R2 AMP PCM Gain" value="17" />
<ctl name="R2 Digital PCM Volume" value="817" />
<ctl name="R2 PCM Source" value="DSP" />
<ctl name="R2 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" />
<ctl name="L2 AMP PCM Gain" value="17" />
<ctl name="L2 Digital PCM Volume" value="817" />
<ctl name="L2 PCM Source" value="DSP" />
<ctl name="L2 DSP1 Firmware" value="Diagnostic" />
<ctl name="R2 AMP PCM Gain" value="17" />
<ctl name="R2 Digital PCM Volume" value="817" />
<ctl name="R2 PCM Source" value="DSP" />
<ctl name="R2 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" />
<ctl name="L2 PCM Source" value="DSP" />
<ctl name="L2 DSP1 Firmware" value="Protection" />
<ctl name="R2 PCM Source" value="DSP" />
<ctl name="R2 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-amp3">
<ctl name="L2 Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration-amp4">
<ctl name="R2 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 name="crus-dsp-pre-calibration-amp3" />
<path name="crus-dsp-pre-calibration-amp4" />
</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-amp3">
<ctl name="L2 Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic-amp4">
<ctl name="R2 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 name="crus-dsp-pre-diagnostic-amp3" />
<path name="crus-dsp-pre-diagnostic-amp4" />
</path>
<path name="crus-dsp-pre-protection">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="L2 Main AMP Enable Switch" value="1" />
<ctl name="R2 Main AMP Enable Switch" value="1" />
</path>
<!-- Clock-trigger Stage -->
<path name="platform-controls">
<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" />
<ctl name="L2 Main AMP Enable Switch" value="0" />
<ctl name="R2 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="L2 DRE DRE Switch" />
<ctl name="R2 DRE DRE Switch" />
<ctl name="VBSTMON Output Switch" />
<ctl name="R VBSTMON Output Switch" />
<ctl name="L2 VBSTMON Output Switch" />
<ctl name="R2 VBSTMON Output Switch" />
<ctl name="AMP PCM Gain" />
<ctl name="R AMP PCM Gain" />
<ctl name="L2 AMP PCM Gain" />
<ctl name="R2 AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<ctl name="R Digital PCM Volume" />
<ctl name="L2 Digital PCM Volume" />
<ctl name="R2 Digital PCM Volume" />
<ctl name="PCM Source" />
<ctl name="R PCM Source" />
<ctl name="L2 PCM Source" />
<ctl name="R2 PCM Source" />
<ctl name="DSP Booted" />
<ctl name="R DSP Booted" />
<ctl name="L2 DSP Booted" />
<ctl name="R2 DSP Booted" />
<ctl name="Main AMP Enable Switch" />
<ctl name="R Main AMP Enable Switch" />
<ctl name="L2 Main AMP Enable Switch" />
<ctl name="R2 Main AMP Enable Switch" />
<ctl name="DSP1 Preload Switch" />
<ctl name="R DSP1 Preload Switch" />
<ctl name="L2 DSP1 Preload Switch" />
<ctl name="R2 DSP1 Preload Switch" />
<ctl name="DSP1 Firmware" />
<ctl name="R DSP1 Firmware" />
<ctl name="L2 DSP1 Firmware" />
<ctl name="R2 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>
<path name="cs35l41-dsp-amp3-calibration-values">
<ctl name="L2 DSP1 Calibration cd CAL_R" />
<ctl name="L2 DSP1 Calibration cd CAL_STATUS" />
<ctl name="L2 DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="L2 DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="L2 AMP PCM Gain" />
<ctl name="L2 Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="L2 DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp4-calibration-values">
<ctl name="R2 DSP1 Calibration cd CAL_R" />
<ctl name="R2 DSP1 Calibration cd CAL_STATUS" />
<ctl name="R2 DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="R2 DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="R2 AMP PCM Gain" />
<ctl name="R2 Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="R2 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-amp3-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="L2 DSP1 Diagnostic cd CAL_R" />
<ctl name="L2 DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="L2 DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="L2 DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="L2 AMP PCM Gain" />
<ctl name="L2 Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="L2 DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="L2 DSP1 Diagnostic cd DIAG_F0" />
<ctl name="L2 DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="L2 DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp4-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="R2 DSP1 Diagnostic cd CAL_R" />
<ctl name="R2 DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R2 DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="R2 DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="R2 AMP PCM Gain" />
<ctl name="R2 Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="R2 DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="R2 DSP1 Diagnostic cd DIAG_F0" />
<ctl name="R2 DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="R2 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-amp3-protection-values">
<!-- struct calibration_data START -->
<ctl name="L2 DSP1 Protection cd CAL_R" />
<ctl name="L2 DSP1 Protection cd CAL_STATUS" />
<ctl name="L2 DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="L2 DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="L2 AMP PCM Gain" />
<ctl name="L2 Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp4-protection-values">
<!-- struct calibration_data START -->
<ctl name="R2 DSP1 Protection cd CAL_R" />
<ctl name="R2 DSP1 Protection cd CAL_STATUS" />
<ctl name="R2 DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="R2 DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="R2 AMP PCM Gain" />
<ctl name="R2 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-amp3-calibration-completion">
<ctl name="L2 DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp4-calibration-completion">
<ctl name="R2 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-amp3-protection-completion">
<ctl name="L2 DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp4-protection-completion">
<ctl name="R2 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-amp3-diagnostic-completion">
<ctl name="L2 DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="L2 DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp4-diagnostic-completion">
<ctl name="R2 DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R2 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>
<path name="cs35l41-dsp-amp3-enable-status">
<ctl name="L2 Main AMP Enable Switch" />
</path>
<path name="cs35l41-dsp-amp4-enable-status">
<ctl name="R2 Main AMP Enable Switch" />
</path>
</mixer>

View File

@@ -1,22 +0,0 @@
#
# Copyright (C) 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.
#
AUDIO_FACTORY_TABLE_FOLDER := tangorpro
# Mixer Path Configuration for Audio Factory
PRODUCT_COPY_FILES += \
device/google/tangorpro/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml

View File

@@ -1,44 +0,0 @@
// Copyright (C) 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.
soong_namespace {
}
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_prebuilt_library_shared {
name: "libspeechenhancer",
vendor: true,
owner: "google",
proprietary: true,
allow_undefined_symbols: true,
arch: {
arm: {
srcs: ["arm32/libspeechenhancer.so"],
},
arm64: {
srcs: ["arm64/libspeechenhancer.so"],
},
},
shared_libs: [
"libcutils",
"libEGL",
"libGLESv2",
"liblog",
"libz",
"libnativewindow",
],
}

View File

@@ -1,252 +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="1" 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="1" 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"/>
</module>
<module id="7" name="Multi Channel IIR 2">
<param default="1" 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="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 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="uint32"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
</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="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"/>
<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="1" 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"/>
</module>
<module id="17" name="Wind Noise Reduction">
<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"/>
<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="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"/>
<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="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="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

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

@@ -16,13 +16,8 @@
#
# 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
# Not support LE Audio dual mic SWB call based on the current launch strategy
PRODUCT_PRODUCT_PROPERTIES += \
@@ -54,14 +49,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
DEVICE_MANIFEST_FILE += \
device/google/tangorpro/bluetooth/manifest_bluetooth.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/tangorpro/bluetooth/device_framework_matrix_product.xml
BOARD_SEPOLICY_DIRS += device/google/tangorpro-sepolicy/bluetooth
BOARD_SEPOLICY_DIRS += device/google/tangorpro/sepolicy/bluetooth
PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-service.synabtlinux \
android.hardware.bluetooth.prebuilt.xml \
android.hardware.bluetooth_le.prebuilt.xml
# Bluetooth SAR test tools
PRODUCT_PACKAGES_DEBUG += bt_sar_test
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
device/google/tangorpro/bluetooth/bluetooth_power_limits_tangorpro.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \

View File

@@ -1,48 +0,0 @@
// ----------------------------------------------------------------------------
// Builds android.hardware.drm-service.castkey
//
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "device_google_tangorpro_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["device_google_tangorpro_license"],
}
cc_binary {
name: "android.hardware.drm-service.castkey",
defaults: ["castkey_service_defaults"],
srcs: ["Service.cpp"],
init_rc: ["android.hardware.drm-service.castkey.rc"],
vintf_fragments: ["manifest_android.hardware.drm-service.castkey.xml"],
}
cc_defaults {
name: "castkey_service_defaults",
vendor: true,
proprietary: true,
srcs: [
"CreatePluginFactories.cpp",
"DrmFactory.cpp",
"DrmPlugin.cpp",
"SessionLibrary.cpp",
],
relative_install_path: "hw",
cflags: ["-Wall", "-Werror"],
include_dirs: [
"device/google/tangorpro/cast_auth/mediadrm/include",
],
shared_libs: [
"android.hardware.drm-V1-ndk",
"libbase",
"libbinder_ndk",
"liblog",
"libutils",
],
}

View File

@@ -1,17 +0,0 @@
#include "CreatePluginFactories.h"
namespace aidl {
namespace android {
namespace hardware {
namespace drm {
namespace castkey {
std::shared_ptr<DrmFactory> createDrmFactory() {
return ::ndk::SharedRefBase::make<DrmFactory>();
}
} // namespace castkey
} // namespace drm
} // namespace hardware
} // namespace android
} // namespace aidl

View File

@@ -1,82 +0,0 @@
#define LOG_TAG "castkey-DrmFactory"
#include <utils/Log.h>
#include "DrmFactory.h"
#include "DrmPlugin.h"
#include "Utils.h"
namespace aidl {
namespace android {
namespace hardware {
namespace drm {
namespace castkey {
namespace {
const std::array<uint8_t, 16> kCastKeyUUID{
0xBC, 0xB4, 0x81, 0xCB, 0xA1, 0xD5, 0x42, 0xAF,
0xB1, 0xE3, 0x7B, 0xFF, 0x14, 0x73, 0xEB, 0x85
};
bool isCastKeyUUID(const uint8_t uuid[16]) {
return !memcmp(uuid, kCastKeyUUID.data(), 16);
}
}
using std::string;
using std::vector;
using ::aidl::android::hardware::drm::Status;
using ::aidl::android::hardware::drm::Uuid;
using namespace castkeydrm;
::ndk::ScopedAStatus DrmFactory::createDrmPlugin(
const Uuid& in_uuid, const string& in_appPackageName,
std::shared_ptr<::aidl::android::hardware::drm::IDrmPlugin>* _aidl_return) {
UNUSED(in_appPackageName);
if (!isCastKeyUUID(in_uuid.uuid.data())) {
ALOGE("Castkey Drm HAL: failed to create drm plugin, "
"invalid crypto scheme");
*_aidl_return = nullptr;
return toNdkScopedAStatus(Status::BAD_VALUE);
}
std::shared_ptr<DrmPlugin> plugin =
::ndk::SharedRefBase::make<DrmPlugin>();
*_aidl_return = plugin;
return toNdkScopedAStatus(Status::OK);
}
::ndk::ScopedAStatus DrmFactory::createCryptoPlugin(
const Uuid& in_uuid, const std::vector<uint8_t>& in_initData,
std::shared_ptr<::aidl::android::hardware::drm::ICryptoPlugin>* _aidl_return) {
UNUSED(in_uuid);
UNUSED(in_initData);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmFactory::getSupportedCryptoSchemes(CryptoSchemes* _aidl_return) {
CryptoSchemes schemes{};
schemes.uuids.push_back({kCastKeyUUID});
*_aidl_return = schemes;
return toNdkScopedAStatus(Status::OK);
}
binder_status_t DrmFactory::dump(int fd, const char** args, uint32_t numArgs) {
UNUSED(args);
UNUSED(numArgs);
if (fd < 0) {
ALOGE("%s: negative fd", __FUNCTION__);
return STATUS_BAD_VALUE;
}
return STATUS_OK;
}
} // namespace castkey
} // namespace drm
} // namespace hardware
} // namespace android
} // namespace aidl

View File

@@ -1,419 +0,0 @@
#define LOG_TAG "castkey-DrmPlugin"
#include <utils/Log.h>
#include <dlfcn.h>
#include <fstream>
#include <vector>
#include <stdlib.h>
#include "Utils.h"
#include "DrmPlugin.h"
#include "SessionLibrary.h"
namespace aidl {
namespace android {
namespace hardware {
namespace drm {
namespace castkey {
using namespace castkeydrm;
DrmPlugin::DrmPlugin() {};
DrmPlugin::~DrmPlugin() {};
constexpr char CAST_CRT_FILE[] = "/mnt/vendor/persist/nest/cast_auth.crt";
constexpr char CAST_ICA_FILE[] = "/vendor/etc/cert-chain.crt";
constexpr unsigned char kSha1Prefix[] = {0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e,
0x03, 0x02, 0x1a, 0x05, 0x00, 0x04, 0x14};
constexpr unsigned char kSha256Prefix[] = {0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60,
0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02,
0x01, 0x05, 0x00, 0x04, 0x20};
constexpr int kSHA1Length = 20;
constexpr int kSHA256Length = 32;
constexpr int DigestInfoPrefixesSize = 2;
struct DigestInfoPrefix {
const unsigned char* bytes;
size_t size;
size_t hash_size;
};
// Array of DigestInfoPrefixes that are currently supported (SHA1 and SHA256).
const DigestInfoPrefix kDigestInfoPrefixes[] = {
{kSha1Prefix, sizeof(kSha1Prefix), kSHA1Length},
{kSha256Prefix, sizeof(kSha256Prefix), kSHA256Length},
};
// If we find a raw hash, prepend the appropriate DER prefix.
std::vector<uint8_t> adjustHash(const std::vector<uint8_t>& hash) {
std::vector<uint8_t> adjusted_hash(hash);
for (size_t i = 0; i < DigestInfoPrefixesSize; i++) {
const DigestInfoPrefix& prefix = kDigestInfoPrefixes[i];
if (hash.size() == prefix.hash_size) {
adjusted_hash.insert(adjusted_hash.begin(), prefix.bytes,
&prefix.bytes[prefix.size]);
break;
}
}
return adjusted_hash;
}
std::vector<uint8_t> readBinaryFile(const std::string& file_path) {
std::ifstream fin(file_path, std::ios::in | std::ios::binary);
fin >> std::noskipws;
std::vector<uint8_t> buffer((std::istream_iterator<uint8_t>(fin)),
std::istream_iterator<uint8_t>());
return buffer;
}
::ndk::ScopedAStatus DrmPlugin::openSession(
::aidl::android::hardware::drm::SecurityLevel in_securityLevel,
std::vector<uint8_t>* _aidl_return) {
UNUSED(in_securityLevel);
std::vector<uint8_t> sessionId = SessionLibrary::get()->createSession();
*_aidl_return = sessionId;
return toNdkScopedAStatus(Status::OK);
}
::ndk::ScopedAStatus DrmPlugin::closeSession(const std::vector<uint8_t>& in_sessionId) {
if (in_sessionId.size() == 0) {
return toNdkScopedAStatus(Status::BAD_VALUE);
}
SessionLibrary::get()->closeSession(in_sessionId);
return toNdkScopedAStatus(Status::OK);
}
::ndk::ScopedAStatus DrmPlugin::getPropertyByteArray(const std::string& in_propertyName,
std::vector<uint8_t>* _aidl_return) {
Status status = Status::OK;
std::string name(in_propertyName.c_str());
std::vector<uint8_t> value;
if (name == "castcert") {
std::vector<uint8_t> device_cert = readBinaryFile(CAST_CRT_FILE);
std::vector<uint8_t> ica = readBinaryFile(CAST_ICA_FILE);
value = std::move(device_cert);
value.insert(value.end(), ica.begin(), ica.end());
} else {
status = Status::ERROR_DRM_CANNOT_HANDLE;
ALOGE("Unsupported Property: %s", in_propertyName.c_str());
}
*_aidl_return = value;
return toNdkScopedAStatus(status);
}
::ndk::ScopedAStatus DrmPlugin::signRSA(const std::vector<uint8_t>& in_sessionId,
const std::string& in_algorithm,
const std::vector<uint8_t>& in_message,
const std::vector<uint8_t>& in_wrappedkey,
std::vector<uint8_t>* _aidl_return) {
if (in_sessionId.size() == 0 || in_message.size() == 0) {
return toNdkScopedAStatus(Status::BAD_VALUE);
}
UNUSED(in_algorithm);
UNUSED(in_wrappedkey);
Status status = Status::ERROR_DRM_CANNOT_HANDLE;
std::vector<uint8_t> signature;
*_aidl_return = std::vector<uint8_t>();
void* cast_auth_handle = ::dlopen("libcast_auth.so", RTLD_LAZY);
if (!cast_auth_handle) {
ALOGE("Fail to get TA for signing");
return toNdkScopedAStatus(status);
}
typedef bool (*func_type)(const std::vector<uint8_t>&,
std::vector<uint8_t>*);
func_type sign_hash_func =
reinterpret_cast<func_type>(::dlsym(cast_auth_handle, "SignHash"));
if (!sign_hash_func) {
ALOGE("Fail to apply signing method");
dlclose(cast_auth_handle);
return toNdkScopedAStatus(status);
}
const std::vector<uint8_t> msg = adjustHash(in_message);
int res = sign_hash_func(msg, &signature);
dlclose(cast_auth_handle);
if (res == 0) {
*_aidl_return = signature;
return toNdkScopedAStatus(Status::OK);
}
ALOGE("Get empty result from TA");
return toNdkScopedAStatus(status);
}
::ndk::ScopedAStatus DrmPlugin::decrypt(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_input,
const std::vector<uint8_t>& in_iv,
std::vector<uint8_t>* _aidl_return) {
UNUSED(in_sessionId);
UNUSED(in_keyId);
UNUSED(in_input);
UNUSED(in_iv);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::encrypt(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_input,
const std::vector<uint8_t>& in_iv,
std::vector<uint8_t>* _aidl_return) {
UNUSED(in_sessionId);
UNUSED(in_keyId);
UNUSED(in_input);
UNUSED(in_iv);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getHdcpLevels(
::aidl::android::hardware::drm::HdcpLevels* _aidl_return) {
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getKeyRequest(
const std::vector<uint8_t>& in_scope,
const std::vector<uint8_t>& in_initData,
const std::string& in_mimeType,
::aidl::android::hardware::drm::KeyType in_keyType,
const std::vector<::aidl::android::hardware::drm::KeyValue>& in_optionalParameters,
::aidl::android::hardware::drm::KeyRequest* _aidl_return) {
UNUSED(in_scope);
UNUSED(in_initData);
UNUSED(in_mimeType);
UNUSED(in_keyType);
UNUSED(in_optionalParameters);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getLogMessages(
std::vector<::aidl::android::hardware::drm::LogMessage>* _aidl_return) {
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getMetrics(
std::vector<::aidl::android::hardware::drm::DrmMetricGroup>* _aidl_return) {
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getNumberOfSessions(
::aidl::android::hardware::drm::NumberOfSessions* _aidl_return) {
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getOfflineLicenseKeySetIds(
std::vector<::aidl::android::hardware::drm::KeySetId>* _aidl_return) {
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getOfflineLicenseState(
const ::aidl::android::hardware::drm::KeySetId& in_keySetId,
::aidl::android::hardware::drm::OfflineLicenseState* _aidl_return) {
UNUSED(in_keySetId);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getPropertyString(const std::string& in_propertyName,
std::string* _aidl_return) {
UNUSED(in_propertyName);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getProvisionRequest(
const std::string& in_certificateType,
const std::string& in_certificateAuthority,
::aidl::android::hardware::drm::ProvisionRequest* _aidl_return) {
UNUSED(in_certificateType);
UNUSED(in_certificateAuthority);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getSecureStop(
const ::aidl::android::hardware::drm::SecureStopId& in_secureStopId,
::aidl::android::hardware::drm::SecureStop* _aidl_return) {
UNUSED(in_secureStopId);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getSecureStopIds(
std::vector<::aidl::android::hardware::drm::SecureStopId>* _aidl_return) {
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getSecureStops(
std::vector<::aidl::android::hardware::drm::SecureStop>* _aidl_return) {
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::getSecurityLevel(
const std::vector<uint8_t>& in_sessionId,
::aidl::android::hardware::drm::SecurityLevel* _aidl_return) {
UNUSED(in_sessionId);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::provideKeyResponse(
const std::vector<uint8_t>& in_scope,
const std::vector<uint8_t>& in_response,
::aidl::android::hardware::drm::KeySetId* _aidl_return) {
UNUSED(in_scope);
UNUSED(in_response);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::provideProvisionResponse(
const std::vector<uint8_t>& in_response,
::aidl::android::hardware::drm::ProvideProvisionResponseResult* _aidl_return) {
UNUSED(in_response);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::queryKeyStatus(
const std::vector<uint8_t>& in_sessionId,
std::vector<::aidl::android::hardware::drm::KeyValue>* _aidl_return) {
UNUSED(in_sessionId);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::releaseAllSecureStops() {
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::releaseSecureStop(
const ::aidl::android::hardware::drm::SecureStopId& in_secureStopId) {
UNUSED(in_secureStopId);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::releaseSecureStops(
const ::aidl::android::hardware::drm::OpaqueData& in_ssRelease) {
UNUSED(in_ssRelease);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::removeAllSecureStops() {
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::removeKeys(const std::vector<uint8_t>& in_sessionId) {
UNUSED(in_sessionId);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::removeOfflineLicense(
const ::aidl::android::hardware::drm::KeySetId& in_keySetId) {
UNUSED(in_keySetId);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::removeSecureStop(
const ::aidl::android::hardware::drm::SecureStopId& in_secureStopId) {
UNUSED(in_secureStopId);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::requiresSecureDecoder(
const std::string& in_mime,
::aidl::android::hardware::drm::SecurityLevel in_level,
bool* _aidl_return) {
UNUSED(in_mime);
UNUSED(in_level);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::restoreKeys(
const std::vector<uint8_t>& in_sessionId,
const ::aidl::android::hardware::drm::KeySetId& in_keySetId) {
UNUSED(in_sessionId);
UNUSED(in_keySetId);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::setCipherAlgorithm(const std::vector<uint8_t>& in_sessionId,
const std::string& in_algorithm) {
UNUSED(in_sessionId);
UNUSED(in_algorithm);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::setListener(
const std::shared_ptr<::aidl::android::hardware::drm::IDrmPluginListener>&
in_listener) {
UNUSED(in_listener);
return toNdkScopedAStatus(Status::OK);
}
::ndk::ScopedAStatus DrmPlugin::setMacAlgorithm(const std::vector<uint8_t>& in_sessionId,
const std::string& in_algorithm) {
UNUSED(in_sessionId);
UNUSED(in_algorithm);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::setPlaybackId(const std::vector<uint8_t>& in_sessionId,
const std::string& in_playbackId) {
UNUSED(in_sessionId);
UNUSED(in_playbackId);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::setPropertyByteArray(const std::string& in_propertyName,
const std::vector<uint8_t>& in_value) {
UNUSED(in_propertyName);
UNUSED(in_value);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::setPropertyString(const std::string& in_propertyName,
const std::string& in_value) {
UNUSED(in_propertyName);
UNUSED(in_value);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::sign(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_message,
std::vector<uint8_t>* _aidl_return) {
UNUSED(in_sessionId);
UNUSED(in_keyId);
UNUSED(in_message);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
::ndk::ScopedAStatus DrmPlugin::verify(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_message,
const std::vector<uint8_t>& in_signature,
bool* _aidl_return) {
UNUSED(in_sessionId);
UNUSED(in_keyId);
UNUSED(in_message);
UNUSED(in_signature);
UNUSED(_aidl_return);
return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE);
}
} // namespace castkey
} // namespace drm
} // namespace hardware
} // namespace android
} // namespace aidl

View File

@@ -1,23 +0,0 @@
#define LOG_TAG "castkey-main"
#include <android-base/logging.h>
#include <android/binder_manager.h>
#include <android/binder_process.h>
#include "CreatePluginFactories.h"
using ::android::base::InitLogging;
using ::android::base::LogdLogger;
using ::aidl::android::hardware::drm::castkey::createDrmFactory;
using ::aidl::android::hardware::drm::castkey::DrmFactory;
int main(int /*argc*/, char* argv[]) {
InitLogging(argv, LogdLogger());
ABinderProcess_setThreadPoolMaxThreadCount(8);
std::shared_ptr<DrmFactory> drmFactory = createDrmFactory();
const std::string drmInstance = std::string() + DrmFactory::descriptor + "/castkey";
binder_status_t status =
AServiceManager_addService(drmFactory->asBinder().get(), drmInstance.c_str());
CHECK(status == STATUS_OK);
ABinderProcess_joinThreadPool();
return EXIT_FAILURE;
}

View File

@@ -1,39 +0,0 @@
#include "SessionLibrary.h"
#include <algorithm>
#include <string>
namespace castkeydrm {
std::mutex SessionLibrary::singleton_lock_;
SessionLibrary* SessionLibrary::singleton_ = NULL;
SessionLibrary* SessionLibrary::get() {
std::lock_guard<std::mutex> guard(singleton_lock_);
if (singleton_ == NULL) {
singleton_ = new SessionLibrary();
}
return singleton_;
}
std::vector<uint8_t> SessionLibrary::createSession() {
std::lock_guard<std::mutex> guard(session_lock_);
std::string session_string = std::to_string(next_session_id_);
next_session_id_ += 1;
sessions_.emplace_back(session_string.begin(), session_string.end());
return sessions_.back();
}
void SessionLibrary::closeSession(const std::vector<uint8_t>& session) {
std::lock_guard<std::mutex> guard(session_lock_);
sessions_.erase(std::remove_if(sessions_.begin(), sessions_.end(),
[&session](const std::vector<uint8_t>& e) {
return std::equal(e.begin(), e.end(), session.begin());
}),
sessions_.end());
}
} // namespace castkeydrm

View File

@@ -1,6 +0,0 @@
service vendor.drm-castkey-service /vendor/bin/hw/android.hardware.drm-service.castkey
class hal
user media
group mediadrm drmrpc
ioprio rt 4
interface aidl android.hardware.drm.IDrmFactory/castkey

View File

@@ -1,48 +0,0 @@
#ifndef CASTKEY_TYPES_H_
#define CASTKEY_TYPES_H_
#include <cstdint>
#include <map>
#include <vector>
namespace castkeydrm {
const uint8_t kBlockSize = 16; // AES_BLOCK_SIZE;
typedef uint8_t KeyId[kBlockSize];
typedef uint8_t Iv[kBlockSize];
typedef std::map<std::vector<uint8_t>, std::vector<uint8_t>> KeyMap;
#define CASTKEY_DISALLOW_COPY_AND_ASSIGN(TypeName) \
TypeName(const TypeName&) = delete; \
void operator=(const TypeName&) = delete;
#define CASTKEY_DISALLOW_COPY_AND_ASSIGN_AND_NEW(TypeName) \
TypeName() = delete; \
TypeName(const TypeName&) = delete; \
void operator=(const TypeName&) = delete;
enum CdmResponseType : int32_t {
OK = 0,
ERROR_NO_LICENSE = 1,
ERROR_SESSION_NOT_OPENED = 3,
ERROR_CANNOT_HANDLE = 4,
ERROR_INVALID_STATE = 5,
BAD_VALUE = 6,
ERROR_DECRYPT = 11,
ERROR_UNKNOWN = 12,
ERROR_INSUFFICIENT_SECURITY = 13,
ERROR_FRAME_TOO_LARGE = 14,
ERROR_SESSION_LOST_STATE = 15,
ERROR_RESOURCE_CONTENTION = 16,
};
enum CdmKeyType : int32_t {
KEY_TYPE_OFFLINE = 0,
KEY_TYPE_STREAMING = 1,
KEY_TYPE_RELEASE = 2,
};
} // namespace castkeydrm
#endif // CASTKEY_TYPES_H_

View File

@@ -1,20 +0,0 @@
#ifndef CREATE_PLUGIN_FACTORIES_H_
#define CREATE_PLUGIN_FACTORIES_H_
#include "DrmFactory.h"
namespace aidl {
namespace android {
namespace hardware {
namespace drm {
namespace castkey {
std::shared_ptr<DrmFactory> createDrmFactory();
} // namespace castkey
} // namespace drm
} // namespace hardware
} // namespace android
} // namespace aidl
#endif // CREATE_PLUGIN_FACTORIES_H_

View File

@@ -1,50 +0,0 @@
#ifndef DRM_FACTORY_H_
#define DRM_FACTORY_H_
#include <aidl/android/hardware/drm/BnDrmFactory.h>
#include <aidl/android/hardware/drm/IDrmFactory.h>
#include <aidl/android/hardware/drm/IDrmPlugin.h>
#include <aidl/android/hardware/drm/ICryptoPlugin.h>
#include <string>
#include <vector>
#include "CastKeyTypes.h"
namespace aidl {
namespace android {
namespace hardware {
namespace drm {
namespace castkey {
struct DrmFactory : public BnDrmFactory {
DrmFactory() {};
virtual ~DrmFactory() {};
::ndk::ScopedAStatus createDrmPlugin(
const ::aidl::android::hardware::drm::Uuid& in_uuid,
const std::string& in_appPackageName,
std::shared_ptr<::aidl::android::hardware::drm::IDrmPlugin>* _aidl_return) override;
::ndk::ScopedAStatus createCryptoPlugin(
const ::aidl::android::hardware::drm::Uuid& in_uuid,
const std::vector<uint8_t>& in_initData,
std::shared_ptr<::aidl::android::hardware::drm::ICryptoPlugin>* _aidl_return) override;
::ndk::ScopedAStatus getSupportedCryptoSchemes(
::aidl::android::hardware::drm::CryptoSchemes* _aidl_return) override;
binder_status_t dump(int fd, const char** args, uint32_t numArgs) override;
private:
CASTKEY_DISALLOW_COPY_AND_ASSIGN(DrmFactory);
};
} // namespace castkey
} // namespace drm
} // namespace hardware
} // namespace android
} // namespace aidl
#endif // DRM_FACTORIES_H_

View File

@@ -1,143 +0,0 @@
#ifndef DRM_PLUGIN_H_
#define DRM_PLUGIN_H_
#include <aidl/android/hardware/drm/BnDrmPlugin.h>
#include <aidl/android/hardware/drm/IDrmPluginListener.h>
#include <aidl/android/hardware/drm/Status.h>
#include <stdio.h>
#include <map>
#include <utils/List.h>
namespace aidl {
namespace android {
namespace hardware {
namespace drm {
namespace castkey {
using namespace castkeydrm;
using ::aidl::android::hardware::drm::KeyType;
using ::aidl::android::hardware::drm::Status;
struct DrmPlugin : public BnDrmPlugin {
public:
explicit DrmPlugin();
virtual ~DrmPlugin();
::ndk::ScopedAStatus closeSession(const std::vector<uint8_t>& in_sessionId) override;
::ndk::ScopedAStatus decrypt(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_input,
const std::vector<uint8_t>& in_iv,
std::vector<uint8_t>* _aidl_return) override;
::ndk::ScopedAStatus encrypt(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_input,
const std::vector<uint8_t>& in_iv,
std::vector<uint8_t>* _aidl_return) override;
::ndk::ScopedAStatus getHdcpLevels(
::aidl::android::hardware::drm::HdcpLevels* _aidl_return) override;
::ndk::ScopedAStatus getKeyRequest(
const std::vector<uint8_t>& in_scope,
const std::vector<uint8_t>& in_initData,
const std::string& in_mimeType,
::aidl::android::hardware::drm::KeyType in_keyType,
const std::vector<::aidl::android::hardware::drm::KeyValue>& in_optionalParameters,
::aidl::android::hardware::drm::KeyRequest* _aidl_return) override;
::ndk::ScopedAStatus getLogMessages(
std::vector<::aidl::android::hardware::drm::LogMessage>* _aidl_return) override;
::ndk::ScopedAStatus getMetrics(
std::vector<::aidl::android::hardware::drm::DrmMetricGroup>* _aidl_return) override;
::ndk::ScopedAStatus getNumberOfSessions(
::aidl::android::hardware::drm::NumberOfSessions* _aidl_return) override;
::ndk::ScopedAStatus getOfflineLicenseKeySetIds(
std::vector<::aidl::android::hardware::drm::KeySetId>* _aidl_return) override;
::ndk::ScopedAStatus getOfflineLicenseState(
const ::aidl::android::hardware::drm::KeySetId& in_keySetId,
::aidl::android::hardware::drm::OfflineLicenseState* _aidl_return) override;
::ndk::ScopedAStatus getPropertyByteArray(const std::string& in_propertyName,
std::vector<uint8_t>* _aidl_return) override;
::ndk::ScopedAStatus getPropertyString(const std::string& in_propertyName,
std::string* _aidl_return) override;
::ndk::ScopedAStatus getProvisionRequest(
const std::string& in_certificateType,
const std::string& in_certificateAuthority,
::aidl::android::hardware::drm::ProvisionRequest* _aidl_return) override;
::ndk::ScopedAStatus getSecureStop(
const ::aidl::android::hardware::drm::SecureStopId& in_secureStopId,
::aidl::android::hardware::drm::SecureStop* _aidl_return) override;
::ndk::ScopedAStatus getSecureStopIds(
std::vector<::aidl::android::hardware::drm::SecureStopId>* _aidl_return) override;
::ndk::ScopedAStatus getSecureStops(
std::vector<::aidl::android::hardware::drm::SecureStop>* _aidl_return) override;
::ndk::ScopedAStatus getSecurityLevel(
const std::vector<uint8_t>& in_sessionId,
::aidl::android::hardware::drm::SecurityLevel* _aidl_return) override;
::ndk::ScopedAStatus openSession(::aidl::android::hardware::drm::SecurityLevel in_securityLevel,
std::vector<uint8_t>* _aidl_return) override;
::ndk::ScopedAStatus provideKeyResponse(
const std::vector<uint8_t>& in_scope,
const std::vector<uint8_t>& in_response,
::aidl::android::hardware::drm::KeySetId* _aidl_return) override;
::ndk::ScopedAStatus provideProvisionResponse(
const std::vector<uint8_t>& in_response,
::aidl::android::hardware::drm::ProvideProvisionResponseResult* _aidl_return) override;
::ndk::ScopedAStatus queryKeyStatus(
const std::vector<uint8_t>& in_sessionId,
std::vector<::aidl::android::hardware::drm::KeyValue>* _aidl_return) override;
::ndk::ScopedAStatus releaseAllSecureStops() override;
::ndk::ScopedAStatus releaseSecureStop(
const ::aidl::android::hardware::drm::SecureStopId& in_secureStopId) override;
::ndk::ScopedAStatus releaseSecureStops(
const ::aidl::android::hardware::drm::OpaqueData& in_ssRelease) override;
::ndk::ScopedAStatus removeAllSecureStops() override;
::ndk::ScopedAStatus removeKeys(const std::vector<uint8_t>& in_sessionId) override;
::ndk::ScopedAStatus removeOfflineLicense(
const ::aidl::android::hardware::drm::KeySetId& in_keySetId) override;
::ndk::ScopedAStatus removeSecureStop(
const ::aidl::android::hardware::drm::SecureStopId& in_secureStopId) override;
::ndk::ScopedAStatus requiresSecureDecoder(
const std::string& in_mime,
::aidl::android::hardware::drm::SecurityLevel in_level,
bool* _aidl_return) override;
::ndk::ScopedAStatus restoreKeys(
const std::vector<uint8_t>& in_sessionId,
const ::aidl::android::hardware::drm::KeySetId& in_keySetId) override;
::ndk::ScopedAStatus setCipherAlgorithm(const std::vector<uint8_t>& in_sessionId,
const std::string& in_algorithm) override;
::ndk::ScopedAStatus setListener(
const std::shared_ptr<::aidl::android::hardware::drm::IDrmPluginListener>&
in_listener) override;
::ndk::ScopedAStatus setMacAlgorithm(const std::vector<uint8_t>& in_sessionId,
const std::string& in_algorithm) override;
::ndk::ScopedAStatus setPlaybackId(const std::vector<uint8_t>& in_sessionId,
const std::string& in_playbackId) override;
::ndk::ScopedAStatus setPropertyByteArray(const std::string& in_propertyName,
const std::vector<uint8_t>& in_value) override;
::ndk::ScopedAStatus setPropertyString(const std::string& in_propertyName,
const std::string& in_value) override;
::ndk::ScopedAStatus sign(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_message,
std::vector<uint8_t>* _aidl_return) override;
::ndk::ScopedAStatus signRSA(const std::vector<uint8_t>& in_sessionId,
const std::string& in_algorithm,
const std::vector<uint8_t>& in_message,
const std::vector<uint8_t>& in_wrappedkey,
std::vector<uint8_t>* _aidl_return) override;
::ndk::ScopedAStatus verify(const std::vector<uint8_t>& in_sessionId,
const std::vector<uint8_t>& in_keyId,
const std::vector<uint8_t>& in_message,
const std::vector<uint8_t>& in_signature,
bool* _aidl_return) override;
};
} // namespace castkey
} // namespace drm
} // namespace hardware
} // namespace android
} // namespace aidl
#endif // DRM_PLUGIN_H_

View File

@@ -1,28 +0,0 @@
#ifndef SESSION_LIBRARY_H_
#define SESSION_LIBRARY_H_
#include <mutex>
#include <vector>
namespace castkeydrm {
class SessionLibrary {
public:
static SessionLibrary* get();
std::vector<uint8_t> createSession();
void closeSession(const std::vector<uint8_t>& session);
private:
SessionLibrary() : next_session_id_(1) {}
static std::mutex singleton_lock_;
static SessionLibrary* singleton_;
std::mutex session_lock_;
uint32_t next_session_id_;
std::vector<std::vector<uint8_t>> sessions_;
};
} // namespace castkeydrm
#endif // SESSION_LIBRARY_H_

View File

@@ -1,44 +0,0 @@
#ifndef UTILS_H_
#define UTILS_H_
#include <string>
#include "SessionLibrary.h"
#include <android/binder_auto_utils.h>
#include "aidl/android/hardware/drm/Status.h"
#include "CastKeyTypes.h"
namespace aidl {
namespace android {
namespace hardware {
namespace drm {
namespace castkey {
inline ::ndk::ScopedAStatus toNdkScopedAStatus(::aidl::android::hardware::drm::Status status,
const char* msg = nullptr) {
if (Status::OK == status) {
return ::ndk::ScopedAStatus::ok();
} else {
auto err = static_cast<int32_t>(status);
if (msg) {
return ::ndk::ScopedAStatus::fromServiceSpecificErrorWithMessage(err, msg);
} else {
return ::ndk::ScopedAStatus::fromServiceSpecificError(err);
}
}
}
inline ::ndk::ScopedAStatus toNdkScopedAStatus(castkeydrm::CdmResponseType res) {
return toNdkScopedAStatus(static_cast<::aidl::android::hardware::drm::Status>(res));
}
#define UNUSED(x) (void)(x);
} // namespace castkey
} // namespace drm
} // namespace hardware
} // namespace android
} // namespace aidl
#endif // UTILS_H_

View File

@@ -1,7 +0,0 @@
<manifest version="1.0" type="device">
<hal format="aidl">
<name>android.hardware.drm</name>
<version>1</version>
<fqname>IDrmFactory/castkey</fqname>
</hal>
</manifest>

View File

@@ -20,7 +20,7 @@ on early-boot
wait_for_prop vendor.common.modules.ready 1
start insmod_sh_tangorpro
service insmod_sh_tangorpro /vendor/bin/insmod.sh /vendor/etc/init.insmod.tangorpro.cfg
service insmod_sh_tangorpro /vendor/bin/insmod.sh /vendor_dlkm/etc/init.insmod.tangorpro.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

39
device-lineage.mk Normal file
View File

@@ -0,0 +1,39 @@
#
# 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
# GMS
WITH_GMS_COMMS_SUITE := false
# RRO
PRODUCT_PACKAGES += \
GrilRadioCustomizableNoRadio \
SettingsGoogleTangorproOverlay \
TangorproGMSOverlay \
TitanSettingsOverlay \
TitanSettingsProviderOverlay \
TitanSysuiConfigOverlay
# Build necessary packages for vendor
# Dumpstate
PRODUCT_PACKAGES += \
dump_gsc.sh
# Graphics
PRODUCT_PACKAGES += \
libEGL_angle \
libGLESv1_CM_angle \
libGLESv2_angle
# Sensors
PRODUCT_PACKAGES += \
sensors.dynamic_sensor_hal

View File

@@ -14,28 +14,15 @@
# limitations under the License.
#
TARGET_KERNEL_DIR ?= device/google/tangorpro-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/tangorpro-kernel/kernel-headers
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_LEFT
TARGET_RECOVERY_DEFAULT_TOUCH_ROTATION := $(TARGET_RECOVERY_DEFAULT_ROTATION)
ifdef RELEASE_GOOGLE_TANGORPRO_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_TANGORPRO_KERNEL_VERSION)
endif
ifdef RELEASE_GOOGLE_TANGORPRO_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_TANGORPRO_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_TANGORPRO_KERNEL_DIR)/kernel-headers
endif
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_TANGORPRO_VERSION)
TARGET_KERNEL_DIR := device/google/tangorpro-kernels/evolution
TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
BOARD_WITHOUT_RADIO := true
$(call inherit-product-if-exists, vendor/google_devices/tangorpro/prebuilts/device-vendor-tangorpro.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/tangorpro/proprietary/tangorpro/device-vendor-tangorpro.mk)
$(call inherit-product-if-exists, vendor/google_devices/tangorpro/proprietary/WallpapersTangorpro.mk)
$(call inherit-product-if-exists, vendor/google_devices/tangorpro/proprietary/device-vendor.mk)
$(call inherit-product, device/google/tangorpro/uwb/uwb_calibration_country.mk)
DEVICE_PACKAGE_OVERLAYS += device/google/tangorpro/tangorpro/overlay
@@ -62,7 +49,7 @@ DISABLE_TELEPHONY_EUICC := true
include device/google/tangorpro/audio/tangorpro/audio-tables.mk
include device/google/gs201/device-shipping-common.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/gti/predump_gti.mk
include device/google/gs-common/touch/nvt/nvt.mk
include device/google/gs-common/led/led.mk
include device/google/gs-common/wlan/dump.mk
@@ -72,17 +59,13 @@ $(call soong_config_set,lyric,camera_hardware,tangorpro)
$(call soong_config_set,lyric,tuning_product,tangorpro)
$(call soong_config_set,google3a_config,target_device,tangorpro)
ifeq ($(filter factory_tangorpro, $(TARGET_PRODUCT)),)
include device/google/tangorpro/uwb/uwb_calibration.mk
endif
# Preopt SystemUI
PRODUCT_DEXPREOPT_SPEED_APPS += SystemUITitan # For tablet
# Touch files
PRODUCT_COPY_FILES += \
device/google/tangorpro/NVTCapacitiveTouchScreen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitiveTouchScreen.idc \
device/google/tangorpro/NVTCapacitivePen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitivePen.idc
device/google/tangorpro/NVTCapacitivePen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitivePen.idc \
device/google/tangorpro/USI_Stylus.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/USI_Stylus.idc
# Init files
PRODUCT_COPY_FILES += \
@@ -92,10 +75,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/tangorpro/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.tangorpro.rc
# insmod files
PRODUCT_COPY_FILES += \
device/google/tangorpro/init.insmod.tangorpro.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.tangorpro.cfg
# Camera
PRODUCT_COPY_FILES += \
device/google/tangorpro/media_profiles_tangorpro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
@@ -132,6 +111,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.server.automatic_turn_on=true
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
@@ -163,22 +146,14 @@ PRODUCT_PRODUCT_PROPERTIES += \
# ro.hardware.gatekeeper=software
# 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_S
$(call soong_config_set,fp_hal_feature,pixel_product, product_b)
# Fingerprint config
include device/google/tangorpro/fingerprint_config.mk
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/tangorpro/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/tangorpro/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/tangorpro/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/tangorpro/prebuilts/trusty/trunk
endif
# Wifi SAP Interface Name
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.wifi.sap.interface=wlan1
@@ -208,10 +183,6 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.telecom.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.telecom.xml
# Trusty libbinder_trusty_paidl.so and libcast_auth.so
PRODUCT_SOONG_NAMESPACES += \
vendor/google/trusty/common
# Cast auth
PRODUCT_COPY_FILES += \
device/google/tangorpro/cast_auth/tangor_ica.crt:$(TARGET_COPY_OUT_VENDOR)/etc/cert-chain.crt
@@ -219,13 +190,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
libcast_auth
PRODUCT_PACKAGES_DEBUG += \
test_cast_auth
# USI stylus test tool
PRODUCT_PACKAGES_DEBUG += \
usi_test
# Lights HAL
PRODUCT_PACKAGES += \
android.hardware.lights-service.tangorpro
@@ -262,14 +226,6 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.increase_thread_priority_nodes_stop=true \
persist.vendor.camera.debug.bypass_csi_link_crc_error=true
# Trusty libbinder_trusty_paidl.so and libcast_auth.so
PRODUCT_SOONG_NAMESPACES += \
vendor/lib64
# CastKey Drm plugin modules
PRODUCT_PACKAGES += \
android.hardware.drm-service.castkey
# MIPI Coex Configs
PRODUCT_COPY_FILES += \
device/google/tangorpro/radio/tangor_camera_front_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_mipi_coex_table.csv \
@@ -283,12 +239,32 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.adjust_backend_min_freq_for_1p_front_video_1080p_30fps=1 \
persist.vendor.camera.bypass_sensor_binning_resolution_condition=1 \
persist.vendor.camera.extended_launch_boost=1 \
persist.vendor.camera.raise_buf_allocation_priority=1
persist.vendor.camera.raise_buf_allocation_priority=1 \
camera.enable_landscape_to_portrait=true
# Enable camera exif model/make reporting
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=T6P
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_TANGORPRO))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_TANGORPRO)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_TANGORPRO))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_TANGORPRO)
endif
endif
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.multi_usb_mode=true
@@ -297,14 +273,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PACKAGES += \
audio_apmg3_aoc
PRODUCT_SOONG_NAMESPACES += device/google/tangorpro/audio/tangorpro/prebuilt/libspeechenhancer
#Audio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.speech_enhancement.enable=1
PRODUCT_PACKAGES += \
libspeechenhancer \
audio_speech_enhancer_aoc
# SKU specific RROs

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_tangorpro-kernels_evolution",
"target_path": "device/google/tangorpro-kernels/evolution"
},
{
"remote": "evo-tensor",
"repository": "vendor_google_tangorpro",
"target_path": "vendor/google/tangorpro"
}
]

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}/tangorpro"
./extract-files.py $@
popd

View File

@@ -1,24 +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=9452078
DEVICE=tangorpro
PRODUCT=tangorpro
VERSION=td2a.230104.001
SRCPREFIX=signed-
BOOTLOADER=tangorpro-1.0-9434949
source ../../../common/generate-factory-images-common.sh

View File

@@ -1,44 +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/tangorpro/device-tangorpro.mk)
include device/google/tangorpro/audio/tangorpro/factory-audio-tables.mk
PRODUCT_NAME := factory_tangorpro
PRODUCT_DEVICE := tangorpro
PRODUCT_MODEL := Factory build on Tangorpro
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 binaries of camera
PRODUCT_PACKAGES += fatp_imx787_hat_tool
# Factory binaries of wifi
PRODUCT_PACKAGES += myftm
# Tool for installing Cast keybox
PRODUCT_PACKAGES_DEBUG += \
CastInstallKeybox
# Display CABC for factory setting
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.cabc.supported=0

View File

@@ -1,10 +1,4 @@
# 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/event1
GOOGLE_CONFIG_FP_STATUS=1
GOOGLE_CONFIG_TOUCH_TO_UNLOCK_ANYTIME=1
endif

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="true"
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"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
/>
<gll
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
MultiCarrLnaMask="L1_EXT_ON"
RfType="GL_RF_4776_BRCM"
EnableFilteringForLTEB13="true"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="4"
RfPathLossDb_Cp="4"
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"
PowerMode="3"
/>
<gll_features
EnableNicAutoSwitch="true"
/>
</glgps>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="false"
Log="JAVA"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="false"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
/>
<gll
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
MultiCarrLnaMask="L1_EXT_ON"
RfType="GL_RF_4776_BRCM"
EnableFilteringForLTEB13="true"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="4"
RfPathLossDb_Cp="4"
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="false"
PowerMode="3"
/>
<gll_features
EnableNicAutoSwitch="true"
/>
</glgps>

View File

@@ -1,16 +0,0 @@
##########################################################
# init.insmod.tangorpro.cfg #
# This file contains tangorpro 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|synadhd.ko
modprobe|snd-soc-cs35l41-spi.ko
modprobe|nvt_touch.ko
# All device specific modules loaded
setprop|vendor.device.modules.ready
setprop|vendor.all.modules.ready
setprop|vendor.all.devices.ready

35
lineage_tangorpro.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_tablet_wifionly.mk)
# Inherit device configuration
DEVICE_CODENAME := tangorpro
DEVICE_PATH := device/google/tangorpro
VENDOR_PATH := vendor/google/tangorpro
$(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 Tablet
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
# Boot animation
TARGET_SCREEN_HEIGHT := 1600
TARGET_SCREEN_WIDTH := 2560
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="tangorpro-user 16 BP2A.250805.005 13691446 release-keys" \
BuildFingerprint=google/tangorpro/tangorpro:16/BP2A.250805.005/13691446:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)
$(call inherit-product, $(VENDOR_PATH)/$(DEVICE_CODENAME)-vendor.mk)

View File

@@ -1,134 +0,0 @@
<manifest version="1.0" type="device" target-level="5">
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>7.0</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="hidl">
<name>hardware.google.bluetooth.sar</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothSar</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.google.whitechapel.audio.audioext</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IAudioExt</name>
<instance>default</instance>
</interface>
</hal>
<kernel target-level="6"/>
</manifest>

View File

@@ -0,0 +1,2 @@
blocklist goog_touch_interface.ko
blocklist nvt_touch.ko

View File

@@ -0,0 +1,2 @@
extra/goog_touch_interface.ko
extra/nvt_touch.ko

View File

@@ -0,0 +1,222 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2022, 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether per-app fullscreen override option is allowed in user aspect ratio settings -->
<bool name="config_appCompatUserAppAspectRatioFullscreenIsEnabled">true</bool>
<!-- Whether per-app user aspect ratio override settings is enabled -->
<bool name="config_appCompatUserAppAspectRatioSettingsIsEnabled">true</bool>
<!-- Control whether being in the desk dock should enable accelerometer
based screen orientation. This defaults to true because it is
common for desk docks to be sold in a variety of form factors
with different orientations. Since we cannot always tell these docks
apart and the docks cannot report their true orientation on their own,
we rely on gravity to determine the effective orientation. -->
<bool name="config_deskDockEnablesAccelerometer">false</bool>
<!-- Control whether nosensor and locked orientation requests are respected from the app when
config_deskDockEnablesAccelerometer is set to false.
TODO(b/274763533): Consider making true by default and removing this. -->
<bool name="config_deskRespectsNoSensorAndLockedWithoutAccelerometer">true</bool>
<!-- Allow the gesture to quick tap the power button multiple times to start the emergency sos
experience while the device is non-interactive. -->
<bool name="config_emergencyGestureEnabled">false</bool>
<!-- Whether the geolocation time zone detection feature is enabled. Setting this to false means
the feature cannot be used. Setting this to true means system server components can be
tested and location time zone detection may be used if other configuration allows (see
location time zone provider configuration settings below). -->
<bool name="config_enableGeolocationTimeZoneDetection">false</bool>
<!-- Default value for performant auth feature. -->
<bool name="config_performantAuthDefault">true</bool>
<!-- Whether the vendor power press code need to be mapped. -->
<bool name="config_powerPressMapping">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
clockwise from portrait; thus on a portrait device an app requesting
landscape will cause a clockwise rotation, and on a landscape device an
app requesting portrait will cause a counter-clockwise rotation. Setting
true here reverses that logic. -->
<bool name="config_reverseDefaultRotation">true</bool>
<!-- Whether changing sensor privacy SW setting requires device to be unlocked -->
<bool name="config_sensorPrivacyRequiresAuthentication">false</bool>
<!-- The number of degrees to rotate the display when the device is in a desk dock.
A value of -1 means no change in orientation by default. -->
<integer name="config_deskDockRotation">270</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 time in milliseconds after which a press on power button is considered "long". -->
<integer name="config_longPressOnPowerDurationMs">750</integer>
<!-- Power press vendor code. -->
<integer name="config_powerPressCode">19</integer>
<!-- Whether a camera compat controller is enabled to allow the user to apply or revert
treatment for stretched issues in camera viewfinder. -->
<bool name="config_isCameraCompatControlForStretchedIssuesEnabled">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>
<!-- 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>
<!-- Whether displaying letterbox education is enabled for letterboxed fullscreen apps. -->
<bool name="config_letterboxIsEducationEnabled">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 horizontal reachability repositioning is allowed for letterboxed fullscreen apps.
-->
<bool name="config_letterboxIsHorizontalReachabilityEnabled">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 using split screen aspect ratio as a default aspect ratio for unresizable apps. -->
<bool name="config_letterboxIsSplitScreenAspectRatioForUnresizableAppsEnabled">true</bool>
<!-- Whether vertical reachability repositioning is allowed for letterboxed fullscreen apps. -->
<bool name="config_letterboxIsVerticalReachabilityEnabled">true</bool>
<!-- If true, show multiuser switcher by default unless the user specifically disables it. -->
<bool name="config_showUserSwitcherByDefault">true</bool>
<!-- Control the behavior when the user short presses the power button.
0 - Nothing
1 - Go to sleep (doze)
2 - Really go to sleep (don't doze)
3 - Really go to sleep and go home (don't doze)
4 - Go to home
5 - Dismiss IME if shown. Otherwise go to home
-->
<integer name="config_shortPressOnPowerBehavior">7</integer>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">8</integer>
<!-- 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>
<!-- 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" format="float" type="dimen">1.33</item>
<!-- 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" format="float" type="dimen">0.5</item>
<!-- Control whether to start dream immediately upon docking even if the lockscreen is unlocked.
This defaults to true to be consistent with historical behavior. -->
<bool name="config_startDreamImmediatelyOnDock">false</bool>
<!-- Docking is a uiMode configuration change and will cause activities to relaunch if it's not
handled. If true, the configuration change will be sent but activities will not be
relaunched upon docking. Apps with desk resources will behave like normal, since they may
expect the relaunch upon the desk uiMode change. -->
<bool name="config_skipActivityRelaunchWhenDocking">true</bool>
<!-- If this is true, then keep dreaming when unplugging.
This config was formerly known as config_keepDreamingWhenUndocking.
It has been updated to affect other plug types. -->
<bool name="config_keepDreamingWhenUnplugging">true</bool>
<!-- Whether to send a user activity event to PowerManager when a dream quits unexpectedly so
that the screen won't immediately shut off.
When a dream stops unexpectedly, such as due to an app update, if the device has been
inactive less than the user's screen timeout, the device goes to keyguard and times out
back to dreaming after a few seconds. If the device has been inactive longer, the screen
will immediately turn off. With this flag on, the device will go back to keyguard in all
scenarios rather than turning off, which gives the device a chance to start dreaming
again. -->
<bool name="config_resetScreenTimeoutOnUnexpectedDreamExit">true</bool>
<!-- Whether to automatically switch to the designated Dock User (the user chosen for
displaying dreams, etc.) after a timeout when the device is docked. -->
<bool name="config_enableTimeoutToDockUserWhenDocked">true</bool>
<!-- Whether there is to be a chosen Dock User who is the only user allowed to dream. -->
<bool name="config_dreamsOnlyEnabledForDockUser">true</bool>
<!-- If supported, are dreams enabled? (by default) -->
<bool name="config_dreamsEnabledByDefault">false</bool>
<!-- Whether dreams are disabled when ambient mode is suppressed. -->
<bool name="config_dreamsDisabledByAmbientModeSuppressionConfig">true</bool>
<!-- Default value for Settings.ASSIST_TOUCH_GESTURE_ENABLED -->
<bool name="config_assistTouchGestureEnabledDefault">false</bool>
<!-- The list of supported dream complications -->
<integer-array name="config_supportedDreamComplications">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
</integer-array>
<!-- Mapping to select an Intent.EXTRA_DOCK_STATE value from extcon state
key-value pairs. Each entry is evaluated in order and is of the form:
"[EXTRA_DOCK_STATE value],key1=value1,key2=value2[,...]"
An entry with no key-value pairs is valid and can be used as a wildcard.
-->
<string-array name="config_dockExtconStateMapping">
<item>4,USB=1</item>
<item>3</item>
</string-array>
</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>

View File

@@ -212,6 +212,55 @@
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceEnable",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_enable",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_value",
"Values": [
"765",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_value",
"Values": [
"600",
"590",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_prio",
"Values": [
"110",
"119",
"120"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_prio",
"Values": [
"128",
"139",
"130"
],
"ResetOnInit": true
},
{
"Name": "FGUClampBoost",
"Path": "/proc/vendor_sched/groups/fg/uclamp_min",
@@ -304,6 +353,35 @@
],
"ResetOnInit": true
},
{
"Name": "TAAutoPreferFit",
"Path": "/proc/vendor_sched/groups/ta/auto_prefer_fit",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskMid",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_mid",
"Values": [
"0x3f",
"0xf0",
"0xff"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskLow",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_low",
"Values": [
"0x3f",
"0xf0",
"0xff"
],
"ResetOnInit": true
},
{
"Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@@ -332,14 +410,6 @@
],
"ResetOnInit": true
},
{
"Name": "NewlyIdleBalancer",
"Path": "/proc/vendor_sched/idle_balancer",
"Values": [
"0",
"1"
]
},
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -652,6 +722,16 @@
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "SYSTEM_UI_ADPF_PROFILES",
"Path": "<AdpfConfig>:SYSTEM_UI",
"Values": [
"SYSTEM_UI_PROFILE"
],
"DefaultIndex": 0,
"ResetOnInit": true,
"Type": "Event"
}
],
"Actions": [
@@ -763,6 +843,54 @@
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Duration": 5000,
"Value": "0x3f"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskLow",
"Duration": 5000,
"Value": "0x3f"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceEnable",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000,
"Value": "110"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000,
"Value": "590"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000,
"Value": "139"
},
{
"PowerHint": "LAUNCH",
"Type": "DoHint",
@@ -863,6 +991,12 @@
"Duration": 33,
"Value": "1014000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "TAPreferHighCap",
"Duration": 33,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -1169,12 +1303,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
@@ -1247,12 +1375,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -1349,12 +1471,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "PowerHALCameraRunning",
@@ -1415,12 +1531,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint",
@@ -1632,18 +1742,6 @@
"Duration": 50,
"Value": "1"
},
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "100"
},
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_NONE",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "1500"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState",
@@ -1881,88 +1979,64 @@
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 182,
"UclampMin_LoadUp": 514,
"UclampMin_LoadReset": 514,
"UclampMin_High": 514,
"UclampMin_Low": 2,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"SamplingWindow_P": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"ReportingRateLimitNs": 166666660,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0
"StaleTimeFactor": 15.0,
"HeuristicBoost_On": true,
"HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgDurRatio": 4.0,
"HBoostSevereJankPidPu": 0.5,
"HBoostSevereJankThreshold": 8,
"HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
},
{
"Name": "UiHighBoostWithoutPid",
"PID_On": false,
"PID_Po": 0,
"PID_Pu": 0,
"PID_I": 0,
"PID_I_Init": 0,
"PID_I_High": 0,
"PID_I_Low": 0,
"PID_Do": 0,
"PID_Du": 0,
"SamplingWindow_P": 1,
"SamplingWindow_I": 1,
"SamplingWindow_D": 1,
"Name": "SYSTEM_UI_PROFILE",
"PID_On": true,
"PID_Po": 2.0,
"PID_Pu": 1.0,
"PID_I": 0.0,
"PID_I_Init": 200,
"PID_I_High": 512,
"PID_I_Low": -30,
"PID_Do": 500.0,
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 250,
"UclampMin_High": 197,
"UclampMin_Low": 197,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
},
{
"Name": "UiLowBoostWithoutPid",
"PID_On": false,
"PID_Po": 0,
"PID_Pu": 0,
"PID_I": 0,
"PID_I_Init": 0,
"PID_I_High": 0,
"PID_I_Low": 0,
"PID_Do": 0,
"PID_Du": 0,
"UclampMin_Init": 182,
"UclampMin_LoadUp": 730,
"UclampMin_LoadReset": 730,
"UclampMin_High": 514,
"UclampMin_Low": 2,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"SamplingWindow_P": 1,
"SamplingWindow_I": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"UclampMin_On": true,
"UclampMin_Init": 250,
"UclampMin_High": 53,
"UclampMin_Low": 53,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"ReportingRateLimitNs": 166666660,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
},
{
"Name": "UiLowNoneBoost",
"PID_On": false,
"PID_Po": 0,
"PID_Pu": 0,
"PID_I": 0,
"PID_I_Init": 0,
"PID_I_High": 0,
"PID_I_Low": 0,
"PID_Do": 0,
"PID_Du": 0,
"SamplingWindow_P": 1,
"SamplingWindow_I": 1,
"SamplingWindow_D": 1,
"UclampMin_On": true,
"UclampMin_Init": 250,
"UclampMin_High": 0,
"UclampMin_Low": 0,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
"StaleTimeFactor": 15.0,
"HeuristicBoost_On": true,
"HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgDurRatio": 4.0,
"HBoostSevereJankPidPu": 0.5,
"HBoostSevereJankThreshold": 8,
"HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
}
]
}

View File

@@ -1,3 +0,0 @@
# People who can approve changes for submission
include platform/packages/modules/Uwb:/OWNERS
victorliu@google.com

View File

@@ -63,4 +63,10 @@
This works best with an FOV primer setting below 90 degrees to ensure that predictions are being
used across the 90-degree threshold. -->
<bool name="enable_azimuth_mirroring">false</bool>
<!-- Whether to use a persistent cache in the algorithm to determine country code or not.
If enabled, will fallback to the cache to determine device location for
UWB regulatory purposes when other sources (telephony, wifi, location, etc) is not available.
-->
<bool name = "persistent_cache_use_for_country_code_enabled">true</bool>
</resources>

View File

@@ -1,4 +0,0 @@
# People who can approve changes for submission
kumachang@google.com
wangroger@google.com
hsuvictor@google.com

View File

@@ -119,12 +119,6 @@
is when the system is in the suspended mode -->
<bool translatable="false" name="config_wifiDtimMultiplierConfigEnabled">true</bool>
<!-- Indicate whether the verbose logging is always on -->
<!-- 0: verbose logging controlled by user
1: verbose logging on by default for userdebug
2: verbose logging on by default for all builds -->
<integer translatable="false" name="config_wifiVerboseLoggingAlwaysOnLevel">1</integer>
<!-- Enable the feature of adjusting link layer stats polling interval based on
device mobility state and client mode RSSI monitoring. -->
<bool translatable="false" name="config_wifiAdjustPollRssiIntervalEnabled">true</bool>

View File

@@ -1,3 +0,0 @@
third_party {
license_type: NOTICE
}

View File

@@ -1,12 +0,0 @@
#
# Usage is subject to the enclosed license agreement
echo
echo The license for this software will now be displayed.
echo You must agree to this license before using this software.
echo
echo -n Press Enter to view the license
read dummy
echo
more << __EOF__

View File

@@ -1,22 +0,0 @@
__EOF__
if test $? != 0
then
echo ERROR: Couldn\'t display license file 1>&2
exit 1
fi
echo
echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
read typed
if test "$typed" != I\ ACCEPT
then
echo
echo You didn\'t accept the license. Extraction aborted.
exit 2
fi
echo

View File

@@ -1,12 +0,0 @@
if test $? != 0
then
echo
echo ERROR: Couldn\'t extract files. 1>&2
exit 3
else
echo
echo Files extracted successfully.
fi
exit 0

View File

@@ -1,2 +0,0 @@
#!/bin/bash
#

View File

@@ -1,11 +0,0 @@
google_devices)
TO_EXTRACT="\
IMAGES/vbmeta_vendor.img \
IMAGES/vendor.img \
IMAGES/vendor_dlkm.img \
RADIO/bootloader.img \
system_ext/etc/permissions/privapp-permissions-qorvo.xml \
system_ext/priv-app/UwbVendorService/UwbVendorService.apk \
"
;;

View File

@@ -1 +0,0 @@
# (C) Google Inc.

View File

@@ -1,264 +0,0 @@
THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
BINDING AGREEMENT BETWEEN Google Inc. ("LICENSOR") AND
YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
IF YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION
PROCESS AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE
SOFTWARE OR DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS
SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE
SOFTWARE IS INSTALLED ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL
ENTITY, THEN YOU REPRESENT AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND
SUCH ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
1. Special Definitions
a. The term "Android" means the open source mobile platform, software
stack, operating system, middleware, application programming
interfaces and mobile applications under the trade-name "Android"
distributed at Android.com.
b. The term "Android Applications" means a software application or
open-source contribution developed by You, designed to operate with
Android that does not contain or incorporate any of the Software.
c. The term "Authorized Android Enabled Device" means only the device
identified on the site from which You downloaded the Software.
The term "Software" means the Licensor's proprietary software and
libraries in object code form, designed for use on the Authorized
Android Enabled Device.
d. The term "Authorized Android Enabled Device Software" means a
packaged build for Authorized Android Enabled Devices, consisting
of files suitable for installation on an Authorized Android Enabled
Device using a mechanism such as fastboot mode or recovery mode.
2. License Grant
a. Subject to the terms of this Agreement, Licensor hereby grants to
You, free of charge, a non-exclusive, non-sublicensable,
non-transferable, limited copyright license, during the term of
this Agreement, to download, install and use the Software
internally in machine-readable (i.e., object code) form and the
Documentation for non-commercial use on an Authorized Android
Enabled Device and non-commercial redistribution for academic
purposes only of a reasonable number of copies of the Authorized
Android Enabled Device Software (the "Limited Purpose"). You may
grant your end users the right to use the Software for
non-commercial purposes on an Authorized Android Enabled Device.
The license to the Software granted to You hereunder is solely for
the Limited Purpose set forth in this section, and the Software
shall not be used for any other purpose.
3. Restrictions
a. Retention of Rights. The entire right, title and interest in the
Software shall remain with Licensor and, unless specified in
writing hereunder, no rights are granted to any of the Software.
Except for the right to use the Software for the Limited Purpose,
the delivery of the Software to You does not convey to You any
intellectual property rights in the Software, including, but not
limited to any rights under any patent, trademark, copyright, or
trade secret. Neither the delivery of the Software to You nor any
terms set forth herein shall be construed to grant to You, either
expressly, by implication or by way of estoppel, any license under
any patents or other intellectual property rights covering or
relating to any other product or invention or any combination of
the Software with any other product. Any rights not expressly
granted to You herein are reserved by Licensor.
b. No Commercialization or Distribution of the Software and
Documentation. Except as expressly provided in Section 2 of this
Agreement, You shall have no right to (i) copy, disclose,
distribute, publically perform, publically display, transfer,
alter, modify, translate, disassemble, decompile, reverse engineer,
or adapt the Software and Documentation, or any portion thereof, or
create any derivative works based thereon; (ii) rent, lease,
assign, sublicense, resell, disclose or otherwise transfer the
Software and Documentation in whole or in part to any third party
(iii) use the Software and Documentation except for the Limited
Purpose, (iv) remove or alter any of the copyright or proprietary
notices contained in any of the Software and Documentation. For the
purposes of clarity, nothing in this Agreement prohibits You from
making and distributing Android Applications under commercial or
non-commercial terms, provided that You shall not contain,
incorporate, and/or compile the Software or any of its derivative
works, in whole or in part, into Your Android Applications and/or
any software/devices created by You or by third parties acting on
Your behalf. You and any such third party shall comply with all of
the terms and conditions of this Agreement.
c. No Reverse Engineering. Except for any portions of the Software
provided to You in source code format and except for any third
party code distributed with the Software that is licensed under
contrary terms, You will not reverse engineer, disassemble,
decompile, or translate the Software, or otherwise attempt to
derive the source code version of the Software, except if and to
the extent expressly permitted under any applicable law.
d. Third Party Software. You agree that Android may contain third
party software. You agree that you may not distribute such third
party software for any purpose without appropriate licenses from
the applicable third party or parties.
e. No Transfer or Assignment. You shall not assign any of its rights
or obligations under this Agreement. Any attempted assignment in
contravention of this Section shall be void.
f. Licensor shall retain all title, ownership and Intellectual
Property Rights in and to the Software and any derivative thereof.
"Intellectual Property Rights" shall mean all patent, copyright,
trade secret, trademark and other proprietary and intellectual
property rights, including moral rights.
g. Neither this Agreement, nor any act by Licensor or its Affiliates
persuant to this Agreement or relating to the Software (including,
without limitation, the provision by Licensor or its Affiliates of
the Software) shall provide to You any license or any other rights
whatsoever under any patents, trademarks, trade secrets, copyrights
or any other intellectual property rights of Licensor or its
Affiliates, except for the copyrights expressly set forth in this
Agreement. You understand and agree that:
h. Neither this Agreement, nor delivery of the Software alone or in
combination with any Licensor ASIC grants you any right to
practice, or any other right at all with respect to, any patent of
Licensor or its Affiliates, and
i. A separating license agreement from Motorola Incorporated is needed
to use or practice any patent of Licensor or its Affiliates.
j. You agree not to contend in any context that, as a result of the
provision or use of this software, either Licensor or Affiliate has
any obligation to extend, or Licensor or any other party has
obtained any right to, any license, whether express or implied,
with respect to any patent of Licensor or its Affiliates for any
purpose. For the purposes of this agreement, "Affiliate" means
(i) any corporation or any other legal entity that owns, directly
or indirectly, more than fifty percent (50%) of the shares, equity
interest or other securities of any entity entitled to vote for
election of directors (or other managing authority), or (ii) any
corporation or any other legal entity fifty percent (50%) or more
of whose shares, equity interest, or other securities entitled to
vote for election of directors (or other managing authority) is
owned or controlled by an entity, either directly or indirectly.
4. Indemnity
a. You agree to indemnify and hold harmless Licensor, Google, and
their officers, directors, customers, employees and successors and
assigns (each an "Indemnified Party") against any and all claims,
demands, causes of action, losses, liabilities, damages, costs and
expenses, incurred by the Indemnified Party (including but not
limited to costs of defense, investigation and reasonable
attorney's fees) arising out of, resulting from or related to
(i) any software, products, documentation, content, materials or
derivative works created or developed by You using the Software
which causes an infringement of any patent, copyright, trademark,
trade secret, or other property, publicity or privacy rights of any
third parties arising in any jurisdiction anywhere in the world,
(ii) the download, distribution, installation, storage, execution,
use or transfer of such software, products, documentation, content,
materials or derivative works by any person or entity, and/or
(iii) any breach of this Agreement by You. If requested by an
Indemnified Party, You agree to defend such Indemnified Party in
connection with any third party claims, demands, or causes of
action resulting from, arising out of or in connection with any of
the foregoing.
5. Limitation of Liability
a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
LICENSOR, GOOGLE, THEIR AFFILIATES AND/OR ITS DIRECTORS, OFFICERS,
EMPLOYEES OR AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
LIMITED TO DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS
INTERRUPTION, LOSS OF BUSINESS INFORMATION AND THE LIKE) ARISING
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ANY DOWNLOAD,
INSTALLATION OR USE OF, OR INABILITY TO USE, THE SOFTWARE, EVEN IF
LICENSOR OR GOOGLE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR
EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO
THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE LIMITED.
IN NO EVENT SHALL LICENSOR'S OR GOOGLE'S TOTAL AGGREGATE LIABILITY
TO YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF
ACTIONS (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE,
INDEMNIFICATION OR OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS
(US$100). THE LIMITATIONS SET FORTH IN THIS PARAGRAPH SHALL BE
DEEMED TO APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
THE PARTIES HAVE FULLY CONSIDERED THE FOREGOING ALLOCATION OF RISK
AND FIND IT REASONABLE, AND THAT THE FOREGOING LIMITATIONS IN THIS
PARAGRAPH ARE AN ESSENTIAL BASIS OF THE BARGAIN BETWEEN THE
PARTIES.
6. No Warranty
a. LICENSOR AND GOOGLE MAKE NO WARRANTIES, EXPRESS OR IMPLIED, WITH
RESPECT TO THE SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS
AGREEMENT, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR AGAINST
INFRINGEMENT, OR ANY EXPRESS OR IMPLIED WARRANTY ARISING OUT OF
TRADE USAGE OR OUT OF A COURSE OF DEALING OR COURSE OF PERFORMANCE.
NOTHING CONTAINED IN THIS AGREEMENT SHALL BE CONSTRUED AS A
WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE VALIDITY OR
SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT
AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM INFRINGEMENT
OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY RIGHTS OF
OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO MAKE SUCH
DETERMINATION AS IS NECESSARY WITH RESPECT TO THE ACQUISITION OF
LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY OF THIRD
PARTIES. LICENSOR AND GOOGLE SHALL NOT HAVE ANY OBLIGATION TO
PROVIDE ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
7. Term and Termination
a. This Agreement shall be effective on the date You accept this
Agreement and shall remain in effect until terminated as provided
herein. You may terminate the Agreement at any time by deleting and
destroying all copies of the Software and all related information
in Your possession or control. This Agreement terminates
immediately and automatically, with or without notice, if You fail
to comply with any provision hereof. Additionally, Licensor may at
any time terminate this Agreement, without cause, upon notice to
You. Upon termination You must delete or destroy all copies of the
Software in Your possession, and the license granted to You in this
Agreement shall terminate. Sections 3, 4, 5, 6 and 8 shall survive
the termination of this Agreement.
8. Miscellaneous
a. Governing Law. This Agreement is governed and interpreted in
accordance with the laws of the State of California without giving
effect to its conflict of laws provisions. The United Nations
Convention on Contracts for the International Sale of Goods is
expressly disclaimed and shall not apply. Any claim arising out of
or related to this Agreement must be brought exclusively in a
federal or state court located in Santa Clara County, California
and You consent to the jurisdiction and venue of such courts.
b. Waiver and Severability. The failure of either party to require
performance by the other party of any provision of this Agreement
shall not affect the full right to require such performance at any
time thereafter; nor shall the waiver by either party of a breach
of any provision of this Agreement be taken or held to be a waiver
of the provision itself. Severability. If any provision of this
Agreement is unenforceable or invalid under any applicable law or
is so held by applicable court decision, such unenforceability or
invalidity shall not render this Agreement unenforceable or invalid
as a whole, and such provision shall be changed and interpreted so
as to best accomplish the objectives of such unenforceable or
invalid provision within the limits of applicable law or
applicable court decisions.
c. Amendment and Modification. This Agreement and any of its terms and
provisions may only be amended, modified, supplemented or waived in
a writing signed by both parties hereto.
d. Compliance with Laws. You shall comply with all applicable laws,
rules, and regulations in connection with its activities under this
Agreement.
e. Entire Agreement. This Agreement completely and exclusively states
the agreement between You and Licensor regarding this subject
matter.

View File

@@ -1,17 +0,0 @@
// Copyright (C) 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.
soong_namespace {
}

View File

@@ -1,40 +0,0 @@
#
# Copyright (C) 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.
#
LOCAL_PATH := $(call my-dir)
ifneq ($(filter tangorpro,$(TARGET_DEVICE)),)
$(call add-radio-file,bootloader.img)
endif
ifneq ($(filter tangorpro,$(TARGET_DEVICE)),)
include $(CLEAR_VARS)
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_MODULE := UwbVendorService
LOCAL_MODULE_TAGS := optional
LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_PRIVILEGED_MODULE := true
LOCAL_MODULE_OWNER := qorvo
LOCAL_MODULE_CLASS := APPS
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
include $(BUILD_PREBUILT)
endif

View File

@@ -1,37 +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.
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/tangorpro/proprietary/vendor.img
BOARD_PREBUILT_VENDOR_DLKMIMAGE := vendor/google_devices/tangorpro/proprietary/vendor_dlkm.img
TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm
BOARD_AVB_VBMETA_VENDOR := vendor
BOARD_AVB_VBMETA_VENDOR_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
BOARD_AVB_VBMETA_VENDOR_ALGORITHM := SHA256_RSA2048
BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 3
AB_OTA_PARTITIONS += \
vbmeta_vendor \
vendor \
vendor_dlkm \
-include vendor/google/tools/android-info.mk
ifdef USE_ANDROID_INFO
TARGET_BOARD_INFO_FILE := vendor/google_devices/tangorpro/android-info.txt
endif
VENDOR_BLOBS_LICENSE := vendor/google_devices/tangorpro/LICENSE

View File

@@ -1,25 +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.
PRODUCT_SOONG_NAMESPACES += \
vendor/google_devices/tangorpro/proprietary \
# AOSP packages required by the blobs
PRODUCT_PACKAGES := \
UwbVendorService \
# blob(s) necessary for tangorpro hardware
PRODUCT_COPY_FILES := \
vendor/google_devices/tangorpro/proprietary/privapp-permissions-qorvo.xml:system_ext/etc/permissions/privapp-permissions-qorvo.xml:qorvo \

View File

@@ -1,4 +0,0 @@
require board=tangorpro
require partition-exists=vendor_kernel_boot
require version-bootloader=tangorpro-1.0-9282924

View File

@@ -1,15 +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.
-include vendor/google_devices/tangorpro/BoardConfigPartial.mk

View File

@@ -1,15 +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-if-exists, vendor/google_devices/tangorpro/device-partial.mk)

1
sepolicy/.gitupstream Normal file
View File

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

4
sepolicy/OWNERS Normal file
View File

@@ -0,0 +1,4 @@
include device/google/gs-common:/sepolicy/OWNERS
adamshih@google.com

View File

@@ -0,0 +1,4 @@
# Bluetooth
/vendor/bin/hw/android\.hardware\.bluetooth@1\.1-service\.synabtlinux u:object_r:hal_bluetooth_synabtlinux_exec:s0
/dev/ttySAC18 u:object_r:hci_attach_dev:s0

View File

@@ -0,0 +1,4 @@
genfscon sysfs /devices/platform/odm/odm:btbcm/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
genfscon sysfs /devices/platform/odm/odm:btbcm/rfkill/rfkill2/state u:object_r:sysfs_bluetooth_writable:s0
genfscon proc /bluetooth/sleep/btwrite u:object_r:proc_bluetooth_writable:s0
genfscon proc /bluetooth/sleep/lpm u:object_r:proc_bluetooth_writable:s0

View File

@@ -0,0 +1,23 @@
type hal_bluetooth_synabtlinux, domain;
type hal_bluetooth_synabtlinux_exec, exec_type, file_type, vendor_file_type;
hal_server_domain(hal_bluetooth_synabtlinux, hal_bluetooth)
init_daemon_domain(hal_bluetooth_synabtlinux)
allow hal_bluetooth_synabtlinux self:socket { create bind read write };
allow hal_bluetooth_synabtlinux self:bluetooth_socket { create bind read write };
allow hal_bluetooth_synabtlinux hci_attach_dev:chr_file rw_file_perms;
allow hal_bluetooth_synabtlinux hal_power_stats_vendor_service:service_manager find;
add_hwservice(hal_bluetooth_synabtlinux, hal_bluetooth_coexistence_hwservice)
vndbinder_use(hal_bluetooth_synabtlinux)
binder_call(hal_bluetooth_synabtlinux, hal_power_stats_default)
get_prop(hal_bluetooth_synabtlinux, boot_status_prop)
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_crashinfo_file:dir create_dir_perms;
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_crashinfo_file:file create_file_perms;
userdebug_or_eng(`
allow hal_bluetooth_synabtlinux logbuffer_device:chr_file r_file_perms;
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_coredump_file:dir create_dir_perms;
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_coredump_file:file create_file_perms;
')

View File

@@ -0,0 +1,2 @@
# Bluetooth HAL extension
type hal_bluetooth_coexistence_hwservice, hwservice_manager_type, vendor_hwservice_type;

View File

@@ -0,0 +1,3 @@
# Bluetooth HAL extension
hardware.google.bluetooth.bt_channel_avoidance::IBTChannelAvoidance u:object_r:hal_bluetooth_coexistence_hwservice:s0
hardware.google.bluetooth.sar::IBluetoothSar u:object_r:hal_bluetooth_coexistence_hwservice:s0

1
sepolicy/castkey/file.te Normal file
View File

@@ -0,0 +1 @@
type device_cert_file, file_type, vendor_persist_type;

View File

@@ -0,0 +1,4 @@
/vendor/bin/hw/android\.hardware\.drm-service\.castkey u:object_r:hal_drm_cast_exec:s0
# Cert
/mnt/vendor/persist/nest/cast_auth\.crt u:object_r:device_cert_file:s0

View File

@@ -0,0 +1,10 @@
type hal_drm_cast, domain;
type hal_drm_cast_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(hal_drm_cast)
hal_server_domain(hal_drm_cast, hal_drm)
# Cert
allow hal_drm_cast mnt_vendor_file:dir search;
allow hal_drm_cast persist_file:dir search;
allow hal_drm_cast device_cert_file:file r_file_perms;

View File

@@ -0,0 +1 @@
android.hardware.drm.IDrmFactory/castkey u:object_r:hal_drm_service:s0

View File

@@ -0,0 +1 @@
type sysfs_fingerprint, sysfs_type, fs_type;

View File

@@ -0,0 +1 @@
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.fpc42 u:object_r:hal_fingerprint_capacitance_exec:s0

View File

@@ -0,0 +1 @@
genfscon sysfs /devices/platform/odm/odm:fp_fpc1020 u:object_r:sysfs_fingerprint:s0

View File

@@ -0,0 +1,39 @@
# hal_fingerprint_capacitance definition
type hal_fingerprint_capacitance, domain;
hal_server_domain(hal_fingerprint_capacitance, hal_fingerprint)
type hal_fingerprint_capacitance_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_fingerprint_capacitance)
set_prop(hal_fingerprint_capacitance, vendor_fingerprint_prop)
# allow fingerprint to access file
allow hal_fingerprint_capacitance fingerprint_device:chr_file rw_file_perms;
allow hal_fingerprint_capacitance tee_device:chr_file rw_file_perms;
allow hal_fingerprint_capacitance sysfs_fingerprint:dir r_dir_perms;
allow hal_fingerprint_capacitance sysfs_fingerprint:file rw_file_perms;
# allow fingerprint to access power hal
hal_client_domain(hal_fingerprint_capacitance, hal_power);
# allow fingerprint to find fwk service
allow hal_fingerprint_capacitance fwk_stats_service:service_manager find;
# allow fingerprint to access sysfs_leds
allow hal_fingerprint_capacitance sysfs_leds:dir search;
allow hal_fingerprint_capacitance sysfs_leds:file rw_file_perms;
# allow fingerprint to access sysfs_batteryinfo
allow hal_fingerprint_capacitance sysfs_batteryinfo:dir search;
allow hal_fingerprint_capacitance sysfs_batteryinfo:file rw_file_perms;
# allow fingerprint to access input_device
allow hal_fingerprint_capacitance input_device:dir r_dir_perms;
allow hal_fingerprint_capacitance input_device:chr_file rw_file_perms;
# allow fingerprint to access hwservice
hwbinder_use(hal_fingerprint_capacitance)
add_hwservice(hal_fingerprint_capacitance, hal_fingerprint_capacitance_ext_hwservice)
# allow fingerprint to access fwk sensor hwservice
allow hal_fingerprint_capacitance fwk_sensor_service:service_manager find;

View File

@@ -0,0 +1 @@
type hal_fingerprint_capacitance_ext_hwservice, hwservice_manager_type;

View File

@@ -0,0 +1,2 @@
com.fingerprints42.extension::IFingerprintEngineering u:object_r:hal_fingerprint_capacitance_ext_hwservice:s0
com.fingerprints42.extension::IFingerprintSensorTest u:object_r:hal_fingerprint_capacitance_ext_hwservice:s0

View File

@@ -0,0 +1 @@
binder_call(servicemanager, hal_fingerprint_capacitance)

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