Home
last modified time | relevance | path

Searched refs:getAllocationState (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DIManagedTestDevice.java105 public DeviceAllocationState getAllocationState(); in getAllocationState() method
DManagedDeviceList.java224 if (d == null || DeviceAllocationState.Unavailable.equals(d.getAllocationState())) {
DDeviceManager.java925 d.getAllocationState(), in listAllDevices()
DNativeDevice.java3427 public DeviceAllocationState getAllocationState() { in getAllocationState() method in NativeDevice
3850 getAllocationState(), in getDeviceDescriptor()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java434 EasyMock.expect(mMockTestDevice.getAllocationState()) in testForceAllocateDevice_available()
449 EasyMock.expect(mMockTestDevice.getAllocationState()) in testForceAllocateDevice_alreadyAllocated()
503 EasyMock.expect(mMockTestDevice.getAllocationState()) in testSetIDevice()
619 EasyMock.expect(mMockTestDevice.getAllocationState()) in testSetState_offline()
661 EasyMock.expect(mMockTestDevice.getAllocationState()) in testConnectToTcpDevice_alreadyAllocated()
1110 EasyMock.expect(mMockTestDevice.getAllocationState()) in setDeviceDescriptorExpectation()
DTestDeviceTest.java1942 assertEquals(DeviceAllocationState.Unknown, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1945 assertEquals(DeviceAllocationState.Checking_Availability, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1948 assertEquals(DeviceAllocationState.Available, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1951 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1954 assertEquals(DeviceAllocationState.Available, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1957 assertEquals(DeviceAllocationState.Unknown, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1960 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1963 assertEquals(DeviceAllocationState.Unknown, mTestDevice.getAllocationState()); in testHandleAllocationEvent()