Searched refs:testThread (Results 1 – 4 of 4) sorted by relevance
161 Thread testThread = new Thread(() -> setBackupAgentResult( in bindToAgentSynchronous_agentDisconnectedCalled_returnsNullAndClearsPendingBackups() local165 testThread.start(); in bindToAgentSynchronous_agentDisconnectedCalled_returnsNullAndClearsPendingBackups()170 testThread.join(); in bindToAgentSynchronous_agentDisconnectedCalled_returnsNullAndClearsPendingBackups()195 Thread testThread = new Thread(() -> setBackupAgentResult( in bindToAgentSynchronous_unexpectedAgentConnected_doesNotReturnWrongAgent() local199 testThread.start(); in bindToAgentSynchronous_unexpectedAgentConnected_doesNotReturnWrongAgent()204 testThread.join(100); // Avoid waiting the full timeout. in bindToAgentSynchronous_unexpectedAgentConnected_doesNotReturnWrongAgent()363 Thread testThread = new Thread((Runnable) invocation.getArgument(0), in agentDisconnected_cancelsCurrentOperations()365 setTestThread(testThread); in agentDisconnected_cancelsCurrentOperations()366 return testThread; in agentDisconnected_cancelsCurrentOperations()466 Thread testThread = new Thread(() -> setBackupAgentResult( in bindAndConnectToTestAppAgent() local[all …]
25 class TestExceptionDeferrer(private val tag: String, private val testThread: Thread) { in <lambda>() constant in com.android.systemui.util.test.TestExceptionDeferrer39 if (testThread == Thread.currentThread()) { in <lambda>()
624 var testThread = sTestThread; in dumpStacks() local630 if (testThread != null) { in dumpStacks()631 threads.remove(testThread); in dumpStacks()632 threads.add(0, testThread); in dumpStacks()
590 void *testThread(void *) { in testThread() function606 ASSERT_EQ(pthread_create(&thread, NULL, &testThread, NULL), 0); in TEST_F()