Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 39) 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/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/services/Telecomm/src/com/android/server/telecom/
DAsyncRingtonePlayer.java98 HandlerThread thread = new HandlerThread("ringtone-player"); in getNewHandler() local
99 thread.start(); in getNewHandler()
101 return new Handler(thread.getLooper()) { in getNewHandler()
DContactsAsyncHelper.java86 HandlerThread thread = new HandlerThread("ContactsAsyncWorker");
87 thread.start(); in thread.start()
88 sThreadHandler = new WorkerHandler(thread.getLooper());
/packages/apps/Email/src/com/android/email/
DEmailConnectivityManager.java87 Thread thread= mWaitThread; in stopWait() local
88 if (thread != null) { in stopWait()
89 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/InCallUI/src/com/android/incallui/
DContactsAsyncHelper.java203 HandlerThread thread = new HandlerThread("ContactsAsyncWorker"); in ContactsAsyncHelper() local
204 thread.start(); in ContactsAsyncHelper()
205 sThreadHandler = new WorkerHandler(thread.getLooper()); in ContactsAsyncHelper()
/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/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpControllerService.java71 HandlerThread thread = new HandlerThread("BluetoothAvrcpHandler"); in start() local
72 thread.start(); in start()
73 Looper looper = thread.getLooper(); in start()
DAvrcp.java172 HandlerThread thread = new HandlerThread("BluetoothAvrcpHandler"); in start() local
173 thread.start(); in start()
174 Looper looper = thread.getLooper(); in start()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java51 final HandlerThread thread = new HandlerThread("DownloadReceiver");
52 thread.start(); in thread.start()
53 sAsyncHandler = new Handler(thread.getLooper());
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java75 HandlerThread thread = new HandlerThread("BluetoothMnsObexClient"); in BluetoothMnsObexClient() local
76 thread.start(); in BluetoothMnsObexClient()
79 Looper looper = thread.getLooper(); in BluetoothMnsObexClient()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvertiseManager.java82 HandlerThread thread = new HandlerThread("BluetoothAdvertiseManager"); in start() local
83 thread.start(); in start()
84 mHandler = new ClientHandler(thread.getLooper()); in start()
DScanManager.java95 HandlerThread thread = new HandlerThread("BluetoothScanManager"); in start() local
96 thread.start(); in start()
97 mHandler = new ClientHandler(thread.getLooper()); in start()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java280 ImportAllSimContactsThread thread = new ImportAllSimContactsThread(); in onOptionsItemSelected() local
292 getString(R.string.cancel), thread); in onOptionsItemSelected()
297 thread.start(); in onOptionsItemSelected()
/packages/apps/Dialer/src/com/android/dialer/interactions/
DUndemoteOutgoingCallReceiver.java45 final Thread thread = new Thread() { in onReceive() local
54 thread.start(); in onReceive()
/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.java120 HandlerThread thread = new HandlerThread(TAG, Process.THREAD_PRIORITY_BACKGROUND); in onCreate() local
121 thread.start(); in onCreate()
123 mServiceLooper = thread.getLooper(); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DTestLoaderManager.java175 for (Thread thread : waitThreads) { in waitForLoaders()
177 thread.join(); in waitForLoaders()
/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/services/Mms/src/com/android/mms/service/
DMmsService.java352 final HandlerThread thread = in startRequestQueueIfNeeded() local
354 thread.start(); in startRequestQueueIfNeeded()
355 mRequestQueues[queueIndex] = new RequestQueue(thread.getLooper()); in startRequestQueueIfNeeded()
/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/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()

12