Home
last modified time | relevance | path

Searched refs:setChargingState (Results 1 – 3 of 3) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java183 setChargingState(true); in setUp()
533 setChargingState(false); in testJobsInRestrictedBucket_ParoleSession()
560 setChargingState(true); in testJobsInRestrictedBucket_CorrectParoleWhileCharging()
589 setChargingState(false); in testJobsInRestrictedBucket_DeferredUntilFreeResources()
601 setChargingState(true); in testJobsInRestrictedBucket_DeferredUntilFreeResources()
631 setChargingState(false); in testJobsInRestrictedBucket_NoRequiredNetwork()
640 setChargingState(true); in testJobsInRestrictedBucket_NoRequiredNetwork()
668 setChargingState(false); in testJobsInRestrictedBucket_WithRequiredNetwork()
678 setChargingState(true); in testJobsInRestrictedBucket_WithRequiredNetwork()
706 setChargingState(false); in testJobsInNeverApp()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java153 DeviceUtils.setChargingState(getDevice(), 5); in testChargingStateChangedAtom()
177 DeviceUtils.setChargingState(getDevice(), 1); in testChargingStateChangedAtom()
179 DeviceUtils.setChargingState(getDevice(), 2); in testChargingStateChangedAtom()
181 DeviceUtils.setChargingState(getDevice(), 3); in testChargingStateChangedAtom()
183 DeviceUtils.setChargingState(getDevice(), 4); in testChargingStateChangedAtom()
185 DeviceUtils.setChargingState(getDevice(), 5); in testChargingStateChangedAtom()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java378 public static void setChargingState(ITestDevice device, int state) throws Exception { in setChargingState() method
389 setChargingState(device, 3); in unplugDevice()