SELinux policies for the OEM lock HAL.

Bug: 34766843
Test: Boot and call HAL from system_server
Change-Id: Ice78aedfdbe82477a84252499a76dad37887fe6b
diff --git a/private/system_server.te b/private/system_server.te
index e1c5f6d..be56540 100644
--- a/private/system_server.te
+++ b/private/system_server.te
@@ -178,6 +178,7 @@
 hal_client_domain(system_server, hal_light)
 binder_call(system_server, hal_memtrack)
 hal_client_domain(system_server, hal_memtrack)
+hal_client_domain(system_server, hal_oemlock)
 binder_call(system_server, hal_power)
 hal_client_domain(system_server, hal_power)
 hal_client_domain(system_server, hal_sensors)
diff --git a/public/attributes b/public/attributes
index da399c9..d56702d 100644
--- a/public/attributes
+++ b/public/attributes
@@ -216,6 +216,9 @@
 attribute hal_nfc;
 attribute hal_nfc_client;
 attribute hal_nfc_server;
+attribute hal_oemlock;
+attribute hal_oemlock_client;
+attribute hal_oemlock_server;
 attribute hal_power;
 attribute hal_power_client;
 attribute hal_power_server;
diff --git a/public/hal_oemlock.te b/public/hal_oemlock.te
new file mode 100644
index 0000000..69870ec
--- /dev/null
+++ b/public/hal_oemlock.te
@@ -0,0 +1,2 @@
+# HwBinder IPC from client to server
+binder_call(hal_oemlock_client, hal_oemlock_server)