/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 71 public void uncaughtException(Thread thread, Throwable ex) {
|
/frameworks/support/volley/src/com/android/volley/ |
H A D | VolleyLog.java | 56 * calling thread ID and method name. 81 * A simple event log with records containing a name, thread ID, and timestamp. 91 public final long thread; field in class:VolleyLog.MarkerLog.Marker 94 public Marker(String name, long thread, long time) { argument 96 this.thread = thread; 130 d("(+%-4d) [%2d] %s", (thisTime - prevTime), marker.thread, marker.name);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatService.java | 583 HandlerThread thread = new HandlerThread("Cat Telephony service"); 584 thread.start();
|
H A D | IconLoader.java | 83 HandlerThread thread = new HandlerThread("Cat Icon Loader"); 84 thread.start(); 85 return new IconLoader(thread.getLooper(), fh);
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | PduCache.java | 104 HashSet<Uri> thread = mThreads.get(threadId); 105 if (thread == null) { 106 thread = new HashSet<Uri>(); 107 mThreads.put(threadId, thread); 114 thread.add(finalKey); 232 HashSet<Uri> thread = mThreads.get(entry.getThreadId()); 233 if (thread != null) { 234 thread.remove(key); 240 Log.v(TAG, "Purge cache in thread: " + threadId); 243 HashSet<Uri> thread [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 507 MyThread* thread = new MyThread(mST); local 508 sp<Thread> threadBase(thread); 512 thread->run(); 517 thread->bufferDequeued(); 518 thread->requestExitAndWait();
|
/frameworks/native/libs/utils/ |
H A D | Threads.cpp | 64 * Create and run a new thread. 171 pthread_t thread; local 172 int result = pthread_create(&thread, &attr, 186 *threadId = (android_thread_id_t)thread; // XXX: this is not portable 192 static pthread_t android_thread_id_t_to_pthread(android_thread_id_t thread) argument 194 return (pthread_t) thread; 225 ALOG(LOG_VERBOSE, "thread", "thread exiting\n"); 230 * Create and run a new thread. 252 ALOG(LOG_WARN, "thread", "WARNIN [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 789 static sp<FrameCompletionThread> thread(new FrameCompletionThread); 792 thread->run("GPUFrameCompletion"); 796 Mutex::Autolock lock(thread->mMutex); 798 thread->mFramesQueued).string()); 799 thread->mQueue.push_back(sync); 800 thread->mCondition.signal(); 801 thread->mFramesQueued++; 802 ATRACE_INT("GPU Frames Outstanding", thread->mQueue.size()); 1071 // If there is context bound to the thread, release it
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 173 sp<EventThread> thread; member in class:TouchEvents 177 thread = new EventThread(); 178 thread->run("EventThread", PRIORITY_URGENT_DISPLAY); 182 *x = thread->x; 183 *y = thread->y; 184 return thread->down;
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | HandlerThread_Delegate.java | 44 for (HandlerThread thread : list) { 45 thread.quit(); 57 // record the thread so that it can be quit() on clean up.
|
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipService.java | 1166 HandlerThread thread = new HandlerThread("SipService.Executor"); 1167 thread.start(); 1168 return thread.getLooper(); 1171 // Executes immediate tasks in a single thread.
|
/frameworks/base/services/java/com/android/server/ |
H A D | CountryDetectorService.java | 172 Thread thread = new Thread(this, "CountryDetectorService"); 173 thread.start();
|
H A D | LocationManagerService.java | 195 Thread thread = new Thread(null, this, THREAD_NAME); 196 thread.start();
|
H A D | MountService.java | 685 * we need to do our work in a new thread. 1308 // Add OBB Action Handler to MountService thread. 1314 * "asec list" from blocking a thread repeatedly. 1318 Thread thread = new Thread(mConnector, VOLD_TAG); 1319 thread.start();
|
H A D | NativeDaemonConnector.java | 83 HandlerThread thread = new HandlerThread(TAG + ".CallbackHandler"); 84 thread.start(); 85 mCallbackHandler = new Handler(thread.getLooper(), this);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActiveServices.java | 106 * while waiting for their corresponding application thread to get 819 if (r.app == null || r.app.thread == null) { 826 r.app.thread.scheduleBindService(r, i.intent.getIntent(), rebind); 973 if (r.app != null && r.app.thread != null) { 1019 if (app != null && app.thread != null) { 1078 if (app.thread == null) { 1102 app.thread.scheduleCreateService(r, r.serviceInfo, 1164 r.app.thread.scheduleServiceArgs(r, si.taskRemoved, si.id, flags, si.intent); 1222 if (r.bindings.size() > 0 && r.app != null && r.app.thread != null) { 1228 if (r.app != null && r.app.thread ! [all...] |
H A D | ActivityManagerService.java | 814 * Runtime statistics collection thread. This object's lock is used to 853 IApplicationThread thread) { 856 + " for thread " + thread.asBinder()); 859 mAppThread = thread; 865 + " for thread " + mAppThread.asBinder()); 1061 if (r.thread != null) { 1063 r.thread.updateTimeZone(); 1075 if (r.thread != null) { 1077 r.thread 852 AppDeathRecipient(ProcessRecord app, int pid, IApplicationThread thread) argument 2966 getLRURecordIndexForAppLocked(IApplicationThread thread) argument 2978 getRecordForAppLocked( IApplicationThread thread) argument 2988 appDiedLocked(ProcessRecord app, int pid, IApplicationThread thread) argument 4090 attachApplicationLocked(IApplicationThread thread, int pid) argument 4313 attachApplication(IApplicationThread thread) argument 6945 newProcessRecordLocked(IApplicationThread thread, ApplicationInfo info, String customProcess, boolean isolated) argument [all...] |
H A D | ActivityRecord.java | 574 && app != null && app.thread != null) { 581 app.thread.scheduleNewIntent(ar, appToken); 920 if (app != null && app.thread != null) { 922 app.thread.scheduleSleeping(appToken, _sleeping);
|
H A D | ActivityStack.java | 650 if (app.thread == null) { 696 app.thread.scheduleLaunchActivity(new Intent(r.intent), r.appToken, 730 mService.appDiedLocked(app, app.pid, app.thread); 800 if (app != null && app.thread != null) { 956 if (prev.app != null && prev.app.thread != null) { 962 prev.app.thread.schedulePauseActivity(prev.appToken, prev.finishing, 1274 if (r.app == null || r.app.thread == null) { 1315 r.app.thread.scheduleWindowVisibility(r.appToken, true); 1357 && r.app != null && r.app.thread != null) { 1360 r.app.thread [all...] |
H A D | BroadcastQueue.java | 213 if (app.thread == null) { 216 r.receiver = app.thread.asBinder(); 230 app.thread.scheduleReceiver(new Intent(r.intent), r.curReceiver, 369 if (app != null && app.thread != null) { 370 // If we have an app thread, do the call through that so it is 372 app.thread.scheduleRegisteredReceiver(receiver, intent, resultCode, 774 if (app != null && app.thread != null) {
|
H A D | CompatModePackages.java | 320 if (app.thread != null) { 323 app.thread.updatePackageCompatibilityInfo(packageName, ci);
|
H A D | ProcessRecord.java | 55 IApplicationThread thread; // the actual proc... may be null only if field in class:ProcessRecord 193 pw.print(prefix); pw.print("thread="); pw.println(thread); 333 thread = _thread; 372 if (deathRecipient != null && thread != null) { 373 thread.asBinder().unlinkToDeath(deathRecipient, 0);
|
H A D | ProviderMap.java | 347 * Invokes IApplicationThread.dumpProvider() on the thread of the specified provider if 348 * there is a thread associated with the provider. 363 if (r.proc != null && r.proc.thread != null) { 369 r.proc.thread.dumpProvider(
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 159 // create a thread for our Handler 160 HandlerThread thread = new HandlerThread("UsbDeviceManager", 162 thread.start(); 163 mHandler = new UsbHandler(thread.getLooper());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
H A D | LocationBasedCountryDetectorTest.java | 211 // Wait for query thread ending 234 // There is no way to stop the thread, let's test it could be stopped, after get country 236 // Wait for query thread ending 313 // Wait for query thread ending 336 // Wait for query thread ending 358 private void waitForThreadEnding(Thread thread) { argument 360 thread.join(5000); 375 Thread thread = detector.getQueryThread(); 376 assertTrue(thread != null); 377 return thread; [all...] |