Merge "Add sepolicy for Twoshay Notification Service" into main
This commit is contained in:
commit
6b14c86389
6 changed files with 26 additions and 6 deletions
|
@ -1,15 +1,23 @@
|
|||
<compatibility-matrix version="1.0" type="framework">
|
||||
<hal format="aidl" optional="true">
|
||||
<name>com.google.input</name>
|
||||
<version>2-4</version>
|
||||
<version>2-5</version>
|
||||
<interface>
|
||||
<name>ITouchContextService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>com.google.input</name>
|
||||
<version>5</version>
|
||||
<interface>
|
||||
<name>ITwoshayNotificationService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>com.google.input.algos.gril</name>
|
||||
<version>2-4</version>
|
||||
<version>2-5</version>
|
||||
<interface>
|
||||
<name>IGrilAntennaTuningService</name>
|
||||
<instance>default</instance>
|
||||
|
@ -17,7 +25,7 @@
|
|||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>com.google.input.algos.spd</name>
|
||||
<version>2-4</version>
|
||||
<version>2-5</version>
|
||||
<interface>
|
||||
<name>IScreenProtectorDetectorService</name>
|
||||
<instance>default</instance>
|
||||
|
|
|
@ -1,15 +1,23 @@
|
|||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>com.google.input</name>
|
||||
<version>4</version>
|
||||
<version>5</version>
|
||||
<interface>
|
||||
<name>ITouchContextService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>com.google.input</name>
|
||||
<version>5</version>
|
||||
<interface>
|
||||
<name>ITwoshayNotificationService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>com.google.input.algos.gril</name>
|
||||
<version>4</version>
|
||||
<version>5</version>
|
||||
<interface>
|
||||
<name>IGrilAntennaTuningService</name>
|
||||
<instance>default</instance>
|
||||
|
@ -17,7 +25,7 @@
|
|||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>com.google.input.algos.spd</name>
|
||||
<version>4</version>
|
||||
<version>5</version>
|
||||
<interface>
|
||||
<name>IScreenProtectorDetectorService</name>
|
||||
<instance>default</instance>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
allow platform_app gril_antenna_tuning_service:service_manager find;
|
||||
allow platform_app screen_protector_detector_service:service_manager find;
|
||||
allow platform_app touch_context_service:service_manager find;
|
||||
allow platform_app twoshay_notification_service:service_manager find;
|
||||
binder_call(platform_app, twoshay)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
type gril_antenna_tuning_service, service_manager_type, hal_service_type;
|
||||
type screen_protector_detector_service, service_manager_type, hal_service_type;
|
||||
type touch_context_service, service_manager_type, hal_service_type;
|
||||
type twoshay_notification_service, service_manager_type, hal_service_type;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
com.google.input.ITouchContextService/default u:object_r:touch_context_service:s0
|
||||
com.google.input.ITwoshayNotificationService/default u:object_r:twoshay_notification_service:s0
|
||||
com.google.input.algos.gril.IGrilAntennaTuningService/default u:object_r:gril_antenna_tuning_service:s0
|
||||
com.google.input.algos.spd.IScreenProtectorDetectorService/default u:object_r:screen_protector_detector_service:s0
|
||||
|
|
|
@ -10,6 +10,7 @@ binder_use(twoshay)
|
|||
add_service(twoshay, gril_antenna_tuning_service)
|
||||
add_service(twoshay, screen_protector_detector_service)
|
||||
add_service(twoshay, touch_context_service)
|
||||
add_service(twoshay, twoshay_notification_service)
|
||||
|
||||
binder_call(twoshay, platform_app)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue