Commit graph

11403 commits

Author SHA1 Message Date
Sriram Kashyap M S
830b2c0009 Allow EdgeTPU NNAPI HAL to access socket files for IPC. am: dcd42938da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14094386

Change-Id: I9948b7fc288a786f1d86ecb58f6e369929db1c7a
2021-04-07 08:32:38 +00:00
yixuanjiang
7e8fca8041 whitechapel: add permission for pixellogger set audio property
Bug: 184708066
Test: local test
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I6a43959fc3565db8d2a1679ce722c11f58398794
2021-04-07 07:06:53 +00:00
Tsung-Mao Fang
1512f5e214 Have a consistent permission configuration with other devices
Change-Id: I346370bbc9e1fcddef7dc9c64a03954cddf97264
Test: Run presubmit
Fix: 184312606
2021-04-07 06:54:04 +00:00
Adam Shih
a346a7fa34 remove wildcard on kernel modules
Bug: 170786122
Test: Boot with all kernal modules loaded
Change-Id: I0d1d861af290181231223630497788c051c83ecb
2021-04-07 14:10:00 +08:00
Adam Shih
5a648ae1e7 grant debugfs access to insmod under userdebug am: 59ba0f97aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14108655

Change-Id: Ic35524068f3f5d6e2715f6b782063b3a0e16b270
2021-04-07 06:00:38 +00:00
Sriram Kashyap M S
dcd42938da Allow EdgeTPU NNAPI HAL to access socket files for IPC.
Bug: 182524105
Test: ./scripts/run_tests.sh on Oriole.
Change-Id: I85106f004fcee2cccc44609584165a0e2ce654e3
2021-04-07 05:58:58 +00:00
Lisa Liu
2968f7ed45 Remove odex/oat files from pinner list.
The pinner now asks the runtime for odex/oat/vdex files.

Test: adb shell dumpsys pinner
Bug: 144773394
Bug: 182593454
Change-Id: Idd26c511f5dbdcb29ded55170b8460f3c81a1ea3
2021-04-07 13:52:26 +08:00
Adam Shih
59ba0f97aa grant debugfs access to insmod under userdebug
Bug: 182086611
Test: boot with the error gone
Change-Id: I555c12b4ccbb61266dc289aac577d0240bde4d28
2021-04-07 11:56:49 +08:00
Benjamin Schwartz
638560f3bb powerstats: Add device specific display states am: 3ddb599459
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14099551

Change-Id: I6fea7317cc672017b3567dc88377ae82923f8be3
2021-04-07 03:56:27 +00:00
Benjamin Schwartz
3ddb599459 powerstats: Add device specific display states
Bug: 167216667
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I977621b0a1502b1482eaac0922ded781ece007e0
2021-04-07 03:22:26 +00:00
Adam Shih
88c6c2e183 Merge "remove obsolete mobicore operations" into sc-dev am: 58b693aff0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14098526

Change-Id: Ib68a2892065fa38691af2f8fcb82bd9ef801ce8d
2021-04-07 01:13:57 +00:00
Adam Shih
0ace645b1c remove obsolete mobicore operations am: 561ff7a341
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14098349

Change-Id: I97706effa8f32542c3f66307df96fdcce9f99ab2
2021-04-07 01:13:57 +00:00
Adam Shih
58b693aff0 Merge "remove obsolete mobicore operations" into sc-dev 2021-04-07 00:48:11 +00:00
Adam Shih
561ff7a341 remove obsolete mobicore operations
Bug: 183935443
Test: boot to home with no related avc error
Change-Id: I808d08d7e5479bdd643caa8269a68a8691796986
2021-04-07 00:48:10 +00:00
Eddie Tashjian
8066a9f471 Fix modem logging configuration.
Missing binder configuration for dmd to return responses to modem
logging control binary, for cases when it needs to get log mask
configuration information.

Bug: 184605350
Test: Check logging works with selinux enabled.
Change-Id: Ia9a80870927fd890266f702b091343b4b4018673
2021-04-06 16:42:03 -07:00
Yabin Cui
05825886f4 Move vendor_kernel_modules to public.
Bug: 166559473
Bug: 183135316
Test: build
Change-Id: Ib62080d3d12aa197571a0697c17f6fd5d981d653
2021-04-06 21:46:27 +00:00
Vince Leung
93fafdf347 Change all three default haptic levels to high am: 59ca6aee8b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13999047

