Revert "Add GIA (Google Input interface Abstraction layer) relat..."

Revert submission 29512389-gia

Reason for revert: <Potential culprit for b/378865024  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Reverted changes: /q/submissionid:29512389-gia

Change-Id: Ia4fd036130e54a5573efbd02a044631232561ea1
This commit is contained in:
ELIYAZ MOMIN (xWF) 2024-11-13 14:06:06 +00:00 committed by Android (Google) Code Review
parent 1f83bb110e
commit c68ac049e1
9 changed files with 0 additions and 65 deletions

View file

@ -1,10 +0,0 @@
<compatibility-matrix type="framework" version="1.0">
<hal format="aidl" optional="true">
<name>com.google.input.gia.core</name>
<interface>
<name>IGiaService</name>
<instance>default</instance>
</interface>
<version>1</version>
</hal>
</compatibility-matrix>

View file

@ -1,10 +0,0 @@
<manifest type="device" version="1.0">
<hal format="aidl" optional="true">
<name>com.google.input.gia.core</name>
<interface>
<name>IGiaService</name>
<instance>default</instance>
</interface>
<version>1</version>
</hal>
</manifest>

View file

@ -1,11 +0,0 @@
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/input/gia/sepolicy
PRODUCT_PACKAGES += gia
PRODUCT_PACKAGES += com.google.input.gia.giaservicemanager
PRODUCT_SOONG_NAMESPACES += vendor/google/interfaces
PRODUCT_SOONG_NAMESPACES += vendor/google/input/gia/core
PRODUCT_SOONG_NAMESPACES += vendor/google/input/gia/core-servicemanager
DEVICE_MANIFEST_FILE += device/google/gs-common/input/gia/aidl/manifest.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/input/gia/aidl/compatibility_matrix.xml

View file

@ -1,2 +0,0 @@
# This macro produces: define hal_gia, hal_gia_client, hal_gia_server
hal_attribute(gia)

View file

@ -1,2 +0,0 @@
# chmod +x in SEPolicy language
/vendor/bin/gia u:object_r:gia_exec:s0

View file

@ -1,18 +0,0 @@
# SEPolicies for GIA (Google Input interface Abstraction layer)
type gia, domain;
type gia_exec, exec_type, vendor_file_type, file_type;
# Macro transferring gia_exec to the gia domain
init_daemon_domain(gia)
# let this domain use the hal service
hal_client_domain(gia, hal_gia)
# allow binder communication with service_manager
binder_use(gia)
# let this domain serve the hal service
hal_server_domain(gia, hal_gia)
# allow gia for accessing touch related system file-nodes
allow gia sysfs_touch_gti:dir r_dir_perms;
allow gia sysfs_touch_gti:file rw_file_perms;

View file

@ -1,8 +0,0 @@
# allow binder connection from client to server
binder_call(hal_gia_client, hal_gia_server)
# allow client to find the service & allow server to register the service
hal_attribute_service(hal_gia, hal_gia_service)
# allow binder communication from server to service_manager
binder_use(hal_gia_server)

View file

@ -1,2 +0,0 @@
# Declares GIA related services
type hal_gia_service, hal_service_type, protected_service, service_manager_type;

View file

@ -1,2 +0,0 @@
# Attaches GIA services to the cooresponding SEPolicy group
com.google.input.gia.core.IGiaService/default u:object_r:hal_gia_service:s0