Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java42 Thread thread; field in Profile.WatchEntry
77 public synchronized void addWatchEntry(Thread thread, int cycleTime) { in addWatchEntry() argument
79 e.thread = thread; in addWatchEntry()
87 public synchronized void removeWatchEntry(Thread thread) { in removeWatchEntry() argument
89 if (mList.get(i).thread == thread) { in removeWatchEntry()
112 Thread thread = entry.thread; in processList() local
126 Thread thread = entry.thread; in sampleStack() local
127 StackTraceElement[] stack = thread.getStackTrace(); in sampleStack()
139 private WatchEntry findEntry(Thread thread) { in findEntry() argument
142 if (entry.thread == thread) return entry; in findEntry()
/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/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java1387 Thread thread = svc.mThread; in reloadFolderList() local
1388 if (thread != null) { in reloadFolderList()
1389 thread.setName(thread.getName() + " (Stopped)"); in reloadFolderList()
1390 thread.interrupt(); in reloadFolderList()
1651 Thread thread = new Thread(service, mailboxName + "[" + accountName + "]"); in startServiceThread() local
1653 thread.start(); in startServiceThread()
2357 Thread thread = service.mThread; in checkMailboxes() local
2359 if (thread != null && !thread.isAlive()) { in checkMailboxes()
/packages/apps/Mms/src/com/android/mms/data/
DConversation.java1094 Thread thread = new Thread(new Runnable() { in init() local
1100 thread.setPriority(Thread.MIN_PRIORITY); in init()
1101 thread.start(); in init()
1109 Thread thread = new Thread(new Runnable() { in markAllConversationsAsSeen() local
1123 thread.setPriority(Thread.MIN_PRIORITY); in markAllConversationsAsSeen()
1124 thread.start(); in markAllConversationsAsSeen()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DServiceProxy.java135 Thread thread = new Thread(mRunnable); in runTask() local
136 thread.start(); in runTask()
138 thread.join(); in runTask()
/packages/apps/Email/src/com/android/email/
DEmailConnectivityManager.java85 Thread thread= mWaitThread; in stopWait() local
86 if (thread != null) { in stopWait()
87 thread.interrupt(); in stopWait()
/packages/apps/Mms/src/com/android/mms/util/
DDraftCache.java78 Thread thread = new Thread(new Runnable() { in refresh() local
84 thread.setPriority(Thread.MIN_PRIORITY); in refresh()
85 thread.start(); in refresh()
/packages/apps/Calendar/src/com/android/calendar/
DContactsAsyncHelper.java127 HandlerThread thread = new HandlerThread("ContactsAsyncWorker"); in ContactsAsyncHelper() local
128 thread.start(); in ContactsAsyncHelper()
129 sThreadHandler = new WorkerHandler(thread.getLooper()); in ContactsAsyncHelper()
/packages/apps/Browser/src/com/android/browser/util/
DThreadedCursorAdapter.java93 HandlerThread thread = new HandlerThread("threaded_adapter_" + this, in ThreadedCursorAdapter() local
95 thread.start(); in ThreadedCursorAdapter()
96 mLoadHandler = new Handler(thread.getLooper()) { in ThreadedCursorAdapter()
/packages/apps/Phone/src/com/android/phone/
DContactsAsyncHelper.java305 HandlerThread thread = new HandlerThread("ContactsAsyncWorker"); in ContactsAsyncHelper() local
306 thread.start(); in ContactsAsyncHelper()
307 sThreadHandler = new WorkerHandler(thread.getLooper()); in ContactsAsyncHelper()
DSimContacts.java287 ImportAllSimContactsThread thread = new ImportAllSimContactsThread(); in onOptionsItemSelected() local
299 getString(R.string.cancel), thread); in onOptionsItemSelected()
304 thread.start(); in onOptionsItemSelected()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java51 final HandlerThread thread = new HandlerThread(TAG);
52 thread.start(); in thread.start()
53 sAsyncHandler = new Handler(thread.getLooper());
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DAvrcp.java111 HandlerThread thread = new HandlerThread("BluetoothAvrcpHandler"); in start() local
112 thread.start(); in start()
113 Looper looper = thread.getLooper(); in start()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadUtils.java50 final Thread thread = Thread.currentThread(); in dump() local
54 thread.interrupt(); in dump()
/packages/apps/Mms/src/com/android/mms/transaction/
DSmsReceiverService.java119 HandlerThread thread = new HandlerThread(TAG, Process.THREAD_PRIORITY_BACKGROUND); in onCreate() local
120 thread.start(); in onCreate()
122 mServiceLooper = thread.getLooper(); in onCreate()
DTransactionService.java173 HandlerThread thread = new HandlerThread("TransactionService"); in onCreate() local
174 thread.start(); in onCreate()
176 mServiceLooper = thread.getLooper(); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DTestLoaderManager.java174 for (Thread thread : waitThreads) { in waitForLoaders()
176 thread.join(); in waitForLoaders()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java178 HandlerThread thread = new HandlerThread("ApplicationsProviderUpdater", THREAD_PRIORITY); in onCreate() local
179 thread.start(); in onCreate()
180 mHandler = createHandler(thread.getLooper()); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSettingsLicenseActivity.java170 Thread thread = new Thread(new LicenseFileLoader(fileName, mHandler)); in onCreate() local
171 thread.start(); in onCreate()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockService.java143 HandlerThread thread = new HandlerThread("DockService"); in onCreate() local
144 thread.start(); in onCreate()
146 mServiceLooper = thread.getLooper(); in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java93 HandlerThread thread = new HandlerThread("BluetoothHdpHandler"); in start() local
94 thread.start(); in start()
95 Looper looper = thread.getLooper(); in start()
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java482 HandlerThread thread = new HandlerThread("TestAsyncQueryService"); in TestAsyncQueryService() local
483 thread.start(); in TestAsyncQueryService()
484 super.setTestHandler(new Handler(thread.getLooper()) { in TestAsyncQueryService()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java1092 HandlerThread thread = new HandlerThread("AlertService", in onCreate() local
1094 thread.start(); in onCreate()
1096 mServiceLooper = thread.getLooper(); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DCachingPipeline.java361 String thread = Thread.currentThread().getName(); in compute() local
396 … + ") took " + time + " ms, " + time2 + " ms for the filter, on thread " + thread); in compute()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java881 private void runBackgroundThread(Thread thread) { in runBackgroundThread() argument
883 thread.start(); in runBackgroundThread()

12