Searched refs:handleAllocationEvent (Results 1 – 7 of 7) sorted by relevance
271 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 …]
104 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()
2839 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()
77 DeviceEventResponse r = element.handleAllocationEvent(event); in matches()246 specificDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST);382 DeviceEventResponse r = d.handleAllocationEvent(event);
683 DeviceEventResponse r = d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in forceAllocateDevice()960 DeviceEventResponse r = tcpDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in connectToTcpDevice()
4783 public DeviceEventResponse handleAllocationEvent(DeviceEvent event) { in handleAllocationEvent() method in NativeDevice
118 public DeviceEventResponse handleAllocationEvent(DeviceEvent event); in handleAllocationEvent() method