Home
last modified time | relevance | path

Searched refs:threadName (Results 1 – 25 of 68) sorted by relevance

123

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DAllThreadsTest.java70 String threadName; in testAllThreads003() local
80 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testAllThreads003()
94 + "\"" + threadName + "\" " in testAllThreads003()
98 if (threadName.equals(AllThreadsDebuggee.TESTED_THREAD)) { in testAllThreads003()
128 String threadName; in testAllThreads002() local
140 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testAllThreads002()
154 + "\"" + threadName + "\" " in testAllThreads002()
200 String threadName; in testAllThreads001() local
209 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testAllThreads001()
211 if (threadName.equals(AllThreadsDebuggee.TESTED_THREAD)) { in testAllThreads001()
[all …]
DResumeTest.java222 final String threadName; field in ResumeTest.ThreadInfo
225 public ThreadInfo(String threadName) { in ThreadInfo() argument
226 this.threadName = threadName; in ThreadInfo()
304 String threadName = null; in createThreadInfos() local
306 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in createThreadInfos()
313 if (threadInfo.threadName.equals(threadName) ) { in createThreadInfos()
327 + threadInfo.threadName); in createThreadInfos()
357 + " (" + threadInfo.threadName + ")"); in checkThreadStatus()
368 " \"" + threadInfo.threadName + "\""); in checkThreadStatus()
386 " \"" + threadInfo.threadName + "\""); in checkThreadStatus()
DResume002Debuggee.java32 String threadName = Thread.currentThread().getName(); in breakpointMethod() local
33 System.out.println(threadName + " enters breakpointMethod"); in breakpointMethod()
43 String threadName = Thread.currentThread().getName(); in run() local
44 logWriter.println("Thread \"" + threadName + "\" starts"); in run()
46 logWriter.println("Thread \"" + threadName + "\" ends"); in run()
DSuspendTest.java68 String threadName; in testSuspend001() local
78 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testSuspend001()
92 + "\"" + threadName + "\" " in testSuspend001()
98 + threadName + "\"" + " is not in suspended state"); in testSuspend001()
/external/perfetto/ui/src/controller/
Dtrack_decider.ts146 threadName: string|null,
157 threadName, constant
168 const hasThreadName = threadName !== undefined && threadName !== null;
188 return `${threadName} ${tid}`;
903 threadName: STR_NULL,
909 const threadName = it.threadName; constant
921 name: TrackDecider.getTrackName({utid, tid, threadName, kind}),
952 threadName: STR_NULL,
957 const threadName = it.threadName; constant
966 name: `${threadName} (CPU Stack Samples)`,
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DSurfaceTextureHelper.java59 public static SurfaceTextureHelper create(final String threadName, in create() argument
62 final HandlerThread thread = new HandlerThread(threadName); in create()
78 Logging.e(TAG, threadName + " create failure", e); in create()
91 final String threadName, final EglBase.Context sharedContext) {
92 return create(threadName, sharedContext, /* alignTimestamps= */ false, new YuvConverter(),
102 final String threadName, final EglBase.Context sharedContext, boolean alignTimestamps) {
104 threadName, sharedContext, alignTimestamps, new YuvConverter(), /*frameRefMonitor=*/null);
112 public static SurfaceTextureHelper create(final String threadName,
115 threadName, sharedContext, alignTimestamps, yuvConverter, /*frameRefMonitor=*/null);
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DThreadUtils.java429 public static Collection<Thread> findThreadsByName(final String threadName) { in findThreadsByName() argument
430 return findThreads(predicateThread(threadName)); in findThreadsByName()
447 …public static Collection<Thread> findThreadsByName(final String threadName, final String threadGro… in findThreadsByName() argument
448 Objects.requireNonNull(threadName, "threadName"); in findThreadsByName()
451 ….flatMap(group -> findThreads(group, false, predicateThread(threadName)).stream()).collect(Collect… in findThreadsByName()
468 …public static Collection<Thread> findThreadsByName(final String threadName, final ThreadGroup thre… in findThreadsByName() argument
469 return findThreads(threadGroup, false, predicateThread(threadName)); in findThreadsByName()
535 private static Predicate<Thread> predicateThread(final String threadName) { in predicateThread() argument
536 return namePredicate(threadName, Thread::getName); in predicateThread()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DNameTest.java59 String threadName; in testName001() local
71 threadName = thrdReply.getNextValueAsString(); in testName001()
73 + threadName); in testName001()
74 if (threadName.length() == 0) { in testName001()
DSuspendTest.java100 String threadName = null; in testSuspend001() local
102 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testSuspend001()
110 if ( threadName.equals(testedThreadsNames[k]) ) { in testSuspend001()
121 + "; threadName = " + threadName); in testSuspend001()
155 … logWriter.println("## FAILURE: Unexpected suspendStatus for thread = " + threadName); in testSuspend001()
167 logWriter.println("## FAILURE: Can NOT resume thread = " + threadName); in testSuspend001()
DSuspendCountTest.java112 String threadName = null; in testSuspendCount001() local
114 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testSuspendCount001()
120 allThreadsNames[i] = threadName; in testSuspendCount001()
123 if ( threadName.equals(testedThreadsNames[k]) ) { in testSuspendCount001()
134 + "; threadName = " + threadName); in testSuspendCount001()
148 … logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
185 … logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
213 … logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
254 logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
DThreadGroupTest.java68 String groupName, threadName; in testThreadGroup001() local
86 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testThreadGroup001()
89 + "; threadName=" + threadName in testThreadGroup001()
93 if (threadName.equals(ThreadGroupDebuggee.TESTED_THREAD)) { in testThreadGroup001()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DThreadOnlyModifierDebuggee.java110 String threadName = t.getName(); in runThread() local
111 logWriter.println("Thread " + threadName + " starts"); in runThread()
114 logWriter.println("Wait for end of thread " + threadName); in runThread()
119 logWriter.println("Thread " + threadName + " ends"); in runThread()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DFlowAsFlowableTest.kt53 val threadName = "FlowAsFlowableTest.testConfinedContext" in <lambda>() constant
56 … assertTrue(currentThread.name.startsWith(threadName), "Unexpected thread $currentThread") in <lambda>()
59 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DFlowAsFlowableTest.kt53 val threadName = "FlowAsFlowableTest.testConfinedContext" in <lambda>() constant
56 … assertTrue(currentThread.name.startsWith(threadName), "Unexpected thread $currentThread") in <lambda>()
59 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
/external/oj-libjdwp/src/share/back/
Dtransport.c418 char threadName[MAXPATHLEN + 100]; in transport_startTransport() local
490 (void)strcpy(threadName, "JDWP Transport Listener: "); in transport_startTransport()
491 (void)strcat(threadName, name); in transport_startTransport()
494 error = spawnNewThread(func, (void*)info, threadName); in transport_startTransport()
539 (void)strcpy(threadName, "JDWP Transport Listener: "); in transport_startTransport()
540 (void)strcat(threadName, name); in transport_startTransport()
543 err = spawnNewThread(func, (void*)trans, threadName); in transport_startTransport()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
DChildrenTest.java101 String threadName = debuggeeWrapper.vmMirror.getThreadName(childThreadID); in testChildren001() local
103 ("==> thread: threadID = " + childThreadID + "; threadName = " + threadName); in testChildren001()
110 if (!threadName.equals(NameDebuggee.TESTED_THREAD)) { in testChildren001()
113 assertString("Invalid thread name,", NameDebuggee.TESTED_THREAD, threadName); in testChildren001()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DThreadEndTest.java83 String threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testThreadEndEvent001() local
84 logWriter.println("=> threadName = " + threadName); in testThreadEndEvent001()
85 assertEquals("Invalid thread name", EventDebuggee.testedThreadName, threadName); in testThreadEndEvent001()
DThreadStartTest.java89 String threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testThreadStartEvent001() local
90 logWriter.println("=> threadName = " + threadName); in testThreadStartEvent001()
93 receivedExpectedThreadStartEvent = threadName.equals(EventDebuggee.testedThreadName); in testThreadStartEvent001()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DSchedulerTestBase.kt46 private fun sequenceNumber(threadName: String): Int { in sequenceNumber()
47 val suffix = threadName.substring(threadName.lastIndexOf("-") + 1) in sequenceNumber()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DFlowAsPublisherTest.kt117 val threadName = "FlowAsPublisherTest.testConfinedContext" in <lambda>() constant
120 … assertTrue(currentThread.name.startsWith(threadName), "Unexpected thread $currentThread") in <lambda>()
123 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactor/test/
DFlowAsFluxTest.kt112 val threadName = "FlowAsFluxTest.testConfinedContext" in <lambda>() constant
115 … assertTrue(currentThread.name.startsWith(threadName), "Unexpected thread $currentThread") in <lambda>()
118 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DDemuxInputStreamTest.java130 private String getInput(final String threadName) { in getInput() argument
131 final ReaderThread thread = (ReaderThread) threadMap.get(threadName); in getInput()
136 private String getOutput(final String threadName) { in getOutput() argument
137 final ByteArrayOutputStream output = outputMap.get(threadName); in getOutput()
/external/guava/android/guava/src/com/google/common/base/internal/
DFinalizer.java80 String threadName = Finalizer.class.getName(); in startFinalizer() local
88 (ThreadGroup) null, finalizer, threadName, defaultStackSize, inheritThreadLocals); in startFinalizer()
95 thread = new Thread((ThreadGroup) null, finalizer, threadName); in startFinalizer()
/external/guava/guava/src/com/google/common/base/internal/
DFinalizer.java80 String threadName = Finalizer.class.getName(); in startFinalizer() local
88 (ThreadGroup) null, finalizer, threadName, defaultStackSize, inheritThreadLocals); in startFinalizer()
95 thread = new Thread((ThreadGroup) null, finalizer, threadName); in startFinalizer()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DRejectedExecutionTest.kt16 private val threadName = "RejectedExecutionTest" in <lambda>() constant
133 …te inner class RejectingExecutor : ScheduledThreadPoolExecutor(1, { r -> Thread(r, threadName) }) { in <lambda>()
157 if (!thread.name.startsWith(threadName)) error("Not an executor thread: $thread") in <lambda>()

123