/frameworks/base/core/java/android/os/ |
D | Looper.java | 106 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()
|
D | HandlerThread.java | 56 mLooper = Looper.myLooper(); in run()
|
D | Handler.java | 198 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/ |
D | BaseDataBinderTest.java | 51 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/ |
D | ThreadUtilTest.java | 165 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/ |
D | GLEnvironment.java | 82 if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) { in activate()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 132 mCreatorLooper = Looper.myLooper(); in SurfaceTexture() 159 mCreatorLooper = Looper.myLooper(); in SurfaceTexture()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | TestedScreen.java | 73 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume() 76 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
|
D | TestedActivity.java | 45 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
|
/frameworks/base/media/java/android/media/ |
D | MediaSync.java | 259 if ((looper = Looper.myLooper()) == null) { in setCallback() 292 if ((looper = Looper.myLooper()) == null) { in setOnErrorListener() 620 mAudioLooper = Looper.myLooper(); in createAudioThread()
|
D | SubtitleController.java | 484 … assert Looper.myLooper() == mHandler.getLooper() : "Must be called from the anchor's looper"; in checkAnchorLooper() 489 if (Looper.myLooper() == mHandler.getLooper()) { in processOnAnchor()
|
D | MediaDrm.java | 204 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/ |
D | HandlerTester.java | 62 mLooper = Looper.myLooper(); in run()
|
D | TestHandlerThread.java | 83 mLooper = Looper.myLooper(); in run()
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 968 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/ |
D | ValueTarget.java | 44 if (Looper.myLooper() == null) { in setListener()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneStateListener.java | 245 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/ |
D | CameraTestThread.java | 54 mLooper = Looper.myLooper(); in start()
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
D | HandlerThread_Delegate.java | 72 theThread.mLooper = Looper.myLooper(); in run()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | LooperAcceleration.java | 87 Looper.myLooper().quit(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentQueryMapTest.java | 86 Looper.myLooper().quit(); in testContentQueryMap()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 60 if (Looper.myLooper() == mMainLooper) { in executeOrSendMessage() 90 if (Looper.myLooper() == mH.getLooper()) { in sendMessageAndWait()
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
D | WifiNanEventListener.java | 77 this(Looper.myLooper()); in WifiNanEventListener()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | TestService.java | 707 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/ |
D | FusedLocationProvider.java | 66 mEngine = new FusionEngine(context, Looper.myLooper()); in FusedLocationProvider()
|