Home
last modified time | relevance | path

Searched refs:batteryFuture (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java657 SettableFuture<Integer> batteryFuture = SettableFuture.create();
658 batteryFuture.set(battery);
659 EasyMock.expect(mMockDevice.getBattery()).andStubReturn(batteryFuture);
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java230 Future<Integer> batteryFuture = in testFastboot() local
234 Integer level = batteryFuture.get(500, TimeUnit.MILLISECONDS); in testFastboot()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java680 Future<Integer> batteryFuture = device.getBattery(); in getBatteryLevel() local
682 return batteryFuture.get(500, TimeUnit.MILLISECONDS); in getBatteryLevel()
DNativeDevice.java4915 Future<Integer> batteryFuture = getIDevice().getBattery(); in getBattery() local
4917 return batteryFuture.get(500, TimeUnit.MILLISECONDS); in getBattery()