2132 Commits

Author SHA1 Message Date
Shinru Han
3b682abda5 Allow gnssd set gps property
avc:  denied  { write } for  name="property_service" dev="tmpfs" ino=837 scontext=u:r:gnssd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Bug: 320577795
Test: on-device
Change-Id: I77c02d9754c8ccd66d8cc889fd361de0fc20e09d
2024-02-26 03:23:08 +00:00
Treehugger Robot
5cb8b637f6 Merge "audio: add module for tas25xx" into main 2024-02-23 04:32:23 +00:00
Shinru Han
1f9b2775bd Merge "gps: Enable Pixel GNSS HAL" into main 2024-02-22 13:55:14 +00:00
Treehugger Robot
6a21045ad3 Merge "audio: add file_contexts of /dev/acd-mc_headpos" into main 2024-02-22 07:43:14 +00:00
Shinru Han
eadc0d0114 gps: Enable Pixel GNSS HAL
avc:  denied  { call } for  scontext=u:r:hal_gnss_pixel:s0 tcontext=u:r:hal_gnss_default:s0 tclass=binder permissive=0
avc:  denied  { call } for  scontext=u:r:hal_gnss_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0
avc:  denied  { read } for  name="modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc:  denied  { open } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc:  denied  { getattr } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1

Test: CTS/VTS pass
Bug: 320567656
Change-Id: I22ed09fe37a7e9811f78bf66c21420d2809da9c6
2024-02-22 06:09:20 +00:00
David Li
8ca98549db audio: add file_contexts of /dev/acd-mc_headpos
Bug: 307842941
Test: mm
Change-Id: Id4210c309d4a86e81a510dacb83b23396c5a327b
2024-02-21 19:58:44 +08:00
klinesjiang
2ce657ec4f [Gyotaku] Add the access /data/vendor/gyotaku sepolicy for gyotaku_app domain
To prevent the barbet build break, add sepolicy to gyotaku dump folder.

Bug: 310110649

Test: Local build barbet(Pixel 5a) and Husky(Pixel 8), trigger a new bugreport from Husky(Pixel 8) the result passed.

Change-Id: I09a46249644774c679a0cfa687b2b41ba82120c1
2024-02-21 03:51:35 +00:00
Lei Ju
fa85ee0e2c Merge "Allow sensor hal to connect to CHRE HAL" into main 2024-02-21 00:45:23 +00:00
Klines Jiang
64ede7b44c [Gyotaku] Add the dumpLog for gyotaku app
Pixel 5a (barbet) does not support Pixel dump, we need to exclude build
Pixel dump for Pixel 5a (barbet)

Bug: 310110649

Test: Local build and trigger a new bugreport the result passed
Change-Id: Idb712b2b3830f42de21be9942be547d7fcdd929f
2024-02-19 01:56:04 +00:00
Akash Malik
ec7b492ebd Merge "Give EdgeTpu access to vendor_pcs_app" into main 2024-02-16 18:29:25 +00:00
malikakash
ded0ee6c6e Give EdgeTpu access to vendor_pcs_app
- In addition, add some more allowances
  to more closely approximate a priv_app.
  Especially, accessing the cache, media
  storage and preloads.

Bug: 325326355
Test: I've tested that existing PCS doesn't break.

Change-Id: I045dd3e6d7587ba1bb405e57204d3cc7c9dc5f69
2024-02-16 03:50:35 +00:00
Devika Krishnadas
e85971058f Add Gralloc Flags
Bug: 267352318
Bug: 319170642
Test: Boots to home with Gralloc4 and Gralloc5

Change-Id: Ic316408e7d83b67f21e94fec3f9cb2fea52512c2
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-02-14 22:07:47 +00:00
Mikhail Naganov
0cdeb7aed1 Merge "Set ro.audio.ihaladaptervendorextension_enabled property" into main 2024-02-14 17:19:55 +00:00
Fyodor Kyslov
684123467f Merge "Update policy for ECOService switch to NDK binder" into main 2024-02-14 01:36:37 +00:00
Treehugger Robot
fb4b82b874 Merge "Enable MTE workaround for b/324412910" into main 2024-02-13 18:00:58 +00:00
Mitch Phillips
442f99acaf Enable MTE workaround for b/324412910
For now, disable MTE in this process. This will unblock stack MTE from
being turned back on.

Bug: 324412910
Test: Boot the device with aosp/2953627
Change-Id: If3217f477da7efac753bba676673cfcf99d8d8e1
2024-02-13 11:46:38 +01:00
Treehugger Robot
c290ed9612 Merge "gps: add sepolicy to coredump node" into main 2024-02-13 04:19:05 +00:00
Mikhail Naganov
57cd0318e2 Set ro.audio.ihaladaptervendorextension_enabled property
This property is used by libaudiohal@aidl to detect whether
the system_ext partition provides an instance of
IHalAdapterVendorExtension.

