/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | ThreadingTest.java | 29 public void startThread(Thread thread) { argument 30 thread.start();
|
H A D | FakeSystemFacade.java | 85 public void startThread(Thread thread) { argument 86 mStartedThreads.add(thread);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | SystemFacade.java | 65 * Start a thread. 67 public void startThread(Thread thread); argument
|
H A D | RealSystemFacade.java | 114 public void startThread(Thread thread) { argument 115 thread.start();
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | BitmapManager.java | 33 * decoding if another thread wants to cancel it, it calls the function 55 s = "thread state = " + s + ", options = " + mOptions; 69 * Get thread status and create one if specified. 95 * The following three methods are used to keep track of which thread 183 Thread thread = Thread.currentThread(); 184 if (!canThreadDecoding(thread)) { 185 Log.d(TAG, "Thread " + thread + " is not allowed to decode."); 189 setDecodingOptions(thread, options); 192 removeDecodingOptions(thread);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | BitmapManager.java | 31 * decoding if another thread wants to cancel it, it calls the function 37 * parameter for cancelThreadDecoding. To put a thread into a ThreadSet, use the 39 * don't need to remove Thread from it if some thread dies. 62 s = "thread state = " + s + ", options = " + mOptions; 91 * Get thread status and create one if specified. 132 * The following three methods are used to keep track of which thread is 177 Thread thread = Thread.currentThread(); 178 if (!canThreadDecoding(thread)) { 179 Log.d(TAG, "Thread " + thread + " is not allowed to decode."); 183 setDecodingOptions(thread, option [all...] |
H A D | RenderView.java | 141 TextureLoadThread thread = new TextureLoadThread(); 143 sCachedTextureLoadThread = thread; 146 sVideoTextureLoadThread = thread; 148 sTextureLoadThreads[i] = thread; 149 thread.start(); 844 // Increase the priority of the render thread. 929 // Wait for the render thread to process this event. 949 * // Wait for the render thread to process this event. try { 954 * thread if interrupted. } 967 // Wait for the render thread t [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | ContactsAsyncHelper.java | 124 HandlerThread thread = new HandlerThread("ContactsAsyncWorker"); 125 thread.start(); 126 sThreadHandler = new WorkerHandler(thread.getLooper()); 174 // notify the thread to begin working
|
H A D | AlertService.java | 374 HandlerThread thread = new HandlerThread("AlertService", 376 thread.start(); 378 mServiceLooper = thread.getLooper();
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | EmailServiceProxy.java | 41 * thread) with a default timeout of 30 seconds (settable) 86 // Run our task on a new thread 106 Thread thread = new Thread(mRunnable); 107 thread.start(); 109 thread.join();
|
/packages/apps/Tag/src/com/android/apps/tag/ |
H A D | TagService.java | 147 Thread thread = new Thread() { 176 thread.setPriority(Thread.MIN_PRIORITY); 177 thread.start();
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | SimContacts.java | 292 ImportAllSimContactsThread thread = new ImportAllSimContactsThread(); 299 getString(R.string.cancel), thread); 306 thread.start();
|
/packages/apps/Nfc/jni/ |
H A D | com_android_nfc.h | 121 pthread_t thread; member in struct:nfc_jni_native_data
|
H A D | com_android_nfc_NativeNfcManager.cpp | 160 * Deferred callback called when client thread must be exited 176 LOGD("Terminating client thread..."); 392 if(pthread_create(&(nat->thread), NULL, nfc_jni_client_thread,
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | SmsReceiverService.java | 64 * This service essentially plays the role of a "worker thread", allowing us to store 66 * main thread that SmsReceiver runs on. 112 // Start up the thread running the service. Note that we create a 113 // separate thread because the service normally runs in the process's 114 // main thread, which we don't want to block. 115 HandlerThread thread = new HandlerThread(TAG, Process.THREAD_PRIORITY_BACKGROUND); 116 thread.start(); 118 mServiceLooper = thread.getLooper(); 325 // Called off of the UI thread so ok to block. 334 // Called off of the UI thread s [all...] |
H A D | TransactionService.java | 159 // Start up the thread running the service. Note that we create a 160 // separate thread because the service normally runs in the process's 161 // main thread, which we don't want to block. 162 HandlerThread thread = new HandlerThread("TransactionService"); 163 thread.start(); 165 mServiceLooper = thread.getLooper(); 417 // We're already in a non-UI thread called from
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
H A D | ApplicationsProvider.java | 157 // Start thread that runs app updates 158 HandlerThread thread = new HandlerThread("ApplicationsProviderUpdater", THREAD_PRIORITY); 159 thread.start(); 160 mHandler = new UpdateHandler(thread.getLooper()); 186 * Posts an update to run on the DB update thread.
|
/packages/apps/Email/src/com/android/exchange/ |
H A D | SyncManager.java | 220 // The singleton SyncManager object, with its thread and stop flag 970 * the account manager. So, in this callback we spin up a worker thread to call the 984 * Launches a worker thread, so it may be called from UI thread. 1217 // Interrupt the thread so that it can stop 1218 Thread thread = svc.mThread; 1219 thread.setName(thread.getName() + " (Stopped)"); 1220 thread.interrupt(); 1374 // Handle alerts in a background thread, a [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | DockService.java | 133 HandlerThread thread = new HandlerThread("DockService"); 134 thread.start(); 136 mServiceLooper = thread.getLooper();
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 212 // A thread that runs in the background and schedules the next 303 // with the AlarmScheduler thread. 307 // Client apps can load more data in a background thread. 417 // We don't ever unregister this because this thread always wants 419 // thread is killed then the whole process will be killed and the 432 * This creates a background thread to check the timezone and update 437 Thread thread = new TimezoneCheckerThread(); 438 thread.start(); 474 * This method runs in a background thread. If the timezone db or timezone has changed 3315 * This method runs the alarm scheduler in a background thread [all...] |