Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DBackupAgentConnectionManagerTest.java161 Thread testThread = new Thread(() -> setBackupAgentResult( in bindToAgentSynchronous_agentDisconnectedCalled_returnsNullAndClearsPendingBackups() local
165 testThread.start(); in bindToAgentSynchronous_agentDisconnectedCalled_returnsNullAndClearsPendingBackups()
170 testThread.join(); in bindToAgentSynchronous_agentDisconnectedCalled_returnsNullAndClearsPendingBackups()
195 Thread testThread = new Thread(() -> setBackupAgentResult( in bindToAgentSynchronous_unexpectedAgentConnected_doesNotReturnWrongAgent() local
199 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 …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/test/
DTestExceptionDeferrer.kt25 class TestExceptionDeferrer(private val tag: String, private val testThread: Thread) { in <lambda>() constant in com.android.systemui.util.test.TestExceptionDeferrer
39 if (testThread == Thread.currentThread()) { in <lambda>()
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodRuntimeEnvironmentController.java624 var testThread = sTestThread; in dumpStacks() local
630 if (testThread != null) { in dumpStacks()
631 threads.remove(testThread); in dumpStacks()
632 threads.add(0, testThread); in dumpStacks()
/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp590 void *testThread(void *) { in testThread() function
606 ASSERT_EQ(pthread_create(&thread, NULL, &testThread, NULL), 0); in TEST_F()