Searched refs:idle (Results 1 – 2 of 2) sorted by relevance
64 private void toggleFakeDeviceDockState(final boolean idle) throws Exception { in toggleFakeDeviceDockState() argument66 + (idle ? "idle" : "active")); in toggleFakeDeviceDockState()
254 private void toggleDeviceIdleState(final boolean idle) throws Exception { in toggleDeviceIdleState() argument255 mUiDevice.executeShellCommand("cmd deviceidle " + (idle ? "force-idle" : "unforce")); in toggleDeviceIdleState()256 assertTrue("Could not change device idle state to " + idle, in toggleDeviceIdleState()259 return mDeviceInDoze == idle; in toggleDeviceIdleState()