Searched refs:idle (Results 1 – 3 of 3) sorted by relevance
88 private void toggleFakeDeviceDockState(final boolean idle) throws Exception { in toggleFakeDeviceDockState() argument90 + (idle ? "idle" : "active")); in toggleFakeDeviceDockState()
1061 private void toggleDozeState(final boolean idle) throws Exception { in toggleDozeState() argument1062 mUiDevice.executeShellCommand("cmd deviceidle " + (idle ? "force-idle" : "unforce")); in toggleDozeState()1063 if (!idle) { in toggleDozeState()1067 assertTrue("Could not change device idle state to " + idle, in toggleDozeState()1070 return mDeviceInDoze == idle; in toggleDozeState()
1765 private void triggerIdle(boolean idle) throws Exception { in triggerIdle() argument1766 if (idle) { in triggerIdle()