Skip to content
Snippets Groups Projects
Commit ec9209be authored by Alex Klyubin's avatar Alex Klyubin Committed by android-build-merger
Browse files

Merge "Wifi Keystore HAL is not a HAL" into oc-dev

am: 7c3dbfeb

Change-Id: I5480d47059b876ceffdf029ea14f6480516b43ef
parents 0f7e68bf 7c3dbfeb
No related branches found
No related tags found
No related merge requests found
...@@ -242,3 +242,12 @@ attribute hal_wifi_keystore_server; ...@@ -242,3 +242,12 @@ attribute hal_wifi_keystore_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 services offered across the core-vendor boundary
#
# We annotate server domains with x_server to loosen the coupling between
# system and vendor images. For example, it should be possible to move a service
# from one core domain to another, without having to update the vendor image
# which contains clients of this service.
attribute wifi_keystore_service_server;
# HwBinder IPC from client to server.
binder_call(hal_wifi_keystore_client, hal_wifi_keystore_server)
...@@ -10,8 +10,9 @@ binder_call(keystore, system_server) ...@@ -10,8 +10,9 @@ binder_call(keystore, system_server)
# talk to keymaster # talk to keymaster
hal_client_domain(keystore, hal_keymaster) hal_client_domain(keystore, hal_keymaster)
# Implement the wifi keystore hal. # Offer the Wifi Keystore HwBinder service
hal_server_domain(keystore, hal_wifi_keystore) hwbinder_use(keystore)
typeattribute keystore wifi_keystore_service_server;
allow keystore keystore_data_file:dir create_dir_perms; allow keystore keystore_data_file:dir create_dir_perms;
allow keystore keystore_data_file:notdevfile_class_set create_file_perms; allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
......
...@@ -8,8 +8,10 @@ net_domain(hal_wifi_supplicant_default) ...@@ -8,8 +8,10 @@ net_domain(hal_wifi_supplicant_default)
# Create a socket for receiving info from wpa # Create a socket for receiving info from wpa
type_transition hal_wifi_supplicant_default wifi_data_file:dir wpa_socket "sockets"; type_transition hal_wifi_supplicant_default wifi_data_file:dir wpa_socket "sockets";
# Allow wpa_supplicant to talk to Wifi Keystore HAL. # Allow wpa_supplicant to talk to Wifi Keystore HwBinder service.
hal_client_domain(hal_wifi_supplicant_default, hal_wifi_keystore) hwbinder_use(hal_wifi_supplicant_default)
binder_call(hal_wifi_supplicant_default, wifi_keystore_service_server)
# TODO (b/36645291) Move hal_wifi_supplicant's data access to /data/vendor # TODO (b/36645291) Move hal_wifi_supplicant's data access to /data/vendor
# Remove coredata_in_vendor_violators attribute. # Remove coredata_in_vendor_violators attribute.
# wpa supplicant or equivalent # wpa supplicant or equivalent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment