TreeHugger Robot
a3319d4b0d
Merge "betterbug: Fixed sepolicy related to mediaserver"
2022-11-07 01:46:11 +00:00
George Lee
6b49a4ea4f
betterbug: Fixed sepolicy related to mediaserver
...
Added mediaserver sepolicy for betterbug
Bug: 237287659
Test: Run same video capture on Betterbug to confirm video can be
captured.
Change-Id: Ifcb2bdba6f8036805f311a9d6b76227bf63e39e3
Signed-off-by: George Lee <geolee@google.com>
2022-11-05 10:39:53 -07:00
Bob Badour
985ce42202
[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common
...
Added SPDX-license-identifier-Apache-2.0 to:
gps/brcm/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: Id24967e37b2fafa55841703f3eb2017ce06f4aa6
2022-11-03 07:59:10 -07:00
George Lee
bb204b4ce3
Merge "betterbug: Update selinux policy for master"
2022-11-02 02:47:38 +00:00
Adam Shih
597d1873f6
Merge "move gps init.rc settings to gs-common"
2022-11-02 02:34:53 +00:00
George Lee
271a36cdcc
betterbug: Update selinux policy for master
...
Update startup_bugreport_requested property to vendor_public for
betterbug to access.
Bug: 237287659
Test: Load Betterbug for accessing startup bugreport reason property
Change-Id: I7102156fe62d5f03f64c367014c2d1ce9bd679b6
2022-11-01 17:09:23 -07:00
George Lee
a2c73f3a52
bcl: Change bugreport_requested prop to public
...
This is to resolve a merge conflict due to property configuration.
Bug: 256639156
Test: compile with ag/20329329
Change-Id: I6dacdb5f7342b84f880af84a477532205a7e3b9f
Signed-off-by: George Lee <geolee@google.com>
2022-11-01 12:34:10 -07:00
George Lee
9a49819f15
Merge "bcl: Add Mitigation Logger"
2022-10-31 14:17:57 +00:00
Adam Shih
067e82f2f2
move gps init.rc settings to gs-common
...
Bug: 254758553
Test: boot and open google map getting my location
Change-Id: Id6006b8e058e1b684b4085a47be306fa0cc5f405
2022-10-31 10:51:30 +08:00
George Lee
a1bea3e3e3
bcl: Add Mitigation Logger
...
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts. Information
collected is to help debug system brownout.
Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I24e5075b12a9bb3f16241de268254bde38c133d0
2022-10-28 05:25:08 +00:00
Adam Shih
82e09f8597
move brcm gps solution to gs-common
...
Bug: 254758553
Test: google map can locate on pixel
Change-Id: I466a7d3a45f37a7de5aaed55c2df7f06ba97268d
2022-10-27 11:06:46 +08:00
Bowgo Tsai
b23da02382
[automerger skipped] Adding developer GSI keys am: c010e721ea am: 772f4a3bae -s ours
...
am skip reason: Merged-In Ia4041e10156eadb37799ebdc12b33fbb3de4c54d with SHA-1 c42b5e2fc5 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/20265094
Change-Id: I22f6f34b9906d527ca7f5ec69ef89419478d17e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 17:25:25 +00:00
Bowgo Tsai
772f4a3bae
Adding developer GSI keys am: c010e721ea
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/20265094
Change-Id: I17bbf55cbc98afee24ad12b9b0c9fe18114ae887
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 16:50:10 +00:00
Bowgo Tsai
c010e721ea
Adding developer GSI keys
...
Bug: 254752713
Test: build and check $OUT/installed-files-vendor-ramdisk.txt that GSI
keys are included
Change-Id: Ia4041e10156eadb37799ebdc12b33fbb3de4c54d
Merged-In: Ia4041e10156eadb37799ebdc12b33fbb3de4c54d
(cherry picked from commit c42b5e2fc5e9eeb2aee93b211b8cf2985a913930)
2022-10-25 15:58:38 +08:00
Bowgo Tsai
c42b5e2fc5
Adding developer GSI keys
...
Bug: 254752713
Test: build and check $OUT/installed-files-vendor-ramdisk.txt that GSI
keys are included
Change-Id: Ia4041e10156eadb37799ebdc12b33fbb3de4c54d
2022-10-21 15:03:57 +08:00
Adam Shih
8146116936
move aoc settings to gs-common
...
Bug: 248426917
Test: boot with aoc launched
Change-Id: I7f3e65f9b27510bff657ca46c9688932a0352437
2022-10-20 11:23:26 +08:00
Adam Shih
9c93403876
move sensors dump to gs-common
...
Bug: 250475720
Test: adb bugreport
Change-Id: I15ec38810792c9216ad63de59a8f3aeb5f871bc5
2022-10-20 10:17:59 +08:00
Adam Shih
4b68f5fe95
create a lib to hold commonly used functions
...
Bug: 240530709
Test: adb bugreport
Change-Id: Idcdcca968b65d2bd413b219d39fc1104dfc9f3b8
2022-10-18 13:38:13 +08:00
Adam Shih
19236e9079
Merge "move aoc dump to gs-common"
2022-10-12 00:08:34 +00:00
Xin Li
9b76b5b920
[automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: 8d040eaa88 -s ours am: bf5b42acd8 -s ours
...
am skip reason: Merged-In Iad7403dcbc0ad12b77154003f4aa61afedf2224f with SHA-1 edf8707658 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/20132575
Change-Id: I7793f527164699a632ddbf97d9fbd50aa2b9583a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 20:09:39 +00:00
Xin Li
bf5b42acd8
[automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: 8d040eaa88 -s ours
...
am skip reason: Merged-In Iad7403dcbc0ad12b77154003f4aa61afedf2224f with SHA-1 edf8707658 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/20132575
Change-Id: Ia5d9d6b8a307936ad57749bf9cc6a00a6360860f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 17:55:41 +00:00
Adam Shih
ee779b9ac8
move aoc dump to gs-common
...
Bug: 248426917
Test: adb bugreport
Change-Id: I29fea8752011959b5d0eb50ed93c6e8eed66f9ee
2022-10-11 15:36:26 +08:00
TreeHugger Robot
763eae3289
Merge "[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common"
2022-10-07 02:55:24 +00:00
Bob Badour
37b8e22c2e
[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common
...
Added SPDX-license-identifier-Apache-2.0 to:
ramdump/Android.bp
soc/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: Id2b08f9edfdc7d9828f28739c28b23c318f352a2
2022-10-06 13:32:35 -07:00
Xin Li
8d040eaa88
Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
...
Bug: 248070379
Merged-In: Iad7403dcbc0ad12b77154003f4aa61afedf2224f
Change-Id: I9935427749553aeb99b8682c8dd63b0af392d275
2022-10-06 12:00:20 -07:00
Adam Shih
e301fa20c6
move modem dump to gs-common
...
Bug: 250475732
Test: adb bugreport
Change-Id: Id6dc2ef02d5e32b71de1b618e5588c202a2b6243
2022-10-05 10:36:26 +08:00
Adam Shih
cf7266088f
move soc dump to gs-common
...
Bug: 248428203
Test: adb bugreport
Change-Id: Iaf8b48d5062536bbece1562618f965947dea22f0
2022-10-04 13:36:07 +08:00
Adam Shih
d3834209e8
Merge "move trusty dump from gs201 to gs-common"
2022-10-04 00:48:08 +00:00
Adam Shih
274819fc94
move ramdump relate dumpstate to gs-common
...
Bug: 248428203
Test: adb bugreport
Change-Id: I19ffce8e883b3ab88eae1ff7373b35c0ed517aa9
2022-10-03 12:20:42 +08:00
Adam Shih
d76d46457d
move trusty dump from gs201 to gs-common
...
Bug: 244504232
Test: adb bugreport
Change-Id: I0c286f5e98d5a9c5497f7f89dcd58a8dc0c2b572
2022-10-03 09:19:18 +08:00
Adam Shih
f1dc313270
Merge "move UFS dump to gs-common"
2022-09-29 01:07:44 +00:00
Adam Shih
708d25e824
move UFS dump to gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: I029389807c915713545766ad11671bc0715ec67f
2022-09-28 13:16:25 +08:00
Adam Shih
0f84ba2bb5
Put gs_watchdog settings to one place
...
Bug: 248428203
Test: gs_watchdog is still in system_ext
Change-Id: Iaa0e1871a4459af02a004f7b3b2861b53709c608
2022-09-28 10:30:51 +08:00
Adam Shih
262892227c
dump f2fs in gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: Ifcd0b3aaa017d106530c58a1ce2b56d77af1b12d
2022-09-23 14:01:11 +08:00
Chengyou Ho
1bfa9e6a2f
Merge changes from topic "240932137"
...
* changes:
Add oemlock aidl service sepolicy
gsc.mk: install oemlock aidl service
2022-09-21 13:52:14 +00:00
Chengyou Ho
94f9ddc10e
Merge changes from topic "b/246952216"
...
* changes:
Add weaver AIDL service sepolicy
gsc.mk: install weaver AIDL service
2022-09-21 13:51:48 +00:00
Adam Shih
f3105ca062
add missing dumpstate permission
...
Bug: 247097496
Test: adb bugreport
Change-Id: Icccfe2c4610ae3a9e77d1ad2c17d828e2e860f1b
2022-09-19 10:52:52 +08:00
ChengYou Ho
141c01ba0c
Add oemlock aidl service sepolicy
...
1. avc: denied { find } for pid=889 uid=1064 name=android.hardware.citadel.ICitadeld scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:citadeld_service:s0 tclass=service_manager permissive=1
2. avc: denied { read } for name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
3. avc: denied { write } for name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
4. avc: denied { open } for path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
5. avc: denied { ioctl } for path="/dev/binderfs/vndbinder" dev="binder" ino=6 ioctlcmd=0x6209 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
6. avc: denied { call } for scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:r:vndservicemanager:s0 tclass=binder permissive=1
Bug: 240932137
Change-Id: I804d925e020f6adfe8cd0c34aedead366c99adc0
2022-09-18 20:54:20 +00:00
ChengYou Ho
abfb0bafa5
gsc.mk: install oemlock aidl service
...
Bug: 240932137
Test: VtsHalOemLockTargetTest
Change-Id: Ib46ddafc41f64858e4db099978b6ba89bfa119b9
2022-09-18 20:54:08 +00:00
ChengYou Ho
f31f736d36
Add weaver AIDL service sepolicy
...
avc: denied { call } for scontext=u:r:hal_weaver_citadel:s0 tcontext=u:r:citadeld:s0 tclass=binder permissive=1
avc: denied { find } for pid=3023 uid=1064 name=android.hardware.citadel.ICitadeld scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:citadeld_service:s0 tclass=service_manager permissive=1
avc: denied { read } for comm="android.hardwar" name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { write } for comm="android.hardwar" name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { open } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { ioctl } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 ioctlcmd=0x6209 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { map } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
Bug: 246952216
Change-Id: Id77dc947327a0b9f963fd98bd0143a1b86f646dd
2022-09-18 20:24:10 +00:00
ChengYou Ho
df8d456507
gsc.mk: install weaver AIDL service
...
Bug: 246952216
Change-Id: I74531b175d3d88c17bf644800951ca4d61d11fd8
2022-09-16 20:35:56 +00:00
Chengyou Ho
1dd58b8948
Merge changes from topic "b/244746589"
...
* changes:
Add authsecret aidl hal sepolicy
Authsecret: install AIDL service
2022-09-15 05:53:18 +00:00
Adam Shih
6e02c41bf8
Merge "get bt permission xml to gs-common"
2022-09-15 01:18:10 +00:00
Adam Shih
035dd09274
get bt permission xml to gs-common
...
Bug: 242661555
Test: connect to bluetooth
Change-Id: I65337866df5b2601da0e899b2e312dfac928bcb6
2022-09-14 09:54:52 +08:00
ChengYou Ho
182bdd6c08
Add authsecret aidl hal sepolicy
...
avc: denied { read } for comm="android.hardwar" name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { write } for comm="android.hardwar" name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { open } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { ioctl } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 ioctlcmd=0x6209 scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { map } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { call } for comm="android.hardwar" scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:r:vndservicemanager:s0 tclass=binder permissive=1
avc: denied { call } for comm="android.hardwar" scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:r:servicemanager:s0 tclass=binder permissive=1
avc: denied { transfer } for comm="android.hardwar" scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:r:servicemanager:s0 tclass=binder permissive=1
avc: denied { call } for comm="binder:1286_7" scontext=u:r:system_server:s0 tcontext=u:r:hal_authsecret_citadel:s0 tclass=binder permissive=1
avc: denied { ioctl } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 ioctlcmd=0x6201 scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { call } for comm="android.hardwar" scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:r:citadeld:s0 tclass=binder permissive=1
avc: denied { find } for pid=3023 uid=1064 name=android.hardware.citadel.ICitadeld scontext=u:r:hal_authsecret_citadel:s0 tcontext=u:object_r:citadeld_service:s0 tclass=service_manager permissive=0
Bug: 244746589
Change-Id: I8d950329e057a2f806817384e6b00baf6f26efee
2022-09-13 15:52:31 +00:00
ChengYou Ho
9699b144cd
Authsecret: install AIDL service
...
Bug: 244746589
Change-Id: Ie7c57d8a16b1146225d84f510ce7817c4b81e772
2022-09-12 04:07:54 +08:00
Bob Badour
96dc7772bf
[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common
...
Added SPDX-license-identifier-Apache-2.0 to:
insmod/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I418b0b125007fd136ed0554f4656d50e2eeb845e
2022-09-08 09:17:37 -07:00
Adam Shih
0ecc7fd322
Merge "Move bt Compatibility matrix and some packages to gs-common"
2022-09-07 22:59:50 +00:00
Adam Shih
e4a75e452a
rename rc to avoid name collision
...
Bug: 245233839
Test: build pass
Change-Id: I9057ac78d1197fd098290282552805f91b80f02a
2022-09-06 14:56:27 +08:00
Adam Shih
8e524374dd
move insert module script sepolicy to gs-common
...
Bug: 243763292
Test: boot to home with no relevant SELinux error
Change-Id: I6646fa4433fc1ccb94ac05f9cc8d7076a6a2d8cf
2022-09-06 10:39:35 +08:00