Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAssert.java36 if (!sMainLooper.isCurrentThread() in isMainThread()
37 && (sTestLooper == null || !sTestLooper.isCurrentThread())) { in isMainThread()
45 if (sMainLooper.isCurrentThread() in isNotMainThread()
46 && (sTestLooper == null || sTestLooper.isCurrentThread())) { in isNotMainThread()
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
DUserBroadcastDispatcher.kt101 Preconditions.checkState(bgHandler.looper.isCurrentThread, in <lambda>()
140 Preconditions.checkState(bgHandler.looper.isCurrentThread, in <lambda>()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DFrameworkShadowLooper.java42 protected boolean isCurrentThread() { in isCurrentThread() method in FrameworkShadowLooper
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleViewController.java88 if (!mHandler.getLooper().isCurrentThread()) { in setAssistHintVisible()
111 if (!mHandler.getLooper().isCurrentThread()) { in setAssistHintBlocked()
/frameworks/av/media/libstagefright/foundation/
DALooper.cpp53 bool isCurrentThread() const { in isCurrentThread() function
159 if (!runningLocally && !thread->isCurrentThread()) { in stop()
/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/packages/SystemUI/tests/src/com/android/systemui/assist/
DAssistHandleViewControllerTest.java68 when(mMockLooper.isCurrentThread()).thenReturn(true); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java198 if (!mMainHandler.getLooper().isCurrentThread()) { in handleUpdateState()
219 if (!mMainHandler.getLooper().isCurrentThread()) { in handleUpdateCarrierInfo()
/frameworks/base/core/java/android/view/autofill/
DAutofillValue.java270 if (sVerbose && !Looper.getMainLooper().isCurrentThread()) { in forText()
/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java262 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
/frameworks/base/core/java/android/os/
DLooper.java314 public boolean isCurrentThread() { in isCurrentThread() method in Looper
/frameworks/base/core/java/android/printservice/
DPrintService.java381 if (!Looper.getMainLooper().isCurrentThread()) { in throwIfNotCalledOnMainThread()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java402 if (Looper.getMainLooper().isCurrentThread()) { in expandBubbleStackOnMainThread()
554 if (Looper.getMainLooper().isCurrentThread()) { in collapseOnMainThread()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java306 if (!mHandler.getLooper().isCurrentThread()) { in reevaluateSimCardProvisioning()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportClient.java316 !Looper.getMainLooper().isCurrentThread(), "Can't call connect() on main thread");
/frameworks/base/media/java/android/media/tv/
DTvInputService.java1560 if (mHandler.getLooper().isCurrentThread()) {
1927 if (mHandler.getLooper().isCurrentThread()) {
DTvInputManager.java2689 if (p.mEventHandler.getLooper().isCurrentThread()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DPhysicsAnimator.kt460 if (!Looper.getMainLooper().isCurrentThread) { in startInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java114 if (!mainLooper.isCurrentThread()) { in checkMainThread()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java2600 if (mMainLooper.isCurrentThread()) { in dispatchInputEvent()
2718 if (p.mHandler.getLooper().isCurrentThread()) { in invokeFinishedInputEventCallback()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1365 if (Looper.getMainLooper().isCurrentThread()) { in throwIfCalledOnMainThread()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java1093 if (Looper.getMainLooper().isCurrentThread()) { in failActivePrintJobsForService()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt15640 HSPLandroid/os/Looper;->isCurrentThread()Z
/frameworks/base/api/
Dcurrent.txt36346 method public boolean isCurrentThread();