Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java32 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
308 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice()
326 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_match()
342 .andReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testAllocateDevice_match_temporary()
347 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_match_temporary()
353 .andReturn(new DeviceEventResponse(DeviceAllocationState.Unknown, true)); in testAllocateDevice_match_temporary()
381 .andReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testAllocateDevice_stubEmulator()
384 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_stubEmulator()
421 .andReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testFreeDevice_emulator()
424 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testFreeDevice_emulator()
[all …]
DManagedDeviceListTest.java23 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
151 DeviceEventResponse der = new DeviceEventResponse(DeviceAllocationState.Unknown, true); in testUpdateFastbootState_gone()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java31 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
449 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(testDevice, in checkAndAddAvailableDevice()
459 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(testDevice, in checkAndAddAvailableDevice()
635 DeviceEventResponse r = d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in forceAllocateDevice()
668 DeviceEventResponse r = in freeDevice()
700 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(managedDevice, in freeDevice()
858 DeviceEventResponse r = tcpDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in connectToTcpDevice()
1203 DeviceEventResponse r = mManagedDeviceList.handleDeviceEvent(testDevice, in deviceChanged()
1243 DeviceEventResponse r = in deviceConnected()
DManagedDeviceList.java20 import com.android.tradefed.device.IManagedTestDevice.DeviceEventResponse;
62 DeviceEventResponse r = element.handleAllocationEvent(event); in matches()
283 public DeviceEventResponse handleDeviceEvent(IManagedTestDevice d, DeviceEvent event) {
284 DeviceEventResponse r = d.handleAllocationEvent(event);
DNativeDevice.java4018 public DeviceEventResponse handleAllocationEvent(DeviceEvent event) { in handleAllocationEvent()
4041 return new DeviceEventResponse(newState, stateChanged); in handleAllocationEvent()
/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
117 public DeviceEventResponse handleAllocationEvent(DeviceEvent event); in handleAllocationEvent()