Skip to content
Snippets Groups Projects
Commit 4d37cb7c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SE Policy for Wifi Offload HAL"

parents 26b01520 3dd460ba
No related branches found
No related tags found
No related merge requests found
...@@ -191,6 +191,7 @@ hal_client_domain(system_server, hal_vibrator) ...@@ -191,6 +191,7 @@ hal_client_domain(system_server, hal_vibrator)
binder_call(system_server, hal_vr) binder_call(system_server, hal_vr)
hal_client_domain(system_server, hal_vr) hal_client_domain(system_server, hal_vr)
hal_client_domain(system_server, hal_wifi) hal_client_domain(system_server, hal_wifi)
hal_client_domain(system_server, hal_wifi_offload)
# TODO(b/34274385): Remove this once Wi-Fi Supplicant HAL is guaranteed to be binderized on full # TODO(b/34274385): Remove this once Wi-Fi Supplicant HAL is guaranteed to be binderized on full
# Treble devices. Passthrough Wi-Fi Supplicant HAL makes system_server touch wpa_socket which is a # Treble devices. Passthrough Wi-Fi Supplicant HAL makes system_server touch wpa_socket which is a
......
typeattribute wificond coredomain; typeattribute wificond coredomain;
init_daemon_domain(wificond) init_daemon_domain(wificond)
hal_client_domain(wificond, hal_wifi_offload)
...@@ -236,6 +236,9 @@ attribute hal_wifi_server; ...@@ -236,6 +236,9 @@ attribute hal_wifi_server;
attribute hal_wifi_keystore; attribute hal_wifi_keystore;
attribute hal_wifi_keystore_client; attribute hal_wifi_keystore_client;
attribute hal_wifi_keystore_server; attribute hal_wifi_keystore_server;
attribute hal_wifi_offload;
attribute hal_wifi_offload_client;
attribute hal_wifi_offload_server;
attribute hal_wifi_supplicant; attribute hal_wifi_supplicant;
attribute hal_wifi_supplicant_client; attribute hal_wifi_supplicant_client;
attribute hal_wifi_supplicant_server; attribute hal_wifi_supplicant_server;
## HwBinder IPC from client to server, and callbacks
binder_call(hal_wifi_offload_client, hal_wifi_offload_server)
binder_call(hal_wifi_offload_server, hal_wifi_offload_client)
r_dir_file(hal_wifi_offload, proc_net)
r_dir_file(hal_wifi_offload, sysfs_type)
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.0-service u:object_r:hal_usb_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.0-service u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.wifi\.offload@1\.0-service u:object_r:hal_wifi_offload_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.wifi@1\.0-service u:object_r:hal_wifi_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.wifi@1\.0-service u:object_r:hal_wifi_default_exec:s0
/(vendor|system/vendor)/bin/hw/wpa_supplicant u:object_r:hal_wifi_supplicant_default_exec:s0 /(vendor|system/vendor)/bin/hw/wpa_supplicant u:object_r:hal_wifi_supplicant_default_exec:s0
/(vendor|system/vendor)/bin/hostapd u:object_r:hostapd_exec:s0 /(vendor|system/vendor)/bin/hostapd u:object_r:hostapd_exec:s0
......
type hal_wifi_offload_default, domain;
hal_server_domain(hal_wifi_offload_default, hal_wifi_offload)
type hal_wifi_offload_default_exec, exec_type, file_type;
init_daemon_domain(hal_wifi_offload_default)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment