Home
last modified time | relevance | path

Searched refs:AVAILABLE (Results 1 – 25 of 31) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDefaultTestsZipInstallerTest.java109 when(mMockDevice.getRecoveryMode()).thenReturn(RecoveryMode.AVAILABLE); in testCantTouchFilesystem()
138 when(mMockDevice.getRecoveryMode()).thenReturn(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData()
163 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData()
177 when(mMockDevice.getRecoveryMode()).thenReturn(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData_retry()
DGkiDeviceFlashPreparerTest.java407 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success()
439 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success_with_flash_options()
470 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success_with_device_wipe()
502 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success_with_additional_fastboot_commands()
538 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success_with_disable_verity()
598 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_vendor_img_Success()
644 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success_FromZip()
DDeviceFlashPreparerTest.java179 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
262 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError()
DGsiDeviceFlashPreparerTest.java132 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in verifyExpectations()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dwmm_transceiver.py50 AVAILABLE = True variable
492 self._iperf_clients[client] = AVAILABLE
507 if self._iperf_clients[client] == AVAILABLE:
553 if self._iperf_servers[server] == AVAILABLE:
589 self._iperf_servers[server] = AVAILABLE
/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DFreeDeviceState.java21 AVAILABLE, enumConstant
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DScreenshotOnFailureCollectorTest.java67 when(mMockDevice.getRecoveryMode()).thenReturn(RecoveryMode.AVAILABLE); in testCollect()
86 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testCollect()
/tools/netsim/scripts/
Dutils.py55 AVAILABLE = { variable
137 / AVAILABLE[TARGET_MAP[target.replace("-", "_")]]
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/
DDeviceManagementGrpcServerTest.java173 verify(mMockDeviceManager).freeDevice(mockedDevice, FreeDeviceState.AVAILABLE); in testReserveAndRelease_freeDevice()
205 verify(mMockDeviceManager, never()).freeDevice(mockedDevice, FreeDeviceState.AVAILABLE); in testReserveAndRelease_notFreeDevice()
273 verify(mMockDeviceManager).freeDevice(mockedDevice, FreeDeviceState.AVAILABLE); in testReserve_cancelledAfterReserved()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java86 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in freeCompanionDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTestSystemAppInstallSetup.java88 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java398 mockDevice.setRecoveryMode(eq(RecoveryMode.AVAILABLE));
458 mFakeDeviceManager.freeDevice(dev, FreeDeviceState.AVAILABLE);
495 mFakeDeviceManager.freeDevice(dev, FreeDeviceState.AVAILABLE);
496 mFakeDeviceManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE);
773 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly()
830 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly_conflict()
1007 assertTrue(t.getRecoveryMode().equals(RecoveryMode.AVAILABLE)); in testDeviceRecoveryState()
1550 mockDevice.setRecoveryMode(eq(RecoveryMode.AVAILABLE)); in testExecCommand_versioning()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceUpdateTargetPreparer.java103 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DGsiDeviceFlashPreparer.java151 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DDeviceFlashPreparer.java540 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/device/internal/
DDeviceReleaseReporterTest.java47 private static final FreeDeviceState DEVICE_1_STATE = FreeDeviceState.AVAILABLE;
DEarlyDeviceReleaseFeatureTest.java51 private static final FreeDeviceState DEVICE_1_STATE = FreeDeviceState.AVAILABLE;
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java999 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
1012 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
1020 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
1030 device.setRecoveryMode(RecoveryMode.AVAILABLE); in createReleaseMap()
1998 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in allocateDevices()
2000 deviceState = FreeDeviceState.AVAILABLE; in allocateDevices()
2042 getDeviceManager().freeDevice(device, FreeDeviceState.AVAILABLE); in startInvocation()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java209 mDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testFastboot()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java50 AVAILABLE enumConstant
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java624 releaseMap.put(mockTestDevice, FreeDeviceState.AVAILABLE);
711 releaseMap.put(mockTestDevice, FreeDeviceState.AVAILABLE);
771 releaseMap.put(mockTestDevice, FreeDeviceState.AVAILABLE);
843 releaseMap.put(mockTestDevice, FreeDeviceState.AVAILABLE);
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java273 mDeviceManager.freeDevice(entry.getValue().device, FreeDeviceState.AVAILABLE); in releaseReservationInternal()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java323 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testAllocateDevice_match_temporary()
474 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testFreeDevice()
492 manager.freeDevice(testDevice, FreeDeviceState.AVAILABLE); in testFreeDevice_noop()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationTest.java869 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in verifyEarlyDeviceReleaseExpectation()
1304 when(mMockDevice.getRecoveryMode()).thenReturn(RecoveryMode.AVAILABLE); in testInvoke_setupError()
1339 when(mMockDevice.getRecoveryMode()).thenReturn(RecoveryMode.AVAILABLE); in testInvoke_buildError()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java750 deviceState = FreeDeviceState.AVAILABLE; in freeDevice()
781 case AVAILABLE: in getEventFromFree()

12