Commit graph

2474 commits

Author SHA1 Message Date
Adam Shih
72ad95d1eb review vcd and remove obsolete declarations
Bug: 196916111
Test: boot with vcd started
Change-Id: Ic82975e998dad4437c38afc625a7a88428417b7a
2021-08-23 14:06:17 +08:00
Adam Shih
dcf0597594 review sced
Bug: 196916111
Test: boot with sced started
Change-Id: I9140b5bc0f7ad4efedbbbcf58f9e773e5246df74
2021-08-23 11:45:31 +08:00
Adam Shih
5656f81f62 reuse gs101 confirmation UI
Bug: 196916111
Test: boot with confirmation UI started
Change-Id: I39ff3c0eecb017bb78118a1f7b42c8ce87eda971
2021-08-23 10:56:10 +08:00
Adam Shih
6dc0391fab reuse gs101 pktrouter
Bug: 196916111
Test: boot with pktrouter launched
Change-Id: Ie901adcba877aa11fcae188e360538c38184db00
2021-08-23 10:26:58 +08:00
Adam Shih
e7538e644a review modem_logging_control
Bug: 196916111
Test: boot with modem_logging_control launched
Change-Id: I16c810298343310003a626397d88861f47c5a207
2021-08-18 11:21:15 +08:00
Adam Shih
b12473a9de review modem_diagnostic_app
Bug: 196916111
Test: boot with modem_diagnostic_app running
Change-Id: Ic79f2048f840845ba73cc4d0853371a50ce63317
2021-08-18 11:07:37 +08:00
Adam Shih
c2582ecc01 review dmd sepolicy
Bug: 196916111
Test: boot with dmd launched successfully
Change-Id: Ic962ab09dcd7697c27f9b2ab68400a0060573888
2021-08-18 09:46:29 +08:00
Adam Shih
c1ffe9c177 Initialize gs201 to zero
Bug: 196916111
Test: boot to home with all services launched
Change-Id: I3453fc01cec5fd7b2b2a44a6f20c64e818ce1acd
2021-08-18 09:46:14 +08:00
Petri Gynther
471fb507d1 Add vbmeta_vendor_[ab] to file_contexts
Bug: 197026498
Change-Id: Icd6a6ac7b2cd302a7bc2032241ff1a540eaa5024
2021-08-17 17:30:47 -07:00
TreeHugger Robot
2d2ddfca10 Merge "storage: update sepolicy for hardwareinfoservice" 2021-08-17 21:26:55 +00:00
Ocean Chen
827b204adb storage: update sepolicy for hardwareinfoservice
Bug: 188793183
Test: run pixel/022
Change-Id: I921c4eae0744278896007183a7947f281925b24f
2021-08-17 16:25:46 +00:00
Richard Hsu
63bf045d2a Merge "[Bringup] Add Janeiro sysfs(s) to part of sysfs_edgetpu group" 2021-08-13 01:27:22 +00:00
Richard Hsu
da3b06d9c4 [Bringup] Add Janeiro sysfs(s) to part of sysfs_edgetpu group
For the logging service to access sysfs, the sysfs needs to be included in the sysfs_edgetpu group. This CL makes gs201 sepolicy on par with the gs101 version, by including janeiro (PRO) in the gs201 setup.

gs101 genfs file: https://source.corp.google.com/sc-dev/device/google/gs101-sepolicy/edgetpu/genfs_contexts;l=2?q=sysfs_edgetpu&ct=os

Bug: 196105736

Test: Restarted logging service on cloudripper. No AVC denial.

Change-Id: I4d5fa33e1110c28904f7fffea0024d7688387b11
2021-08-12 15:54:22 -07:00
Jiyong Park
3652d4beda Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Change-Id: Icc9af3798ac89742fa56b1cb37d8116d99b4a9c2
2021-08-10 03:15:31 +00:00
Rick Yiu
0d404b7105 gs201-sepolicy: Remove sysfs_vendor_sched
Moved to system/sepolicy.

Bug: 194656257
Test: build pass
Change-Id: I5b392d001495d77408f2078f3a8e0f9d1eec6e65
2021-07-30 00:45:03 +00:00
Armelle Laine
c6ac9f51a4 Replace se-policy of the deprecated Keymaster HAL with Keymint HAL's
Bug: 193715461
Test: `vendor.keymint-trusty` service up
Change-Id: Ib5d5234a0501c93f56dbdfc2e4796d50e7f0be3a
Signed-off-by: Armelle Laine <armellel@google.com>
2021-07-15 00:18:07 +00:00
Ted Wang
d33073eba5 Grant sepolicy for Bluetooth Ccc Timesync feature
Add sepolicy rules for Bluetooth Ccc Timessync

Bug: 191846449
Test: make
Change-Id: Ibca95f7a9bd1da7b2c599d97f46856322e7f3487
2021-06-29 16:39:31 +08:00
Armelle Laine
ba494ca01d Add se-policy to /dev/trusty-log0
Allows /dev/trusty-logs to be accessed by dumpstate hal

Test: adb bugreport to include a trusty section in dumpstate_board.txt
Bug: 192036703
Change-Id: Ib4e1825b4167880e05fed0afbc87d2d5f1595790
Signed-off-by: Armelle Laine <armellel@google.com>
2021-06-25 20:37:12 +00:00
Richard Hsu
02ccab0539 [Bringup] Update SEPolicy for TPU (Janeiro) for PRO.
Reuse the same SEPolicy for edgetpu gs101 for gs201.
1. gs101 sepolicy has been refactored into an edgetpu directory, which
is meant to be reused. We only need to match the gs201 side to mirror
that. This CL references Adam's ag/14911633.
2. In a separete CL, add /dev/janeiro into the common gs101 sepolicy.

Bug: 191185522

Test: run_tflite_test_odc passes.
https://paste.googleplex.com/5466657955774464

Change-Id: Idd9e47a3c8da70f9dd4696cb7db7d4439e9897d6
2021-06-17 17:22:43 -07:00
weichinweng
c674d9f3e4 Change gs201 bluetooth uart port to dev/ttySAC18
Bug: 189727579
Test: Bluetooth can be turned ON from settings
Change-Id: Ia261c207ac8d1c617c40765c432545a33cc55670
2021-06-01 16:36:10 +08:00
Hyunki Koo
0bad7bc816 change name 11110000.usb to 11210000.usb
Bug: 188672439
Signed-off-by: Pat Tjin <pattjin@google.com>
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Change-Id: I2de4b90e65176e7c00404428c3659491363b0da9
2021-05-21 15:00:01 -07:00
Pat Tjin
d3a63de64b clone sepolicy from gs101
s/gs101/gs201/g

Bug: 186836335
Test: Boot
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ifa0d083f7317c38eb02c8228c2804cbd4d5ee19f
2021-05-20 17:51:49 -07:00
Aaron Ding
703587e97c init gs201-sepolicy.mk
Bug: 183183095
Change-Id: Id4b568100f2dbd438d9527253b56169bb4540f44
2021-05-19 15:28:01 +08:00
Inna Palant
6a85e12ff9 Initial empty repository 2021-05-18 11:37:03 -07:00