Home
last modified time | relevance | path

Searched refs:toastHidden (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java244 boolean toastHidden = mToastHidden.block(/* return immediately */ 1); in waitForToastToExpire()
246 if (toastShown && !toastHidden) { in waitForToastToExpire()
747 CompletableFuture<Void> toastHidden = new CompletableFuture<>(); in testRemovedCallbackIsNotCalled() local
755 toastHidden.complete(null); in testRemovedCallbackIsNotCalled()
772 assertFalse(toastHidden.isDone()); in testRemovedCallbackIsNotCalled()
784 ConditionVariable toastHidden = new ConditionVariable(false); in testCallback_whenTextToast_isCalled() local
788 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() local
803 () -> mToast.addCallback(new ConditionCallback(toastShown, toastHidden))); in testCallback_whenCustomToast_isCalled()
[all …]