Searched refs:toastHidden (Results 1 – 1 of 1) sorted by relevance
244 boolean toastHidden = mToastHidden.block(/* return immediately */ 1); in waitForToastToExpire()246 if (toastShown && !toastHidden) { in waitForToastToExpire()747 CompletableFuture<Void> toastHidden = new CompletableFuture<>(); in testRemovedCallbackIsNotCalled() local755 toastHidden.complete(null); in testRemovedCallbackIsNotCalled()772 assertFalse(toastHidden.isDone()); in testRemovedCallbackIsNotCalled()784 ConditionVariable toastHidden = new ConditionVariable(false); in testCallback_whenTextToast_isCalled() local788 mToast.addCallback(new ConditionCallback(toastShown, toastHidden)); in testCallback_whenTextToast_isCalled()794 assertTrue(toastHidden.block(TIME_OUT)); in testCallback_whenTextToast_isCalled()801 ConditionVariable toastHidden = new ConditionVariable(false); in testCallback_whenCustomToast_isCalled() local803 () -> mToast.addCallback(new ConditionCallback(toastShown, toastHidden))); in testCallback_whenCustomToast_isCalled()[all …]