Home
last modified time | relevance | path

Searched refs:isCurrentThread (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/util/
DAssert.java52 if (sMainLooper.isCurrentThread()) { in runWithCurrentThreadAsMainThread()
74 if (!sMainLooper.isCurrentThread() in isMainThread()
87 public static void isCurrentThread(Looper expected) { in isCurrentThread() method in Assert
88 if (!expected.isCurrentThread() in isCurrentThread()
98 if (sMainLooper.isCurrentThread() in isNotMainThread()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityInputMethodSessionWrapper.java52 if (mHandler.getLooper().isCurrentThread()) { in updateSelection()
72 if (mHandler.getLooper().isCurrentThread()) { in finishInput()
88 if (mHandler.getLooper().isCurrentThread()) { in finishSession()
102 if (mHandler.getLooper().isCurrentThread()) { in invalidateInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DExecution.kt34 if (!mainLooper.isCurrentThread) { in assertIsMainThread()
42 return mainLooper.isCurrentThread in assertIsMainThread()
DUiThreadContext.kt34 fun isCurrentThread() { in isCurrentThread() method
35 Assert.isCurrentThread(looper) in isCurrentThread()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DUnfoldFrameCallbackScheduler.kt45 override fun isCurrentThread(): Boolean { in isCurrentThread() method in com.android.systemui.unfold.progress.UnfoldFrameCallbackScheduler
46 return looper.isCurrentThread in isCurrentThread()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/util/
DScopedUnfoldTransitionProgressProvider.kt95 if (handler.looper.isCurrentThread) { in ensureInHandler()
179 check(cachedProgressHandler.looper.isCurrentThread) { in assertInProgressThread()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DDomainSelectionController.java134 if (mHandler.getLooper().isCurrentThread()) { in onServiceConnected()
144 if (mHandler.getLooper().isCurrentThread()) { in onServiceDisconnected()
153 if (mHandler.getLooper().isCurrentThread()) { in onBindingDied()
162 if (mHandler.getLooper().isCurrentThread()) { in onNullBinding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
DUserBroadcastDispatcher.kt104 Preconditions.checkState(workerLooper.isCurrentThread, wrongThreadErrorMsg) in <lambda>()
168 Preconditions.checkState(workerLooper.isCurrentThread, wrongThreadErrorMsg) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DHandlerExecutor.java32 if (mHandler.getLooper().isCurrentThread()) { in execute()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestUiOffloadThread.java38 if (myLooper != null && myLooper.isCurrentThread()) { in execute()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DFrameworkShadowLooper.java45 protected boolean isCurrentThread() { in isCurrentThread() method in FrameworkShadowLooper
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java116 !Looper.getMainLooper().isCurrentThread(), "Can't call call() on main thread"); in call()
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DDynamicAnimation.java600 if (!isCurrentThread()) { in start()
609 boolean isCurrentThread() { in isCurrentThread() method in DynamicAnimation
626 if (!isCurrentThread()) { in cancel()
DSpringAnimation.java223 if (!isCurrentThread()) { in skipToEnd()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskView.java158 if (mHandler.getLooper().isCurrentThread()) { in setResizeBgColor()
322 if (mHandler.getLooper().isCurrentThread()) { in runOnViewThread()
/frameworks/av/media/module/foundation/
DALooper.cpp53 bool isCurrentThread() const { in isCurrentThread() function
163 if (!runningLocally && !thread->isCurrentThread()) { in stop()
/frameworks/base/core/java/android/view/
DInputEventSender.java148 if (mHandler.getLooper().isCurrentThread()) { in sendInputEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceController.java89 if (mHandler.getLooper().isCurrentThread()) { in onServiceConnected()
98 if (mHandler.getLooper().isCurrentThread()) { in onServiceDisconnected()
107 if (mHandler.getLooper().isCurrentThread()) { in onBindingDied()
116 if (mHandler.getLooper().isCurrentThread()) { in onNullBinding()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProviderTest.kt97 whenever(mainLooper.isCurrentThread).thenReturn(true) in <lambda>()
99 whenever(mainLooper.isCurrentThread).thenReturn(true) in <lambda>()
463 whenever(mainLooper.isCurrentThread).thenReturn(true) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DImageTileSet.java84 if (!mHandler.getLooper().isCurrentThread()) { in addTile()
/frameworks/base/core/java/android/view/autofill/
DAutofillValue.java270 if (sVerbose && !Looper.getMainLooper().isCurrentThread()) { in forText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldLightRevealOverlayAnimation.kt171 if (unfoldProgressHandler.looper.isCurrentThread) { in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DFileHashCacheTests.java146 if (SystemClock.uptimeMillis() >= uptimeMillis && getLooper().isCurrentThread()) { in sendMessageAtTime()
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSessionV2.java1116 final boolean onContentCaptureThread = mContentCaptureHandler.getLooper().isCurrentThread(); in checkOnContentCaptureThread()
1136 if (!mContentCaptureHandler.getLooper().isCurrentThread()) { in runOnContentCaptureThread()
1144 if (!mContentCaptureHandler.getLooper().isCurrentThread()) { in clearAndRunOnContentCaptureThread()
1153 if (mUiHandler.getLooper().isCurrentThread()) { in runOnUiThread()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsScheduler.java142 if (mHandler.getLooper().isCurrentThread()) { in aggregateAndDumpPowerStats()

123