/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
D | RecordingControllerTest.java | 69 if (Looper.myLooper() == null) { in testCancelCountdown() 89 if (Looper.myLooper() == null) { in testStartRecording() 103 if (Looper.myLooper() == null) { in testStopRecording() 134 if (Looper.myLooper() == null) { in testUserChange()
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableLooperTest.java | 132 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooper() 154 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testNonMainLooperAnnotation() 160 assertEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooperAnnotation() 167 assertEquals("Should run on main looper", Looper.getMainLooper(), Looper.myLooper()); in testCorrectLooperExecution()
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 128 sMainLooper = myLooper(); in prepareMainLooper() 155 final Looper me = myLooper(); in loop() 293 public static @Nullable Looper myLooper() { in myLooper() method in Looper 303 return myLooper().mQueue; in myQueue()
|
D | HandlerThread.java | 62 mLooper = Looper.myLooper(); in run()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 294 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in onBestServiceChanged() 315 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in rebind() 346 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in onServiceConnected() 367 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in onServiceDisconnected() 385 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in onBindingDied() 468 if (Looper.myLooper() == mHandler.getLooper()) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GLEnvironment.java | 84 if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) { in activate()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/util/ |
D | VersionedBroadcastListenerTest.java | 66 if (Looper.myLooper() == null) { in setUpBeforeClass() 75 mHandler = new Handler(Looper.myLooper()); in setUp()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 139 mCreatorLooper = Looper.myLooper(); in SurfaceTexture() 166 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()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | FeatureConnection.java | 82 if (Looper.myLooper() == null) { in FeatureConnection() 85 mExecutor = new HandlerExecutor(new Handler(Looper.myLooper())); in FeatureConnection()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | HandlerTester.java | 58 mLooper = Looper.myLooper(); in run()
|
D | TestHandlerThread.java | 78 mLooper = Looper.myLooper(); in run()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 166 if (Looper.myLooper() == null) { in testShareActionExtras() 192 if (Looper.myLooper() == null) { in testEditActionExtras() 218 if (Looper.myLooper() == null) { in testDeleteActionExtras()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsTestBase.java | 41 if (Looper.myLooper() == null) { in setUp()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsTestBase.java | 41 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() 150 if (Looper.myLooper() == null) { in testProvisioningPackageUnset()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSFragmentTest.java | 101 assertEquals(Looper.myLooper(), Looper.getMainLooper()); in testListening() 106 mock(QSFactoryImpl.class), new Handler(), Looper.myLooper(), in testListening()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ValueTarget.java | 44 if (Looper.myLooper() == null) { in setListener()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CountryDetectorServiceTest.java | 101 @Spy private Handler mHandler = new Handler(Looper.myLooper()); 108 if (Looper.myLooper() == null) { in oneTimeInitialization()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 73 mListener = new NightDisplayListener(mContext, new Handler(Looper.myLooper())); in NightDisplayTile() 109 mListener = new NightDisplayListener(mContext, newUserId, new Handler(Looper.myLooper())); in handleUserSwitch()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
D | AppTransitionAnimationSpecsFuture.java | 86 if (Looper.myLooper() != mHandler.getLooper()) { in composeSpecsSynchronous()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CameraTestThread.java | 54 mLooper = Looper.myLooper(); in start()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 577 Looper myLooper = Looper.myLooper(); in sendAccessibilityEvent() local 578 if (myLooper == Looper.getMainLooper()) { in sendAccessibilityEvent() 635 Looper myLooper = Looper.myLooper(); in interrupt() local 636 if (myLooper == Looper.getMainLooper()) { in interrupt()
|