Home
last modified time | relevance | path

Searched refs:getLooperForThread (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLooper.java94 return getLooperForThread(Thread.currentThread()); in myLooper()
147 public static Looper getLooperForThread(Thread thread) { in getLooperForThread() method in ShadowLooper
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLooperTest.java95 assertThat(ShadowLooper.getLooperForThread(qt)).isSameAs(qt.looper); in getLooperForThread_returnsLooperForAThreadThatHasOne()
100 …assertThat(ShadowLooper.getLooperForThread(Thread.currentThread())).isSameAs(Looper.getMainLooper(… in getLooperForThread_returnsLooperForMainThread()