Searched refs:DeviceEvent (Results 1 – 10 of 10) sorted by relevance
24 DeviceAllocationState handleDeviceEvent(DeviceEvent event); in handleDeviceEvent()41 public DeviceAllocationState handleDeviceEvent(DeviceEvent event) { in handleDeviceEvent()77 public DeviceAllocationState handleDeviceEvent(DeviceEvent event) { in handleDeviceEvent()112 public DeviceAllocationState handleDeviceEvent(DeviceEvent event) { in handleDeviceEvent()141 public DeviceAllocationState handleDeviceEvent(DeviceEvent event) { in handleDeviceEvent()169 public DeviceAllocationState handleDeviceEvent(DeviceEvent event) { in handleDeviceEvent()193 public DeviceAllocationState handleDeviceEvent(DeviceEvent event) { in handleDeviceEvent()
21 enum DeviceEvent { enum
42 public DeviceAllocationState handleDeviceEvent(DeviceEvent event) { in handleDeviceEvent()
88 d.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE); in testAllocate()102 d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in testHandleDeviceEvent()104 mManagedDeviceList.handleDeviceEvent(d, DeviceEvent.DISCONNECTED); in testHandleDeviceEvent()106 d.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE); in testHandleDeviceEvent()108 mManagedDeviceList.handleDeviceEvent(d, DeviceEvent.DISCONNECTED); in testHandleDeviceEvent()143 EasyMock.expect(mockDevice.handleAllocationEvent(DeviceEvent.DISCONNECTED)).andReturn(der); in testUpdateFastbootState_gone()
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 …]
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()
376 mManagedDeviceList.handleDeviceEvent(testDevice, DeviceEvent.AVAILABLE_CHECK_IGNORED); in checkAndAddAvailableDevice()388 DeviceEvent.AVAILABLE_CHECK_PASSED); in checkAndAddAvailableDevice()398 DeviceEvent.AVAILABLE_CHECK_FAILED); in checkAndAddAvailableDevice()451 mManagedDeviceList.handleDeviceEvent(d, DeviceEvent.FORCE_AVAILABLE); in addAvailableDevice()508 DeviceEventResponse r = d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in forceAllocateDevice()571 private DeviceEvent getEventFromFree( in getEventFromFree()575 return DeviceEvent.FREE_UNRESPONSIVE; in getEventFromFree()577 return DeviceEvent.FREE_AVAILABLE; in getEventFromFree()588 return DeviceEvent.FREE_UNKNOWN; in getEventFromFree()591 return DeviceEvent.FREE_UNAVAILABLE; in getEventFromFree()[all …]
58 DeviceEventResponse r = element.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST); in matches()150 handleDeviceEvent(d, DeviceEvent.DISCONNECTED);256 public DeviceEventResponse handleDeviceEvent(IManagedTestDevice d, DeviceEvent event) {
111 public DeviceEventResponse handleAllocationEvent(DeviceEvent event); in handleAllocationEvent()
3439 public DeviceEventResponse handleAllocationEvent(DeviceEvent event) { in handleAllocationEvent()