Searched refs:threadId (Results 1 - 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DPduCacheEntry.java27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { argument
30 mThreadId = threadId;
H A DPduCache.java103 long threadId = entry.getThreadId();
104 HashSet<Uri> thread = mThreads.get(threadId);
107 mThreads.put(threadId, thread);
238 private void purgeByThreadId(long threadId) { argument
240 Log.v(TAG, "Purge cache in thread: " + threadId);
243 HashSet<Uri> thread = mThreads.remove(threadId);
/frameworks/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl40 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId,
45 long threadId);
49 IAccessibilityInteractionConnectionCallback callback, long threadId);
52 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
55 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
59 IAccessibilityInteractionConnectionCallback callback, long threadId);
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DAccessibilityServiceConnectionImpl.java36 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId,
43 IAccessibilityInteractionConnectionCallback callback, long threadId) {
49 IAccessibilityInteractionConnectionCallback callback, long threadId) {
55 long threadId) {
61 long threadId) {
67 IAccessibilityInteractionConnectionCallback callback, long threadId) {
34 findAccessibilityNodeInfoByAccessibilityId(int accessibilityWindowId, long accessibilityNodeId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, long threadId, Bundle arguments) argument
41 findAccessibilityNodeInfosByText(int accessibilityWindowId, long accessibilityNodeId, String text, int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId) argument
47 findAccessibilityNodeInfosByViewId(int accessibilityWindowId, long accessibilityNodeId, String viewId, int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId) argument
53 findFocus(int accessibilityWindowId, long accessibilityNodeId, int focusType, int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId) argument
59 focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId) argument
65 performAccessibilityAction(int accessibilityWindowId, long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId) argument
H A DAccessibilityInteractionClientTest.java81 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId,
79 findAccessibilityNodeInfoByAccessibilityId(int accessibilityWindowId, long accessibilityNodeId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, long threadId, Bundle arguments) argument
/frameworks/base/tools/preload/
H A DProc.java86 * @param threadId thread the operation started in
90 void startOperation(int threadId, LoadedClass loadedClass, long time, argument
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, argument
118 LinkedList<Operation> stack = stacks.get(threadId);
/frameworks/base/telecomm/java/android/telecom/Logging/
H A DSessionManager.java140 int threadId = getCallingThreadId();
141 Session activeSession = mSessionMapper.get(threadId);
154 mSessionMapper.put(threadId, newSession);
169 int threadId = getCallingThreadId();
170 Session threadSession = mSessionMapper.get(threadId);
190 mSessionMapper.put(threadId, externalSession);
206 int threadId = getCallingThreadId();
207 Session threadSession = mSessionMapper.get(threadId);
236 int threadId = getCallingThreadId();
237 Session threadSession = mSessionMapper.get(threadId);
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleThread.java116 * 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) { argument
162 out.putInt(threadId);
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DFuseAppLoop.java356 byte[] startUsing(long threadId) { argument
357 BytesMapEntry entry = mEntries.get(threadId);
360 mEntries.put(threadId, entry);
366 void stopUsing(long threadId) { argument
367 final BytesMapEntry entry = mEntries.get(threadId);
371 mEntries.remove(threadId);
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsStorageTests.java122 final int threadId = i;
132 mStorage.writeKeyValue("key", "1 from thread " + threadId, 0);
134 mStorage.writeKeyValue("key", "2 from thread " + threadId, 0);
136 mStorage.writeKeyValue("key", "3 from thread " + threadId, 0);
138 mStorage.writeKeyValue("key", "4 from thread " + threadId, 0);
140 mStorage.writeKeyValue("key", "5 from thread " + threadId, 0);
166 final int threadId = i;
175 if (threadId == 50) {
/frameworks/base/core/jni/include/android_runtime/
H A DAndroidRuntime.h153 android_thread_id_t* threadId);
/frameworks/base/telephony/java/android/provider/
H A DTelephony.java383 * @param threadId the thread_id of the message
389 Long date, boolean read, boolean deliveryReport, long threadId) {
392 date, read, deliveryReport, threadId);
406 * @param threadId the thread_id of the message
413 Long date, boolean read, boolean deliveryReport, long threadId) {
428 if (threadId != -1L) {
429 values.put(THREAD_ID, threadId);
698 boolean deliveryReport, long threadId) {
701 true, deliveryReport, threadId);
719 boolean deliveryReport, long threadId) {
387 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
411 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
696 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
717 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java116 final long threadId = Thread.currentThread().getId();
117 return getInstanceForThread(threadId);
126 * @return The client for a given <code>threadId</code>.
128 public static AccessibilityInteractionClient getInstanceForThread(long threadId) { argument
130 AccessibilityInteractionClient client = sClients.get(threadId);
133 sClients.put(threadId, client);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java446 final long threadId = getDeliveryOrReadReportThreadId(mContext, pdu);
447 if (threadId == -1) {
465 values.put(Telephony.Mms.THREAD_ID, threadId);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduPersister.java531 long threadId = -1;
565 threadId = c.getLong(PDU_COLUMN_THREAD_ID);
673 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId);
1083 long threadId = Threads.getOrCreateThreadId(mContext, recipients);
1084 values.put(Mms.THREAD_ID, threadId);
1367 long threadId = 0;
1371 threadId = Threads.getOrCreateThreadId(mContext, recipients);
1373 values.put(Mms.THREAD_ID, threadId);
/frameworks/av/media/libaudiohal/2.0/
H A DStreamHalHidl.h107 bool requestHalThreadPriority(pid_t threadPid, pid_t threadId);
H A DStreamHalHidl.cpp218 bool StreamHalHidl::requestHalThreadPriority(pid_t threadPid, pid_t threadId) { argument
223 threadPid, threadId,
226 mHalThreadPriority, threadPid, threadId, err);
/frameworks/av/media/libaudiohal/4.0/
H A DStreamHalHidl.h108 bool requestHalThreadPriority(pid_t threadPid, pid_t threadId);
H A DStreamHalHidl.cpp229 bool StreamHalHidl::requestHalThreadPriority(pid_t threadPid, pid_t threadId) { argument
234 threadPid, threadId,
237 mHalThreadPriority, threadPid, threadId, err);
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp1277 android_thread_id_t* threadId)
1289 threadName, threadPriority, threadStackSize, threadId);
1301 android_thread_id_t threadId = 0; local
1303 ANDROID_PRIORITY_DEFAULT, 0, &threadId);
1304 return threadId;
1271 javaCreateThreadEtc( android_thread_func_t entryFunction, void* userData, const char* threadName, int32_t threadPriority, size_t threadStackSize, android_thread_id_t* threadId) argument

Completed in 1320 milliseconds