Home
last modified time | relevance | path

Searched refs:isDevicePluggedIn (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
DChargingConstraintTestActivity.java65 if (isDevicePluggedIn()){ in onCreate()
105 private boolean isDevicePluggedIn() { in isDevicePluggedIn() method in ChargingConstraintTestActivity
118 } else if (isDevicePluggedIn()) { in startTestImpl()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java748 while (isDevicePluggedIn() != pluggedIn && SystemClock.elapsedRealtime() <= endTime) { in assertBatteryState()
751 if (isDevicePluggedIn() != pluggedIn) { in assertBatteryState()
757 private boolean isDevicePluggedIn() { in isDevicePluggedIn() method in AbstractRestrictBackgroundNetworkTestCase