Home
last modified time | relevance | path

Searched refs:isDeviceInInvocationThread (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandScheduler.java342 public boolean isDeviceInInvocationThread(ITestDevice device); in isDeviceInInvocationThread() method
DCommandScheduler.java2084 if (isDeviceInInvocationThread(device)) { in throwIfDeviceInInvocationThread()
2630 public synchronized boolean isDeviceInInvocationThread(ITestDevice device) { in isDeviceInInvocationThread() method in CommandScheduler
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/
DDeviceManagementGrpcServerTest.java136 when(mMockCommandScheduler.isDeviceInInvocationThread(Mockito.any())).thenReturn(false); in testReserveAndRelease_freeDevice()
184 when(mMockCommandScheduler.isDeviceInInvocationThread(Mockito.any())).thenReturn(true); in testReserveAndRelease_notFreeDevice()
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java131 } else if (mCommandScheduler.isDeviceInInvocationThread(device)) { in releaseReservation()