Searched refs:hasBattery (Results 1 – 6 of 6) sorted by relevance
31 if (!hasBattery(getDevice())) { in testBatteryServiceDump()62 static boolean hasBattery(ITestDevice device) throws DeviceNotAvailableException { in hasBattery() method in BatteryIncidentTest64 boolean hasBattery = batteryinfo.contains("present: true"); in hasBattery()65 return hasBattery; in hasBattery()
642 boolean hasBattery = batteryinfo.contains("present: true"); in noBattery()643 if (!hasBattery) { in noBattery()646 return !hasBattery; in noBattery()
51 if (BatteryIncidentTest.hasBattery(getDevice())) { in testIncidentReportDump()
93 boolean hasBattery() throws Exception { in hasBattery() method in BatteryConstraintTest222 if (!hasBattery()) { in testBatteryNotLowConstraintExecutes_withoutPower()251 if (!hasBattery()) { in testChargingConstraintFails()295 if (!hasBattery()) { in testBatteryNotLowConstraintFails_withoutPower()
355 if (hasBattery()) { in testRemainingBatteryCapacity()381 if (hasBattery()) { in testFullBatteryCapacity()405 if (hasBattery()) { in testBatteryVoltage()430 if (hasBattery()) { in testBatteryLevel()456 if (hasBattery()) { in testBatteryCycleCount()
474 protected boolean hasBattery() throws Exception { in hasBattery() method in AtomTestCase