hidl2aidl: conversion of gatekeeper hidl to aidl

Conversion of the gatekeeper hidl interface to stable aidl interface.

Bug: 205760843
Test: run vts -m VtsHalGatekeeperTarget
Change-Id: I44f554e711efadcd31de79b543f42c0afb27c23c
This commit is contained in:
Subrahmanyaman 2022-07-21 00:14:14 +00:00
parent baf2379288
commit 1d2a3fedcc
5 changed files with 6 additions and 0 deletions

View file

@ -34,6 +34,7 @@ var (
"android.hardware.drm.IDrmFactory/clearkey": []string{},
"android.hardware.drm.ICryptoFactory/clearkey": []string{},
"android.hardware.dumpstate.IDumpstateDevice/default": []string{},
"android.hardware.gatekeeper.IGatekeeper/default": []string{},
"android.hardware.gnss.IGnss/default": []string{},
"android.hardware.graphics.allocator.IAllocator/default": []string{},
"android.hardware.graphics.composer3.IComposer/default": []string{},

View file

@ -19,4 +19,5 @@
tuner_server_ctl_prop
virtual_face_hal_prop
virtual_fingerprint_hal_prop
hal_gatekeeper_service
))

View file

@ -56,6 +56,7 @@ android.hardware.rebootescrow.IRebootEscrow/default u:object_r:
android.hardware.security.dice.IDiceDevice/default u:object_r:hal_dice_service:s0
android.hardware.security.keymint.IKeyMintDevice/default u:object_r:hal_keymint_service:s0
android.hardware.security.keymint.IRemotelyProvisionedComponent/default u:object_r:hal_remotelyprovisionedcomponent_service:s0
android.hardware.gatekeeper.IGatekeeper/default u:object_r:hal_gatekeeper_service:s0
android.hardware.security.secureclock.ISecureClock/default u:object_r:hal_secureclock_service:s0
android.hardware.security.sharedsecret.ISharedSecret/default u:object_r:hal_sharedsecret_service:s0
android.hardware.sensors.ISensors/default u:object_r:hal_sensors_service:s0

View file

@ -1,6 +1,8 @@
binder_call(hal_gatekeeper_client, hal_gatekeeper_server)
hal_attribute_hwservice(hal_gatekeeper, hal_gatekeeper_hwservice)
hal_attribute_service(hal_gatekeeper, hal_gatekeeper_service)
binder_call(hal_gatekeeper_server, servicemanager)
# TEE access.
allow hal_gatekeeper tee_device:chr_file rw_file_perms;

View file

@ -309,6 +309,7 @@ type hal_weaver_service, protected_service, hal_service_type, service_manager_ty
type hal_nlinterceptor_service, protected_service, hal_service_type, service_manager_type;
type hal_wifi_hostapd_service, protected_service, hal_service_type, service_manager_type;
type hal_wifi_supplicant_service, protected_service, hal_service_type, service_manager_type;
type hal_gatekeeper_service, protected_service, hal_service_type, service_manager_type;
###
### Neverallow rules