Change-Id: I17dde6e79cc0611bee373451c9154aa730028c26
2021-04-06 21:30:14 +00:00
Vince Leung
59ca6aee8b Change all three default haptic levels to high
Bug: 183746553
Test: verify default haptic levels set to high on r4
Change-Id: Ie6489be8375ddc01aeb3f227f86e98785232e52a
2021-04-06 21:03:11 +00:00
Yabin Cui
e0581165da Merge "Move vendor_kernel_modules to public." 2021-04-06 20:54:56 +00:00
Oleg Matcovschi
d9538e98df BoardConfig-common.mk: restore boot image version 3 am: ae9494ee6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14076485

Change-Id: I01b72d2ccddd3b6531ad6cf27256c9edd7b4187c
2021-04-06 20:33:05 +00:00
Oleg Matcovschi
ae9494ee6b BoardConfig-common.mk: restore boot image version 3
Some of the components don't handle bootimage v4 yet.

Bug: 183237066
Bug: 183896891
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: Ie8764f2d7da452f1941b0001c0c4be51f56e3a44
2021-04-06 18:51:32 +00:00
yihsiangpeng
5b73d5a733 use vintf_fragments instead of adding it to device-specific manifests am: c008f4449b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14011943

Change-Id: I947b93997e9caaaec9db5806211a0979d1b42c39
2021-04-06 09:37:42 +00:00
yihsiangpeng
c008f4449b use vintf_fragments instead of adding it to device-specific manifests
Bug: 183536544
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I7299d62a122fb56974b09846746a848b89ffa641
2021-04-06 14:51:14 +08:00
Krzysztof Kosiński
d52ad2a277 Merge "camera: allow the camera hal to set fatp prop" into sc-dev am: 2a96bc108c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14095704

Change-Id: I7dcd91db0f7774070705a56768acae1d04ea6b3c
2021-04-06 06:29:22 +00:00
Adam Shih
63c5fb0115 Merge "update error on ROM 7260355" into sc-dev am: f2d78c7d14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14098527

Change-Id: Icc615ce54290326d8e416dc21c24ee88374ad801
2021-04-06 06:28:42 +00:00
Yu-Chi Cheng
021fe39d69 Merge "Allowed EdgeTPU service to read system properties related to vendor." into sc-dev am: 26cc7d6499
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14042450

Change-Id: I650b24c2e44106b738dd9149eda59ed9ab9b0aac
2021-04-06 06:28:04 +00:00
Krzysztof Kosiński
2a96bc108c Merge "camera: allow the camera hal to set fatp prop" into sc-dev 2021-04-06 06:23:53 +00:00
Adam Shih
f2d78c7d14 Merge "update error on ROM 7260355" into sc-dev 2021-04-06 05:42:40 +00:00
Yu-Chi Cheng
26cc7d6499 Merge "Allowed EdgeTPU service to read system properties related to vendor." into sc-dev 2021-04-06 05:40:44 +00:00
yixuanjiang
1a25f34051 audio: add support for aocdump to aceess audio state
check audio state for SSR usage

Test: local with enforcing mode
Bug: 184239981
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I45db556434251576a1d691f1aebf2940fff283fe
2021-04-06 12:41:24 +08:00
Benjamin Schwartz
ecd3ee1897 [automerger skipped] Move power stats service to device specific folders am: 3c712491cf -s ours
am skip reason: skip tag Change-Id I4d4881e227982aa17b88af8844c82dc448ef5b6f with SHA-1 822443a2e2 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13925266

Change-Id: I46fe7af7ce22aae88cd50cf2dcfd48093ff78b77
2021-04-06 04:20:10 +00:00
Adam Shih
53270ad90e remove obsolete system property operations am: 1a1a12cd55
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14098350

