commit | b1db390e2516e7b9fd388ae9f5a576ffcaf537c5 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Sep 26 15:49:28 2018 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Sep 27 11:09:17 2018 -0700 |
tree | f2d4c28af3cd517cf37c1a8e270b12bb62a6ef3f | |
parent | a5ae7868e74c70b7586b4cfe2f1e4311dbec3c05 [diff] |
lshal: Allow read to timeout in debug() Start timing when debug() has returned. When the specific timeout has reached (currently 1s) and the relay thread has not finish, tell the relay thread to stop. Test: while true; do date; lshal debug android.hardware.health.storage@1.0::IStorage/default; done Test: lshal_test Bug: 111997867 Change-Id: Ib9235d3bd2fc3a54eb316da8d8b59d987988b134