HomeSort by relevance Sort by last modified time
    Searched refs:getMainLooper (Results 1 - 25 of 805) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/util/
Assert.java 27 if (!Looper.getMainLooper().isCurrentThread()) {
33 if (Looper.getMainLooper().isCurrentThread()) {
  /packages/apps/Launcher3/src/com/android/launcher3/
MainThreadExecutor.java 31 super(Looper.getMainLooper());
  /packages/apps/Messaging/src/com/android/messaging/util/
ThreadUtil.java 23 private static final Handler sHandler = new Handler(Looper.getMainLooper());
  /packages/apps/Dialer/java/com/android/voicemail/impl/
Assert.java 37 isTrue(Looper.getMainLooper().equals(Looper.myLooper()));
45 isTrue(!Looper.getMainLooper().equals(Looper.myLooper()));
  /packages/apps/Launcher3/src/com/android/launcher3/util/
Preconditions.java 42 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(Looper.getMainLooper())) {
48 if (FeatureFlags.IS_DOGFOOD_BUILD && isSameLooper(Looper.getMainLooper())) {
  /packages/services/Telephony/src/com/android/phone/
Assert.java 40 isTrue(Looper.getMainLooper().equals(Looper.myLooper()));
48 isTrue(!Looper.getMainLooper().equals(Looper.myLooper()));
  /external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
MockLooper.java 9 * myLooper and getMainLooper will always be equal. The implication is that any calling
22 public static Looper getMainLooper() {
  /packages/apps/Camera2/src/com/android/camera/async/
MainThreadExecutor.java 28 return new MainThreadExecutor(new Handler(Looper.getMainLooper()));
MainThread.java 34 return new MainThread(new Handler(Looper.getMainLooper()));
43 return Looper.getMainLooper().getThread() == Thread.currentThread();
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
Assert.java 36 if (Looper.myLooper() != Looper.getMainLooper()) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLooper.java 40 public static Looper getMainLooper() {
41 return Robolectric.getShadowApplication().getMainLooper();
47 if (looper != shadowOf(getMainLooper())) {
66 if (this == shadowOf(getMainLooper())) throw new RuntimeException("Main thread not allowed to quit");
92 pauseLooper(Looper.getMainLooper());
96 unPauseLooper(Looper.getMainLooper());
100 shadowOf(Looper.getMainLooper()).idle(interval);
  /external/sl4a/Utils/src/com/googlecode/android_scripting/
MainThread.java 38 Handler handler = new Handler(context.getMainLooper());
59 Handler handler = new Handler(context.getMainLooper());
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
ThreadUtils.java 35 sMainThread = Looper.getMainLooper().getThread();
45 sMainThreadHandler = new Handler(Looper.getMainLooper());
  /packages/apps/TV/src/com/android/tv/util/
MainThreadExecutor.java 38 private final Handler mHandler = new Handler(Looper.getMainLooper());
42 if (Looper.getMainLooper() == Looper.myLooper()) {
  /developers/build/prebuilts/gradle/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
Utils.java 28 new Handler(Looper.getMainLooper()).post(() -> {
  /developers/samples/android/system/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
Utils.java 28 new Handler(Looper.getMainLooper()).post(() -> {
  /development/samples/ShortcutSample/src/com/example/android/shortcutsample/
Utils.java 28 new Handler(Looper.getMainLooper()).post(() -> {
  /development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
Utils.java 28 new Handler(Looper.getMainLooper()).post(() -> {
  /packages/apps/Dialer/java/com/android/dialer/common/concurrent/
ThreadUtil.java 39 mainThreadHandler = new Handler(Looper.getMainLooper());
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
GalleryContext.java 31 public Looper getMainLooper();
  /packages/services/Telecomm/src/com/android/server/telecom/
ThreadUtil.java 32 return Looper.getMainLooper() == Looper.myLooper();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
LooperTest.java 19 assertSame(Looper.myLooper(), Looper.getMainLooper());
41 Looper mainLooper = Looper.getMainLooper();
64 Looper.getMainLooper().quit();
104 assertTrue(shadowOf(Looper.getMainLooper()).getThread() == Thread.currentThread());
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowWindowManagerGlobalTest.java 24 assertThat(ShadowWindowManagerGlobal.getWindowSession(Looper.getMainLooper())).isNull();
  /frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
StartProcessService.java 35 Looper.getMainLooper().getQueue().addIdleHandler(() -> {
  /frameworks/layoutlib/bridge/src/android/view/inputmethod/
InputMethodManager_Delegate.java 43 Looper.getMainLooper());

Completed in 875 milliseconds

1 2 3 4 5 6 7 8 91011>>