Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Gallery3D/src/com/cooliris/media/
DBitmapManager.java177 Thread thread = Thread.currentThread(); in decodeFileDescriptor() local
178 if (!canThreadDecoding(thread)) { in decodeFileDescriptor()
179 Log.d(TAG, "Thread " + thread + " is not allowed to decode."); in decodeFileDescriptor()
183 setDecodingOptions(thread, options); in decodeFileDescriptor()
186 removeDecodingOptions(thread); in decodeFileDescriptor()
DRenderView.java141 TextureLoadThread thread = new TextureLoadThread(); in RenderView() local
143 sCachedTextureLoadThread = thread; in RenderView()
146 sVideoTextureLoadThread = thread; in RenderView()
148 sTextureLoadThreads[i] = thread; in RenderView()
149 thread.start(); in RenderView()
/packages/apps/Gallery/src/com/android/camera/
DBitmapManager.java183 Thread thread = Thread.currentThread(); in decodeFileDescriptor() local
184 if (!canThreadDecoding(thread)) { in decodeFileDescriptor()
185 Log.d(TAG, "Thread " + thread + " is not allowed to decode."); in decodeFileDescriptor()
189 setDecodingOptions(thread, options); in decodeFileDescriptor()
192 removeDecodingOptions(thread); in decodeFileDescriptor()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DThreadingTest.java29 public void startThread(Thread thread) { in startThread() argument
30 thread.start(); in startThread()
DFakeSystemFacade.java85 public void startThread(Thread thread) { in startThread() argument
86 mStartedThreads.add(thread); in startThread()
/packages/apps/Calendar/src/com/android/calendar/
DContactsAsyncHelper.java124 HandlerThread thread = new HandlerThread("ContactsAsyncWorker"); in ContactsAsyncHelper() local
125 thread.start(); in ContactsAsyncHelper()
126 sThreadHandler = new WorkerHandler(thread.getLooper()); in ContactsAsyncHelper()
DAlertService.java374 HandlerThread thread = new HandlerThread("AlertService", in onCreate() local
376 thread.start(); in onCreate()
378 mServiceLooper = thread.getLooper(); in onCreate()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java114 public void startThread(Thread thread) { in startThread() argument
115 thread.start(); in startThread()
DSystemFacade.java67 public void startThread(Thread thread); in startThread() argument
/packages/apps/Email/src/com/android/email/service/
DEmailServiceProxy.java106 Thread thread = new Thread(mRunnable); in runTask() local
107 thread.start(); in runTask()
109 thread.join(); in runTask()
/packages/apps/Tag/src/com/android/apps/tag/
DTagService.java147 Thread thread = new Thread() { in saveMyMessage() local
176 thread.setPriority(Thread.MIN_PRIORITY); in saveMyMessage()
177 thread.start(); in saveMyMessage()
/packages/apps/Phone/src/com/android/phone/
DSimContacts.java292 ImportAllSimContactsThread thread = new ImportAllSimContactsThread(); in onOptionsItemSelected() local
299 getString(R.string.cancel), thread); in onOptionsItemSelected()
306 thread.start(); in onOptionsItemSelected()
/packages/apps/Mms/src/com/android/mms/transaction/
DSmsReceiverService.java115 HandlerThread thread = new HandlerThread(TAG, Process.THREAD_PRIORITY_BACKGROUND); in onCreate() local
116 thread.start(); in onCreate()
118 mServiceLooper = thread.getLooper(); in onCreate()
DTransactionService.java162 HandlerThread thread = new HandlerThread("TransactionService"); in onCreate() local
163 thread.start(); in onCreate()
165 mServiceLooper = thread.getLooper(); in onCreate()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java158 HandlerThread thread = new HandlerThread("ApplicationsProviderUpdater", THREAD_PRIORITY); in onCreate() local
159 thread.start(); in onCreate()
160 mHandler = new UpdateHandler(thread.getLooper()); in onCreate()
/packages/apps/Nfc/jni/
Dcom_android_nfc.h121 pthread_t thread; member
Dcom_android_nfc_NativeNfcManager.cpp390 if(pthread_create(&(nat->thread), NULL, nfc_jni_client_thread, nat) != 0) in nfc_jni_configure_driver()
/packages/apps/Email/src/com/android/exchange/
DSyncManager.java1218 Thread thread = svc.mThread; in reloadFolderList() local
1219 thread.setName(thread.getName() + " (Stopped)"); in reloadFolderList()
1220 thread.interrupt(); in reloadFolderList()
1615 Thread thread = new Thread(service, mailboxName + "(" + accountName + ")"); in startServiceThread() local
1617 thread.start(); in startServiceThread()
2169 Thread thread = service.mThread; in checkMailboxes() local
2171 if (thread != null && !thread.isAlive()) { in checkMailboxes()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockService.java133 HandlerThread thread = new HandlerThread("DockService"); in onCreate() local
134 thread.start(); in onCreate()
136 mServiceLooper = thread.getLooper(); in onCreate()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java437 Thread thread = new TimezoneCheckerThread(); in updateTimezoneDependentFields() local
438 thread.start(); in updateTimezoneDependentFields()