/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | MoreCollectors.java | 43 static <E> Collector<E, ?, Stream<E>> endingAt(Predicate<E> predicate) { in endingAt() argument 52 if (predicate.test(element)) { in endingAt() 80 static <E> Collector<E, ?, Stream<E>> startingFrom(Predicate<E> predicate) { in startingFrom() argument 90 if (predicate.test(element)) { in startingFrom()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TestUtils.java | 52 public static void waitUntil(String message, BooleanSupplierWithThrow predicate) in waitUntil() argument 54 waitUntil(message, 0, predicate); in waitUntil() 61 String message, int timeoutSecond, BooleanSupplierWithThrow predicate) in waitUntil() argument 69 if (predicate.getAsBoolean()) { in waitUntil()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | TestUtils.java | 52 public static void waitUntil(String message, BooleanSupplierWithThrow predicate) in waitUntil() argument 54 waitUntil(message, 0, predicate); in waitUntil() 61 String message, int timeoutSecond, BooleanSupplierWithThrow predicate) in waitUntil() argument 69 if (predicate.getAsBoolean()) { in waitUntil()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/ |
D | DurationMetricsTests.java | 71 Predicate predicate = Predicate.newBuilder() in testDurationMetric() local 75 builder.addPredicate(predicate); in testDurationMetric() 81 .setWhat(predicate.getId()) in testDurationMetric() 136 Predicate predicate = Predicate.newBuilder() in testDurationMetricWithCondition() local 151 .addPredicate(predicate) in testDurationMetricWithCondition() 158 .setWhat(predicate.getId()) in testDurationMetricWithCondition() 249 Predicate predicate = Predicate.newBuilder() in testDurationMetricWithActivation() local 253 builder.addPredicate(predicate); in testDurationMetricWithActivation() 259 .setWhat(predicate.getId()) in testDurationMetricWithActivation() 349 Predicate predicate = Predicate.newBuilder() in testDurationMetricWithConditionAndActivation() local [all …]
|
D | GaugeMetricsTests.java | 71 Predicate predicate = Predicate.newBuilder() in testGaugeMetric() local 75 builder.addPredicate(predicate); in testGaugeMetric() 84 .setCondition(predicate.getId()) in testGaugeMetric() 237 Predicate predicate = Predicate.newBuilder() in testPulledGaugeMetricWithConditionAndActivation() local 241 builder.addPredicate(predicate); in testPulledGaugeMetricWithConditionAndActivation() 249 .setCondition(predicate.getId()) in testPulledGaugeMetricWithConditionAndActivation()
|
D | ValueMetricsTests.java | 369 Predicate predicate = Predicate.newBuilder() in testValueMetricWithConditionAndActivation() local 373 builder.addPredicate(predicate); in testValueMetricWithConditionAndActivation() 381 .setCondition(predicate.getId()) in testValueMetricWithConditionAndActivation()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | SignatureTest.java | 85 private static <T> Predicate<T> not(Predicate<T> predicate) { in not() argument 86 return predicate.negate(); in not()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | InterfaceChecker.java | 92 private static <T> Predicate<T> not(Predicate<T> predicate) { in not() argument 93 return predicate.negate(); in not()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 197 final Predicate<ImeEvent> predicate = event -> { 205 return expectEvent(stream, predicate, EventFilterMode.CHECK_EXIT_EVENT_ONLY, timeout);
|
/cts/hostsidetests/statsd/ |
D | PROCSTATSQ_PULL.pbtxt | 40 predicate {
|
D | PROCSTATSQ_PULL_PKG_PROC.pbtxt | 40 predicate {
|
D | PROCSTATSQ_PROCS_STATE_CACHED_EMPTY_DURATION.pbtxt | 40 predicate {
|
D | PROCSTATSQ_PROCS_STATE_TOP_DURATION.pbtxt | 60 predicate {
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackUtils.java | 189 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry() argument 193 if (predicate.test(result)) { in retry()
|
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
D | CtsSyncManagerTest.java | 139 private void waitUntil(String message, BooleanSupplierWithThrow predicate) throws Exception { in waitUntil() argument 140 TestUtils.waitUntil(message, TIMEOUT_MS, predicate); in waitUntil()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerLauncherCallbackTest.java | 123 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/util/src/android/util/cts/ |
D | ArraySetTest.java | 511 Predicate<Integer> predicate = (i) -> { 514 set.removeIf(predicate); 536 setDecreasing.removeIf(predicate);
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DisplayCutoutTests.java | 286 private List<Rect> boundsWith(DisplayCutout cutout, Predicate<Rect> predicate) { in boundsWith() argument 287 return cutout.getBoundingRects().stream().filter(predicate).collect(Collectors.toList()); in boundsWith()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TestUtils.java | 636 public void waitForPredicate(Predicate predicate, long timeoutMillis) { in waitForPredicate() argument 647 wasFound = predicate.test(foundValue); in waitForPredicate()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SubscriptionManagerTest.java | 769 Predicate<NetworkCapabilities> predicate) { in waitForNetworkCapabilities() argument 777 if (net.equals(network) && predicate.test(caps)) { in waitForNetworkCapabilities()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SecurityLoggingTest.java | 438 Predicate<SecurityEvent> predicate) { in findEvent() argument 440 events.stream().filter(predicate).collect(Collectors.toList()); in findEvent()
|