HomeSort by relevance Sort by last modified time
    Searched refs:threadId (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /libcore/dalvik/src/main/java/dalvik/system/profiler/
HprofData.java 54 public final int threadId;
59 public static ThreadEvent start(int objectId, int threadId, String threadName,
61 return new ThreadEvent(ThreadEventType.START, objectId, threadId,
65 public static ThreadEvent end(int threadId) {
66 return new ThreadEvent(ThreadEventType.END, threadId);
69 private ThreadEvent(ThreadEventType type, int objectId, int threadId,
76 this.threadId = threadId;
82 private ThreadEvent(ThreadEventType type, int threadId) {
85 this.threadId = threadId
    [all...]
SamplingProfiler.java 395 Integer threadId = threadIds.get(thread);
396 if (threadId == null) {
399 mutableStackTrace.threadId = threadId;
408 = new HprofData.StackTrace(nextStackTraceId++, threadId, stackFramesCopy);
456 int threadId = nextThreadId++;
457 Integer old = threadIds.put(thread, threadId);
470 = HprofData.ThreadEvent.start(nextObjectId++, threadId,
482 Integer threadId = threadIds.remove(thread);
483 if (threadId == null)
    [all...]
  /frameworks/base/core/java/android/accessibilityservice/
IAccessibilityServiceConnection.aidl 36 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId);
40 long threadId);
44 IAccessibilityInteractionConnectionCallback callback, long threadId);
47 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
50 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
54 IAccessibilityInteractionConnectionCallback callback, long threadId);
  /dalvik/vm/
Ddm.h 52 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName);
78 ArrayObject* dvmDdmGetStackTraceById(u4 threadId);
Debugger.h 226 char* dvmDbgGetThreadName(ObjectId threadId);
227 ObjectId dvmDbgGetThreadGroup(ObjectId threadId);
233 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* threadStatus,
235 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId);
236 bool dvmDbgThreadExists(ObjectId threadId);
237 bool dvmDbgIsSuspended(ObjectId threadId);
238 //void dvmDbgWaitForSuspend(ObjectId threadId);
242 int dvmDbgGetThreadFrameCount(ObjectId threadId);
243 bool dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId,
249 void dvmDbgSuspendThread(ObjectId threadId);
    [all...]
Thread.cpp 293 * We need to assign the threadId early so we can lock/notify
479 ALOGI("threadid=%d ODD: want thread-suspend lock (%s:%s),"
481 self->threadId, who, getSuspendCauseStr(why));
491 ALOGE("threadid=%d: couldn't get thread-suspend lock (%s:%s),"
493 self->threadId, who, getSuspendCauseStr(why));
536 int threadId = 0;
542 threadId = self->threadId;
555 ALOGW("threadid=%d: non-daemon id=%d still running at shutdown?!",
556 threadId, target->threadId)
    [all...]
  /frameworks/opt/mms/src/java/com/google/android/mms/util/
PduCacheEntry.java 27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) {
30 mThreadId = threadId;
  /system/core/include/utils/
AndroidThreads.h 45 android_thread_id_t *threadId);
57 android_thread_id_t *threadId);
69 android_thread_id_t *threadId);
112 thread_id_t *threadId = 0)
115 threadPriority, threadStackSize, threadId) ? true : false;
  /packages/apps/Mms/src/com/android/mms/util/
DraftCache.java 52 void onDraftChanged(long threadId, boolean hasDraft);
107 long threadId = cursor.getLong(COLUMN_DRAFT_THREAD_ID);
108 newDraftSet.add(threadId);
110 log("rebuildCache: add tid=" + threadId);
147 for (long threadId : added) {
148 l.onDraftChanged(threadId, true);
150 for (long threadId : removed) {
151 l.onDraftChanged(threadId, false);
161 public void setDraftState(long threadId, boolean hasDraft) {
162 if (threadId <= 0)
    [all...]
Recycler.java 84 long threadId = getThreadId(cursor);
85 deleteMessagesForThread(context, threadId, limit);
92 public void deleteOldMessagesByThreadId(Context context, long threadId) {
95 " threadId: " + threadId);
101 deleteMessagesForThread(context, threadId, getMessageLimit(context));
126 abstract protected void deleteMessagesForThread(Context context, long threadId, int keep);
191 protected void deleteMessagesForThread(Context context, long threadId, int keep) {
199 ContentUris.withAppendedId(Sms.Conversations.CONTENT_URI, threadId),
222 ContentUris.withAppendedId(Sms.Conversations.CONTENT_URI, threadId),
    [all...]
  /dalvik/vm/alloc/
Visit.cpp 55 u4 threadId, RootType type, void *arg)
61 (*visitor)(entry, threadId, type, arg);
69 u4 threadId, RootType type, void *arg)
75 (*visitor)(*it, threadId, type, arg);
87 u4 threadId = thread->threadId;
111 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg);
145 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg);
164 u4 threadId;
168 threadId = thread->threadId
    [all...]
Visit.h 49 typedef void RootVisitor(void *addr, u4 threadId, RootType type, void *arg);
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DdmVmInternal.java 66 native public static StackTraceElement[] getStackTraceById(int threadId);
  /packages/apps/Mms/src/com/android/mms/ui/