Bug: 323106963
Test: atest audiorouting_test
Change-Id: I88d4f8ad2aff0c52f103d76e8e17e0f3d049d3b5
2024-02-13 00:42:34 +00:00
Fyodor Kyslov
f81fcb76b3 Update policy for ECOService switch to NDK binder
Test: atest EcoServiceTest EcoDessionTest CodecInitializationLatencyTest
Bug: 301379330

Change-Id: Id7bcdda8e4c523d8f991a52875114cf786b0ae6d
2024-02-11 22:24:39 +00:00
Mark Chang
14c6c627ef Add AIDL manifests and FCMs for twoshay.
[169/186] DeviceManifest/SingleAidlTest#HalIsServed/com_google_input_ITouchContextService_default_V3_76: PASSED (4ms)
[170/186] DeviceManifest/SingleAidlTest#HalIsServed/com_google_input_algos_gril_IGrilAntennaTuningService_default_V3_77: PASSED (4ms)
[171/186] DeviceManifest/SingleAidlTest#HalIsServed/com_google_input_algos_spd_IScreenProtectorDetectorService_default_V3_78: PASSED (4ms)

Bug: 324214410
Test: atest vts_treble_vintf_vendor_test.
Test: Twoshay's AIDLs pass SingleAidlTest.
Change-Id: Ia307034a2f88011642d4bcf80e8aa4496266fd35
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-09 05:29:06 +00:00
Lei Ju
7e89a679d9 Allow sensor hal to connect to CHRE HAL
These policies are required to let DropDetect and IpHeath communicate
with CHRE HAL directly after CHRE multiclient HAL is enabled.

Bug: 324316275
Test: Trigger drop detection and observed corresponding logs
  are generated.
Change-Id: Icc087b59ff594224d7e637212558e68fb3f86437
2024-02-07 15:36:08 -08:00
Wayne Lin
a7430966ea gps: add sepolicy to coredump node
Bug: 319766739
Test: build pass and verify pass
Change-Id: I7cf289865540533b9d65a2c2c21d1ea4e9f391a2
2024-02-07 02:47:27 +00:00
Tommy Chiu
ddcf9b45e9 Add nugget_aidl_test_weaver to userdebug/eng builds
To minimize the steps required for device preparation.

Fixed: 320200171
Test: build pass
Change-Id: I271389b0c4a7fe453902db2e8971e881c72bca35
2024-02-05 07:56:19 +00:00
Treehugger Robot
3640723d96 Merge "include adum_log/adum_log_old in dumpstate_board.bin" into main 2024-02-05 06:59:21 +00:00
Lilian Wang
d888b4a3be Revert "[Gyotaku] Add the dumpLog for gyotaku app"
This reverts commit 2bb3da4f50f97fb78f75adc69cfc40c3aa968845.

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

Bug: 323767330

Change-Id: If23de50de2819449817fe3b1694db33d87448e28
2024-02-05 03:09:50 +00:00
Hongbo Zeng
1ac691dcae include adum_log/adum_log_old in dumpstate_board.bin
Bug: 322266425
Test: Capture bugreport and see if adum_log/adum_log_old are included in
      dumpsate_board.bin or not

Change-Id: If9b8bbd98c699719878034859321ec54c0ced35b
2024-02-02 15:41:00 +00:00
Klines Jiang
2bb3da4f50 [Gyotaku] Add the dumpLog for gyotaku app
Bug: 310110649

Test: Local build and trigger a new bugreport the result passed
Change-Id: If10d4ab9120d855c5d1396413d8acfe791c05e6c
2024-02-01 07:57:50 +00:00
Ben McGee
e7431b85ae Dumpstate: Remove heap stats
Bug 315711190 is caused by an issue parsing the heap statistics. A proposed long term fix has been merged in, but is deemed risky for 24Q1. This CL removes heap printing from dumpstate is a low risk approach to working around this bug.

Bug: 315711190
Test: Built and tested on device
Change-Id: I6134aeeda6fe74d9bbf966d44a1a98391e03a2f7
2024-02-01 02:23:55 +00:00
Joner Lin
b5873491c3 Merge "collect bt backup snoop log to bugreport" into main 2024-01-31 06:18:15 +00:00
jonerlin
6c6505d0b1 collect bt backup snoop log to bugreport
Bug: 313326125
Test: make bt crash and get bugreport
Change-Id: I4ea65d539e9bbff67b79b05eb0e17a10a57e34bc
2024-01-31 02:16:36 +00:00
Xin Li
9c50f820f2 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: ea64488b43 -s ours
am skip reason: Merged-In Ia28e1622746cca973ca66f437e0e655bbcaf7d66 with SHA-1 6461e33428 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/25973898

