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

Merge "Switch Dumpstate HAL policy to _client/_server" am: 706bb202 am: 872ff684

am: f2c2bd94

Change-Id: Ibad3def8f3a226a0f94a0cd506511f83f1c4e9fc
parents be8fd2cd f2c2bd94
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,8 @@ attribute hal_drm;
attribute hal_drm_client;
attribute hal_drm_server;
attribute hal_dumpstate;
attribute hal_dumpstate_client;
attribute hal_dumpstate_server;
attribute hal_fingerprint;
attribute hal_fingerprint_client;
attribute hal_fingerprint_server;
......
......@@ -89,10 +89,8 @@ binder_call(dumpstate, { appdomain netd wificond })
# Vibrate the device after we are done collecting the bugreport
# For binderized mode:
hwbinder_use(dumpstate)
binder_call(dumpstate, hal_dumpstate)
hal_client_domain(dumpstate, hal_dumpstate)
binder_call(dumpstate, hal_vibrator)
binder_call(dumpstate, hwservicemanager)
# For passthrough mode:
allow dumpstate sysfs_vibrator:file { rw_file_perms getattr };
......
# call into dumpstate process (callbacks)
binder_call(hal_dumpstate, dumpstate)
# HwBinder IPC from client to server, and callbacks
binder_call(hal_dumpstate_client, hal_dumpstate_server)
binder_call(hal_dumpstate_server, hal_dumpstate_client)
# write bug reports in /data/data/com.android.shell/files/bugreports/bugreport
allow hal_dumpstate shell_data_file:file write;
type hal_dumpstate_default, domain;
hal_impl_domain(hal_dumpstate_default, hal_dumpstate)
hal_server_domain(hal_dumpstate_default, hal_dumpstate)
type hal_dumpstate_default_exec, exec_type, file_type;
init_daemon_domain(hal_dumpstate_default)
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