Home
last modified time | relevance | path

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

/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/remote/src/com/android/tradefed/command/remote/
DICommandResultHandler.java29 public void failure(String errorDetails, FreeDeviceState deviceState, in failure() argument
DDeviceDescriptor.java74 DeviceState deviceState, in DeviceDescriptor() argument
88 mDeviceState = deviceState; in DeviceDescriptor()
/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceStateMonitor.java135 public void setState(TestDeviceState deviceState); in setState() argument
DIManagedTestDevice.java56 public void setDeviceState(TestDeviceState deviceState); in setDeviceState() argument
DNativeDeviceStateMonitor.java454 public void setState(TestDeviceState deviceState) { in setState() argument
455 mDeviceState = deviceState; in setState()
464 listener.stateChanged(deviceState); in setState()
DDeviceManager.java530 public void freeDevice(ITestDevice device, FreeDeviceState deviceState) { in freeDevice() argument
546 deviceState = FreeDeviceState.AVAILABLE; in freeDevice()
550 deviceState = FreeDeviceState.UNAVAILABLE; in freeDevice()
558 getEventFromFree(managedDevice, deviceState)); in freeDevice()
572 IManagedTestDevice managedDevice, FreeDeviceState deviceState) { in getEventFromFree() argument
573 switch (deviceState) { in getEventFromFree()
DNativeDevice.java3240 public void setDeviceState(final TestDeviceState deviceState) { in setDeviceState() argument
3241 if (!deviceState.equals(getDeviceState())) { in setDeviceState()
3247 mState = deviceState; in setDeviceState()
3248 CLog.d("Device %s state is now %s", getSerialNumber(), deviceState); in setDeviceState()
3249 mStateMonitor.setState(deviceState); in setDeviceState()