Searched refs:isDevicePluggedIn (Results 1 – 2 of 2) sorted by relevance
65 if (isDevicePluggedIn()){ in onCreate()105 private boolean isDevicePluggedIn() { in isDevicePluggedIn() method in ChargingConstraintTestActivity118 } else if (isDevicePluggedIn()) { in startTestImpl()
748 while (isDevicePluggedIn() != pluggedIn && SystemClock.elapsedRealtime() <= endTime) { in assertBatteryState()751 if (isDevicePluggedIn() != pluggedIn) { in assertBatteryState()757 private boolean isDevicePluggedIn() { in isDevicePluggedIn() method in AbstractRestrictBackgroundNetworkTestCase