/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | TestUiOffloadThread.java | 37 Looper myLooper = Looper.myLooper(); in execute() local 38 if (myLooper != null && myLooper.isCurrentThread()) { in execute()
|
/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
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()
|
/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/ |
D | AnimatorTestRule.java | 148 if (Looper.myLooper() == Looper.getMainLooper()) { 174 mLooperWithLockedAnimationClock = Looper.myLooper(); 194 if (mLooperWithLockedAnimationClock != Looper.myLooper()) { 195 throw new AssertionError("Animation clock being locked on " + Looper.myLooper() 295 if (Looper.myLooper() == null) {
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 136 sMainLooper = myLooper(); in prepareMainLooper() 294 final Looper me = myLooper(); in loop() 352 public static @Nullable Looper myLooper() { in myLooper() method in Looper 362 return myLooper().mQueue; in myQueue()
|
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 102 mHandler = new Handler(Looper.myLooper()); in setUp() 140 Handler handler = new Handler(Looper.myLooper()) { in testPassEidInConstructor() 164 Handler handler = new Handler(Looper.myLooper()) { in testLoadEidAndNotifyRegistrants()
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableLooperTest.java | 136 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooper() 158 assertNotEquals(Looper.myLooper(), Looper.getMainLooper()); in testNonMainLooperAnnotation() 164 assertEquals(Looper.myLooper(), Looper.getMainLooper()); in testMainLooperAnnotation() 171 assertEquals("Should run on main looper", Looper.getMainLooper(), Looper.myLooper()); in testCorrectLooperExecution()
|
/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/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/ |
D | UnfoldFrameCallbackScheduler.kt | 39 Looper.myLooper() ?: error("This should be created in a thread with a looper.")
|
/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubblesNavBarInputEventReceiver.java | 35 super(inputChannel, Looper.myLooper(), choreographer); in BubblesNavBarInputEventReceiver()
|
/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/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCaptureFactory.kt | 36 if (Looper.myLooper() != Looper.getMainLooper()) { in getInstance()
|
D | LooperExecutor.java | 41 if (mHandler.getLooper() == Looper.myLooper()) { in execute()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | UnresponsiveGestureMonitorActivity.kt | 51 mInputMonitor.getInputChannel(), Looper.myLooper()!!) in onCreate()
|
/frameworks/base/tests/ChoreographerTests/src/main/java/android/view/choreographertests/ |
D | AttachedChoreographerTest.java | 146 Looper testLooper = Looper.myLooper(); in testCreateChoreographer() 160 assertEquals(choreographer1, sc1.getChoreographer(Looper.myLooper())); in testCreateChoreographer() 166 Choreographer choreographer2 = sc2.getChoreographer(Looper.myLooper()); in testCreateChoreographer() 169 assertEquals(choreographer2, sc2.getChoreographer(Looper.myLooper())); in testCreateChoreographer() 180 assertEquals(choreographer3, sc3.getChoreographer(Looper.myLooper())); in testCreateChoreographer()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ValueTarget.java | 44 if (Looper.myLooper() == null) { in setListener()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/fragments/ |
D | FragmentServiceTest.kt | 21 if (Looper.myLooper() == null) { in setUp()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsTestBase.java | 51 if (Looper.myLooper() == null) { in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncherTest.java | 87 if (Looper.myLooper() == null) { in testProvisioningPackageSet() 149 if (Looper.myLooper() == null) { in testProvisioningPackageUnset()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CameraTestThread.java | 54 mLooper = Looper.myLooper(); in start()
|
/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/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 166 mCreatorLooper = Looper.myLooper(); in SurfaceTexture() 193 mCreatorLooper = Looper.myLooper(); in SurfaceTexture()
|