commit | 4bd9282c2ff3abd3763df744b144a74ea3d8089d | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Mon Mar 06 17:44:39 2017 -0800 |
committer | Christopher Tate <ctate@google.com> | Thu Mar 09 16:26:46 2017 -0800 |
tree | f11cb7f64ddb92aa407d55160d226ab958edefdb | |
parent | 014b88da1ca088e3bc5fdc9d7ca9aa477084b447 [diff] |
Teach charging job constraint tests about no-battery devices In particular, don't prompt the tester about plugging/unplugging on devices that do not have batteries, and don't bother running the unplug-state tests even if they somehow get invoked directly. Bug 34221968 Test: manual build of CtsVerifier & execution of the test with/without 'adb shell cmd battery set present 0' to mock hardwired-power for the DUT. Change-Id: I5700dba3440daf23c6843084f6baf6a52ecd485c