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