Home
last modified time | relevance | path

Searched refs:future (Results 1 – 13 of 13) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/
DExecutorCompressor.java51 final SettableFuture<CompressionResult> future = SettableFuture.create(); in compress() local
54 future.set(immediateCompress(source)); in compress()
56 future.setException(e); in compress()
60 return future; in compress()
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Drpc_client.py71 future = self._executor.submit(name, *args, **kwargs)
72 return future
78 future = self._executor.submit(
80 return future
255 def future(self): member in RpcClient
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DWaitDeviceRecoveryTest.java268 SettableFuture<Integer> future = SettableFuture.create(); in testCheckMinBatteryLevel_unreadable() local
269 future.set(null); in testCheckMinBatteryLevel_unreadable()
270 EasyMock.expect(mMockDevice.getBattery()).andReturn(future); in testCheckMinBatteryLevel_unreadable()
289 SettableFuture<Integer> future = SettableFuture.create(); in testCheckMinBatteryLevel_belowLevel() local
290 future.set(49); in testCheckMinBatteryLevel_belowLevel()
291 EasyMock.expect(mMockDevice.getBattery()).andReturn(future); in testCheckMinBatteryLevel_belowLevel()
311 SettableFuture<Integer> future = SettableFuture.create(); in testCheckMinBatteryLevel() local
312 future.set(50); in testCheckMinBatteryLevel()
313 EasyMock.expect(mMockDevice.getBattery()).andReturn(future); in testCheckMinBatteryLevel()
DDeviceManagerTest.java1116 SettableFuture<Integer> future = SettableFuture.create(); in setDeviceDescriptorExpectation() local
1117 future.set(50); in setDeviceDescriptorExpectation()
1118 EasyMock.expect(mMockIDevice.getBattery()).andReturn(future); in setDeviceDescriptorExpectation()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DDeviceMetricDataFuncTest.java101 for (Future<HashMap<String, Metric>> future : futures) { in testAddToMetricsMultiThreaded()
102 metricsData.putAll(future.get()); in testAddToMetricsMultiThreaded()
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Dsain_smart_board.py17 from future.moves.urllib.request import urlopen
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_subscription_utils.py19 from future import standard_library
Dtel_test_utils.py17 from future import standard_library
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java1364 SettableFuture<Integer> future = SettableFuture.create(); in testLogDeviceBatteryLevel_physicalDevice() local
1365 future.set(50); in testLogDeviceBatteryLevel_physicalDevice()
1366 doReturn(future).when(idevice).getBattery(Mockito.anyLong(), Mockito.any()); in testLogDeviceBatteryLevel_physicalDevice()
1392 SettableFuture<Integer> future = SettableFuture.create(); in testLogDeviceBatteryLevel_physicalDevice_multi() local
1393 future.set(50); in testLogDeviceBatteryLevel_physicalDevice_multi()
1394 doReturn(future).when(idevice).getBattery(Mockito.anyLong(), Mockito.any()); in testLogDeviceBatteryLevel_physicalDevice_multi()
1430 SettableFuture<Integer> future = SettableFuture.create(); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() local
1431 future.set(50); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1432 doReturn(future).when(idevice).getBattery(Mockito.anyLong(), Mockito.any()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Drpc_client_test.py194 self.assertEqual(client.future, client._async_client)
/tools/test/connectivity/acts/framework/acts/
Dtest_runner.py17 from future import standard_library
/tools/test/connectivity/acts/
DREADME.md29 - future
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt100 in the future.