Merge "Add bluetooth ranging hal" into main am: 6217aedfdb
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2854391 Change-Id: Icd3c025f7eee85afb808c2a307d05d7c16cbe87f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
198beb4785
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