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.java71 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
85 testDevice.setDeviceState(TestDeviceState.FASTBOOT); in createDevice()
87 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
DIManagedTestDevice.java56 public void setDeviceState(TestDeviceState deviceState); in setDeviceState() method
DManagedDeviceList.java138 d.setDeviceState(TestDeviceState.FASTBOOT);
141 d.setDeviceState(TestDeviceState.NOT_AVAILABLE);
DDeviceManager.java555 managedDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in freeDevice()
1027 testDevice.setDeviceState(newState); in deviceChanged()
1067 testDevice.setDeviceState(newState); in deviceConnected()
1111 d.setDeviceState(TestDeviceState.NOT_AVAILABLE); in deviceDisconnected()
DNativeDevice.java3240 public void setDeviceState(final TestDeviceState deviceState) { in setDeviceState() method in NativeDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DManagedDeviceListTest.java119 mockDevice.setDeviceState(TestDeviceState.FASTBOOT); in testUpdateFastbootState()
140 mockDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testUpdateFastbootState_gone()
DDeviceManagerTest.java514 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetIDevice()
515 mMockTestDevice.setDeviceState(TestDeviceState.ONLINE); in testSetIDevice()
546 mMockTestDevice.setDeviceState(TestDeviceState.ONLINE); in testInit_excludeDevice()
576 mMockTestDevice.setDeviceState(TestDeviceState.ONLINE); in testInit_includeDevice()
606 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_disconnected()
623 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_offline()
871 mMockTestDevice.setDeviceState(TestDeviceState.ONLINE); in setCheckAvailableDeviceExpectations()
897 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_tcpDevice()
966 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unavailable()
1030 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unknown()
[all …]
DTestDeviceTest.java316 mRecoveryTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastboot()
337 mRecoveryTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastbootNonalpha()
359 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastbootFail()
956 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testExecuteFastbootCommand_state()
977 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
985 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
DNativeDeviceTest.java2096 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetMacAddress_fastboot()