Searched refs:handleAllocationEvent (Results 1 – 7 of 7) sorted by relevance
286 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice()303 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice_match()318 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testAllocateDevice_stubEmulator()321 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice_stubEmulator()337 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testFreeDevice_emulator()340 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testFreeDevice_emulator()346 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE)) in testFreeDevice_emulator()348 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testFreeDevice_emulator()373 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testAllocateDevice_nullDevice()375 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice_nullDevice()[all …]
88 d.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE); in testAllocate()102 d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in testHandleDeviceEvent()106 d.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE); in testHandleDeviceEvent()143 EasyMock.expect(mockDevice.handleAllocationEvent(DeviceEvent.DISCONNECTED)).andReturn(der); in testUpdateFastbootState_gone()
1944 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.CONNECTED_ONLINE)); in testHandleAllocationEvent()1947 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.AVAILABLE_CHECK_PASSED)); in testHandleAllocationEvent()1950 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)); in testHandleAllocationEvent()1953 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE)); in testHandleAllocationEvent()1956 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.DISCONNECTED)); in testHandleAllocationEvent()1959 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST)); in testHandleAllocationEvent()1962 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FREE_UNKNOWN)); in testHandleAllocationEvent()
111 public DeviceEventResponse handleAllocationEvent(DeviceEvent event); in handleAllocationEvent() method
58 DeviceEventResponse r = element.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST); in matches()257 DeviceEventResponse r = d.handleAllocationEvent(event);
508 DeviceEventResponse r = d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in forceAllocateDevice()
3439 public DeviceEventResponse handleAllocationEvent(DeviceEvent event) { in handleAllocationEvent() method in NativeDevice