Home
last modified time | relevance | path

Searched refs:currentThread (Results 1 – 25 of 131) 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/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/opengl/java/android/opengl/
DGLSurfaceView.java806 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()
1690 Thread.currentThread().interrupt(); in surfaceCreated()
1707 Thread.currentThread().interrupt(); in surfaceDestroyed()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DDexmakerShareClassLoaderRule.java101 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/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.java170 + Thread.currentThread().getName() in loop()
277 + Thread.currentThread().getName() + " h=" in showSlowLog()
301 mThread = Thread.currentThread(); in Looper()
308 return Thread.currentThread() == mThread; in isCurrentThread()
DHandlerThread.java100 Thread.currentThread().interrupt(); in getLooper()
/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.java118 final long threadId = Thread.currentThread().getId(); in getInstance()
348 prefetchFlags, Thread.currentThread().getId(), arguments); in findAccessibilityNodeInfoByAccessibilityId()
408 Thread.currentThread().getId()); in findAccessibilityNodeInfosByViewId()
462 Thread.currentThread().getId()); in findAccessibilityNodeInfosByText()
515 Thread.currentThread().getId()); in findFocus()
564 Thread.currentThread().getId()); in focusSearch()
612 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/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillCallback.java56 Thread.currentThread().interrupt(); in onAutofillEvent()
77 Thread.currentThread().interrupt(); in expectEvent()
DMyAutofillService.java86 Thread.currentThread().interrupt(); in getLastFillRequest()
101 Thread.currentThread().interrupt(); in onFillRequest()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/
DBaseTest.java27 Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); in setUp()
/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/layoutlib/bridge/src/android/util/imagepool/
DImagePoolStatsDebugImpl.java82 for (int i = 1; i < Thread.currentThread().getStackTrace().length; i++) { in acquiredImage()
83 StackTraceElement element = Thread.currentThread().getStackTrace()[i]; in acquiredImage()
/frameworks/libs/net/common/hostdevice/com/android/net/module/util/
DTrackRecord.kt193 private val owningThread = Thread.currentThread() in newReadHead()
207 private fun checkThread() = check(Thread.currentThread() == owningThread) { in newReadHead()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DReferenceTestUtils.java46 Thread.currentThread().interrupt(); in createCollectionWaiter()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java35 StackTraceElement[] stack = Thread.currentThread().getStackTrace(); in getTestMethod()
/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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java405 long callingThreadId = Thread.currentThread().getId(); in unregister()
438 long callingThreadId = Thread.currentThread().getId(); in send()
473 long callingThreadId = Thread.currentThread().getId(); in sendOntoMainThread()
544 long callingThreadId = Thread.currentThread().getId(); in registerSubscriber()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java39 return Thread.currentThread() == sMainThread; in isMainThread()

123456