Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/
DStreamVolumeManagerTest.java44 private DummyMainThread testThread; field in StreamVolumeManagerTest
54 testThread = new DummyMainThread(); in setUp()
55 testThread.runOnMainThread( in setUp()
63 testThread.runOnMainThread(() -> streamVolumeManager.release()); in tearDown()
64 testThread.release(); in tearDown()
70 testThread.runOnMainThread( in getMinVolume_returnsStreamMinVolume()
79 testThread.runOnMainThread( in getMaxVolume_returnsStreamMaxVolume()
88 testThread.runOnMainThread( in getVolume_returnsStreamVolume()
97 testThread.runOnMainThread( in setVolume_changesStreamVolume()
118 testThread.runOnMainThread( in setVolume_withOutOfRange_isIgnored()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
DInvokeMethodWithSuspensionDebuggee.java36 private static Thread testThread = null; field in InvokeMethodWithSuspensionDebuggee
74 testThread.start(); in causeEventThreadSuspension()
110 testThread = new TestThread(); in run()
122 testThread.join(); in run()
126 testThread = null; in run()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DJobDisposeStressTest.kt26 private fun testThread(name: String, block: () -> Unit): Thread = in <lambda>() method
39 threads += testThread("creator") { in <lambda>()
49 threads += testThread("canceller") { in <lambda>()
57 threads += testThread("disposer") { in <lambda>()
DEventLoopsTest.kt94 val testThread = Thread.currentThread() in <lambda>() constant
103 assertEquals(testThread, Thread.currentThread()) in <lambda>()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DEventDebuggee.java62 SimpleThread testThread = new SimpleThread(); in run() local
63 testThread.start(); in run()
66 testThread.join(); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DEventDebuggee.java62 SimpleThread testThread = new SimpleThread(); in run() local
63 testThread.start(); in run()
66 testThread.join(); in run()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DLockFreeLinkedListAddRemoveStressTest.kt25 threads += testThread("adder") { in testStressAddRemove()
30 threads += testThread("remover") { in testStressAddRemove()
48 private fun testThread(name: String, op: () -> Unit) = thread(name = name) { in <lambda>() method
DLockFreeLinkedListAtomicLFStressTest.kt42 env.testThread(name = "adder-$threadId") { in <lambda>()
86 env.testThread(name = "remover-$threadId") { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/junit4/
DCoroutinesTimeoutStatement.kt30 private val testThread = Thread(testResult, "Timeout test thread").apply { isDaemon = true } in <lambda>() constant
34 testThread.start() in evaluate()
66 val exception = createTimeoutException(testThread) in handleTimeout()
/external/kotlinx.atomicfu/atomicfu/src/jvmTest/kotlin/kotlinx/atomicfu/test/
DLockFreeQueueLFTest.kt22 testThread("Enqueue-$id") { in <lambda>()
27 testThread("Dequeue-$id") { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/
DChannelLFStressTest.kt49 repeat(2) { env.testThread("sender-$it") { sender() } } in performLockFreedomTest()
50 repeat(2) { env.testThread("receiver-$it") { receiver() } } in performLockFreedomTest()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
DSelectDeadlockLFStressTest.kt73 fun test() = env.testThread(name) { in <lambda>()
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/
DLockFreedomTestEnvironment.kt202 …public fun testThread(name: String? = null, operation: suspend TestThread.() -> Unit): TestThread = in <lambda>() method in kotlinx.atomicfu.LockFreedomTestEnvironment
/external/libxml2/
Druntest.c4053 testThread(void) in testThread() function
4116 testThread(void) in testThread() function
4168 testThread(void) in testThread() function
4214 testThread(void) in testThread() function
4226 return(testThread()); in threadsTest()