Home
last modified time | relevance | path

Searched refs:handleAllocationEvent (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java271 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice()
285 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.EXPLICIT_ALLOCATE_REQUEST)) in testAllocateDevice_match()
300 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testAllocateDevice_match_temporary()
303 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.EXPLICIT_ALLOCATE_REQUEST)) in testAllocateDevice_match_temporary()
309 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.FREE_UNKNOWN)) in testAllocateDevice_match_temporary()
334 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testAllocateDevice_stubEmulator()
337 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice_stubEmulator()
372 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testFreeDevice_emulator()
375 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testFreeDevice_emulator()
382 when(mMockTestDevice.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE)) in testFreeDevice_emulator()
[all …]
DManagedDeviceListTest.java104 d.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE); in testAllocate()
119 d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in testHandleDeviceEvent()
123 d.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE); in testHandleDeviceEvent()
158 when(mockDevice.handleAllocationEvent(DeviceEvent.DISCONNECTED)).thenReturn(der); in testUpdateFastbootState_gone()
DTestDeviceTest.java2839 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.CONNECTED_ONLINE)); in testHandleAllocationEvent()
2842 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.AVAILABLE_CHECK_PASSED)); in testHandleAllocationEvent()
2845 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)); in testHandleAllocationEvent()
2848 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE)); in testHandleAllocationEvent()
2851 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.DISCONNECTED)); in testHandleAllocationEvent()
2854 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST)); in testHandleAllocationEvent()
2857 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FREE_UNKNOWN)); in testHandleAllocationEvent()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java77 DeviceEventResponse r = element.handleAllocationEvent(event); in matches()
246 specificDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST);
382 DeviceEventResponse r = d.handleAllocationEvent(event);
DDeviceManager.java683 DeviceEventResponse r = d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in forceAllocateDevice()
960 DeviceEventResponse r = tcpDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in connectToTcpDevice()
DNativeDevice.java4783 public DeviceEventResponse handleAllocationEvent(DeviceEvent event) { in handleAllocationEvent() method in NativeDevice
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIManagedTestDevice.java118 public DeviceEventResponse handleAllocationEvent(DeviceEvent event); in handleAllocationEvent() method