Searched refs:shadowLooper (Results 1 – 9 of 9) sorted by relevance
103 ShadowLooper shadowLooper = Shadows.shadowOf(looper); in queueInputBuffer_multipleTimes_limitsObjectsAllocation() local116 shadowLooper.idle(); in queueInputBuffer_multipleTimes_limitsObjectsAllocation()162 ShadowLooper shadowLooper = Shadows.shadowOf(looper); in queueSecureInputBuffer_multipleTimes_limitsObjectsAllocation() local175 shadowLooper.idle(); in queueSecureInputBuffer_multipleTimes_limitsObjectsAllocation()
283 ShadowLooper shadowLooper = shadowOf(looper); in flush_multipleTimes_onlyLastFlushExecutes() local285 shadowLooper.runOneTask(); in flush_multipleTimes_onlyLastFlushExecutes()289 shadowLooper.idle(); in flush_multipleTimes_onlyLastFlushExecutes()
285 ShadowLooper shadowLooper = shadowOf(looper); in flush_multipleTimes_onlyLastFlushExecutes() local287 shadowLooper.runOneTask(); in flush_multipleTimes_onlyLastFlushExecutes()292 shadowLooper.idle(); in flush_multipleTimes_onlyLastFlushExecutes()
124 ShadowLooper shadowLooper = Shadow.extract(Looper.getMainLooper()); in getScheduler() local125 return shadowLooper.getScheduler(); in getScheduler()
26 ShadowLooper shadowLooper = Shadow.extract(Looper.getMainLooper()); in addView() local27 shadowLooper.runPaused(() -> in addView()
488 ShadowLooper shadowLooper = Shadow.extract(Looper.getMainLooper());489 shadowLooper.post(515 ShadowLooper shadowLooper = Shadow.extract(Looper.getMainLooper());516 shadowLooper.post(
385 ShadowLooper shadowLooper = Shadow.extract(Looper.getMainLooper()); in removeCallbacks() local386 shadowLooper.getScheduler().remove(callback); in removeCallbacks()
55 private static final Object shadowLooper; field in TestExoPlayer64 shadowLooper =66 runOneTaskMethod = shadowLooper.getClass().getDeclaredMethod("runOneTask");478 runOneTaskMethod.invoke(shadowLooper); in runUntil()
128 ShadowLooper shadowLooper = shadowOf(handler.getLooper()); in testRemoveCallbacks() local129 shadowLooper.pause(); in testRemoveCallbacks()133 shadowLooper.unPause(); in testRemoveCallbacks()