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
kierancyphus
d26d8270ff
shamp: Add SEPolicy and compat matrix for shamp
...
Bug: 329367768
This is the basic SELinux setup for a HAL. Since this lives in
gs-common and not all pixel devices will have the corresponding vendor
manifest, this hal will have to be marked as optional.
Test: If this was configured incorrectly, then the build should fail
Doc: go/shared-modem-platform-cpp-backend
Change-Id: I6dd0ee3d68ff226e14e3bdffe2e828c1184c1a01
2024-03-14 01:50:33 +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
kierancyphus
c14a6a75cc
shamp: Create soong config variable for vendors
...
Bug: 328704096
The soong config variable should be defined for all pixel products to
enforce backwards compatability (ensure that this is never built for non
enabled devices). In the case where `SHARED_MODEM_PLATFORM` is not
defined, then the soong config variable will choose the default
placeholder implmentation.
Doc: go/shared-modem-platform-cpp-backend
Test: Build for enabled and disabled targets and ensure that the
correct version of `shared_modem_platform` is being built.
Change-Id: I06ebdada2324fdd86cbb7718fd66602dd52070ea
2024-03-13 18:48:01 +08: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
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
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
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
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
Xin Li
bc4933eeb1
[automerger skipped] Merge Android 14 QPR2 to AOSP main am: dca283b418 -s ours am: 78d1620fb8 -s ours
...
am skip reason: Merged-In Ib12b30703f889fb1b0172fbe40415f4e6936d63e with SHA-1 1eaa8b8952 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2989219
Change-Id: I0ba7385cf8cc72ca80bc00d1004abf34600ceb99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:25 +00:00
Xin Li
78d1620fb8
[automerger skipped] Merge Android 14 QPR2 to AOSP main am: dca283b418 -s ours
...
am skip reason: Merged-In Ib12b30703f889fb1b0172fbe40415f4e6936d63e with SHA-1 1eaa8b8952 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2989219
Change-Id: I3c10177382487e613a5ef95fc9691f6eb2a3342b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:00 +00:00
Xin Li
dca283b418
Merge Android 14 QPR2 to AOSP main
...
Bug: 319669529
Merged-In: Ib12b30703f889fb1b0172fbe40415f4e6936d63e
Change-Id: I9b746fcebbdff92a2fa86ca2fff0452cc234e067
2024-03-06 09:29:48 -08:00
Bart Sears
d996312839
Merge "Revert "Add betterbug folder to gs-common"" into main
2024-03-05 20:38:11 +00:00
Daniel Chapin
aca06d61c6
Revert "Add betterbug folder to gs-common"
...
Revert submission 26348985-bb-sepolicy-poc
Reason for revert: Droidfood blocking bug: b/327991669
Bug: b/327991669
Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc
Change-Id: I0fe0bb22e293093d941b4d8ba826c8c8689a370d
2024-03-05 20:35:50 +00:00
Mark Chang
5c635e51a8
Merge "Move sepolicy files from hardware/google/pixel-sepolicy." into main
2024-03-05 05:31:47 +00:00
Wayne Lin
c093a56797
Merge "gps: add policy for partial reset feature" into main
2024-03-04 19:26:02 +00:00
Ted Wang
56581adeb7
Switch to new Bluetooth Finder HAL
...
Bug: 310790725
Test: Manual
Change-Id: I7a0a766fa3e0f02daff496c2370722f85b6e6740
2024-03-04 05:29:17 +00:00
Mark Chang
542efdc2b9
Move sepolicy files from hardware/google/pixel-sepolicy.
...
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.
Change-Id: I2146a2b1524d6d5a3d4a17635cce21c29c56c248
Signed-off-by: Mark Chang <changmark@google.com>
2024-03-01 11:59:40 +00:00
Hongyang Jiao
f507e4a7f7
Merge "Add betterbug folder to gs-common" into main
2024-03-01 01:10:47 +00:00
Wayne Lin
1c9e011597
gps: add policy for partial reset feature
...
avc: denied { read } for name="u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=413 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc: denied { open } for path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc: denied { getattr } for path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc: denied { map } for path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
Bug: 326493553
Test: no avc denied error
Change-Id: I4ac1ecf51da01c24d4e2f0f7e52df1d2cb92e275
2024-03-01 02:46:50 +08:00
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