Searched refs:isDeviceInInvocationThread (Results 1 – 4 of 4) sorted by relevance
342 public boolean isDeviceInInvocationThread(ITestDevice device); in isDeviceInInvocationThread() method
2093 if (isDeviceInInvocationThread(device)) { in throwIfDeviceInInvocationThread()2640 public synchronized boolean isDeviceInInvocationThread(ITestDevice device) { in isDeviceInInvocationThread() method in CommandScheduler
137 when(mMockCommandScheduler.isDeviceInInvocationThread(Mockito.any())).thenReturn(false); in testReserveAndRelease_freeDevice()185 when(mMockCommandScheduler.isDeviceInInvocationThread(Mockito.any())).thenReturn(true); in testReserveAndRelease_notFreeDevice()
152 } else if (mCommandScheduler.isDeviceInInvocationThread(device)) { in releaseReservation()