Add bluetooth ranging hal
Bug: 310941161 Test: make Change-Id: I9b2bc9d945b016361f44a5600c61ed2795c00622
This commit is contained in:
parent
226f837c4d
commit
2e19c7632e
4 changed files with 13 additions and 2 deletions
|
@ -52,6 +52,7 @@ var (
|
|||
"android.hardware.broadcastradio.IBroadcastRadio/dab": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.bluetooth.IBluetoothHci/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.bluetooth.finder.IBluetoothFinder/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.bluetooth.ranging.IBluetoothChannelSounding/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.camera.provider.ICameraProvider/internal/0": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.camera.provider.ICameraProvider/virtual/0": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.cas.IMediaCasService/default": EXCEPTION_NO_FUZZER,
|
||||
|
|
|
@ -16,14 +16,20 @@
|
|||
se_policy_conf_defaults {
|
||||
name: "se_policy_conf_flags_defaults",
|
||||
srcs: [":sepolicy_flagging_macros"],
|
||||
flags: ["RELEASE_AVF_ENABLE_DEVICE_ASSIGNMENT"],
|
||||
flags: [
|
||||
"RELEASE_AVF_ENABLE_DEVICE_ASSIGNMENT",
|
||||
"RELEASE_HARDWARE_BLUETOOTH_RANGING_SERVICE",
|
||||
],
|
||||
}
|
||||
|
||||
contexts_defaults {
|
||||
name: "contexts_flags_defaults",
|
||||
srcs: [":sepolicy_flagging_macros"],
|
||||
neverallow_files: [":sepolicy_flagging_macros"], // for seapp_contexts
|
||||
flags: ["RELEASE_AVF_ENABLE_DEVICE_ASSIGNMENT"],
|
||||
flags: [
|
||||
"RELEASE_AVF_ENABLE_DEVICE_ASSIGNMENT",
|
||||
"RELEASE_HARDWARE_BLUETOOTH_RANGING_SERVICE",
|
||||
],
|
||||
}
|
||||
|
||||
filegroup {
|
||||
|
|
|
@ -30,6 +30,9 @@ android.hardware.biometrics.fingerprint.IFingerprint/default u:object_r:
|
|||
android.hardware.biometrics.fingerprint.IFingerprint/virtual u:object_r:hal_fingerprint_service:s0
|
||||
android.hardware.bluetooth.IBluetoothHci/default u:object_r:hal_bluetooth_service:s0
|
||||
android.hardware.bluetooth.finder.IBluetoothFinder/default u:object_r:hal_bluetooth_service:s0
|
||||
is_flag_enabled(RELEASE_HARDWARE_BLUETOOTH_RANGING_SERVICE, `
|
||||
android.hardware.bluetooth.ranging.IBluetoothChannelSounding/default u:object_r:hal_bluetooth_service:s0
|
||||
')
|
||||
android.hardware.bluetooth.audio.IBluetoothAudioProviderFactory/default u:object_r:hal_audio_service:s0
|
||||
android.hardware.broadcastradio.IBroadcastRadio/amfm u:object_r:hal_broadcastradio_service:s0
|
||||
android.hardware.broadcastradio.IBroadcastRadio/dab u:object_r:hal_broadcastradio_service:s0
|
||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -20,6 +20,7 @@
|
|||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.[0-9]+-service\.btlinux u:object_r:hal_bluetooth_btlinux_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth-service.default u:object_r:hal_bluetooth_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth\.finder-service\.default u:object_r:hal_bluetooth_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth\.ranging-service\.default u:object_r:hal_bluetooth_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.face@1\.[0-9]+-service\.example u:object_r:hal_face_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.face-service\.example u:object_r:hal_face_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0
|
||||
|
|
Loading…
Reference in a new issue