Home
last modified time | relevance | path

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

/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java112 DeviceState deviceState, in DeviceDescriptor() argument
127 deviceState, in DeviceDescriptor()
145 DeviceState deviceState, in DeviceDescriptor() argument
160 mDeviceState = deviceState; in DeviceDescriptor()
DICommandResultHandler.java29 public void failure(String errorDetails, FreeDeviceState deviceState, in failure() argument
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java86 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in freeCompanionDevice() local
89 deviceState = FreeDeviceState.UNAVAILABLE; in freeCompanionDevice()
91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java608 public void freeDevice(ITestDevice device, FreeDeviceState deviceState) { in freeDevice() argument
636 deviceState = FreeDeviceState.AVAILABLE; in freeDevice()
640 deviceState = FreeDeviceState.UNAVAILABLE; in freeDevice()
648 getEventFromFree(managedDevice, deviceState)); in freeDevice()
662 IManagedTestDevice managedDevice, FreeDeviceState deviceState) { in getEventFromFree() argument
663 switch (deviceState) { in getEventFromFree()
DNativeDeviceStateMonitor.java454 public void setState(TestDeviceState deviceState) { in setState() argument
455 mDeviceState = deviceState; in setState()
464 listener.stateChanged(deviceState); in setState()
DIDeviceStateMonitor.java135 public void setState(TestDeviceState deviceState); in setState() argument
DIManagedTestDevice.java56 public void setDeviceState(TestDeviceState deviceState); in setDeviceState() argument
DNativeDevice.java3486 public void setDeviceState(final TestDeviceState deviceState) { in setDeviceState() argument
3487 if (!deviceState.equals(getDeviceState())) { in setDeviceState()
3493 mState = deviceState; in setDeviceState()
3494 CLog.d("Device %s state is now %s", getSerialNumber(), deviceState); in setDeviceState()
3495 mStateMonitor.setState(deviceState); in setDeviceState()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1466 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in allocateDevices() local
1468 deviceState = FreeDeviceState.AVAILABLE; in allocateDevices()
1472 deviceState = FreeDeviceState.UNAVAILABLE; in allocateDevices()
1474 manager.freeDevice(allocatedDevice, deviceState); in allocateDevices()