Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/util/
DTimingsTraceLog.java43 mThreadId = Thread.currentThread().getId(); in TimingsTraceLog()
77 final Thread currentThread = Thread.currentThread(); in assertSameThread() local
78 if (currentThread.getId() != mThreadId) { in assertSameThread()
81 + currentThread.getName() + " (tid: " + currentThread.getId() + ")"); in assertSameThread()
/frameworks/base/core/java/android/widget/
DRemoteViewsService.java144 Thread t = Thread.currentThread(); in onDataSetChanged()
156 Thread t = Thread.currentThread(); in getCount()
169 Thread t = Thread.currentThread(); in getViewAt()
179 Thread t = Thread.currentThread(); in getLoadingView()
189 Thread t = Thread.currentThread(); in getViewTypeCount()
199 Thread t = Thread.currentThread(); in getItemId()
209 Thread t = Thread.currentThread(); in hasStableIds()
222 Thread t = Thread.currentThread(); in onDestroy()
/frameworks/support/app-toolkit/core-testing/src/test/java/androidx/arch/core/executor/testing/
DInstantTaskExecutorRuleTest.java41 final Thread current = Thread.currentThread(); in executeOnMain()
45 assertTrue(Thread.currentThread() == current); in executeOnMain()
55 final Thread current = Thread.currentThread(); in executeOnIO()
59 assertTrue(Thread.currentThread() == current); in executeOnIO()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DFrameworkShadowLooper.java33 public void setCurrentThread(boolean currentThread) { in setCurrentThread() argument
34 mIsCurrentThread = Optional.of(currentThread); in setCurrentThread()
46 return Thread.currentThread() == mLooper.getThread(); in isCurrentThread()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DMutexFileProvider.java63 if (mOwnerThread == Thread.currentThread()) { in acquireFile()
82 mOwnerThread = Thread.currentThread(); in acquireFile()
95 if (mOwnerThread != Thread.currentThread()) { in releaseFile()
/frameworks/base/tests/testables/src/android/testing/
DDexmakerShareClassLoaderRule.java95 sOwningThread = Thread.currentThread(); in wrapInMutex()
96 } else if (sOwningThread != Thread.currentThread()) { in wrapInMutex()
98 "Tried to set dexmaker.share_classloader from " + Thread.currentThread() in wrapInMutex()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java805 Log.i("DefaultContextFactory", "tid=" + Thread.currentThread().getId()); in destroyContext()
1025 Log.w("EglHelper", "start() tid=" + Thread.currentThread().getId()); in start()
1066 … Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); in start()
1080 Log.w("EglHelper", "createSurface() tid=" + Thread.currentThread().getId()); in createSurface()
1177 Log.w("EglHelper", "destroySurface() tid=" + Thread.currentThread().getId()); in destroySurface()
1197 Log.w("EglHelper", "finish() tid=" + Thread.currentThread().getId()); in finish()
1219 Log.e("EglHelper", "throwEglException tid=" + Thread.currentThread().getId() + " " in throwEglException()
1661 if (Thread.currentThread() == this) { in requestRenderAndNotify()
1688 Thread.currentThread().interrupt(); in surfaceCreated()
1705 Thread.currentThread().interrupt(); in surfaceDestroyed()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java95 Thread.currentThread().interrupt(); in take()
126 Thread.currentThread().interrupt(); in submit()
130 mInterruptedInThread = Thread.currentThread().getName(); in submit()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java114 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/core/java/android/os/
DLooper.java154 + Thread.currentThread().getName() in loop()
245 + Thread.currentThread().getName() + " h=" in showSlowLog()
269 mThread = Thread.currentThread(); in Looper()
276 return Thread.currentThread() == mThread; in isCurrentThread()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java100 Thread.currentThread().interrupt(); in CustomActionSendMultipleListener()
120 Thread.currentThread().interrupt(); in getExtras()
/frameworks/base/core/java/com/android/internal/util/
DConcurrentUtils.java85 Thread.currentThread().interrupt();
111 Thread.currentThread().interrupt();
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java116 final long threadId = Thread.currentThread().getId(); in getInstance()
345 prefetchFlags, Thread.currentThread().getId(), arguments); in findAccessibilityNodeInfoByAccessibilityId()
405 Thread.currentThread().getId()); in findAccessibilityNodeInfosByViewId()
459 Thread.currentThread().getId()); in findAccessibilityNodeInfosByText()
512 Thread.currentThread().getId()); in findFocus()
561 Thread.currentThread().getId()); in focusSearch()
609 interactionId, this, Thread.currentThread().getId()); in performAccessibilityAction()
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedBitmapCache.java89 "AltBitmapCache: %s waiting", Thread.currentThread().getName())); in poll()
97 Thread.currentThread().getName())); in poll()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
DTestUtils.java112 String caller = Thread.currentThread().getStackTrace()[1].getMethodName(); in createPlaylist()
140 String mediaId = Thread.currentThread().getStackTrace()[1].getMethodName(); in createMetadata()
/frameworks/support/media/src/androidTest/java/androidx/media/
DTestUtils.java111 String caller = Thread.currentThread().getStackTrace()[1].getMethodName(); in createPlaylist()
139 String mediaId = Thread.currentThread().getStackTrace()[1].getMethodName(); in createMetadata()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/
DBaseTest.java27 Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); in setUp()
/frameworks/support/transition/src/androidTest/java/androidx/transition/
DSyncRunnable.java35 Thread.currentThread().interrupt(); in await()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java96 Thread.currentThread().interrupt(); in installCaCert()
110 Thread.currentThread().interrupt(); in uninstallCaCerts()
119 Thread.currentThread().interrupt(); in getInstalledCaCertificates()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java37 return Thread.currentThread() == sMainThread; in isMainThread()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java32 StackTraceElement[] stack = Thread.currentThread().getStackTrace(); in getTestMethod()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DReferenceTestUtils.java46 Thread.currentThread().interrupt(); in createCollectionWaiter()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTracing.java110 Thread.currentThread().interrupt(); in stopTrace()
139 Thread.currentThread().interrupt(); in loopOnce()
/frameworks/base/services/core/java/com/android/server/
DLockGuard.java123 doLog(lock, "Calling thread " + Thread.currentThread().getName() in guard()
158 doLog(targetMayBeNull, "Calling thread " + Thread.currentThread().getName() in guard()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DTestActivity.java65 StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace(); in finish()

123456