Skip to content
Snippets Groups Projects
Commit d5888e76 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Add hal_dumpstate attribute. am: d86a30a2

am: d33582e0

Change-Id: I8ae326b4a8553b01266fae3120d116adc3be7bc9
parents 1123bdbd d33582e0
Branches
Tags
No related merge requests found
...@@ -231,6 +231,7 @@ ...@@ -231,6 +231,7 @@
/system/lib(64)?/libart.* u:object_r:libart_file:s0 /system/lib(64)?/libart.* u:object_r:libart_file:s0
/system/bin/hw/android\.hardware\.audio@2\.0-service u:object_r:hal_audio_default_exec:s0 /system/bin/hw/android\.hardware\.audio@2\.0-service u:object_r:hal_audio_default_exec:s0
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0 /system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android\.hardware\.dumpstate@1\.0-service u:object_r:hal_dumpstate_default_exec:s0
/system/bin/hw/android\.hardware\.graphics\.allocator@2\.0-service u:object_r:hal_graphics_allocator_default_exec:s0 /system/bin/hw/android\.hardware\.graphics\.allocator@2\.0-service u:object_r:hal_graphics_allocator_default_exec:s0
/system/bin/hw/android\.hardware\.graphics\.composer@2\.1-service u:object_r:hal_graphics_composer_default_exec:s0 /system/bin/hw/android\.hardware\.graphics\.composer@2\.1-service u:object_r:hal_graphics_composer_default_exec:s0
/system/bin/hw/android\.hardware\.health@1\.0-service u:object_r:hal_health_exec:s0 /system/bin/hw/android\.hardware\.health@1\.0-service u:object_r:hal_health_exec:s0
......
type hal_dumpstate_default, hal_dumpstate, domain;
type hal_dumpstate_default_exec, exec_type, file_type;
init_daemon_domain(hal_dumpstate_default)
...@@ -116,6 +116,7 @@ attribute update_engine_common; ...@@ -116,6 +116,7 @@ attribute update_engine_common;
# HALs # HALs
attribute hal_audio; attribute hal_audio;
attribute hal_dumpstate;
attribute hal_graphics_allocator; attribute hal_graphics_allocator;
attribute hal_graphics_composer; attribute hal_graphics_composer;
attribute hal_ir; attribute hal_ir;
......
...@@ -99,6 +99,7 @@ binder_call(dumpstate, { appdomain ephemeral_app netd wificond }) ...@@ -99,6 +99,7 @@ binder_call(dumpstate, { appdomain ephemeral_app netd wificond })
# Vibrate the device after we are done collecting the bugreport # Vibrate the device after we are done collecting the bugreport
# For binderized mode: # For binderized mode:
binder_call(dumpstate, hal_dumpstate)
binder_call(dumpstate, hal_vibrator) binder_call(dumpstate, hal_vibrator)
binder_call(dumpstate, hwservicemanager) binder_call(dumpstate, hwservicemanager)
# For passthrough mode: # For passthrough mode:
......
# hwbinder access
hwbinder_use(hal_dumpstate)
# call into dumpstate process (callbacks)
binder_call(hal_dumpstate, dumpstate)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment