/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/util/ |
D | Assert.java | 57 Thread currentThread = Thread.currentThread(); in runWithCurrentThreadAsMainThread() local 59 if (originalThread == currentThread) { in runWithCurrentThreadAsMainThread() 65 throw new AssertionError("Can't run with current thread (" + currentThread in runWithCurrentThreadAsMainThread() 68 sTestThread = currentThread; in runWithCurrentThreadAsMainThread() 75 && (sTestThread == null || sTestThread != Thread.currentThread())) { in isMainThread() 78 + " Thread.currentThread()=" + Thread.currentThread().getName()); in isMainThread() 89 && (sTestThread == null || sTestThread != Thread.currentThread())) { in isCurrentThread() 93 + Thread.currentThread().getName()); in isCurrentThread() 99 && (sTestThread == null || sTestThread == Thread.currentThread())) { in isNotMainThread()
|
/frameworks/base/core/java/android/util/ |
D | TimingsTraceLog.java | 63 mThreadId = Thread.currentThread().getId(); in TimingsTraceLog() 79 this.mThreadId = Thread.currentThread().getId(); in TimingsTraceLog() 139 final Thread currentThread = Thread.currentThread(); in assertSameThread() local 140 if (currentThread.getId() != mThreadId) { in assertSameThread() 143 + currentThread.getName() + " (tid: " + currentThread.getId() + ")"); in assertSameThread()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsService.java | 182 Thread t = Thread.currentThread(); in onDataSetChanged() 194 Thread t = Thread.currentThread(); in getCount() 207 Thread t = Thread.currentThread(); in getViewAt() 217 Thread t = Thread.currentThread(); in getLoadingView() 227 Thread t = Thread.currentThread(); in getViewTypeCount() 237 Thread t = Thread.currentThread(); in getItemId() 247 Thread t = Thread.currentThread(); in hasStableIds() 260 Thread t = Thread.currentThread(); in onDestroy() 275 Thread t = Thread.currentThread(); in getRemoteCollectionItems()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | FrameworkShadowLooper.java | 36 public void setCurrentThread(boolean currentThread) { in setCurrentThread() argument 37 mIsCurrentThread = Optional.of(currentThread); in setCurrentThread() 49 return Thread.currentThread() == mLooper.getThread(); in isCurrentThread()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | MutexFileProvider.java | 63 if (mOwnerThread == Thread.currentThread()) { in acquireFile() 82 mOwnerThread = Thread.currentThread(); in acquireFile() 95 if (mOwnerThread != Thread.currentThread()) { in releaseFile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/ |
D | TestUnfoldProgressListener.kt | 33 lastCallbackThread = Thread.currentThread() in onTransitionStarted() 42 lastCallbackThread = Thread.currentThread() in onTransitionProgress() 50 lastCallbackThread = Thread.currentThread() in onTransitionFinishing() 58 lastCallbackThread = Thread.currentThread() in onTransitionFinished()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | DexmakerShareClassLoaderRule.java | 101 sOwningThread = Thread.currentThread(); in wrapInMutex() 102 } else if (sOwningThread != Thread.currentThread()) { in wrapInMutex() 104 "Tried to set dexmaker.share_classloader from " + Thread.currentThread() in wrapInMutex()
|
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/ |
D | TestTarget.java | 30 if (mLock != null && Thread.currentThread().holdsLock(mLock)) { in boost() 41 if (mLock != null && Thread.currentThread().holdsLock(mLock)) { in unboost()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | ControlsTest.java | 40 Thread.currentThread().interrupt(); in initProbePass() 70 Thread.currentThread().interrupt(); in initUnits()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ParallelPackageParser.java | 92 Thread.currentThread().interrupt(); in take() 117 Thread.currentThread().interrupt(); in submit() 121 mInterruptedInThread = Thread.currentThread().getName(); in submit()
|
/frameworks/libs/systemui/tracinglib/core/host/src-fake/ |
D | TraceProxy.fake.kt | 44 val threadId = Thread.currentThread().id in begin() 55 val threadId = Thread.currentThread().id in end() 68 val threadId = Thread.currentThread().id in getOpenTraceSectionsOnCurrentThread()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/ |
D | UncaughtExceptionPreHandlerTest.kt | 37 preHandlerManager.handleUncaughtException(Thread.currentThread(), Exception()) in registerHandler_registersOnceOnly() 52 preHandlerManager.handleUncaughtException(Thread.currentThread(), Exception()) in registerHandler_preservesOriginalHandler() 62 preHandlerManager.handleUncaughtException(Thread.currentThread(), Exception()) in registerHandler_toleratesHandlersThatThrow()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 806 Log.i("DefaultContextFactory", "tid=" + Thread.currentThread().getId()); in destroyContext() 1026 Log.w("EglHelper", "start() tid=" + Thread.currentThread().getId()); in start() 1067 … Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); in start() 1081 Log.w("EglHelper", "createSurface() tid=" + Thread.currentThread().getId()); in createSurface() 1178 Log.w("EglHelper", "destroySurface() tid=" + Thread.currentThread().getId()); in destroySurface() 1198 Log.w("EglHelper", "finish() tid=" + Thread.currentThread().getId()); in finish() 1220 Log.e("EglHelper", "throwEglException tid=" + Thread.currentThread().getId() + " " in throwEglException() 1663 if (Thread.currentThread() == this) { in requestRenderAndNotify() 1698 Thread.currentThread().interrupt(); in surfaceCreated() 1715 Thread.currentThread().interrupt(); in surfaceDestroyed() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureTarget.java | 114 if (mLogVerbose) Log.v(TAG, "updateRenderMode. Thread: " + Thread.currentThread()); in updateRenderMode() 133 if (mLogVerbose) Log.v(TAG, "Prepare. Thread: " + Thread.currentThread()); in prepare() 220 ", previously: " + mAspectRatio + ". Thread: " + Thread.currentThread()); in process() 255 if (mLogVerbose) Log.v(TAG, "FPVU. Thread: " + Thread.currentThread()); in fieldPortValueUpdated() 267 if (mLogVerbose) Log.v(TAG, "updateTargetRect. Thread: " + Thread.currentThread()); in updateTargetRect()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/settings/brightness/ui/binder/ |
D | BrightnessMirrorInflaterTest.kt | 43 Assert.setTestThread(Thread.currentThread()) in inflate_sliderViewAddedToFrame() 58 Assert.setTestThread(Thread.currentThread()) in inflate_frameAndSliderViewVisible()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | ThreadingDomain.java | 63 Preconditions.checkState(Thread.currentThread() == getThread()); in assertCurrentThread() 71 Preconditions.checkState(Thread.currentThread() != getThread()); in assertNotCurrentThread()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | ActionSendMultipleConsumerActivity.java | 100 Thread.currentThread().interrupt(); in CustomActionSendMultipleListener() 120 Thread.currentThread().interrupt(); in getExtras()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ConcurrentUtils.java | 88 Thread.currentThread().interrupt(); 114 Thread.currentThread().interrupt();
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | UnrefedBitmapCache.java | 89 "AltBitmapCache: %s waiting", Thread.currentThread().getName())); in poll() 97 Thread.currentThread().getName())); in poll()
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 327 + Thread.currentThread().getName() in getThresholdOverride() 343 + Thread.currentThread().getName() + " h=" in showSlowLog() 367 mThread = Thread.currentThread(); in Looper() 374 return Thread.currentThread() == mThread; in isCurrentThread()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityInteractionClient.java | 178 final long threadId = Thread.currentThread().getId(); in getInstance() 205 final long threadId = Thread.currentThread().getId(); in getInstance() 673 prefetchFlags, Thread.currentThread().getId(), arguments); in findAccessibilityNodeInfoByAccessibilityId() 775 Thread.currentThread().getId()); in findAccessibilityNodeInfosByViewId() 902 Thread.currentThread().getId()); in findAccessibilityNodeInfosByText() 989 Thread.currentThread().getId()); in findFocus() 1049 Thread.currentThread().getId()); in focusSearch() 1108 interactionId, this, Thread.currentThread().getId()); in performAccessibilityAction() 1204 Arrays.asList(Thread.currentThread().getStackTrace())); in setFindAccessibilityNodeInfoResult() 1258 Arrays.asList(Thread.currentThread().getStackTrace())); in setFindAccessibilityNodeInfosResult() [all …]
|
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/ |
D | CompletableFutureUtilTest.kt | 112 val currentThread = Thread.currentThread() in testCharSequenceTimedOutWithInterruption() constant 113 currentThread.interrupt() in testCharSequenceTimedOutWithInterruption() 118 isInterruptedRef.set(currentThread.isInterrupted()) in testCharSequenceTimedOutWithInterruption()
|
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | MyAutofillCallback.java | 56 Thread.currentThread().interrupt(); in onAutofillEvent() 77 Thread.currentThread().interrupt(); in expectEvent()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/ |
D | BaseTest.java | 27 Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); in setUp()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/ |
D | HandlerThreadingDomainTest.java | 116 ranOnExpectedThread.set(Thread.currentThread() == mTestHandler.getLooper().getThread()); in post() 134 ranOnExpectedThread.set(Thread.currentThread() == mTestHandler.getLooper().getThread()); in postDelayed() 170 ranOnExpectedThread.set(Thread.currentThread() == mTestHandler.getLooper().getThread()); in postAndWait()
|