/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...] |
/dalvik/vm/ |
Ddm.h | 52 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName); 78 ArrayObject* dvmDdmGetStackTraceById(u4 threadId);
|
Debugger.h | 227 char* dvmDbgGetThreadName(ObjectId threadId); 228 ObjectId dvmDbgGetThreadGroup(ObjectId threadId); 234 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* threadStatus, 236 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId); 237 bool dvmDbgThreadExists(ObjectId threadId); 238 bool dvmDbgIsSuspended(ObjectId threadId); 239 //void dvmDbgWaitForSuspend(ObjectId threadId); 243 int dvmDbgGetThreadFrameCount(ObjectId threadId); 244 bool dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId, 250 void dvmDbgSuspendThread(ObjectId threadId); [all...] |
Thread.c | 306 * We need to assign the threadId early so we can lock/notify 576 LOGI("threadid=%d ODD: want thread-suspend lock (%s:%s)," 578 self->threadId, who, getSuspendCauseStr(why)); 588 LOGE("threadid=%d: couldn't get thread-suspend lock (%s:%s)," 590 self->threadId, who, getSuspendCauseStr(why)); 633 int threadId = 0; 639 threadId = self->threadId; 652 LOGW("threadid=%d: non-daemon id=%d still running at shutdown?!\n", 653 threadId, target->threadId) [all...] |
/frameworks/base/core/java/com/google/android/mms/util/ |
PduCacheEntry.java | 27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { 30 mThreadId = threadId;
|
/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...] |
AllocationInfo.java | 32 short threadId, StackTraceElement[] stackTrace) { 35 mThreadId = threadId;
|
ThreadInfo.java | 40 ThreadInfo(int threadId, String threadName) { 41 mThreadId = threadId;
|
ClientData.java | 527 synchronized void addThread(int threadId, String threadName) { 528 ThreadInfo attr = new ThreadInfo(threadId, threadName); 529 mThreadMap.put(threadId, attr); 535 synchronized void removeThread(int threadId) { 536 mThreadMap.remove(threadId); 552 synchronized ThreadInfo getThread(int threadId) { 553 return mThreadMap.get(threadId);
|
/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...] |
/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/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...] |
WorkingMessage.java | 290 long threadId = conv.getThreadId(); 291 if (threadId <= 0) { 303 Uri uri = readDraftMmsMessage(mActivity, threadId, sb); 652 mConversation.setRecipients(recipients); // resets the threadId to zero [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/traceview/src/com/android/traceview/ |
Call.java | 54 Call(int threadId, MethodData methodData, long time, int methodAction) { 55 mThreadId = threadId; 62 public void set(int threadId, MethodData methodData, long time, int methodAction) { 63 mThreadId = threadId;
|
/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);
|
/dalvik/vm/jdwp/ |
JdwpHandler.c | 121 ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId, 134 LOGV(" --> threadId=%llx objectId=%llx\n", threadId, objectId); 167 err = dvmDbgInvokeMethod(threadId, objectId, classId, methodId, 859 ObjectId threadId; 863 threadId = dvmReadObjectId(&buf); 867 threadId, 0, classId, methodId, false); 881 ObjectId threadId; 886 threadId = dvmReadObjectId(&buf); 895 threadId, objectId, classId, methodId, true) [all...] |
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...] |
JdwpEvent.h | 40 ObjectId threadId; 71 ObjectId threadId;
|
/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...] |
/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/transaction/ |
SmsMessageSender.java | 55 public SmsMessageSender(Context context, String[] dests, String msgText, long threadId) { 67 mThreadId = threadId; 121 private String getOutgoingServiceCenter(long threadId) { 127 "thread_id = " + threadId, null, "date DESC");
|
/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);
|