Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java307 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice()
324 mMockTestDevice.handleAllocationEvent( in testAllocateDevice_match()
341 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testAllocateDevice_match_temporary()
345 mMockTestDevice.handleAllocationEvent( in testAllocateDevice_match_temporary()
352 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FREE_UNKNOWN)) in testAllocateDevice_match_temporary()
380 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testAllocateDevice_stubEmulator()
383 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testAllocateDevice_stubEmulator()
420 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE)) in testFreeDevice_emulator()
423 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)) in testFreeDevice_emulator()
429 EasyMock.expect(mMockTestDevice.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE)) in testFreeDevice_emulator()
[all …]
DManagedDeviceListTest.java94 d.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE); in testAllocate()
109 d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in testHandleDeviceEvent()
113 d.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE); in testHandleDeviceEvent()
152 EasyMock.expect(mockDevice.handleAllocationEvent(DeviceEvent.DISCONNECTED)).andReturn(der); in testUpdateFastbootState_gone()
DTestDeviceTest.java2482 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.CONNECTED_ONLINE)); in testHandleAllocationEvent()
2485 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.AVAILABLE_CHECK_PASSED)); in testHandleAllocationEvent()
2488 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.ALLOCATE_REQUEST)); in testHandleAllocationEvent()
2491 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FREE_AVAILABLE)); in testHandleAllocationEvent()
2494 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.DISCONNECTED)); in testHandleAllocationEvent()
2497 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST)); in testHandleAllocationEvent()
2500 assertNotNull(mTestDevice.handleAllocationEvent(DeviceEvent.FREE_UNKNOWN)); in testHandleAllocationEvent()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java62 DeviceEventResponse r = element.handleAllocationEvent(event); in matches()
284 DeviceEventResponse r = d.handleAllocationEvent(event);
DDeviceManager.java635 DeviceEventResponse r = d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in forceAllocateDevice()
858 DeviceEventResponse r = tcpDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in connectToTcpDevice()
DNativeDevice.java4018 public DeviceEventResponse handleAllocationEvent(DeviceEvent event) { in handleAllocationEvent() method in NativeDevice
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIManagedTestDevice.java117 public DeviceEventResponse handleAllocationEvent(DeviceEvent event); in handleAllocationEvent() method