Allow system_server to signal InputProcessor HAL

This is needed for Watchdog to be able to dump InputProcessor HAL.
Watchdog can be triggered locally for testing by patching
InputDispatcher.cpp:

 void InputDispatcher::monitor() {
     // Acquire and release the lock to ensure that the dispatcher has not deadlocked.
     std::unique_lock _l(mLock);
+    std::this_thread::sleep_for(std::chrono::minutes(40));
     mLooper->wake();
     mDispatcherIsAlive.wait(_l);

Ignore-AOSP-First: under review in aosp/2152242

Bug: 237322365
Test: adb bugreport (after triggering watchdog)
Change-Id: I746df8be4faaef2a67293d6b1c0cde5fa7810de6
This commit is contained in:
Siarhei Vishniakou 2022-07-13 13:56:09 -07:00
parent 0b1c137ee5
commit a445318b8f
2 changed files with 2 additions and 0 deletions

View file

@ -396,6 +396,7 @@ allow system_server {
hal_graphics_allocator_server
hal_graphics_composer_server
hal_health_server
hal_input_processor_server
hal_light_server
hal_neuralnetworks_server
hal_omx_server

View file

@ -396,6 +396,7 @@ allow system_server {
hal_graphics_allocator_server
hal_graphics_composer_server
hal_health_server
hal_input_processor_server
hal_light_server
hal_neuralnetworks_server
hal_omx_server