platform_hardware_interfaces/automotive/remoteaccess
Yu Shan 3a129d7a3b Implement a host side TestWakeupClientService.
Implement a host program that could be used to test the remote
access feature. The program will provides grpc service that the
remote access HAL running on device can talk to to get tasks. The
program will also use adb/aemu command to control the power of the
Android instance.

This CL also changes the GRPC service address for the default
remoteaccess HAL to 10.0.2.2 which points to the host's 127.0.0.1
from the emulator.

Test: m -j TestWakeupClientServerHost, run manually.
TestWakeupClientServerHost
>>> inject task [clientID] taskdata
verify emualtor boot up
verify emulator shutdown after task finish
>>> power on
verify emualtor boot up
>>> inject task [clientID] taskdata
verify emulator does not shutdown after task finish
>>> power off
>>> inject task [clientID] taskdata
verify emulator boot up
>>> set vehicleInUse
verify emulator does not shutdown after task finish
>>> power off
>>> genFakeTask start [clientID]
verify emulator starts up to execute remote tasks.
verify emulator shuts down after 300s.
verify emulator restarts after shutdown.
>>> genFakeTask stop
verify emulator shuts down after finishing last task.
Bug: 285205122

Change-Id: I22b660448d8b495cf3ced3378c1c1dc10051d87a
2023-08-28 17:45:08 -07:00
..
aidl_api/android.hardware.automotive.remoteaccess UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
android/hardware/automotive/remoteaccess Merge "Add getProcessorId to support multiple processors in remote access" into udc-dev 2023-03-22 00:53:07 +00:00
bind_to_device_socket_mutator Use internal gRPC headers in BindToDeviceSocketMutatorLib. 2023-05-03 22:26:13 +00:00
hal/default Implement a host side TestWakeupClientService. 2023-08-28 17:45:08 -07:00
test_grpc_server Implement a host side TestWakeupClientService. 2023-08-28 17:45:08 -07:00
Android.bp UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
OWNERS Add remote access HAL interface and ref impl. 2022-10-26 17:16:05 -07:00