HomeSort by relevance Sort by last modified time
    Searched defs:mainLooper (Results 1 - 4 of 4) sorted by null

  /frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
RootsOracle.java 66 private final Looper mainLooper;
73 RootsOracle(Looper mainLooper) {
74 this.mainLooper = mainLooper;
80 checkState(mainLooper.equals(Looper.myLooper()), "must be called on main thread.");
UiControllerImpl.java 145 private final Looper mainLooper;
158 Looper mainLooper) {
164 this.mainLooper = checkNotNull(mainLooper);
165 this.queueInterrogator = new QueueInterrogator(mainLooper);
172 checkState(Looper.myLooper() == mainLooper, "Expecting to be on main thread!");
210 checkState(Looper.myLooper() == mainLooper, "Expecting to be on main thread!");
245 checkState(Looper.myLooper() == mainLooper, "Expecting to be on main thread!");
311 checkState(Looper.myLooper() == mainLooper, "Expecting to be on main thread!");
377 checkState(Looper.myLooper() == mainLooper, "Expecting to be on main thread!")
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LooperTest.java 41 Looper mainLooper = Looper.getMainLooper();
44 assertSame("junit test's thread should use the main looper", mainLooper, thisThreadsLooper);
59 assertNotSame(mainLooper, thread1Looper[0]);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowApplication.java 82 private Looper mainLooper = ShadowLooper.myLooper();
483 return mainLooper;

Completed in 189 milliseconds