Change-Id: Ib8356e161f63976fc7f37c070bc0c1252f64718d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:19 +00:00
Wayne Lin
0f6e4c85d9 Merge "gps: refine iGNSS build system - sepolicy" into main 2024-01-30 05:45:58 +00:00
Treehugger Robot
69201a294d Merge "Allow aocxd to set thread priority" into main 2024-01-30 00:51:31 +00:00
Dana Simard
e236358a40 Merge "Include fatal-error camera CPA files in bugreports" into main 2024-01-29 19:08:06 +00:00
Wayne Lin
ca1c35e500 gps: refine iGNSS build system - sepolicy
Bug: 318310869
Bug: 315915958
Test: build pass, GPS works and no GPS avc denied error
Change-Id: Ib2aa778a0d0e8a51f4d6733b6a55ccf588a05079
2024-01-29 05:48:15 +00:00
Joner Lin
3d92d72aa2 Merge "collect bt hal dump log to bugreport" into main 2024-01-25 08:25:02 +00:00
Nishok Kumar S
f03522a675 Merge "Connect Gxp runtime to TPU authentication service" into main 2024-01-24 18:21:08 +00:00
Dana Simard
9e2b4ef8d6 Include fatal-error camera CPA files in bugreports
These CPA files are written on fatal errors in the camera
HAL GraphRunner.

Test: manual test that files attached to bugreport
Bug: 321993145
Change-Id: Ieeb84fbb6d52c95d5b123a7fff5c9b93c9d0fcbc
2024-01-24 01:52:47 +00:00
jonerlin
fca1de2ce3 collect bt hal dump log to bugreport
Bug: 299800496
Test: make fw dump and vendor snoop log and triger bugreport
Change-Id: Idb5262267cce65f764bcc195d4f434c6cac4ba3a
2024-01-23 23:05:27 +08:00
Liana Kazanova
f17b5ac127 Merge "Revert "collect bt hal dump log in bugreport"" into main 2024-01-18 22:56:07 +00:00
Liana Kazanova
2dcb59ac74 Revert "collect bt hal dump log in bugreport"
This reverts commit e7edc9e446dcc2d54bb6968b1d21a7128c7abe40.

Reason for revert: Probable culprit for b/320755845. Will be running through ABTD for confirming and before submitting the revert.

Change-Id: Id989e182396c498afd3f15b70977ba5fba22c557
2024-01-18 19:21:33 +00:00
Lei Ju
30ec53ee47 Merge "Introduce a property for multiclient HAL" into main 2024-01-18 19:04:20 +00:00
Nishok Kumar S
55f48f663c Connect Gxp runtime to TPU authentication service
- Add selinux policies to allow edgetpu_app_service to access gxp
   device.

Bug: 316262348
Test: Disable selinux policies for GCA, then verify if GCA is able to
access device through edgetpu app service.

Change-Id: I83429755b1406289c8714d9499c1f14c1ec76a30
2024-01-18 09:41:26 +00:00
Xin Li
ea64488b43 Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: Ia28e1622746cca973ca66f437e0e655bbcaf7d66
Change-Id: I95fbf25b3145ce28767322c094238e0dc115ab15
2024-01-17 22:12:34 -08:00
Lei Ju
a6c741e3a4 Introduce a property for multiclient HAL
Test: set the property in .rc file and run adb shell getprop to
      verify the property is set.
Bug: 248615564
Change-Id: I18a52c2a29df2cc5bad73d49e39c4e6ee1381106
2024-01-17 18:00:11 -08:00
Bruce Po
d202a34dbc Allow aocxd to set thread priority
aocxd sets thread scheduler to SCHED_FIFO. This is so audio processing
in aocxd can run without glitching.

vndbinder:11464: type=1400 audit(0.0:17): avc:  denied  { sys_nice } for  capability=23  scontext=u:r:aocxd:s0 tcontext=u:r:aocxd:s0 tclass=capability permissive=0

BUG: 318791959
Change-Id: I9c9148aa7b18ce525091f93956e112b4c178a129
2024-01-17 18:58:06 +00:00
jonerlin
e7edc9e446 collect bt hal dump log in bugreport
Bug: 299800496
Test: make fw dump and vendor snoop log and triger bugreport
Change-Id: Ibab330d3a446b9f50b1413348b8004a51ee8fd51
2024-01-17 17:49:21 +00:00
Wendly Li
21446e0139 Move wakeup to device's sepolicy settings
Bug: 320395939
Test: make sepolicy
Change-Id: I12af839756725bb0cfb2eba363c1e45cd0a6044a
Signed-off-by: Wendly Li <wendlyli@google.com>
2024-01-16 09:32:47 +00:00
Sam Ou
7859a653ea Merge "bm: Support battery mitigation aidl" into main 2024-01-15 01:23:20 +00:00
Robert Lee
64018d650b audio: add module for tas25xx
Bug: 313341617
Test: builds
Change-Id: I53612c1138a042698cf953e4909b25cfcb819d5f
Signed-off-by: Robert Lee <lerobert@google.com>
2024-01-11 08:07:32 +00:00