/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
H A D | RecordingControllerTest.java | 100 if (Looper.myLooper() == null) { in testCancelCountdown() 120 if (Looper.myLooper() == null) { in testStartRecording() 134 if (Looper.myLooper() == null) { in testStopRecording() 165 if (Looper.myLooper() == null) { in testUpdateStateBroadcast() 194 if (Looper.myLooper() == null) { in testUserChange() 214 if (Looper.myLooper() == null) { in testPoliciesFlagDisabled_screenCapturingNotAllowed_returnsNullDevicePolicyDialog() 230 if (Looper.myLooper() == null) { in testPartialScreenSharingDisabled_returnsLegacyDialog() 245 if (Looper.myLooper() == null) { in testPoliciesFlagEnabled_screenCapturingNotAllowed_returnsDevicePolicyDialog() 261 if (Looper.myLooper() == null) { in testPoliciesFlagEnabled_screenCapturingAllowed_returnsNullDevicePolicyDialog()
|
/aosp14/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
H A D | ServiceWatcherImpl.java | 199 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in bind() 228 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in unbind() 249 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in runOnBinder() 268 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in onServiceConnected() 288 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in onServiceDisconnected() 304 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in onBindingDied()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | Looper.java | 133 sMainLooper = myLooper(); in prepareMainLooper() 267 final Looper me = myLooper(); in loop() 317 public static @Nullable Looper myLooper() { in myLooper() method in Looper 327 return myLooper().mQueue; in myQueue()
|
H A D | HandlerThread.java | 62 mLooper = Looper.myLooper(); in run()
|
H A D | Handler.java | 224 mLooper = Looper.myLooper(); in Handler() 608 if (Looper.myLooper() == mLooper) { in runWithScissors() 771 if (mLooper == Looper.myLooper()) { in executeOrSendMessage()
|
/aosp14/frameworks/base/tests/testables/tests/src/android/testing/ |
H A D | TestableLooperTest.java | 135 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooper() 157 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testNonMainLooperAnnotation() 163 assertEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooperAnnotation() 170 assertEquals("Should run on main looper", Looper.getMainLooper(), Looper.myLooper()); in testCorrectLooperExecution()
|
/aosp14/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLEnvironment.java | 84 if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) { in activate()
|
/aosp14/frameworks/base/tests/ChoreographerTests/src/main/java/android/view/choreographertests/ |
H A D | AttachedChoreographerTest.java | 133 Looper testLooper = Looper.myLooper(); in testCreateChoreographer() 147 assertEquals(choreographer1, sc1.getChoreographer(Looper.myLooper())); in testCreateChoreographer() 153 Choreographer choreographer2 = sc2.getChoreographer(Looper.myLooper()); in testCreateChoreographer() 156 assertEquals(choreographer2, sc2.getChoreographer(Looper.myLooper())); in testCreateChoreographer() 167 assertEquals(choreographer3, sc3.getChoreographer(Looper.myLooper())); in testCreateChoreographer()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | SurfaceTexture.java | 142 mCreatorLooper = Looper.myLooper(); in SurfaceTexture() 169 mCreatorLooper = Looper.myLooper(); in SurfaceTexture()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | TestedScreen.java | 73 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume() 76 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
|
H A D | TestedActivity.java | 45 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A 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()
|
H A D | SubtitleController.java | 491 … assert Looper.myLooper() == mHandler.getLooper() : "Must be called from the anchor's looper"; in checkAnchorLooper() 496 if (Looper.myLooper() == mHandler.getLooper()) { in processOnAnchor()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubblesNavBarInputEventReceiver.java | 35 super(inputChannel, Looper.myLooper(), choreographer); in BubblesNavBarInputEventReceiver()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | HandlerTester.java | 58 mLooper = Looper.myLooper(); in run()
|
H A D | TestHandlerThread.java | 78 mLooper = Looper.myLooper(); in run()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotNotificationSmartActionsTest.java | 173 if (Looper.myLooper() == null) { in testShareActionExtras() 201 if (Looper.myLooper() == null) { in testEditActionExtras() 229 if (Looper.myLooper() == null) { in testDeleteActionExtras()
|
/aosp14/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | UnresponsiveGestureMonitorActivity.kt | 51 mInputMonitor.getInputChannel(), Looper.myLooper())
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ValueTarget.java | 44 if (Looper.myLooper() == null) { in setListener()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | CountryDetectorServiceTest.java | 101 @Spy private Handler mHandler = new Handler(Looper.myLooper()); 108 if (Looper.myLooper() == null) { in oneTimeInitialization()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/fragments/ |
H A D | FragmentServiceTest.kt | 21 if (Looper.myLooper() == null) {
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | CameraTestThread.java | 54 mLooper = Looper.myLooper(); in start()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
H A D | AppTransitionAnimationSpecsFuture.java | 86 if (Looper.myLooper() != mHandler.getLooper()) { in composeSpecsSynchronous()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
H A D | HdmiCecPowerStatusControllerTest.java | 65 Looper myLooper = mTestLooper.getLooper(); in setUp() local 94 mHdmiControlService.setIoLooper(myLooper); in setUp()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/ |
H A D | ScrimView.java | 92 mExecutorLooper = Looper.myLooper(); in ScrimView() 326 if (mExecutor == null || Looper.myLooper() == mExecutorLooper) { in executeOnExecutor()
|