Snap for 7938027 from ad04f387e5115860dafec085c9365bc48df78304 to sc-d2-release

Change-Id: I6f28e9e6fa3d2b3ff43e9e9b532777f1c14f62b4
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..8306db7
--- /dev/null
+++ b/OWNERS
@@ -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
diff --git a/bluejay-sepolicy.mk b/bluejay-sepolicy.mk
new file mode 100644
index 0000000..cb5229b
--- /dev/null
+++ b/bluejay-sepolicy.mk
@@ -0,0 +1,2 @@
+BOARD_VENDOR_SEPOLICY_DIRS += device/google/bluejay-sepolicy/bluejay
+BOARD_VENDOR_SEPOLICY_DIRS += device/google/bluejay-sepolicy/tracking_denials_bluejay
diff --git a/bluejay/file_contexts b/bluejay/file_contexts
new file mode 100644
index 0000000..751c7d2
--- /dev/null
+++ b/bluejay/file_contexts
@@ -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
diff --git a/bluejay/genfs_contexts b/bluejay/genfs_contexts
new file mode 100644
index 0000000..f3bb0bd
--- /dev/null
+++ b/bluejay/genfs_contexts
@@ -0,0 +1,2 @@
+# Haptics
+genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a      u:object_r:sysfs_vibrator:s0
diff --git a/bluejay/hal_vibrator_default.te b/bluejay/hal_vibrator_default.te
new file mode 100644
index 0000000..b5db3f2
--- /dev/null
+++ b/bluejay/hal_vibrator_default.te
@@ -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;