Change-Id: I18cf6fe5a288e266175ef0d4a9c190722d41d119
2021-04-06 04:19:26 +00:00
Benjamin Schwartz
3c712491cf Move power stats service to device specific folders
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4d4881e227982aa17b88af8844c82dc448ef5b6f
Merged-In: I4d4881e227982aa17b88af8844c82dc448ef5b6f
2021-04-06 04:08:17 +00:00
Adam Shih
fc69c665ee update error on ROM 7260355
Bug: 184593993
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: I49fb702a81f2fcd17e395954f24cd69ab2d272fc
2021-04-06 11:08:59 +08:00
Adam Shih
1a1a12cd55 remove obsolete system property operations
Bug: 184213723
Test: The following error logs were gone
03-25 17:03:04.317 E init    : Do not have permissions to set 'ro.debug_level' to '0x494d' in property file '/vendor/build.prop': SELinux permission check failed
03-25 17:03:04.317 E init    : Do not have permissions to set 'ro.arch' to 'gs101' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: I1326752935665568285971944366e9e977ef9013
2021-04-06 02:42:05 +00:00
Adam Shih
91c7813ea8 remove obsolete mobicore operations
Bug: 183935443
Test: boot to home with no related avc error
Change-Id: Ief907a7a77f721e58820670e9f37570fd640b473
2021-04-06 10:31:16 +08:00
raylinhsu
870a563ee3 Remove unused persist.demo.hdmirotationlock from device.mk am: 00548302f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14059881

Change-Id: I1a3aa9b8614d082ed13ae431770fbfcc1a625fde
2021-04-06 02:30:31 +00:00
raylinhsu
00548302f3 Remove unused persist.demo.hdmirotationlock from device.mk
In pixel phone, we did not have the HDMI interface so we should remove
the persist.demo.hdmirotationlock from device.mk

Bug: 184104675
Test: There is no failed selinux log regarding
persist.demo.hdmirotationlock

Change-Id: I97299a941fe8b30b0397e8c181b02a435e4642b8
2021-04-06 01:51:51 +00:00
Benjamin Schwartz
08d14e0621 Move power stats service to device specific folders
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4d4881e227982aa17b88af8844c82dc448ef5b6f
2021-04-06 01:25:57 +00:00
Grace Chen
63bf6d5ea6 Merge "Add selinux permissions for NFC/eSIM fw upgrade" into sc-dev am: 404937b03b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14015608

Change-Id: Ib0b584200641b8b14150c64e5a783515124fe1d9
2021-04-06 01:05:34 +00:00
Vova Sharaienko
153de8ba1f Merge "exo: updated sepolicy" into sc-dev am: 25f19371aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14065696

Change-Id: I3ea11a6661f28a4b3c56d9b6045b4334bf1c5985
2021-04-06 01:05:11 +00:00
Grace Chen
404937b03b Merge "Add selinux permissions for NFC/eSIM fw upgrade" into sc-dev 2021-04-06 00:28:22 +00:00
Vova Sharaienko
25f19371aa Merge "exo: updated sepolicy" into sc-dev 2021-04-06 00:27:04 +00:00
Adrian Salido
a8b927dd68 Decouple auto-suspend and interactive from display on/off am: 2aaf5916ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14093324

Change-Id: I0469d72209bcaf367033940df99626e6a85a4b16
2021-04-06 00:17:14 +00:00
Adrian Salido
2aaf5916ce Decouple auto-suspend and interactive from display on/off
Without decoupling, PowerManagerService prevents system from going to
suspend when display is in AOD.

Bug: 180896425
Change-Id: If2eeaaebb3137bbfe9ba71f47e8b1efdcff14197
2021-04-05 23:44:15 +00:00
Zhijun He
60872ac2e9 camera: allow the camera hal to set fatp prop
Test: camera tests
Bug: 184572956
Change-Id: Ie8bc386aa60cf2e46732f2f68c8cb7e86733cb53
2021-04-05 16:37:20 -07:00
Grace Chen
a4b253476c Add selinux permissions for NFC/eSIM fw upgrade
Bug: 183709811
Test: Confirm no selinux permissions errors.
Change-Id: Ibd98558a2446567d4beb1f6b88acafc05c3c1951
2021-04-05 15:38:59 -07:00
Cheng Gu
5ddabea73a Merge "gs101-sepolicy: Allow rlsservice to access range sensor" into sc-dev am: ce42ee4660
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14077743

Change-Id: Iac5f745c35fcdcf77169d77660e538ed52639b75
2021-04-05 21:35:12 +00:00
Cheng Gu
ce42ee4660 Merge "gs101-sepolicy: Allow rlsservice to access range sensor" into sc-dev 2021-04-05 20:45:08 +00:00
TreeHugger Robot
46dac40fc2 Merge "Grant GPU and Fabric node access" into sc-dev am: 71e96842ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14078302

Change-Id: I004916c1aace1af25a5a110d01350f6de774dd9b
2021-04-03 00:01:54 +00:00