Move bluejay source code into bluejay device folders

from: 9419ce002ef9160ace967918f3568c88b5731d0f

Bug: 206553389
Change-Id: If4e8b2b04ecc6804b20ef7eebadcea565eb7c3e2
This commit is contained in:
Robin Peng 2021-11-16 22:06:17 +08:00
parent 3e87f7351a
commit ad04f387e5
5 changed files with 26 additions and 0 deletions

12
OWNERS Normal file
View file

@ -0,0 +1,12 @@
adamshih@google.com
alanstokes@google.com
bowgotsai@google.com
cbrubaker@google.com
jbires@google.com
jeffv@google.com
jgalenson@google.com
jiyong@google.com
rurumihong@google.com
smoreland@google.com
sspatil@google.com
trong@google.com

2
bluejay-sepolicy.mk Normal file
View file

@ -0,0 +1,2 @@
BOARD_VENDOR_SEPOLICY_DIRS += device/google/bluejay-sepolicy/bluejay
BOARD_VENDOR_SEPOLICY_DIRS += device/google/bluejay-sepolicy/tracking_denials_bluejay

3
bluejay/file_contexts Normal file
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

2
bluejay/genfs_contexts Normal file
View file

@ -0,0 +1,2 @@
# Haptics
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator: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;