Searched refs:sMainLooper (Results 1 – 3 of 3) sorted by relevance
27 private static final Looper sMainLooper = Looper.getMainLooper(); field in Assert41 if (!sMainLooper.isCurrentThread() in isMainThread()44 + " sMainLooper.threadName=" + sMainLooper.getThread().getName() in isMainThread()50 if (sMainLooper.isCurrentThread() in isNotMainThread()
29 Field sMainLooper = Looper.class.getDeclaredField("sMainLooper"); in cleanupThread() local30 sMainLooper.setAccessible(true); in cleanupThread()31 sMainLooper.set(null, null); in cleanupThread()
74 private static Looper sMainLooper; // guarded by Looper.class field in Looper130 if (sMainLooper != null) { in prepareMainLooper()133 sMainLooper = myLooper(); in prepareMainLooper()142 return sMainLooper; in getMainLooper()