Commit graph

2024 commits

Author SHA1 Message Date
Android Build Coastguard Worker
581273075f Snap for 11635697 from 709c2f596d to 24Q3-release
Change-Id: I2ec8a5a9045f357e3a4557e58cb2cc4876bfab08
2024-03-27 23:02:31 +00:00
Charles Yeh
709c2f596d Merge "Add a factoryota-watch.mk file to include the OtaClient for wearable device." into main 2024-03-27 06:03:33 +00:00
Charles Yeh
c979d12d72 Add a factoryota-watch.mk file to include the OtaClient for wearable
device.

Bug: 303001898
Test: build rom and check it works
Change-Id: Ifcd7da3eabbddfa903662d26609a2e6a5248ece9
2024-03-27 03:11:31 +00:00
Android Build Coastguard Worker
ef4291032a Snap for 11623990 from d4de4ddf90 to 24Q3-release
Change-Id: I5e186a8cecff5af268b00d81f60f58d718c5eaac
2024-03-25 23:02:22 +00:00
Klines Jiang
d4de4ddf90 [Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet
Pixel 5a (barbet) does not support Pixel dump, we need to exclude build
Pixel dump for Pixel 5a (barbet). The git_24Q2-beta-release TARGET_PRODUCT is barbet_beta, updated to barbet% for all barbet target products.

Bug: 330819191

Test: Local build and trigger a new build the result passed

Change-Id: I2c1785105bab74a483bc68893d96a8a88eabfd90
2024-03-25 14:41:13 +00:00
Chia-Chi Teng
7429882fba sepolicy: Allow PixelGnss to connect to Chre HAL am: 9a7af460a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26617900

Change-Id: If756d3473fa9b6ac556a16766220033c2fd53e63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-25 13:09:33 +00:00
Android Build Coastguard Worker
7477e940f9 Snap for 11617975 from ec93f458c6 to 24Q3-release
Change-Id: I42223feb5bc464b198ea391e2a967f8d7ff26073
2024-03-23 01:01:54 +00:00
Chia-Chi Teng
9a7af460a5 sepolicy: Allow PixelGnss to connect to Chre HAL
avc:  denied  { read } for  name="u:object_r:vendor_chre_hal_prop:s0" dev="tmpfs" ino=401 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:vendor_chre_hal_prop:s0 tclass=file permissive=0
avc:  denied  { find } for pid=900 uid=1021 name=android.hardware.contexthub.IContextHub/default scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:hal_contexthub_service:s0 tclass=service_manager permissive=0
avc:  denied  { call } for  scontext=u:r:hal_gnss_pixel:s0 tcontext=u:r:hal_contexthub_default:s0 tclass=binder permissive=0
avc:  denied  { call } for  scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0

Bug: 316227249
Test: Verify PixelGnss HAL can connect to Chre HAL.
Test: Function test verification b/330120749 without disable selinux.
Test: No avc error log in logcat.
Change-Id: Ia1052dbc14fdbb6287cd0958b30e1a1a116b7a80
2024-03-22 03:04:04 +00:00
Treehugger Robot
ec93f458c6 Merge "dumpstate: thermal: Add tmu intpend dumps" into 24D1-dev am: 4055216656
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26593649

Change-Id: Icc99ec08cc2e8da6de4e99c9d8d02bd92268c4af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 01:31:09 +00:00
Treehugger Robot
4055216656 Merge "dumpstate: thermal: Add tmu intpend dumps" into 24D1-dev 2024-03-22 01:12:45 +00:00
Android Build Coastguard Worker
43224e0300 Snap for 11610847 from 7a5eea3546 to 24Q3-release
Change-Id: I293b1b8667efdb179fc3b5b4265d381d54f52735
2024-03-21 23:02:01 +00:00
Sam Ou
7a5eea3546 Merge "sepolicy: allow the communication between audio and battery_mitigation hal" into 24D1-dev am: 5a78c395eb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26543992

Change-Id: I4aa587059c650eae8afc774380efd60a9dd3cc3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 11:57:33 +00:00
Sam Ou
5a78c395eb Merge "sepolicy: allow the communication between audio and battery_mitigation hal" into 24D1-dev 2024-03-21 11:41:43 +00:00
JJ Lee
8147b44aba Dumpstate: add DVFSA32 and lengthen timeouts for memory_votes_* am: eee8e04b92
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26593440

Change-Id: I8017a2540ddb1c4c1f9ab0c0bdb6fc1349ff5ae5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 02:40:16 +00:00
Android Build Coastguard Worker
d3138f6651 Snap for 11603317 from ca1efb166e to 24Q3-release
Change-Id: Ie0b678e4296a6dfb866fedb563f39b554937c79c
2024-03-20 23:02:29 +00:00
Devika Krishnadas
2997e4f81b Merge "Add pixel mapper service context" into main 2024-03-20 20:37:59 +00:00
Treehugger Robot
0e52931311 Merge "Revert "Enable MTE workaround for b/324412910"" into main 2024-03-20 18:44:32 +00:00
Devika Krishnadas
9357dd1314 Add pixel mapper service context
Bug: 267352318
Test: Build & check SELinux denials

Change-Id: I763f49d2ef38ae0ab5c1ee1652957f6512f8fbc6
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-03-20 18:12:29 +00:00
Yurii Shutkin
ca1efb166e rpmb_dev: add rpmb_dev package am: f02f35fa9c am: 2120172acc
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3001224

Change-Id: Ie7dd866a919ead418e8e411a8e0f8d5ca8f99eed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-20 15:07:42 +00:00
Mitch Phillips
78662f8356 Revert "Enable MTE workaround for b/324412910"
This reverts commit 442f99acaf.

Re-enable MTE in this process now that the underlying issue has been
fixed.

Bug: 324412910
Test: Boot the device, observe no crashes.
Change-Id: I8b9e093f25b33b94e0c9635815d9b0a6e2f91b70
2024-03-20 14:54:04 +00:00
Yurii Shutkin
2120172acc rpmb_dev: add rpmb_dev package am: f02f35fa9c
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3001224

Change-Id: Ia2a0d785d9988b2ab661ada8c0c23f28c472fc30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-20 14:37:56 +00:00
Sandeep Bandaru
5a574f45ab Merge "Adding policies for allowing inference services with TPU from isolated_compute_app" into main 2024-03-20 11:28:50 +00:00
sandeepbandaru
76ed6d8a6d Adding policies for allowing inference services with TPU from isolated_compute_app
Test: make
Bug:309953452
Change-Id: I2b0dc17f1debc71ed78d37007213210a7a1aed77
2024-03-19 21:28:56 +00:00
samou
0d88550486 sepolicy: allow the communication between audio and battery_mitigation hal
Bug: 330302105
Change-Id: I28a3b67594319d857a8c46bc8c02cddc539caaf8
Signed-off-by: samou <samou@google.com>
2024-03-19 12:01:46 +00:00
JJ Lee
eee8e04b92 Dumpstate: add DVFSA32 and lengthen timeouts for memory_votes_*
Bug: 328362738
Test: build pass
Change-Id: I0db129604911794e0fbdaf91b67b2e6fbda07e4d
Signed-off-by: JJ Lee <leejj@google.com>
2024-03-19 08:19:10 +00:00
YiHo Cheng
8051099b42 dumpstate: thermal: Add tmu intpend dumps
tmu intpend register dump sysfs is added so add the sysfs in thermal
dump script as well

Bug: 271619423
Test: adb bugreport
Change-Id: I9d5fe4302ce6101837a075ab46798e5f49a61d7d
2024-03-15 18:04:10 +08:00
Android Build Coastguard Worker
5e3dbdf6d4 Snap for 11571437 from 210f14f36d to 24Q3-release
Change-Id: Ic14da60f3937ff1de26e2ffc824e0e52f5b79cba
2024-03-13 23:02:06 +00:00
Zheng Pan
210f14f36d Merge "Support conditional insmod" into main 2024-03-13 18:40:41 +00:00
Yurii Shutkin
f02f35fa9c rpmb_dev: add rpmb_dev package
rpmb_dev is a mock implementation of rpmb for storageproxy.
It is used on emulation platforms where we don't have
real rpmb support in ufs.

Change-Id: I7a0d9e3ae2fef4c7652df9558c1d0aaaea328949
Test: storageproxyd
Bug: 328769740
Signed-off-by: Yurii Shutkin <shutkin@google.com>
2024-03-13 17:49:16 +01:00
Hongyang Jiao
19a7c4cda0 Merge "Add betterbug folder to gs-common" into main 2024-03-13 04:30:06 +00:00
Zheng Pan
b2a04f23d6 Support conditional insmod
Conditional insmod config file format

condinsmod|system_property_name|module1|module2

if getprop system_property_name == true;
    load module1
else
    load module2

Bug: 325647677
Change-Id: I0f2dd92caaefd707a626b9f80923aeab495d31a2
2024-03-12 18:21:05 -07:00
Wei Wang
16cadfdc02 Merge "sepolicy: allow setprop for thermal_controld" into 24D1-dev am: 212df1bf25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26541909

Change-Id: I959f37b3a25e5923efb6fd29b77019a263debfde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-13 00:56:13 +00:00
Wei Wang
212df1bf25 Merge "sepolicy: allow setprop for thermal_controld" into 24D1-dev 2024-03-13 00:16:31 +00:00
Android Build Coastguard Worker
9889b39458 Snap for 11565217 from ce4e42d661 to 24Q3-release
Change-Id: Id9d00e8d77bb114bfb7b7446e1f2c8979c19a686
2024-03-12 23:02:23 +00:00
Hongyang Jiao
9b300b02b1 Add betterbug folder to gs-common
Better Bug was previously labeled as priv_app, here we kept the same 'type=privapp_data_file levelFrom=user'

Copied some Better Bug used rules from system/sepolicy/private/priv_app.te.
(https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:system/sepolicy/private/priv_app.te;l=1?q=priv_app.te)

Test: local test
Bug: 322543833
Change-Id: Ia029e855dd46e65b9eec31835ccaabb3cb903058
2024-03-12 21:34:08 +00:00
Richard Hsu
ce4e42d661 Merge "[mlock] Allow edgetpu_app_service to call mlock()" into 24D1-dev am: 7462c63bdf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26481028

Change-Id: I4db9f953995528712eb71d8a4cdf9549509b2e12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-12 18:41:46 +00:00
Richard Hsu
7462c63bdf Merge "[mlock] Allow edgetpu_app_service to call mlock()" into 24D1-dev 2024-03-12 18:03:20 +00:00
Shinru Han
4aa81ec2aa Merge "gps: Update gps makefile" into main 2024-03-12 07:06:17 +00:00
Android Build Coastguard Worker
c276b9635a Snap for 11558480 from 39617f5731 to 24Q3-release
Change-Id: I81c65d99ada90f9bab7ee26c23da81297b2ef108
2024-03-11 23:02:02 +00:00
Richard Hsu
f9c4631891 [mlock] Allow edgetpu_app_service to call mlock()
This CL references keunyoung's ag/25999220

This is to support the GenAI effort, allowing file backed large models to be mlocked, satisfying the memory accounting on Android.

AVC error message:
https://paste.googleplex.com/5844645780652032

Bug: 322229786

Tested:
end-to-end on ZUM and ZPR.

Change-Id: I6abef85eebbc051cb5e41b8f11f70f7ae1b489ab
2024-03-11 12:16:02 -07:00
TeYuan Wang
2e4c437b43 sepolicy: allow setprop for thermal_controld
selinux denied log:
[   53.774820] type=1400 audit(1709683991.036:9): avc:  denied  { write } for  comm="setprop" name="property_service" dev="tmpfs" ino=842 scontext=u:r:pixel-thermal-control-sh:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Bug: 328118301
Test: adb shell getprop vendor.disable.thermalhal.control
Change-Id: I590f05d1119d11400b0115fff63b3420790e7332
2024-03-11 19:00:11 +00:00
Poomarin Phloyphisut
39617f5731 [HDMI Audio] Fix SEPolicy issue that prevent HDMI audio functionality. am: 292145d81e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26495841

Change-Id: I4e4365c8b8a87360b954aa2e5749fc039cce7f5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-11 13:06:33 +00:00
Shinru Han
3647a441ad gps: Update gps makefile
Test: on-device
Bug: 326527903
Change-Id: I4357e7a7c5c35c9bdfd94fa8c1fd59d21bbcd668
2024-03-11 06:33:02 +00:00
Poomarin Phloyphisut
292145d81e [HDMI Audio] Fix SEPolicy issue that prevent HDMI audio functionality.
Error:
avc:  denied  { search } for  comm="binder:845_2" name="hdmi_audio" dev="sysfs" ino=77907 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:sysfs_extcon:s0 tclass=dir permissive=0

Test: Local test.
Bug: 327710671
Change-Id: I413f4edae98cb0b868a4b6b7c62f6d4ae6f17727
2024-03-11 01:51:06 +00:00
Android Build Coastguard Worker
70a47a29ee Snap for 11551442 from 197c60eb8b to 24Q3-release
Change-Id: Ib2dec8975874c4b1d82800b13aa023a30e1b8aa4
2024-03-09 02:02:20 +00:00
Cole Faust
197c60eb8b Use soong_config_get/set instead of raw variable accesses am: c44cfe952d am: ee24fe5dbf
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2995000

Change-Id: I4d31d554656b31ff9c67de9e396e64530287e9ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 20:15:11 +00:00
Cole Faust
ee24fe5dbf Use soong_config_get/set instead of raw variable accesses am: c44cfe952d
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2995000

Change-Id: Id99e9d82b159e17504d6f1272a3a990757baa1a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 19:30:32 +00:00
TeYuan Wang
b878885499 sepolicy: allow setprop for thermal_controld
selinux denied log:
[   53.774820] type=1400 audit(1709683991.036:9): avc:  denied  { write } for  comm="setprop" name="property_service" dev="tmpfs" ino=842 scontext=u:r:pixel-thermal-control-sh:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Bug: 328118301
Test: adb shell getprop vendor.disable.thermalhal.control
Change-Id: I590f05d1119d11400b0115fff63b3420790e7332
2024-03-08 04:05:07 +00:00
Android Build Coastguard Worker
3be4f236f1 Snap for 11545716 from bc4933eeb1 to 24Q3-release
Change-Id: Ibbbad8af7534d747c0c22a25d92e3a52764d184c
2024-03-08 00:01:57 +00:00
Cole Faust
c44cfe952d Use soong_config_get/set instead of raw variable accesses
The raw variable accesses are breaking the rbc product config CI.

Test: ./build/bazel/ci/rbc_dashboard.py --quick factory_husky-trunk_staging-userdebug factory_ripcurrent factory_shiba
Change-Id: Ied0b29d9eeae65fb94900258627247b0a4145bc5
2024-03-07 10:17:32 -08:00