Home
last modified time | relevance | path

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

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DTestUtils.java50 public static void waitUntil(String message, BooleanSupplierWithThrow predicate) in waitUntil() argument
52 waitUntil(message, 0, predicate); in waitUntil()
59 String message, int timeoutSecond, BooleanSupplierWithThrow predicate) in waitUntil() argument
67 if (predicate.getAsBoolean()) { in waitUntil()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DMoreCollectors.java43 static <E> Collector<E, ?, Stream<E>> endingAt(final Predicate<E> predicate) { in endingAt() argument
52 if (predicate.test(element)) { in endingAt()
80 static <E> Collector<E, ?, Stream<E>> startingFrom(final Predicate<E> predicate) { in startingFrom() argument
90 if (predicate.test(element)) { in startingFrom()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DGaugeMetricsTests.java62 Predicate predicate = Predicate.newBuilder() in testGaugeMetric() local
66 builder.addPredicate(predicate); in testGaugeMetric()
75 .setCondition(predicate.getId()) in testGaugeMetric()
DDurationMetricsTests.java64 Predicate predicate = Predicate.newBuilder() in testDurationMetric() local
68 builder.addPredicate(predicate); in testDurationMetric()
74 .setWhat(predicate.getId()) in testDurationMetric()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DSignatureTest.java87 private static <T> Predicate<T> not(Predicate<T> predicate) { in not() argument
88 return predicate.negate(); in not()
/cts/tests/signature/src/android/signature/cts/
DInterfaceChecker.java91 private static <T> Predicate<T> not(Predicate<T> predicate) { in not() argument
92 return predicate.negate(); in not()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java179 final Predicate<ImeEvent> predicate = event -> {
187 return expectEvent(stream, predicate, EventFilterMode.CHECK_EXIT_EVENT_ONLY, timeout);
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java138 private void waitUntil(String message, BooleanSupplierWithThrow predicate) throws Exception { in waitUntil() argument
139 TestUtils.waitUntil(message, TIMEOUT_MS, predicate); in waitUntil()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerLauncherCallbackTest.java123 public synchronized boolean isShortcutById(String id, Predicate<ShortcutInfo> predicate) { in isShortcutById() argument
125 if (id.equals(si.getId()) && predicate.test(si)) { in isShortcutById()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSubscriptionManagerTest.java305 Predicate<NetworkCapabilities> predicate) { in waitForNetworkCapabilities() argument
313 if (net.equals(network) && predicate.test(caps)) { in waitForNetworkCapabilities()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayCutoutTests.java213 private List<Rect> boundsWith(DisplayCutout cutout, Predicate<Rect> predicate) { in boundsWith() argument
214 return cutout.getBoundingRects().stream().filter(predicate).collect(Collectors.toList()); in boundsWith()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java486 public void waitForPredicate(Predicate predicate, long timeoutMillis) { in waitForPredicate() argument
498 wasFound = predicate.test(foundValue); in waitForPredicate()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java423 Predicate<SecurityEvent> predicate) { in findEvent() argument
425 events.stream().filter(predicate).collect(Collectors.toList()); in findEvent()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...