/tools/tradefederation/core/javatests/com/android/tradefed/device/recovery/ |
D | BatteryUnavailableDeviceRecoveryTest.java | 49 when(mMockDevice.getBattery()).thenReturn(50); in testShouldSkip() 64 when(mMockDevice.getBattery()).thenReturn(null); in testShouldSkip_recovery()
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | BatteryUnavailableDeviceRecovery.java | 40 return device.getBattery() != null; in shouldSkip()
|
D | BatteryRechargeDeviceRecovery.java | 43 Integer level = device.getBattery(); in shouldSkip()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | StubDevice.java | 465 public Future<Integer> getBattery() { in getBattery() method in StubDevice 472 public Future<Integer> getBattery(long freshnessTime, TimeUnit timeUnit) { in getBattery() method in StubDevice 473 return getBattery(); in getBattery()
|
D | INativeDevice.java | 1679 public Integer getBattery(); in getBattery() method
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | WaitDeviceRecoveryTest.java | 401 when(mMockDevice.getBattery()).thenReturn(future); in testCheckMinBatteryLevel_unreadable() 422 when(mMockDevice.getBattery()).thenReturn(future); in testCheckMinBatteryLevel_belowLevel() 444 when(mMockDevice.getBattery()).thenReturn(future); in testCheckMinBatteryLevel()
|
D | DeviceSelectionOptionsTest.java | 626 when(mMockDevice.getBattery()).thenReturn(batteryFuture);
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelChecker.java | 102 return device.getBattery(); in checkBatteryLevel()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 232 .getBattery(BATTERY_FRESHNESS_MS, TimeUnit.MILLISECONDS); in testFastboot()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelCheckerTest.java | 115 public Integer getBattery() { in getBattery() method in DeviceBatteryLevelCheckerTest.TestableTestDevice
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 200 Integer level = device.getBattery().get(); in checkMinBatteryLevel()
|
D | DeviceSelectionOptions.java | 758 Future<Integer> batteryFuture = device.getBattery(); in getBatteryLevel()
|
D | NativeDevice.java | 5473 getDisplayString(getBattery()), in getDeviceDescriptor() 5943 public Integer getBattery() { in getBattery() method in NativeDevice 5952 Future<Integer> batteryFuture = getIDevice().getBattery(); in getBattery()
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | CommandSchedulerFuncTest.java | 333 when(mockDevice.getBattery()).thenReturn(10); in testBatteryLowLevel_interruptible()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 247 lenient().when(mMockDevice.getBattery()).thenReturn(null); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 822 Integer batteryLevel = testDevice.getBattery(); in logDeviceBatteryLevel()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 954 Integer batteryLevel = device.getBattery(); in checkDeviceBatteryLevel()
|