/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | SingleThreadNamedTaskExecutor.kt | 60 val currentThread: Thread = Thread.currentThread() in loop() constant 61 val threadName: String = currentThread.getName() in loop() 69 currentThread.setName(threadName + " " + task.name) in loop()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThreadHelper.java | 33 if (Looper.getMainLooper().getThread() == Thread.currentThread()) { in assertNotOnMainThread() 40 if (Looper.getMainLooper().getThread() != Thread.currentThread()) { in assertOnMainThread() 56 uiThreadExceptionHandler.uncaughtException(Thread.currentThread(), t); in crashMainThread()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | Profile.java | 188 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()
|
/packages/services/Car/service/src/com/android/car/oem/ |
D | CarOemProxyServiceHelper.java | 176 Thread.currentThread().interrupt(); // Restore the interrupted status in doBinderTimedCallWithDefaultValue() 217 Thread.currentThread().interrupt(); // Restore the interrupted status in doBinderTimedCallWithTimeout() 272 Thread.currentThread().interrupt(); // Restore the interrupted status in doBinderCallWithDefaultValueAndDelayedWaitAndCrash() 289 Thread.currentThread().interrupt(); // Restore the interrupted status in doBinderCallWithDefaultValueAndDelayedWaitAndCrash() 396 Thread.currentThread().interrupt(); // Restore the interrupted status in doBinderCallWithTimeoutCrash() 431 Thread.currentThread().interrupt(); // Restore the interrupted status in doBinderOneWayCall()
|
/packages/modules/Wifi/service/tests/mts/src/android/net/wifi/mts/ |
D | StreamReader.java | 89 Thread.currentThread().interrupt(); in runProcessCommand() 95 Thread.currentThread().interrupt(); in runProcessCommand() 111 Thread.currentThread().interrupt(); in runProcessCommand()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/ |
D | ThreadUtils.java | 33 + Thread.currentThread()); in assertMainThread() 42 + " Current thread: " + Thread.currentThread()); in assertNonMainThread()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AbstractExtendedMockitoTestCase.java | 178 + Thread.currentThread() + "; sHighlanderSession=" + sHighlanderSession); in startSession() 226 + " on thread " + Thread.currentThread(), e); in createSessionLocation() 236 + Thread.currentThread() + "; sHighlanderSession=" + sHighlanderSession); in finishSession() 367 Thread currentThread = Thread.currentThread(); in completeAllHandlerThreadTasks() local 369 if (t != currentThread && t instanceof HandlerThread) { in completeAllHandlerThreadTasks() 699 Thread.currentThread().interrupt();
|
D | JavaMockitoHelper.java | 87 Thread.currentThread().interrupt(); in silentAwait() 115 Thread.currentThread().interrupt(); in getResult()
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | AbstractSyncCallback.java | 139 logD("%s called on %s", methodName, Thread.currentThread().getName()); in internalSetCalled() 144 + Thread.currentThread().getName() in internalSetCalled() 167 logD("assertCalled() called on %s", Thread.currentThread().getName()); in internalAssertCalled()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | CarDevicePolicyManager.java | 165 Thread.currentThread().interrupt(); in removeUser() 216 Thread.currentThread().interrupt(); in createUser() 257 Thread.currentThread().interrupt(); in startUserInBackground() 298 Thread.currentThread().interrupt(); in stopUser()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/ |
D | ProcessLifeguardTestSuite.java | 111 + Thread.currentThread()); in doIt() 127 + Thread.currentThread()); in doIt() 174 Log.i(TAG, "Sleeping " + napTimeMs + "ms on thread " + Thread.currentThread()); in sleep()
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | ConcurrencyHelperTest.java | 54 executionInfo.thread = Thread.currentThread(); in testRunASync() 84 Thread t = mHelper.startNewThread(() -> holder.offer(Thread.currentThread())); in testStartNewThread()
|
D | SyncCallbackTestCase.java | 24 import static java.lang.Thread.currentThread; 255 log.d("assertCalled() called on " + currentThread().getName()), in testAssertCalled() 281 log.d("assertCalled() called on " + currentThread().getName()), in testAssertCalled_neverCalled() 467 log.d("assertCalled() called on " + currentThread().getName()), in testAssertCalled_failsWhenCalledOnMainThread()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyJobHandler.java | 57 if (Thread.currentThread().isInterrupted()) { in fetchAndUpdateEncryptionKeys() 86 if (Thread.currentThread().isInterrupted()) { in fetchAndUpdateEncryptionKeys()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | SyncAppSearchBase.java | 58 Thread.currentThread().interrupt(); in executeAppSearchResultOperation() 94 Thread.currentThread().interrupt(); in executeAppSearchBatchResultOperation()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | ConcurrentUtils.java | 93 Thread.currentThread().interrupt(); 119 Thread.currentThread().interrupt();
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 226 Thread.currentThread().interrupt(); in stopStream() 376 Thread.currentThread().interrupt(); in readAt() 456 Thread.currentThread().interrupt(); in run() 471 Thread.currentThread().interrupt(); in run()
|
D | TunerTsStreamer.java | 264 Thread.currentThread().interrupt(); in stopStream() 374 Thread.currentThread().interrupt(); in run() 435 Thread.currentThread().interrupt(); in readAt()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 1141 if (mHandler.getLooper().getThread() != Thread.currentThread()) { in addRequest() 1144 + Thread.currentThread().getName()); in addRequest() 1164 if (mHandler.getLooper().getThread() != Thread.currentThread()) { in removeRequest() 1167 + Thread.currentThread().getName()); in removeRequest() 1190 if (mHandler.getLooper().getThread() != Thread.currentThread()) { in requestAt() 1193 + Thread.currentThread().getName()); in requestAt() 1225 if (mHandler.getLooper().getThread() != Thread.currentThread()) { in numNetworkRequests() 1228 + Thread.currentThread().getName()); in numNetworkRequests()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Assert.java | 152 && !Thread.currentThread().getName().contains(TEST_THREAD_SUBSTRING)) { in isMainThread() 159 && !Thread.currentThread().getName().contains(TEST_THREAD_SUBSTRING)) { in isNotMainThread()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersCache.java | 536 int previousPriority = Thread.currentThread().getPriority(); 537 Thread.currentThread().setPriority(Thread.MAX_PRIORITY); 606 Thread.currentThread().setPriority(previousPriority); 621 int previousPriority = Thread.currentThread().getPriority(); 622 Thread.currentThread().setPriority(Thread.MAX_PRIORITY); 625 Thread.currentThread().setPriority(previousPriority);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppManifestConfigMetricsLoggerTest.java | 228 Thread currentThread = Thread.currentThread(); in testLogUsage_handlesToBgThread() local 234 executionThread.set(Thread.currentThread()); in testLogUsage_handlesToBgThread() 242 .isNotSameInstanceAs(currentThread); in testLogUsage_handlesToBgThread()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | BitmapManager.java | 140 Thread t = Thread.currentThread(); in getThumbnail() 183 Thread thread = Thread.currentThread(); in decodeFileDescriptor()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CredentialStorageActivity.java | 262 Thread.currentThread().interrupt(); in doInBackground() 316 Thread.currentThread().interrupt(); in doInBackground() 378 Thread.currentThread().interrupt(); in doInBackground()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestRttActivity.java | 99 if (Thread.currentThread().isInterrupted()) { 112 if (Thread.currentThread().isInterrupted()) {
|