Searched refs:mToastHidden (Results 1 – 1 of 1) sorted by relevance
115 private ConditionVariable mToastHidden; field in ToastTest179 assertTrue(mToastHidden.block(TIME_OUT)); in assertTextToastShownAndHidden()217 mToastHidden = new ConditionVariable(false); in makeTextToast()221 mToast.addCallback(new ConditionCallback(mToastShown, mToastHidden)); in makeTextToast()242 if (mToastShown != null && mToastHidden != null) { in waitForToastToExpire()244 boolean toastHidden = mToastHidden.block(/* return immediately */ 1); in waitForToastToExpire()247 assertTrue(mToastHidden.block(TIME_OUT)); in waitForToastToExpire()759 mToastHidden = new ConditionVariable(false); in testRemovedCallbackIsNotCalled()764 mToast.addCallback(new ConditionCallback(mToastShown, mToastHidden)); in testRemovedCallbackIsNotCalled()1153 private final ConditionVariable mToastHidden; field in ToastTest.ConditionCallback[all …]