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.java96 assertThat(ShadowLooper.getLooperForThread(qt)).isSameInstanceAs(qt.looper); in getLooperForThread_returnsLooperForAThreadThatHasOne()
101 …assertThat(ShadowLooper.getLooperForThread(Thread.currentThread())).isSameInstanceAs(Looper.getMai… in getLooperForThread_returnsLooperForMainThread()