TreeHugger Robot
71e96842ca
Merge "Grant GPU and Fabric node access" into sc-dev
2021-04-02 22:59:18 +00:00
Wei Wang
c98adf0eaf
Set uclamp nodes to root am: aeaf942d49
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14078088
Change-Id: I9f03c516f99d3a2555b4c83b61bcaad1568249f1
2021-04-02 22:51:23 +00:00
Cheng Gu
72011a8a87
gs101-sepolicy: Allow rlsservice to access range sensor
...
Fix: 184295618
Test: rlsservice_test
Change-Id: Iee4cc5376e0eb67e75ae94cd15b5211a7ec819ef
2021-04-02 22:27:48 +00:00
Wei Wang
aeaf942d49
Set uclamp nodes to root
...
Test: boot
Bug: 183626384
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Idebf93e6354810d19c40d5b6d364ed073a564a77
2021-04-02 21:23:53 +00:00
Wei Wang
852d1dc3c1
Grant GPU and Fabric node access
...
Bug: 183626384
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ibb700110795f81a2da4358352111f61ef987c29b
2021-04-02 14:22:37 -07:00
Long Ling
316f25d9d9
display: update adaptive color data am: eed3cc22bb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14057468
Change-Id: I882900798b6075e58ea1e39377017517962f8089
2021-04-02 19:45:15 +00:00
Vova Sharaienko
ceafb82c02
exo: updated sepolicy
...
This allows the Exo to access AIDL Stats service
Bug: 181892307
Test: Build, flash, boot & and logcat | grep "IStats"
Change-Id: I6ae1c37505b312617376bc3c954720c8a1f223d2
2021-04-02 19:13:12 +00:00
Long Ling
eed3cc22bb
display: update adaptive color data
...
Bug: 173287712
Test: read back via 'displaycolor_service 553 0 10 100'
Change-Id: Ib430ddae3e3e55a3ceb7f69d70fb129668fb68cb
2021-04-02 19:08:32 +00:00
Steve Pfetsch
ec75ec5676
Merge "Add new ITouchContextService interface to twoshay" into sc-dev am: 48f88fb26b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13959947
Change-Id: I78f7639e542b60c68deb2651dc43c26a2da6eb98
2021-04-02 18:18:07 +00:00
Steve Pfetsch
9e830fd177
gs101: add twoshay's ITouchContextService to manifest am: 8da4ee4195
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14038493
Change-Id: I8526906eb5d0ea88772a36d7b551e218b5933a78
2021-04-02 18:18:07 +00:00
Steve Pfetsch
48f88fb26b
Merge "Add new ITouchContextService interface to twoshay" into sc-dev
2021-04-02 18:01:02 +00:00
Steve Pfetsch
8da4ee4195
gs101: add twoshay's ITouchContextService to manifest
...
Bug: 174626987
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I22ee4bf604d807f2a0c64612d1f1a7f9025a43f9
2021-04-02 18:01:01 +00:00
Krzysztof Kosiński
3feab91f9a
Mark libGralloc4Wrapper.so as same-process HAL. am: 8a1f0bed01
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14065699
Change-Id: I8bbfefe1a144c621dc963e8e84d305c02f7e3a3d
2021-04-02 17:31:59 +00:00
Krzysztof Kosiński
8a1f0bed01
Mark libGralloc4Wrapper.so as same-process HAL.
...
Updating the library name after upgrade to gralloc version 4.
Bug: 178656396
Test: GCA on oriole
Change-Id: I638b3cd0d7f4759f89a62a1d102cc98d9a3db622
2021-04-01 22:21:44 -07:00
Ricky Niu
4d5a6712df
gs101: usb: remove flag "OLDER_GADGET" am: 88313cf20b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13988832
Change-Id: I96f2d0b42e89c3a159b274befac732f8dce11b7c
2021-04-02 04:58:35 +00:00
Ricky Niu
88313cf20b
gs101: usb: remove flag "OLDER_GADGET"
...
The flag "OLDER_GADGET" is no need.
Using "11110000.dwc3" be the udc name.
Test: Build Pass and boot to home
Bug: 177879761
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I43c9e2815a6384c4dffdc47312fa0f372b34d9e9
2021-04-02 04:42:53 +00:00
SalmaxChang
977d5bc22a
e2fs: Fix avc errors am: e277259f08
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057402
Change-Id: If45de2ed7b5537fdff112867048c33ec1ced880b
2021-04-02 03:39:03 +00:00
SalmaxChang
83a67e30f3
init: restorecon efs partitions before chown am: f2eb39f4d6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14065272
Change-Id: I377745dde5a1e707b7e2b87bcb16eb9636a7482e
2021-04-02 03:39:03 +00:00
SalmaxChang
f2eb39f4d6
init: restorecon efs partitions before chown
...
For the 1st boot with efs erased, we need to relabel efs first to chown
for rfsd and cbd to access.
Bug: 184221482
Test: Check rfsd and cbd could access efs w/wo erasing.
Change-Id: Ib186cf5c9375ebef177081a612d5486c35fc20f4
2021-04-02 01:13:30 +00:00
SalmaxChang
e277259f08
e2fs: Fix avc errors
...
avc: denied { read } for comm="mke2fs" name="sda5" dev="tmpfs" ino=574 scontext=u:r:e2fs:s0 tcontext=u:object_r:efs_block_device:s0 tclass=blk_file
avc: denied { ioctl } for comm="mke2fs" path="/dev/block/sda5" dev="tmpfs" ino=510 ioctlcmd=0x127b scontext=u:r:e2fs:s0 tcontext=u:object_r:efs_block_device:s0 tclass=blk_file
Bug: 184221482
Change-Id: Ic0c697bb591135d9830cd9e32e110cb5b5eb1504
2021-04-02 01:13:27 +00:00
Ilya Matyukhin
0798ad2853
Enable both AIDL and HIDL UDFPS HALs am: e98d76c98e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14065078
Change-Id: Ica789bba941a1f388fc877ba8f9c3e90a528ef53
2021-04-02 00:53:37 +00:00
Ilya Matyukhin
e98d76c98e
Enable both AIDL and HIDL UDFPS HALs
...
Bug: 175070939
Bug: 183054007
Test: Both binaries are installed on device
Change-Id: I8d791ba117c472a3388f301d78d088dc96eb4255
2021-04-02 00:22:00 +00:00
Michael Wright
98c223e862
Add new ITouchContextService interface to twoshay
...
Bug: 174626987
Test: boot, see no denials
Change-Id: I963d5b77969571182b94c4265653c5d22e124247
2021-04-01 23:32:19 +00:00
TreeHugger Robot
72e640e63d
Merge "gs101-sepolicy: Allow binder call rlsservice from camera" into sc-dev am: 8948e498c8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14065690
Change-Id: I6a641820adbdbbf5a6e488dd1fc55b82538f53c2
2021-04-01 21:34:20 +00:00
TreeHugger Robot
8948e498c8
Merge "gs101-sepolicy: Allow binder call rlsservice from camera" into sc-dev
2021-04-01 21:04:11 +00:00
Cheng Gu
765e8e2374
gs101-sepolicy: Allow binder call rlsservice from camera
...
This is to fix below avc denial:
E SELinux : avc: denied { find } for pid=28954 uid=1000
name=rlsservice scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:rls_service:s0 tclass=service_manager permissive=0
The solution is similar to ag/7253836 (coral) and ag/10232101 (redbull).
Fix: 183620858
Test: adb shell setprop persist.vendor.camera.dump_range_data 1 &&
adb shell pkill -f camera, then retest camera
Change-Id: I6bb743c15ee64e3c4ecb8359126b238554aa649e
2021-04-01 21:03:02 +00:00
Sahil Goel
91d2c174d3
Add pregrant permissions for Voice Access am: b360446e82
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13999045
Change-Id: I19eb2e752b9c6fa810e13ae3197008da475acc9e
2021-04-01 19:29:28 +00:00
Sahil Goel
b360446e82
Add pregrant permissions for Voice Access
...
Approved android bug: b/182307492
Test: manual
Bug: 181901515
Change-Id: I8af4562a24d9b555c33c1110ae49f86c5ca4db2d
2021-04-01 18:54:19 +00:00
Yu-Chi Cheng
f27370db65
Allowed EdgeTPU service to read system properties related to vendor.
...
The EdgeTPU service will read properties including
"vendor.edgetpu.service.allow_unlisted_app". This change added the
related SELinux rule for it.
Bug: 182209462
Test: tested on local Oriole + GCA
Change-Id: I8e7f7975bf144593d00a305554d75a5e0200a428
2021-04-01 11:40:36 -07:00
Midas Chien
a0c8eb407d
gs101: display: update 90hz denylist am: 2b88831a1d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14047909
Change-Id: Ie46534b10fbb9d5cb557bfca9c9b3e2d3e232a2c
2021-04-01 16:03:31 +00:00
Midas Chien
2b88831a1d
gs101: display: update 90hz denylist
...
Add common 90hz denylist
Bug: 182471327
Test: adb shell dumpsys window refresh
Change-Id: If3dc37ad1c3df05ffdf8176a48c2c19430b5ba98
2021-04-01 15:32:53 +00:00
TreeHugger Robot
025ddae3f5
Merge "remove obsolete entries" into sc-dev am: 3504d25fb6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057401
Change-Id: I43b31230b9a17bab788d6bb12dceab0874f1c27a
2021-04-01 08:37:51 +00:00
TreeHugger Robot
3504d25fb6
Merge "remove obsolete entries" into sc-dev
2021-04-01 08:05:31 +00:00
Charlie Chen
df4340620f
Merge "SELinux error coming from mediacodec when using GCA and secure playback" into sc-dev am: 1a03008756
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057389
Change-Id: Ia11cf3a7b21e91b79450fb73f32b4016d6bfca91
2021-04-01 07:15:31 +00:00
Adam Shih
f96f0c79a3
remove obsolete entries
...
Bug: 183560282
Bug: 180858511
Bug: 183161715
Bug: 178331791
Bug: 178433597
Test: pts -m PtsSELinuxTest -t
com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot
Change-Id: Iba208b69389450b8ef69aaecfb799ef696515669
2021-04-01 15:02:46 +08:00
Tai Kuo
4f95cc3972
touch: enable basic features am: f3714e78fc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14059874
Change-Id: I84b97f21f3dc8e517c622674cd9a24114e990b07
2021-04-01 06:52:48 +00:00
Charlie Chen
1a03008756
Merge "SELinux error coming from mediacodec when using GCA and secure playback" into sc-dev
2021-04-01 06:48:14 +00:00
Gillian Lin
acbe8fea4a
Merge "Fix SELinux error from vendor_init" into sc-dev am: cdfffb7213
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14048486
Change-Id: Ibe02e5539c1d72b924489efd818014be29b2ce94
2021-04-01 05:42:24 +00:00
Gillian Lin
cdfffb7213
Merge "Fix SELinux error from vendor_init" into sc-dev
2021-04-01 05:08:50 +00:00
Tai Kuo
f3714e78fc
touch: enable basic features
...
android.hardware.faketouch
android.hardware.touchscreen
android.hardware.touchscreen.multitouch
android.hardware.touchscreen.multitouch.distinct
android.hardware.touchscreen.multitouch.jazzhand
Bug: 183471879
Test: build and check out folder
Test: push to DUT and check feature
adb shell pm list features | grep touch
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Id910bd790bb495fec29938954efc30b74f6cd3fa
2021-04-01 12:12:36 +08:00
Charlie Chen
5602dfde45
SELinux error coming from mediacodec when using GCA and secure playback
...
Fixes the following denials:
avc: denied { read } for name="name" dev="sysfs" ino=63727 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0
avc: denied { read } for name="name" dev="sysfs" ino=63743 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0
avc: denied { read } for name="name" dev="sysfs" ino=64010 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0
avc: denied { search } for name="video6" dev="sysfs" ino=64587 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs_video:s0 \
tclass=dir permissive=0
Bug: 182525521
Bug: 184145552
Test: GCA recording works properly, \
Netflix and ExoPlayer can play videos
Change-Id: Ib7220feedc5031fb0e5c05a2b487da2ddf8b98cd
2021-04-01 02:53:24 +00:00
Eddie Tashjian
e13fc96b1f
Merge "Allow radio vendor apps to modify slog props." into sc-dev am: 6171dc4503
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14056485
Change-Id: I0434283eaf0c403548a96da40c050653be779b63
2021-04-01 02:36:46 +00:00
gillianlin
52a776889c
Fix SELinux error from vendor_init
...
03-17 09:12:55.380 1 1 I /system/bin/init: type=1107 audit(0.0:3): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { read } for property=mfgapi.touchpanel.permission pid=0 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1'
Bug: 182954248
Change-Id: I9ffff1aab20577950cb43c35d788e6a9c9acd571
2021-04-01 10:16:41 +08:00
Eddie Tashjian
6171dc4503
Merge "Allow radio vendor apps to modify slog props." into sc-dev
2021-04-01 01:32:04 +00:00
Ilya Matyukhin
881763c14e
Merge "Add sepolicy for Goodix AIDL HAL" into sc-dev am: 52a4f701c1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13990421
Change-Id: I98013d8691da399355ea0f3746d0f239d105f5b2
2021-03-31 22:40:05 +00:00
Yabin Cui
79304978ae
Move vendor_kernel_modules to public.
...
Bug: 166559473
Bug: 183135316
Test: build
Change-Id: Ib62080d3d12aa197571a0697c17f6fd5d981d653
2021-03-31 15:28:10 -07:00
Ilya Matyukhin
52a4f701c1
Merge "Add sepolicy for Goodix AIDL HAL" into sc-dev
2021-03-31 21:57:29 +00:00
Eddie Tashjian
022de778ed
Allow radio vendor apps to modify slog props.
...
Radio vendor silent logging app needs access to the vendor slog
properties in order to configure logging.
Bug: 184102091
Test: Check vendor silent logging app works.
Change-Id: I1a7c590b80d94c0b147743372ba3cd1a0817baf3
2021-03-31 20:57:31 +00:00
Benjamin Schwartz
2999dce53d
powerstats: Add placeholder energy consumer for bt and wifi am: a0519357f3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14054229
Change-Id: I69723341ad14ae9ef47ec4aa60d15979d2e29c0e
2021-03-31 20:51:49 +00:00
Benjamin Schwartz
a0519357f3
powerstats: Add placeholder energy consumer for bt and wifi
...
Bug: 184092278
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I00e277c6ddad81f970e7345870b0bf904ca433e9
2021-03-31 20:12:33 +00:00