Home
last modified time | relevance | path

Searched refs:setDeviceState (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedTestDeviceFactory.java74 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createRequestedDevice()
82 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createRequestedDevice()
99 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
106 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
143 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
155 testDevice.setDeviceState(TestDeviceState.FASTBOOTD); in createDevice()
157 testDevice.setDeviceState(TestDeviceState.FASTBOOT); in createDevice()
160 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
DManagedDeviceList.java210 d.setDeviceState(state);
213 d.setDeviceState(TestDeviceState.NOT_AVAILABLE);
DDeviceManager.java745 managedDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in freeDevice()
1311 testDevice.setDeviceState(newState); in deviceChanged()
1351 testDevice.setDeviceState(newState); in deviceConnected()
1395 d.setDeviceState(TestDeviceState.NOT_AVAILABLE); in deviceDisconnected()
DNativeDevice.java4316 setDeviceState(TestDeviceState.FASTBOOT); in waitForDeviceBootloader()
4498 public void setDeviceState(final TestDeviceState deviceState) { in setDeviceState() method in NativeDevice
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DManagedDeviceListTest.java145 verify(mockDevice).setDeviceState(TestDeviceState.FASTBOOT); in testUpdateFastbootState()
166 verify(mockDevice).setDeviceState(TestDeviceState.NOT_AVAILABLE); in testUpdateFastbootState_gone()
DDeviceManagerTest.java516 verify(mMockTestDevice, times(1)).setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetIDevice()
517 verify(mMockTestDevice, times(2)).setDeviceState(TestDeviceState.ONLINE); in testSetIDevice()
554 verify(mMockTestDevice, times(1)).setDeviceState(TestDeviceState.ONLINE); in testInit_excludeDevice()
582 verify(mMockTestDevice).setDeviceState(TestDeviceState.ONLINE); in testInit_includeDevice()
598 verify(mMockTestDevice).setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_disconnected()
620 verify(mMockTestDevice).setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_offline()
883 verify(mMockTestDevice).setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_tcpDevice()
934 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unavailable()
992 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_recovery()
1054 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unknown()
[all …]
DTestDeviceTest.java491 mRecoveryTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastboot()
517 mRecoveryTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastbootNonalpha()
543 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastbootFail()
1235 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
1248 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testExecuteFastbootCommand_state()
1257 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
DNativeDeviceTest.java2823 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetMacAddress_fastboot()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIManagedTestDevice.java56 public void setDeviceState(TestDeviceState deviceState); in setDeviceState() method