2150 Commits

Author SHA1 Message Date
Treehugger Robot
792837721c Merge "dumpstate: thermal: update thermal dump script path" into main 2024-02-29 08:45:22 +00:00
Spandan Das
fd1a2e7ba4 Merge "Add PRODUCT_MODULE_BUILD_FROM_SOURCE to fullmte" into main 2024-02-29 08:01:23 +00:00
YiHo Cheng
a1f78bf75d dumpstate: thermal: update thermal dump script path
Correct thermal dump script file path

Bug: 326349256
Test: build

Change-Id: Iaf2108f037ca89ffae3e89a2e81996d03c79ff5f
2024-02-29 06:51:05 +00:00
Hongyang Jiao
9aa2c2e001 Add betterbug folder to gs-common
Test: locally test, recorded in http://shortn/_iEz9DTCHgo
Bug: 322543833
Change-Id: I035adde2253056414d7c729f4a9f5b4effdde87d
2024-02-29 05:23:01 +00:00
Treehugger Robot
ce71d502c0 Merge "Add OWNERS for gs-common/mte." into main am: 699f72786b am: 1eaa8b8952
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2983326

Change-Id: I142a74ce2f4766d0ee9d3a47f369f53f08e0f923
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-28 23:10:28 +00:00
Treehugger Robot
1eaa8b8952 Merge "Add OWNERS for gs-common/mte." into main am: 699f72786b
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2983326

Change-Id: Ib12b30703f889fb1b0172fbe40415f4e6936d63e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-28 22:03:29 +00:00
Spandan Das
815fd34817 Add PRODUCT_MODULE_BUILD_FROM_SOURCE to fullmte
This is a temporary workaround to ensure that fullmte variants of google
devices uses mainline modules from source in next release config

Long term, this functionality will likely be implemented by creating a
product specific release config map

Test: lunch <devicename>-next-userdebug && m nothing
Test: https://android-build.corp.google.com/builds/abtd/run/L14800030002211627
Bug: 325666427
Change-Id: I042319e14362e66b1078941dabcfd7dcecfc7cfb
2024-02-28 22:00:04 +00:00
Treehugger Robot
699f72786b Merge "Add OWNERS for gs-common/mte." into main 2024-02-28 21:30:32 +00:00
Evgenii Stepanov
8d835e2797 Add OWNERS for gs-common/mte.
Bug: none available
Test: none necessary
Change-Id: I61722f0462d9e6defc972512e4732addaff288e4
2024-02-28 13:25:16 -08:00
Mark Chang
c66788d5a7 Merge "Revert "Move sepolicy files from hardware/google/pixel-sepolicy."" into main 2024-02-28 10:33:59 +00:00
Liana Kazanova
e2ec91ccbd Revert "Move sepolicy files from hardware/google/pixel-sepolicy."
Revert submission 26288713-twoshay-sepolicy-24

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

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

Bug: 327235315

Change-Id: I3529a6bc329b38f9a6b5a21c5d7c809636076eb5
2024-02-28 05:00:29 +00:00
James Huang
525803fc3e Merge "Allow gnssd set gps property" into main 2024-02-27 19:50:38 +00:00
YiHo Cheng
0af3efb815 gs-common:thermal: Add thermal owner file am: d2dc2ff3b8 am: 26ee331772
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2979052

Change-Id: Ia03a36c1de47fabab40f9348d05adcbc27dfd71f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-27 18:14:17 +00:00
YiHo Cheng
26ee331772 gs-common:thermal: Add thermal owner file am: d2dc2ff3b8
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2979052

Change-Id: Ie1df5242b051f4b9ed7cd660692ec0c49afef86f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-27 17:31:19 +00:00
Mark Chang
78493bfb6a Merge "Move sepolicy files from hardware/google/pixel-sepolicy." into main 2024-02-27 09:43:47 +00:00
YiHo Cheng
d2dc2ff3b8 gs-common:thermal: Add thermal owner file
Bug: 327096037
Test: build

Change-Id: I5ec3640c5cc6f66e53d5cbedacd68bc2c6b3cc22
2024-02-27 08:00:12 +00:00
Treehugger Robot
338ea85df0 Merge "Add Gralloc Flags" into main 2024-02-26 23:44:06 +00:00
Mark Chang
57384abb7e Move sepolicy files from hardware/google/pixel-sepolicy.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.
Change-Id: I10d20c0b79acf938bd41dcd640a716369ecf779b
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-26 11:46:42 +00:00
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