Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/os/
DLooper.java106 sMainLooper = myLooper(); in prepareMainLooper()
124 final Looper me = myLooper(); in loop()
184 public static @Nullable Looper myLooper() { in myLooper() method in Looper
194 return myLooper().mQueue; in myQueue()
DHandlerThread.java56 mLooper = Looper.myLooper(); in run()
DHandler.java198 mLooper = Looper.myLooper(); in Handler()
481 if (Looper.myLooper() == mLooper) { in runWithScissors()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
DBaseDataBinderTest.java51 return Looper.myLooper() == Looper.getMainLooper(); in isMainThread()
64 if (Looper.myLooper() == Looper.getMainLooper()) { in runTestOnUiThread()
76 if (Looper.myLooper() != Looper.getMainLooper()) { in initBinder()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DThreadUtilTest.java165 assertThat(Looper.myLooper(), notNullValue()); in assertMainThread()
166 assertThat(Looper.myLooper(), sameInstance(Looper.getMainLooper())); in assertMainThread()
170 assertThat(Looper.myLooper(), not(Looper.getMainLooper())); in assertBackgroundThread()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLEnvironment.java82 if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) { in activate()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java132 mCreatorLooper = Looper.myLooper(); in SurfaceTexture()
159 mCreatorLooper = Looper.myLooper(); in SurfaceTexture()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedScreen.java73 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
76 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
DTestedActivity.java45 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
/frameworks/base/media/java/android/media/
DMediaSync.java259 if ((looper = Looper.myLooper()) == null) { in setCallback()
292 if ((looper = Looper.myLooper()) == null) { in setOnErrorListener()
620 mAudioLooper = Looper.myLooper(); in createAudioThread()
DSubtitleController.java484 … assert Looper.myLooper() == mHandler.getLooper() : "Must be called from the anchor's looper"; in checkAnchorLooper()
489 if (Looper.myLooper() == mHandler.getLooper()) { in processOnAnchor()
DMediaDrm.java204 if ((looper = Looper.myLooper()) != null) { in MediaDrm()
275 Looper looper = handler != null ? handler.getLooper() : Looper.myLooper();
317 Looper looper = handler != null ? handler.getLooper() : Looper.myLooper();
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerTester.java62 mLooper = Looper.myLooper(); in run()
DTestHandlerThread.java83 mLooper = Looper.myLooper(); in run()
/frameworks/base/core/java/android/animation/
DValueAnimator.java968 if (Looper.myLooper() == null) { in start()
1015 if (Looper.myLooper() == null) { in cancel()
1045 if (Looper.myLooper() == null) { in end()
1061 if (Looper.myLooper() == null) { in resume()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DValueTarget.java44 if (Looper.myLooper() == null) { in setListener()
/frameworks/base/telephony/java/android/telephony/
DPhoneStateListener.java245 this(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, Looper.myLooper()); in PhoneStateListener()
264 this(subId, Looper.myLooper()); in PhoneStateListener()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCameraTestThread.java54 mLooper = Looper.myLooper(); in start()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DHandlerThread_Delegate.java72 theThread.mLooper = Looper.myLooper(); in run()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DLooperAcceleration.java87 Looper.myLooper().quit(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/content/
DContentQueryMapTest.java86 Looper.myLooper().quit(); in testContentQueryMap()
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java60 if (Looper.myLooper() == mMainLooper) { in executeOrSendMessage()
90 if (Looper.myLooper() == mH.getLooper()) { in sendMessageAndWait()
/frameworks/base/wifi/java/android/net/wifi/nan/
DWifiNanEventListener.java77 this(Looper.myLooper()); in WifiNanEventListener()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java707 if (Looper.myLooper() == null) { in onRun()
729 if (Looper.myLooper() == null) { in onRun()
751 if (Looper.myLooper() == null) { in onRun()
773 if (Looper.myLooper() == null) { in onRun()
795 if (Looper.myLooper() == null) { in onRun()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java66 mEngine = new FusionEngine(context, Looper.myLooper()); in FusedLocationProvider()

12345