Home
last modified time | relevance | path

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

/cts/hostsidetests/graphics/displaymode/app/src/com/android/cts/graphics/displaymode/
DBootDisplayModeTest.java191 private void waitUntil(Display display, Predicate<Display> pred, Duration maxWait) in waitUntil() argument
219 while (!pred.test(display)) { in waitUntil()
/cts/tests/tests/display/src/android/display/cts/
DHdrConversionEnabledTest.java228 private void waitUntil(Predicate<DisplayManager> pred, Duration maxWait) in waitUntil() argument
252 while (!pred.test(mDisplayManager)) { in waitUntil()
DDefaultDisplayModeTest.java379 private void waitUntil(Display display, Predicate<Display> pred, Duration maxWait) in waitUntil() argument
407 while (!pred.test(display)) { in waitUntil()
DBrightnessTest.java523 Predicate<BrightnessChangeEvent> pred) throws InterruptedException { in getNewEvents() argument
530 if (pred.test(e)) { in getNewEvents()
DDisplayTest.java530 private void waitUntil(Display display, Predicate<Display> pred, Duration maxWait)
558 while (!pred.test(display)) {
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java2078 final Predicate<Intent> pred = new IntentFilter(ACTION).asPredicate(); in testAsPredicate() local
2080 assertTrue(pred.test(new Intent(ACTION))); in testAsPredicate()
2081 assertFalse(pred.test(new Intent(CATEGORY))); in testAsPredicate()
2088 final Predicate<Intent> pred = new IntentFilter(ACTION, DATA_STATIC_TYPE) in testAsPredicateWithTypeResolution() local
2091 assertTrue(pred.test(new Intent(ACTION).setDataAndType(URI, DATA_STATIC_TYPE))); in testAsPredicateWithTypeResolution()
2092 assertFalse(pred.test(new Intent(ACTION).setDataAndType(URI, DATA_DYNAMIC_TYPE))); in testAsPredicateWithTypeResolution()