NoConfirmationSendService.java 80 // Using invalid threadId 0 here. When the message is inserted into the db, the
81 // provider looks up the threadId based on the recipient(s).
82 long threadId = 0;
84 message, threadId);
89 smsMessageSender.sendMessage(threadId);
91 Log.e(TAG, "Failed to send SMS message, threadId=" + threadId, e);
  /packages/apps/Mms/src/com/android/mms/data/
Conversation.java 111 private Conversation(Context context, long threadId, boolean allowQuery) {
113 Log.v(TAG, "Conversation constructor threadId: " + threadId);
116 if (!loadFromThreadId(threadId, allowQuery)) {
142 public static Conversation get(Context context, long threadId, boolean allowQuery) {
144 Log.v(TAG, "Conversation get by threadId: " + threadId);
146 Conversation conv = Cache.get(threadId);
150 conv = new Conversation(context, threadId, allowQuery);
154 LogTag.error("Tried to add duplicate Conversation to Cache (from threadId): " + conv)
    [all...]
  /dalvik/tools/dmtracedump/
CreateTestTrace.c 65 int threadId;
121 unsigned int time = 0, threadId;
148 int threadId = strtoul(cp, &cp, 0);
149 if (maxThreadId < threadId)
150 maxThreadId = threadId;
186 * default values for the time and threadId.
189 threadId = 1;
194 threadId = strtoul(cp, &cp, 0);
199 if (callStack[threadId].frames == NULL) {
202 callStack[threadId].frames = stk
    [all...]
  /sdk/emulator/qtools/
dmtrace.h 28 void addThread(int threadId, const char *name);
29 void updateName(int threadId, const char *name);
48 void writeDataRecord(FILE *fstream, int threadId,
  /frameworks/base/tools/preload/
Proc.java 86 * @param threadId thread the operation started in
90 void startOperation(int threadId, LoadedClass loadedClass, long time,
96 LinkedList<Operation> stack = stacks.get(threadId);
99 stacks.put(threadId, stack);
112 * @param threadId thread the operation ended in
116 Operation endOperation(int threadId, String className,
118 LinkedList<Operation> stack = stacks.get(threadId);
  /art/runtime/jdwp/
jdwp_event.cc 110 ModBasket() : pLoc(NULL), threadId(0), classId(0), excepClassId(0),
115 ObjectId threadId; /* ThreadOnly */
163 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth);
222 Dbg::UnconfigureStep(pMod->step.threadId);
392 if (pMod->threadOnly.threadId != basket->threadId) {
430 if (pMod->step.threadId != basket->threadId) {
548 ObjectId threadId) {
556 SetWaitForEventThread(threadId);
    [all...]
jdwp_event.h 45 ObjectId threadId;
76 ObjectId threadId;
  /dalvik/vm/jdwp/
JdwpEvent.cpp 106 ObjectId threadId; /* ThreadOnly */
208 dvmDbgConfigureStep(pMod->step.threadId, size, depth);
266 dvmDbgUnconfigureStep(pMod->step.threadId);
475 if (pMod->threadOnly.threadId != basket->threadId)
511 if (pMod->step.threadId != basket->threadId)
648 * Call this with a threadId of zero if you just want to wait for the
654 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId)
667 state->eventThreadId, threadId);
    [all...]
JdwpHandler.cpp 104 ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId,
111 ALOGV(" --> threadId=%llx objectId=%llx", threadId, objectId);
140 JdwpError err = dvmDbgInvokeMethod(threadId, objectId, classId, methodId,
756 ObjectId threadId = dvmReadObjectId(&buf);
760 threadId, 0, classId, methodId, false);
774 ObjectId threadId = dvmReadObjectId(&buf);
783 threadId, objectId, classId, methodId, true);
852 * This can get called on different things, e.g. threadId gets
934 ObjectId threadId = dvmReadObjectId(&buf)
    [all...]
JdwpEvent.h 40 ObjectId threadId;
71 ObjectId threadId;
  /frameworks/base/core/java/android/ddm/
DdmHandleThread.java 116 * This is done by threadId, which isn't great since those are
119 * However, we're using the short threadId in THST messages, so we
125 int threadId;
127 threadId = in.getInt();
129 //Log.d("ddm-thread", "Stack list request " + threadId);
131 StackTraceElement[] trace = DdmVmInternal.getStackTraceById(threadId);
135 return createStackChunk(trace, threadId);
142 * We include the threadId in the response so the other side doesn't have
145 private Chunk createStackChunk(StackTraceElement[] trace, int threadId) {
162 out.putInt(threadId);
    [all...]
  /libcore/dalvik/src/test/java/dalvik/system/profiler/
SamplingProfilerTest.java 125 final int threadId = 1;
127 ThreadEvent start1 = ThreadEvent.start(objectId, threadId,
134 ThreadEvent end2 = ThreadEvent.end(threadId+1);
140 ThreadEvent end1 = ThreadEvent.end(threadId);
147 hprofData.addThreadEvent(ThreadEvent.end(threadId));
164 final int threadId = 2;
169 StackTrace stackTrace = new StackTrace(stackTraceId, threadId, stackFrames);
177 ThreadEvent start = ThreadEvent.start(objectId, threadId,
231 assertTrue(threadsActive.add(event.threadId));
232 assertTrue(threadsSeen.add(event.threadId));
    [all...]

Completed in 1893 milliseconds

1 2 3 4 5