Initialize device folder

from: cd524bc73a1b90489bfe4206343306739ff6ff74
with updated device path

Bug: 198128551
Change-Id: I9ad28786439cfef5b592e3b9614e00ec416abde0
This commit is contained in:
Cyan_Hsieh 2021-11-25 16:18:00 +08:00
parent 7aac69af65
commit 6247d6dc12
11 changed files with 39 additions and 2 deletions

13
OWNERS
View file

@ -1,2 +1,11 @@
cyanhsieh@google.com
aaronding@google.com
adamshih@google.com
alanstokes@google.com
bowgotsai@google.com
jbires@google.com
jeffv@google.com
jgalenson@google.com
jiyong@google.com
rurumihong@google.com
sspatil@google.com
smoreland@google.com
trong@google.com

3
cheetah-sepolicy.mk Normal file
View file

@ -0,0 +1,3 @@
# sepolicy that are shared among devices using whitechapel
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/cheetah

2
cheetah/README.txt Normal file
View file

@ -0,0 +1,2 @@
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
paths that are affected by device tree.

3
cloudripper-sepolicy.mk Normal file
View file

@ -0,0 +1,3 @@
# sepolicy that are shared among devices using whitechapel
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/cloudripper

2
cloudripper/README.txt Normal file
View file

@ -0,0 +1,2 @@
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
paths that are affected by device tree.

View file

@ -0,0 +1,3 @@
# Haptics
/dev/snd/pcmC0D24p u:object_r:vibrator_snd_device:s0
/dev/snd/pcmC1D24p u:object_r:vibrator_snd_device:s0

View file

@ -0,0 +1,7 @@
# Haptics
allow hal_vibrator_default input_device:dir r_dir_perms;
allow hal_vibrator_default vibrator_snd_device:chr_file rw_file_perms;
allow hal_vibrator_default vibrator_snd_device:dir search;
allow hal_vibrator_default audio_device:dir search;
allow hal_vibrator_default proc_asound:dir search;
allow hal_vibrator_default proc_asound:file r_file_perms;

2
panther-sepolicy.mk Normal file
View file

@ -0,0 +1,2 @@
# sepolicy that are shared among devices using whitechapel
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/panther

2
panther/README.txt Normal file
View file

@ -0,0 +1,2 @@
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
paths that are affected by device tree.

2
ravenclaw-sepolicy.mk Normal file
View file

@ -0,0 +1,2 @@
# sepolicy that are shared among devices using whitechapel
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/ravenclaw

2
ravenclaw/README.txt Normal file
View file

@ -0,0 +1,2 @@
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
paths that are affected by device tree.