Adam Shih
6c77867c16
Merge "change assigned bug" into sc-dev am: 65355b49a3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14167787
Change-Id: Ide6ac2b00c2a571517c3496a95a84aed22b9428c
2021-04-14 08:01:55 +00:00
Adam Shih
42c83f05e5
Merge "change assigned bug" into sc-dev am: 65355b49a3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14167787
Change-Id: I23f0d624063b78900c88c375df8c242c889d1640
2021-04-14 07:56:12 +00:00
Jenny Ho
3d46be281d
dumpstate: update dump eeprom path
...
avoid using * for sysfs permission
Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I8346bc09e82811a9006aae6d1b2d83d31a7e0a62
2021-04-14 07:45:01 +00:00
Adam Shih
65355b49a3
Merge "change assigned bug" into sc-dev
2021-04-14 07:09:32 +00:00
Ray Chi
f4589fecba
usb: Add sepolicy for extcon access
...
USB gadget hal will access extcon folder so that this patch
will add new rule to allow USB gadget hal to access extcon.
Bug: 185302867
Test: apply the rule and verify it
Change-Id: I0bc44dbf89a02c4fa5b561baf1c0c1c43d5183e9
2021-04-14 14:36:44 +08:00
SalmaxChang
eac287b429
Add more modem properties am: f23a4423c4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14173742
Change-Id: I2d5ad4b11041c31259bcda951ea8463653be1c2a
2021-04-14 05:50:35 +00:00
SalmaxChang
335dfc11c3
Add more modem properties am: f23a4423c4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14173742
Change-Id: I4e6ae1e9739e895de2499f8b97b1fc0ce0426998
2021-04-14 05:44:57 +00:00
Taehwan Kim
d165551525
update media_codecs_aosp_c2.xml am: a27563b2f4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14160950
Change-Id: I60ebec6baa0c736a53e0c41950fb11511d1bcffd
2021-04-14 05:44:51 +00:00
Taehwan Kim
a27563b2f4
update media_codecs_aosp_c2.xml
...
Bug: 184144529
Test: Video call in Snapchat app
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib7ab4d3ed4cd9aa49633612ade2b333eff6b99bb
2021-04-14 04:53:00 +00:00
SalmaxChang
f23a4423c4
Add more modem properties
...
init : Do not have permissions to set 'ro.vendor.sys.modem.logging.loc' to '/data/vendor/slog' in property file '/vendor/build.prop': SELinux permission check failed
Bug: 184101903
Change-Id: I8c2dfd48e177e4a5127c1efd977c0f6c18b50379
2021-04-14 04:46:32 +00:00
Roshan Pius
2b15027412
Uwb: Create a new Uwb system service am: 8119d482ed
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057967
Change-Id: I8b6f621cfc308e31b746388329af060420f528e9
2021-04-14 03:48:04 +00:00
Roshan Pius
7658d333ea
Uwb: Create a new Uwb system service am: 8119d482ed
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057967
Change-Id: I3b402d319fe6527c2f227494546320586970c742
2021-04-14 03:42:09 +00:00
Ilya Matyukhin
d22884d3cd
Merge "Add sepolicy for SystemUIGoogle to write to lhbm" into sc-dev am: 75d0cce94f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14105113
Change-Id: Iaaf7aacccae46d584eacc2f687f31583d6c605b2
2021-04-14 01:31:44 +00:00
Ilya Matyukhin
0226800307
Merge "Add sepolicy for SystemUIGoogle to write to lhbm" into sc-dev am: 75d0cce94f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14105113
Change-Id: I232b907292500d053fa55696a388a04c1bdd9879
2021-04-14 01:25:39 +00:00
Roshan Pius
8119d482ed
Uwb: Create a new Uwb system service
...
Move the vendor service to a different name which will be used by AOSP
uwb service.
Also, create a new domain for the UWB vendor app which can expose this
vendor service.
Denials:
04-12 16:38:38.282 411 411 E SELinux : avc: denied { find } for pid=2964
uid=1000 name=tethering scontext=u:r:uwb_vendor_app:s0:c232,c259,c512,c768
tcontext=u:object_r:tethering_service:s0 tclass=service_manager permissive=0
04-12 17:56:49.320 411 411 E SELinux : avc: denied { find } for pid=2964
uid=1000 name=hardware.qorvo.uwb.IUwb/default scontext=u:r:uwb_vendor_app:s0:c232,c259,c512,c768
tcontext=u:object_r:hal_uwb_service:s0 tclass=service_manager permissive=0
04-12 20:13:37.952 3034 3034 W com.qorvo.uwb: type=1400 audit(0.0:8): avc: denied
{ getattr } for path="/data/user/0/com.qorvo.uwb" dev="dm-11" ino=7176
scontext=u:r:uwb_vendor_app:s0:c232,c259,c512,c768 tcontext=u:object_r:system_app_data_file:s0
tclass=dir permissive=0
04-12 20:13:38.003 408 408 E SELinux : avc: denied { find } for pid=3034
uid=1000 name=content_capture scontext=u:r:uwb_vendor_app:s0:c232,c259,c512,c768
tcontext=u:object_r:content_capture_service:s0 tclass=service_manager permissive=0
04-12 21:25:03.244 2992 2992 W com.qorvo.uwb: type=1400 audit(0.0:7): avc: denied
{ getattr } for path="/data/user/0/com.qorvo.uwb" dev="dm-11" ino=7176
scontext=u:r:uwb_vendor_app:s0:c232,c259,c512,c768 tcontext=u:object_r:
system_app_data_file:s0:c232,c259,c512,c768 tclass=dir permissive=0
Bug: 183904955
Test: atest android.uwb.cts.UwbManagerTest
Change-Id: Iecb871902ebe7d110f2deb9ddb960c1a3945d8e9
2021-04-13 17:54:42 -07:00
Ilya Matyukhin
75d0cce94f
Merge "Add sepolicy for SystemUIGoogle to write to lhbm" into sc-dev
2021-04-14 00:16:35 +00:00
Vova Sharaienko
b0a79e65a1
wirelesscharger-adapter: updated sepolicy am: 72f80a3c90
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14176231
Change-Id: Id446f4625b0d89a27365d3385395ef190f6cf0e2
2021-04-13 23:53:23 +00:00
Vova Sharaienko
54fbaee2e2
wirelesscharger-adapter: updated sepolicy am: 72f80a3c90
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14176231
Change-Id: I8c5bd90516347079ea1a51e744614f4d30921805
2021-04-13 23:48:26 +00:00
Dmitri Plotnikov
be40f0bb86
Implement triggers on the power.battery_input.suspended property am: 546f53ca1a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14160384
Change-Id: I4525c3fe5c3532e62aedb9368a7cf6c91ec1b17b
2021-04-13 21:07:11 +00:00
Dmitri Plotnikov
546f53ca1a
Implement triggers on the power.battery_input.suspended property
...
See analogous CLs for coral: ag/12464994; redbull: ag/12990696
Bug: 167636754
Test: adb shell setprop power.battery_input.suspended true to disable charging
Test: adb shell setprop power.battery_input.suspended false to reenable charging
Change-Id: Ie413251451683de7c22b44c6c86a2a8590998b7b
2021-04-13 19:36:29 +00:00
Vova Sharaienko
72f80a3c90
wirelesscharger-adapter: updated sepolicy
...
This allows the wirelesscharger-adapter to access AIDL Stats service
Bug: 181892307
Test: Build, flash, boot & and logcat | grep "platform_app"
Change-Id: I801e801133e4c7a0977f6c1e816b7c64135f59a3
2021-04-13 19:26:01 +00:00
Ilya Matyukhin
acf6b1f5ae
Add sepolicy for SystemUIGoogle to write to lhbm
...
Bug: 184768835
Bug: 182520014
Test: adb logcat | grep "avc: denied"
Change-Id: Ia200983c87e0b826a0b62052e65cc731453a632f
2021-04-13 11:26:34 -07:00
Jaegeuk Kim
3b8b7ad442
Dumpstate: f2fs: remove verbose segment_info am: a245dd7d5c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14143521
Change-Id: Iafa99f8b9a063aae0f467c112ef04c86734f7672
2021-04-13 17:12:01 +00:00
Jaegeuk Kim
a245dd7d5c
Dumpstate: f2fs: remove verbose segment_info
...
Let's remove segment_info which seems not useful.
Bug: 184964835
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ib9826f536681d9f36f9d55dab3801a05c47f27a4
2021-04-13 16:33:47 +00:00
Jakub Pawlowski
18df7720d5
gs101: use bluetooth.audio@2.1 am: 4e22787a38
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14161624
Change-Id: Ia0c1ffc2c8ff4c30514dfed5a8851b31ee807aa7
2021-04-13 15:00:12 +00:00
Jakub Pawlowski
4e22787a38
gs101: use bluetooth.audio@2.1
...
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development
Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2021-04-13 14:10:15 +00:00
chenpaul
0d5e4b3ef6
wifi - Give execute permission to data/vendor/wifi for pixelLogger am: 589e1d8d89
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13782444
Change-Id: I727782f2d9996b1d3810ba4cd72251be4ddabfc6
2021-04-13 12:37:15 +00:00
chenpaul
e413a3e890
Include pixel logger in common device.mk am: 4bcdbf3244
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13782443
Change-Id: I68ca388ddfaeaae65771ecd2e54b39287844d0c2
2021-04-13 12:37:12 +00:00
TreeHugger Robot
ad6d6919ec
Merge "logger_app: Remove Pixelize rule" into sc-dev am: 421bee976b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13805048
Change-Id: I3fcb8e777ebb3b22be823603eb9260a45762e9e5
2021-04-13 12:37:11 +00:00
TreeHugger Robot
2a113e7403
Merge "Fix Android GPU Inspector (AGI) support" into sc-dev am: f7c08818e6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14160223
Change-Id: Id30e6d4082331c23514da82d3f515e9da4a0abd8
2021-04-13 12:36:39 +00:00
TreeHugger Robot
421bee976b
Merge "logger_app: Remove Pixelize rule" into sc-dev
2021-04-13 11:54:20 +00:00
chenpaul
589e1d8d89
wifi - Give execute permission to data/vendor/wifi for pixelLogger
...
In hostapd, there have hostapd.android.rc and make /data/vendor/wifi
with permission 770 when the device boots up.
It will overwrite the permission from slider specific rc,
which makes this folder without "+x" permission.
In order to make Pixel Logger can write config files in this folder.
This change will make sure "/data/vendor/wifi" have +x permission
Bug: 159650456
Test: wifi is workable
data/vendor/wifi with 771 permission
Change-Id: I5b396fc41a4eddefc04d43f8e3d276787d722726
2021-04-13 11:54:19 +00:00
chenpaul
4bcdbf3244
Include pixel logger in common device.mk
...
Test: Pixel Logger is worlable
Bug: 159650456
Change-Id: Ib1b2145aa4e0292b91f64f2b2f5c97c3e979666a
2021-04-13 11:54:19 +00:00
TreeHugger Robot
f7c08818e6
Merge "Fix Android GPU Inspector (AGI) support" into sc-dev
2021-04-13 10:27:29 +00:00
SalmaxChang
674ed8943f
hal_dumpstate_default: Fix avc error am: cbc7709c10
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14160604
Change-Id: I246ab92b5e9ab33312e78eca151fb8fa6aa80bb9
2021-04-13 08:50:47 +00:00
Adam Shih
e1800561ee
make permissive setting compatible to boot image version am: 6d8d406b2d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14160949
Change-Id: If2caa584fd0316da9b1814af1e5cc7d9e8b3ba86
2021-04-13 08:50:09 +00:00
SalmaxChang
cbc7709c10
hal_dumpstate_default: Fix avc error
...
avc: denied { set } for property=vendor.sys.modem.logging.enable pid=9743 uid=1000 gid=1000 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:vendor_modem_prop:s0 tclass=property_service permissive=0
Bug: 185196642
Change-Id: I955271fa4d2d9bc2ef4b306068623f79f5b37c74
2021-04-13 07:43:29 +00:00
Adam Shih
e541cce49b
change assigned bug
...
Bug: 182531832
Test: take bugreport and see no relevant log
Change-Id: I33911bf652c7d21eb2a153e6b6129162434be72f
2021-04-13 15:08:13 +08:00
KRIS CHEN
257a9b2464
Merge "Allow fingerprint hal to access dmabuf_system_heap_device" into sc-dev am: ef5cde63e6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14112452
Change-Id: I9ee3f7401b214f0544049f6d5743c57566f42496
2021-04-13 06:53:39 +00:00
Adam Shih
77e7ed4983
Merge changes Ieac81e9d,I7c069770 into sc-dev am: a071425509
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14160597
Change-Id: Ib81459027e1949d2b1756e236b5d9ace46dc49e0
2021-04-13 06:53:10 +00:00
KRIS CHEN
ef5cde63e6
Merge "Allow fingerprint hal to access dmabuf_system_heap_device" into sc-dev
2021-04-13 06:22:13 +00:00
Kris Chen
c14f02da5d
Allow fingerprint hal to access dmabuf_system_heap_device
...
Fixes the following avc denial:
android.hardwar: type=1400 audit(0.0:1207): avc: denied { read } for name="system" dev="tmpfs" ino=689 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:dmabuf_system_heap_device:s0 tclass=chr_file permissive=0
Bug: 171791180
Bug: 184034094
Test: Enroll and authenticate fingerprints.
Change-Id: Ie86143ac2484d8909b1070829ff20cf02572f17d
2021-04-13 06:21:09 +00:00
Adam Shih
6d8d406b2d
make permissive setting compatible to boot image version
...
Bug: 185196274
Test: boot to home with SELinux under permissive mode
Change-Id: I4b521dd765ccbff831cf17c1d9817266b37e6990
2021-04-13 06:05:44 +00:00
Adam Shih
a071425509
Merge changes Ieac81e9d,I7c069770 into sc-dev
...
* changes:
dump hal_graphics_composer
allow init to set readahead_size
2021-04-13 05:56:39 +00:00
Wei Wang
30b34c681a
Enable adpf on P21 device am: 3c84c460ba
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13951409
Change-Id: Ie825cf2c0e7ec9051abd6fa48e2a2d70e96ba668
2021-04-13 05:38:42 +00:00
Adam Shih
440e15e109
Merge "update error on ROM 7278058" into sc-dev am: c8d0ba4326
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14160592
Change-Id: Ia9b2876f6ed9044c83522fab28281acf7bbb8917
2021-04-13 05:17:36 +00:00
Jim Sun
0c1e46a6b3
Merge "gs101: fix grilservice context" into sc-dev am: 9e25f06368
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13880430
Change-Id: I5397c2ad98abbc2b5939f8a4f61dacdd4f24d191
2021-04-13 05:17:20 +00:00
Adam Shih
c8d0ba4326
Merge "update error on ROM 7278058" into sc-dev
2021-04-13 05:10:03 +00:00
Wei Wang
3c84c460ba
Enable adpf on P21 device
...
Bug: 177492680
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I8a8cb061e4d99ee8c919584fc2a35e0ebcaadc38
2021-04-13 05:04:09 +00:00
Jim Sun
9e25f06368
Merge "gs101: fix grilservice context" into sc-dev
2021-04-13 04:31:21 +00:00