/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
D | InterpreterInstaller.java | 111 Looper.myLooper().quit(); 114 Looper.myLooper().quit(); 146 Looper.myLooper().quit(); 221 if (Looper.myLooper() == null) { in executeInBackground() 224 mBackgroundHandler = new Handler(Looper.myLooper()); in executeInBackground()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowLooperTest.java | 57 looper = Looper.myLooper(); in run() 73 assertThat(Looper.myLooper()).isSameAs(Looper.getMainLooper()); in mainLooper_andMyLooper_shouldBeSame_onMainThread() 223 assertThat(Looper.myLooper()).isSameAs(Looper.getMainLooper()); in whenTestHarnessUsesDifferentThread_shouldStillHaveMainLooper() 344 final AtomicReference<Looper> myLooper = new AtomicReference<>(); in myLooper_returnsMainLooper_ifMainThreadIsSwitched() local 348 myLooper.set(Looper.myLooper()); in myLooper_returnsMainLooper_ifMainThreadIsSwitched() 355 assertThat(myLooper.get()).isSameAs(Looper.getMainLooper()); in myLooper_returnsMainLooper_ifMainThreadIsSwitched()
|
D | ShadowHandlerTest.java | 63 Handler handler2 = new Handler(Looper.myLooper()); in testDefaultConstructorUsesDefaultLooper() 66 shadowOf(Looper.myLooper()).idle(); in testDefaultConstructorUsesDefaultLooper() 370 runAt.add(shadowOf(Looper.myLooper()).getScheduler().getCurrentTime()); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused() 508 Handler h = new Handler(Looper.myLooper()) { in shouldRemoveMessageFromQueueBeforeDispatching()
|
D | ShadowMessengerTest.java | 27 Looper looper = Looper.myLooper(); in testMessengerSend()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalUiController.java | 37 checkState(Looper.myLooper() == Looper.getMainLooper(), "Expecting to be on main thread!"); in injectMotionEvent() 51 checkState(Looper.myLooper() == Looper.getMainLooper(), "Expecting to be on main thread!"); in injectKeyEvent() 65 checkState(Looper.myLooper() == Looper.getMainLooper(), "Expecting to be on main thread!"); in injectString()
|
D | ParallelUniverse.java | 117 if (Looper.myLooper() == null) { in setUpApplicationState() 178 .setStaticField(ActivityThread.class, "sMainThreadHandler", new Handler(Looper.myLooper())); in setUpApplicationState()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
D | EngineResource.java | 77 if (!Looper.getMainLooper().equals(Looper.myLooper())) { in acquire() 96 if (!Looper.getMainLooper().equals(Looper.myLooper())) { in release()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowChoreographer.java | 27 private Handler handler = new Handler(Looper.myLooper()); 35 Looper looper = Looper.myLooper(); in makeThreadLocal()
|
D | ShadowLooper.java | 93 protected static Looper myLooper() { in myLooper() method in ShadowLooper 99 shadowOf(Looper.myLooper()).doLoop(); in loop()
|
D | ShadowMediaPlayer.java | 544 Looper myLooper = Looper.myLooper(); in __constructor__() local 545 if (myLooper != null) { in __constructor__() 546 handler = getHandler(myLooper); in __constructor__()
|
D | ShadowSystemVibrator.java | 25 private Handler handler = new Handler(Looper.myLooper());
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | InstrumentationUtils.java | 180 if (Looper.myLooper() != Looper.getMainLooper()) { in checkMainThread() 186 if (Looper.myLooper() == Looper.getMainLooper()) { in checkNotMainThread()
|
D | ActivityUtils.java | 48 if (Looper.myLooper() == Looper.getMainLooper()) {
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | Threads.java | 9 if (Looper.myLooper() != Looper.getMainLooper()) { in throwIfNotOnMainThread()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockLooper.java | 17 public static Looper myLooper() { in myLooper() method in MockLooper
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | Preconditions.java | 59 if (Looper.myLooper() == Looper.getMainLooper()) { in ensureOnMainThread()
|
D | SetupCompatServiceProvider.java | 62 disableLooperCheckForTesting || Looper.getMainLooper() != Looper.myLooper(), in getService()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
D | LooperExecutor.java | 71 Looper.myLooper().quit(); in requestStop()
|
/external/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/ |
D | PresencePollingTestBase.java | 49 if (Looper.myLooper() == null) { in setUp()
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
D | Util.java | 132 return Looper.myLooper() == Looper.getMainLooper(); in isOnMainThread()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | DecodeHandler.java | 57 Looper.myLooper().quit(); in handleMessage()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ThreadUtils.java | 244 return getUiThreadHandler().getLooper() == Looper.myLooper(); in runningOnUiThread()
|
/external/apache-http/android/src/android/net/http/ |
D | AndroidHttpClient.java | 97 if (Looper.myLooper() != null && Looper.myLooper() == Looper.getMainLooper() ) {
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PollingAction.java | 109 if (Looper.myLooper() == null) { in doInBackground()
|
/external/volley/src/main/java/com/android/volley/ |
D | Request.java | 234 if (Looper.myLooper() != Looper.getMainLooper()) { in finish()
|