summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-11-05 16:11:59 -0800
committerSteven Moreland <smoreland@google.com>2019-11-06 15:41:07 -0800
commitee3a589204a5f621f0a0f8eac81f074f25724a8f (patch)
tree69883a8319aab6bbe71c9c41ae537a7aff170497 /startop/scripts/lib/cmd_utils.py
parentbfc11892e1504a31f15640ee4bb281d9446eb8c3 (diff)
vibrator: handle aidl HAL dying
Vibrator just tries to reconnect when commands fail, but because of the HIDL->AIDL shim's handling of errors, we were dropping binder-level errors, and the client code wasn't properly handling them. Now, we convert dead object and other errors appropriately so that the client code is given the errors it is expecting. Bug: 141828236 Test: kill aidl vibrator HAL repeatedly, and ensure that it reconnects and starts handling vibrator commands. Change-Id: I9719ec030f514905f1c5e57a1bdf455956d88e76
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions