Searched refs:getAllocationState (Results 1 – 6 of 6) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | IManagedTestDevice.java | 105 public DeviceAllocationState getAllocationState(); in getAllocationState() method
|
D | ManagedDeviceList.java | 224 if (d == null || DeviceAllocationState.Unavailable.equals(d.getAllocationState())) {
|
D | DeviceManager.java | 925 d.getAllocationState(), in listAllDevices()
|
D | NativeDevice.java | 3427 public DeviceAllocationState getAllocationState() { in getAllocationState() method in NativeDevice 3850 getAllocationState(), in getDeviceDescriptor()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 434 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()
|
D | TestDeviceTest.java | 1942 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()
|