/dalvik/vm/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.c | 88 * public static StackTraceElement[] getStackTraceById(int threadId) 91 * NULL on failure, e.g. if the threadId couldn't be found. 97 u4 threadId = args[0]; 100 trace = dvmDdmGetStackTraceById(threadId);
|
java_lang_VMThread.c | 171 int threadId = -1; 177 threadId = thread->threadId; 180 dvmDdmSendThreadNameChange(threadId, nameStr); 182 //LOGI("UPDATE: threadid=%d now '%s'\n", threadId, str);
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleThread.java | 117 * This is done by threadId, which isn't great since those are 120 * However, we're using the short threadId in THST messages, so we 126 int threadId; 128 threadId = in.getInt(); 130 //Log.d("ddm-thread", "Stack list request " + threadId); 132 StackTraceElement[] trace = DdmVmInternal.getStackTraceById(threadId); 136 return createStackChunk(trace, threadId); 143 * We include the threadId in the response so the other side doesn't have 146 private Chunk createStackChunk(StackTraceElement[] trace, int threadId) { 163 out.putInt(threadId); [all...] |
/dalvik/vm/jdwp/ |
JdwpEvent.h | 40 ObjectId threadId; 71 ObjectId threadId;
|
JdwpEvent.c | 106 ObjectId threadId; /* ThreadOnly */ 194 dvmDbgConfigureStep(pMod->step.threadId, pMod->step.size, 252 dvmDbgUnconfigureStep(pMod->step.threadId); 471 if (pMod->threadOnly.threadId != basket->threadId) 506 if (pMod->step.threadId != basket->threadId) 646 * Call this with a threadId of zero if you just want to wait for the 652 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId) 665 state->eventThreadId, threadId); [all...] |
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
ThreadLocalTest.java | 70 int threadId = itl.get().intValue(); 71 for (int j = 0; j < threadId; j++) { 72 x[threadId]++;
|
/packages/apps/Mms/src/com/android/mms/util/ |
DraftCache.java | 46 void onDraftChanged(long threadId, boolean hasDraft); 98 long threadId = cursor.getLong(COLUMN_DRAFT_THREAD_ID); 99 newDraftSet.add(threadId); 101 log("rebuildCache: add tid=" + threadId); 129 for (long threadId : added) { 130 l.onDraftChanged(threadId, true); 132 for (long threadId : removed) { 133 l.onDraftChanged(threadId, false); 142 public synchronized void setDraftState(long threadId, boolean hasDraft) { 143 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...] |
/packages/apps/Mms/tests/src/com/android/mms/ |
InterceptSendSms.java | 136 final long threadId = intent.getLongExtra(WorkingMessage.EXTRA_SMS_THREAD_ID, 0); 140 assertTrue(threadId > 0);
|
RecyclerTest.java | 161 Long threadId = 0L; 167 if (((threadId == null) || (threadId == 0)) && (address != null)) { 177 threadId = values.getAsLong(Sms.THREAD_ID); 178 Recycler.getSmsRecycler().deleteOldMessagesByThreadId(context, threadId);
|
/dalvik/vm/ |
AllocTracker.c | 55 u2 threadId; /* simple thread ID; could be recycled */ 207 pRec->threadId = self->threadId; 238 (2b) threadId 404 set2BE(&ptr[4], pRec->threadId); 618 pRec->threadId, pRec->size, pRec->clazz->descriptor);
|
Thread.h | 94 u4 threadId; 459 Thread* dvmGetThreadByThreadId(u4 threadId);
|
Sync.c | 266 return owner ? owner->threadId : 0; 278 u4 threadId = lockOwner(obj); 280 if (threadId == 0) 282 return dvmGetThreadByThreadId(threadId); 294 return thread->threadId == lockOwner(obj); 952 assert(LW_LOCK_OWNER(obj->lock) == self->threadId); 977 u4 thin, newThin, threadId; 981 threadId = self->threadId; 990 if (LW_LOCK_OWNER(thin) == threadId) { [all...] |
/frameworks/base/core/java/com/google/android/mms/util/ |
PduCache.java | 102 long threadId = entry.getThreadId(); 103 HashSet<Uri> thread = mThreads.get(threadId); 106 mThreads.put(threadId, thread); 221 private void purgeByThreadId(long threadId) { 223 Log.v(TAG, "Purge cache in thread: " + threadId); 226 HashSet<Uri> thread = mThreads.remove(threadId);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
PushReceiver.java | 84 long threadId = -1; 90 threadId = findThreadId(mContext, pdu, type); 91 if (threadId == -1) { 100 values.put(Mms.THREAD_ID, threadId);
|
RetryScheduler.java | 163 long threadId = -1; 167 threadId = c.getLong(0); 174 if (threadId != -1) { 176 MessagingNotification.notifyDownloadFailed(mContext, threadId);
|
MessagingNotification.java | 305 long threadId = cursor.getLong(COLUMN_THREAD_ID); 310 ", first addr = " + address + ", thread_id=" + threadId); 315 R.drawable.stat_notify_mms, null, threadId, 318 threads.add(threadId); 372 long threadId = cursor.getLong(COLUMN_THREAD_ID); 378 ", first addr=" + address + ", thread_id=" + threadId); 383 null, threadId, timeMillis, cursor.getCount()); 385 threads.add(threadId); 402 long threadId, 405 Intent clickIntent = ComposeMessageActivity.createIntent(context, threadId); [all...] |
SmsReceiverService.java | 216 int threadId = c.getInt(SEND_COLUMN_THREAD_ID); 223 address, msgText, threadId, status == Sms.STATUS_PENDING, 229 ", threadId: " + threadId); 451 Long threadId = values.getAsLong(Sms.THREAD_ID); 463 if (((threadId == null) || (threadId == 0)) && (address != null)) { 464 threadId = Threads.getOrCreateThreadId(context, address); 465 values.put(Sms.THREAD_ID, threadId); 473 Recycler.getSmsRecycler().deleteOldMessagesByThreadId(getApplicationContext(), threadId); [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/ddms/libs/ddmlib/src/com/android/ddmlib/ |
HandleThread.java | 100 int threadId, nameLen; 103 threadId = data.getInt(); 107 Log.v("ddm-thread", "THCR: " + threadId + " '" + name + "'"); 109 client.getClientData().addThread(threadId, name); 117 int threadId; 119 threadId = data.getInt(); 120 Log.v("ddm-thread", "THDE: " + threadId); 122 client.getClientData().removeThread(threadId); 134 * (4b) threadId (matches value from THCR) 161 int threadId, status, tid, utime, stime [all...] |
HandleHeap.java | 460 * (2b) threadId 518 int threadId, classNameIndex, stackDepth; 521 threadId = (data.getShort() & 0xffff); 557 totalSize, (short) threadId, steArray));
|
/frameworks/base/core/jni/ |
AndroidRuntime.cpp | [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
SamplingProfiler.java | 324 mutableTrace.threadId = threadIds.get(thread); 359 int threadId = nextThreadId++; 360 threadIds.put(thread, threadId); 361 ThreadEvent event = ThreadEvent.start(nextObjectId++,threadId, thread); 371 int threadId = threadIds.remove(thread); 372 ThreadEvent event = ThreadEvent.stop(threadId); 389 private final int threadId; 393 private static ThreadEvent start(int objectId, int threadId, Thread thread) { 394 return new ThreadEvent(ThreadEventType.START, objectId, threadId, thread); 397 private static ThreadEvent stop(int threadId) { [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsProvider.java | 350 Long threadId = values.getAsLong(Mms.THREAD_ID); 353 if (((threadId == null) || (threadId == 0)) && (address != null)) { [all...] |
/packages/apps/Mms/src/com/android/mms/data/ |
Conversation.java | 92 private Conversation(Context context, long threadId, boolean allowQuery) { 94 if (!loadFromThreadId(threadId, allowQuery)) { 117 public static Conversation get(Context context, long threadId, boolean allowQuery) { 118 Conversation conv = Cache.get(threadId); 122 conv = new Conversation(context, threadId, allowQuery); 145 long threadId = getOrCreateThreadId(context, recipients); 146 conv = new Conversation(context, threadId, allowQuery); 179 long threadId = Long.parseLong(uri.getPathSegments().get(1)); 181 Log.v(TAG, "Conversation get threadId: " + threadId); [all...] |