Home
last modified time | relevance | path

Searched refs:currentThread (Results 1 – 25 of 56) sorted by relevance

123

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DSingleThreadNamedTaskExecutor.java73 Thread currentThread = Thread.currentThread(); in loop() local
74 String threadName = currentThread.getName(); in loop()
82 currentThread.setName(threadName + " " + task.getName()); in loop()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java188 Thread t = Thread.currentThread(); in enable()
194 sWatchdog.removeWatchEntry(Thread.currentThread()); in disable()
216 sWatchdog.hold(Thread.currentThread()); in hold()
220 sWatchdog.commit(Thread.currentThread()); in commit()
224 sWatchdog.drop(Thread.currentThread()); in drop()
DGalleryUtils.java138 sCurrentThread = Thread.currentThread(); in setRenderThread()
143 if (Thread.currentThread() == sCurrentThread) { in assertNotInRenderThread()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DFileDataSource.java141 Thread.currentThread().interrupt(); in stopStream()
267 Thread.currentThread().interrupt(); in readAt()
356 Thread.currentThread().interrupt(); in run()
371 Thread.currentThread().interrupt(); in run()
DUsbTunerDataSource.java141 Thread.currentThread().interrupt(); in stopStream()
179 Thread.currentThread().interrupt(); in run()
226 Thread.currentThread().interrupt(); in readAt()
/packages/apps/Dialer/src/com/android/dialer/util/
DAsyncTaskExecutors.java82 Preconditions.checkState(Thread.currentThread() == Looper.getMainLooper().getThread(), in checkCalledFromUiThread()
83 "submit method must be called from ui thread, was: " + Thread.currentThread()); in checkCalledFromUiThread()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java152 && !Thread.currentThread().getName().contains(TEST_THREAD_SUBSTRING)) { in isMainThread()
159 && !Thread.currentThread().getName().contains(TEST_THREAD_SUBSTRING)) { in isNotMainThread()
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java496 Log.d(TAG, "onQueryComplete tid=" + Thread.currentThread().getId()); in onQueryComplete()
515 Log.d(TAG, "onInsertComplete tid=" + Thread.currentThread().getId()); in onInsertComplete()
528 Log.d(TAG, "onUpdateComplete tid=" + Thread.currentThread().getId()); in onUpdateComplete()
541 Log.d(TAG, "onDeleteComplete tid=" + Thread.currentThread().getId()); in onDeleteComplete()
554 Log.d(TAG, "onBatchComplete tid=" + Thread.currentThread().getId()); in onBatchComplete()
572 Log.d(TAG, "waitForCompletion tid=" + Thread.currentThread().getId()); in waitForCompletion()
/packages/apps/Gallery/src/com/android/camera/
DBitmapManager.java140 Thread t = Thread.currentThread(); in getThumbnail()
183 Thread thread = Thread.currentThread(); in decodeFileDescriptor()
/packages/apps/TV/src/com/android/tv/util/
DAsyncDbTask.java111 if (!THREAD_FACTORY.namedWithPrefix(Thread.currentThread())) { in doInBackground()
115 + Thread.currentThread()); in doInBackground()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapContentTest.java482 Log.w(TAG, "testDumpAccounts(): ThreadId: " + Thread.currentThread().getId()); in testDumpAccounts()
531 if (D) Log.w(TAG, "dumpMessage(): ThreadId: " + Thread.currentThread().getId()); in testDumpMessages()
533 if (D) Log.w(TAG, "dumpMessage(): ThreadId: " + Thread.currentThread().getId()); in testDumpMessages()
551 Log.w(TAG, "dumpMessage(): ThreadId: " + Thread.currentThread().getId()); in testDumpMessageContent()
566 Log.w(TAG, "writeMessage(): ThreadId: " + Thread.currentThread().getId()); in testWriteMessageContent()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DMockitoHelper.java38 mContextThread = Thread.currentThread(); in setUp()
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DMockitoHelper.java38 mContextThread = Thread.currentThread(); in setUp()
/packages/services/Telephony/tests/src/com/android/phone/
DMockitoHelper.java39 mContextThread = Thread.currentThread(); in setUp()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java260 Thread.currentThread().interrupt(); in getCertificateChain()
282 Thread.currentThread().interrupt(); in getPrivateKey()
/packages/apps/Camera2/src/com/android/camera/async/
DMainThread.java43 return Looper.getMainLooper().getThread() == Thread.currentThread();
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
DBluetoothMapManager.java101 if (Looper.getMainLooper().getThread() != Thread.currentThread()) { in BluetoothMapManager()
367 if (Looper.getMainLooper().getThread() != Thread.currentThread()) { in checkMainThread()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadUtils.java50 final Thread thread = Thread.currentThread(); in dump()
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java79 Thread.currentThread().interrupt();
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DAudioRecordViewTest.java81 Thread.currentThread().interrupt(); in sleepNoThrow()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DProvisionLogger.java175 StackTraceElement[] trace = Thread.currentThread().getStackTrace(); in getTag()
/packages/apps/Email/provider_src/com/android/email/
DEmailConnectivityManager.java174 mWaitThread = Thread.currentThread(); in waitForConnectivity()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DLevelTrackingMediaRecorder.java210 Thread.currentThread().interrupt(); in startTrackingSoundLevel()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java89 Thread.currentThread().interrupt(); in requestScanBlocking()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DTelecomAdapter.java36 Preconditions.checkState(Looper.getMainLooper().getThread() == Thread.currentThread()); in getInstance()

123