Home
last modified time | relevance | path

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

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DAllThreadsTest.java69 String threadName; in testAllThreads003() local
79 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testAllThreads003()
93 + "\"" + threadName + "\" " in testAllThreads003()
97 if (threadName.equals(AllThreadsDebuggee.TESTED_THREAD)) { in testAllThreads003()
127 String threadName; in testAllThreads002() local
139 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testAllThreads002()
153 + "\"" + threadName + "\" " in testAllThreads002()
199 String threadName; in testAllThreads001() local
208 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testAllThreads001()
210 if (threadName.equals(AllThreadsDebuggee.TESTED_THREAD)) { in testAllThreads001()
[all …]
DResumeTest.java224 final String threadName; field in ResumeTest.ThreadInfo
227 public ThreadInfo(String threadName) { in ThreadInfo() argument
228 this.threadName = threadName; in ThreadInfo()
306 String threadName = null; in createThreadInfos() local
308 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in createThreadInfos()
315 if (threadInfo.threadName.equals(threadName) ) { in createThreadInfos()
329 + threadInfo.threadName); in createThreadInfos()
359 + " (" + threadInfo.threadName + ")"); in checkThreadStatus()
370 " \"" + threadInfo.threadName + "\""); in checkThreadStatus()
388 " \"" + 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.java67 String threadName; in testSuspend001() local
77 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testSuspend001()
91 + "\"" + threadName + "\" " in testSuspend001()
97 + threadName + "\"" + " is not in suspended state"); in testSuspend001()
DResume002Test.java92 String threadName = debuggeeWrapper.vmMirror.getThreadName(eventThreadID); in waitBreakpointHits() local
93 logWriter.println("Thread \"" + threadName + "\" hit breakpoint"); in waitBreakpointHits()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DNameTest.java58 String threadName; in testName001() local
70 threadName = thrdReply.getNextValueAsString(); in testName001()
72 + threadName); in testName001()
73 if (threadName.length() == 0) { in testName001()
DSuspendTest.java99 String threadName = null; in testSuspend001() local
101 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testSuspend001()
109 if ( threadName.equals(testedThreadsNames[k]) ) { in testSuspend001()
120 + "; threadName = " + threadName); in testSuspend001()
154 … logWriter.println("## FAILURE: Unexpected suspendStatus for thread = " + threadName); in testSuspend001()
166 logWriter.println("## FAILURE: Can NOT resume thread = " + threadName); in testSuspend001()
DSuspendCountTest.java113 String threadName = null; in testSuspendCount001() local
115 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testSuspendCount001()
121 allThreadsNames[i] = threadName; in testSuspendCount001()
124 if ( threadName.equals(testedThreadsNames[k]) ) { in testSuspendCount001()
135 + "; threadName = " + threadName); in testSuspendCount001()
149 … logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
186 … logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
214 … logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
255 logWriter.println("## FAILURE: Unexpected suspendCount for thread = " + threadName); in testSuspendCount001()
DThreadGroupTest.java67 String groupName, threadName; in testThreadGroup001() local
85 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testThreadGroup001()
88 + "; threadName=" + threadName in testThreadGroup001()
92 if (threadName.equals(ThreadGroupDebuggee.TESTED_THREAD)) { in testThreadGroup001()
DForceEarlyReturnDebuggee.java36 public static String threadName; field in ForceEarlyReturnDebuggee
70 threadName = synchronizer.receiveMessage(); in run()
71 DebuggeeThread thrd = new DebuggeeThread(threadName, logWriter, in run()
DThreadGroup002Test.java111 String threadName = null; in testThreadGroup002() local
113 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testThreadGroup002()
121 if ( threadName.equals(testedThreadsNames[k]) ) { in testThreadGroup002()
DResumeTest.java101 String threadName = null; in testResume001() local
103 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testResume001()
111 if ( threadName.equals(testedThreadsNames[k]) ) { in testResume001()
/external/webrtc/src/system_wrappers/source/
Dthread.cc22 const char* threadName) in CreateThread() argument
25 return new ThreadWindows(func, obj, prio, threadName); in CreateThread()
27 return ThreadPosix::Create(func, obj, prio, threadName); in CreateThread()
Dthread_posix.cc78 ThreadPriority prio, const char* threadName) in Create() argument
80 ThreadPosix* ptr = new ThreadPosix(func, obj, prio, threadName); in Create()
95 ThreadPriority prio, const char* threadName) in ThreadPosix() argument
111 if (threadName != NULL) in ThreadPosix()
114 strncpy(_name, threadName, kThreadMaxNameLength); in ThreadPosix()
Dthread_win.cc23 ThreadPriority prio, const char* threadName) in ThreadWindows() argument
39 if (threadName != NULL) in ThreadWindows()
43 strncpy(_name, threadName, kThreadMaxNameLength); in ThreadWindows()
Dthread_posix.h26 ThreadPriority prio, const char* threadName);
29 const char* threadName);
Devent_posix.cc227 const char* threadName = "WebRtc_event_timer_thread"; in StartTimer() local
229 threadName); in StartTimer()
Dthread_win.h26 const char* threadName);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DThreadOnlyModifierDebuggee.java109 String threadName = t.getName(); in runThread() local
110 logWriter.println("Thread " + threadName + " starts"); in runThread()
113 logWriter.println("Wait for end of thread " + threadName); in runThread()
118 logWriter.println("Thread " + threadName + " ends"); in runThread()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
DChildrenTest.java100 String threadName = debuggeeWrapper.vmMirror.getThreadName(childThreadID); in testChildren001() local
102 ("==> thread: threadID = " + childThreadID + "; threadName = " + threadName); in testChildren001()
109 if (!threadName.equals(NameDebuggee.TESTED_THREAD)) { in testChildren001()
112 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.java90 String threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testThreadEndEvent001() local
91 logWriter.println("=> threadName = " + threadName); in testThreadEndEvent001()
92 assertEquals("Invalid thread name", EventDebuggee.testedThreadName, threadName); in testThreadEndEvent001()
DThreadStartTest.java96 String threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); in testThreadStartEvent001() local
97 logWriter.println("=> threadName = " + threadName); in testThreadStartEvent001()
100 receivedExpectedThreadStartEvent = threadName.equals(EventDebuggee.testedThreadName); in testThreadStartEvent001()
/external/guava/guava/src/com/google/common/util/concurrent/
DCallables.java106 private static boolean trySetName(final String threadName, Thread currentThread) {
111 currentThread.setName(threadName);
/external/vogar/src/vogar/tasks/
DTaskQueue.java140 String threadName = Thread.currentThread().getName(); in runOneTask() local
146 Thread.currentThread().setName(threadName); in runOneTask()
/external/webrtc/src/system_wrappers/interface/
Dthread_wrapper.h59 const char* threadName = 0);

12