Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBatteryConstraintTest.java134 Intent batteryState = getContext().registerReceiver(null, filter); in verifyBatteryNotLowState() local
136 !batteryState.getBooleanExtra(BatteryManager.EXTRA_BATTERY_LOW, notLow)); in verifyBatteryNotLowState()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java387 final BatteryState batteryState = getBatteryState(); in testInputBatteryEvents() local
388 assertNotNull(batteryState); in testInputBatteryEvents()
400 float capacity = batteryState.getCapacity(); in testInputBatteryEvents()
401 int status = batteryState.getStatus(); in testInputBatteryEvents()