commit | f8d1c26e50940390d607f4ad7f27cf50aa4a1b11 | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Fri Dec 09 08:32:50 2022 +0800 |
committer | JW Wang <wangchun@google.com> | Fri Dec 16 14:14:54 2022 +0800 |
tree | 67f6197f7a2cfd50f907abd9e0579c70d857b928 | |
parent | 377a1c368d1b7dbb0fd788c34d970ac23b037df1 [diff] |
Improve the logic of checking device idle * #checkDeviceIdle encapsulates the logic of checking device idle, making the life of the caller easier. * Now timeout-check always happens after device-idle-check. No clamping is needed w.r.t PENDING_CHECK_MILLIS. Bug: 235306967 Test: atest CtsStagedInstallHostTestCases Change-Id: Ibbdd34518ce9f53b5053eff18826e2dd72edac6b