Searched refs:toastShown (Results 1 – 1 of 1) sorted by relevance
243 boolean toastShown = mToastShown.block(/* return immediately */ 1); in waitForToastToExpire()246 if (toastShown && !toastHidden) { in waitForToastToExpire()746 CompletableFuture<Void> toastShown = new CompletableFuture<>(); in testRemovedCallbackIsNotCalled() local751 toastShown.complete(null); in testRemovedCallbackIsNotCalled()771 assertFalse(toastShown.isDone()); in testRemovedCallbackIsNotCalled()783 ConditionVariable toastShown = new ConditionVariable(false); in testCallback_whenTextToast_isCalled() local788 mToast.addCallback(new ConditionCallback(toastShown, toastHidden)); in testCallback_whenTextToast_isCalled()793 assertTrue(toastShown.block(TIME_OUT)); in testCallback_whenTextToast_isCalled()800 ConditionVariable toastShown = new ConditionVariable(false); in testCallback_whenCustomToast_isCalled() local803 () -> mToast.addCallback(new ConditionCallback(toastShown, toastHidden))); in testCallback_whenCustomToast_isCalled()[all …]