/frameworks/base/core/java/android/os/ |
D | Looper.java | 112 sMainLooper = myLooper(); in prepareMainLooper() 130 final Looper me = myLooper(); in loop() 203 public static @Nullable Looper myLooper() { in myLooper() method in Looper 213 return myLooper().mQueue; in myQueue()
|
D | HandlerThread.java | 60 mLooper = Looper.myLooper(); in run()
|
/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/base/tests/testables/tests/src/android/testing/ |
D | TestableLooperTest.java | 131 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooper() 153 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testNonMainLooperAnnotation() 159 assertEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooperAnnotation()
|
/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/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | ThreadUtilTest.java | 176 assertThat(Looper.myLooper(), notNullValue()); in assertMainThread() 177 assertThat(Looper.myLooper(), sameInstance(Looper.getMainLooper())); in assertMainThread() 181 assertThat(Looper.myLooper(), not(Looper.getMainLooper())); in assertBackgroundThread()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 134 mCreatorLooper = Looper.myLooper(); in SurfaceTexture() 161 mCreatorLooper = Looper.myLooper(); in SurfaceTexture()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | SimChangeListenerTest.java | 69 if (Looper.myLooper() == null) { in setUpBeforeClass() 78 mHandler = new Handler(Looper.myLooper()); in setUp()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 410 Looper myLooper = Looper.myLooper(); in sendAccessibilityEvent() local 411 if (myLooper == Looper.getMainLooper()) { in sendAccessibilityEvent() 463 Looper myLooper = Looper.myLooper(); in interrupt() local 464 if (myLooper == Looper.getMainLooper()) { in interrupt()
|
/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()
|
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsTestBase.java | 40 if (Looper.myLooper() == null) { in setUp()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsTestBase.java | 40 if (Looper.myLooper() == null) { in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncherTest.java | 89 if (Looper.myLooper() == null) { in testProvisioningPackageSet() 153 if (Looper.myLooper() == null) { in testProvisioningPackageUnset()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ValueTarget.java | 44 if (Looper.myLooper() == null) { in setListener()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CameraTestThread.java | 54 mLooper = Looper.myLooper(); in start()
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | ActivityUtils.java | 52 if (Looper.getMainLooper() == Looper.myLooper()) { in runOnUiThreadRethrow()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneStateListener.java | 271 this(null, Looper.myLooper()); in PhoneStateListener() 290 this(subId, Looper.myLooper()); in PhoneStateListener()
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | HandlerThread_Delegate.java | 72 theThread.mLooper = Looper.myLooper(); in run()
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 1010 if (Looper.myLooper() == null) { in start() 1070 if (Looper.myLooper() == null) { in cancel() 1100 if (Looper.myLooper() == null) { in end() 1116 if (Looper.myLooper() == null) { in resume()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityGestureDetectorTest.java | 71 if (Looper.myLooper() == null) { in oneTimeInitialization() 85 when(contextMock.getMainLooper()).thenReturn(Looper.myLooper()); in setUp()
|