Home
last modified time | relevance | path

Searched refs:DeviceEventResponse (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java39 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
272 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice()
286 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_match()
301 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testAllocateDevice_match_temporary()
304 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_match_temporary()
310 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Unknown, true)); in testAllocateDevice_match_temporary()
335 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testAllocateDevice_stubEmulator()
338 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_stubEmulator()
373 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testFreeDevice_emulator()
376 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testFreeDevice_emulator()
[all …]
DManagedDeviceListTest.java25 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
157 DeviceEventResponse der = new DeviceEventResponse(DeviceAllocationState.Unknown, true); in testUpdateFastbootState_gone()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIManagedTestDevice.java29 static class DeviceEventResponse { class
35 DeviceEventResponse(DeviceAllocationState s, boolean b) { in DeviceEventResponse() method in IManagedTestDevice.DeviceEventResponse
118 public DeviceEventResponse handleAllocationEvent(DeviceEvent event); in handleAllocationEvent()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java21 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
77 DeviceEventResponse r = element.handleAllocationEvent(event); in matches()
381 public DeviceEventResponse handleDeviceEvent(IManagedTestDevice d, DeviceEvent event) {
382 DeviceEventResponse r = d.handleAllocationEvent(event);
DDeviceManager.java31 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
464 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(testDevice, in checkAndAddAvailableDevice()
474 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(testDevice, in checkAndAddAvailableDevice()
683 DeviceEventResponse r = d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in forceAllocateDevice()
718 DeviceEventResponse r = in freeDevice()
747 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(managedDevice, in freeDevice()
960 DeviceEventResponse r = tcpDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in connectToTcpDevice()
1313 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(testDevice, in deviceChanged()
1353 DeviceEventResponse r = in deviceConnected()
DNativeDevice.java4783 public DeviceEventResponse handleAllocationEvent(DeviceEvent event) { in handleAllocationEvent()
4806 return new DeviceEventResponse(newState, stateChanged); in handleAllocationEvent()