Home
last modified time | relevance | path

Searched defs:predicate (Results 1 – 25 of 27) sorted by relevance

12

/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DMoreCollectors.java43 static <E> Collector<E, ?, Stream<E>> endingAt(Predicate<E> predicate) { in endingAt()
80 static <E> Collector<E, ?, Stream<E>> startingFrom(Predicate<E> predicate) { in startingFrom()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCtsWindowInfoUtils.java82 public static boolean waitForWindowInfos(@NonNull Predicate<List<WindowInfo>> predicate, in waitForWindowInfos()
140 public static boolean waitForWindowInfos(@NonNull Predicate<List<WindowInfo>> predicate, in waitForWindowInfos()
166 public static boolean waitForWindowInfo(@NonNull Predicate<WindowInfo> predicate, long timeout, in waitForWindowInfo()
242 @NonNull Predicate<WindowInfo> predicate) in waitForWindowOnTop()
511 Predicate<WindowInfo> predicate = windowInfo -> { in getWindowBoundsInWindowSpace() local
537 Predicate<WindowInfo> predicate = windowInfo -> { in getWindowBoundsInDisplaySpace() local
DWindowManagerState.java274 Predicate<T> predicate, WindowContainer root, List<T> outChildren) { in collectDescendantsOfTypeIf()
974 public int getRootTasksCount(Predicate<? super Task> predicate) { in getRootTasksCount()
1607 Task getTask(Predicate<Task> predicate) { in getTask()
1625 Activity getActivity(Predicate<Activity> predicate) { in getActivity()
DWindowInsetsAnimationTestBase.java162 Predicate<V> predicate) { in assertListElements()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTestUtils.java52 public static void waitUntil(String message, BooleanSupplierWithThrow predicate) in waitUntil()
61 String message, int timeoutSecond, BooleanSupplierWithThrow predicate) in waitUntil()
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DRequiredMeasurement.java50 public abstract BiPredicate<T, T> predicate(); in predicate() method in RequiredMeasurement
67 public abstract Builder<T> setPredicate(BiPredicate<T, T> predicate); in setPredicate() argument
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java72 private Predicate<ImeEvent> combine(Predicate<ImeEvent> predicate) { in combine()
/cts/tests/signature/lib/common/src/android/signature/cts/
DInterfaceChecker.java130 private static <T> Predicate<T> not(Predicate<T> predicate) { in not()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DSignatureTest.java139 private static <T> Predicate<T> not(Predicate<T> predicate) { in not()
/cts/tests/media/common/src/android/mediav2/common/cts/
DImageSurface.java113 int surfaceId, Function<ImageAndAttributes, Boolean> predicate) { in createSurface()
DCodecTestBase.java1524 int surfaceId, Function<ImageSurface.ImageAndAttributes, Boolean> predicate) { in setUpSurface()
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupPreparer.java168 String message, long timeoutSeconds, Function<Boolean, Boolean> predicate) in waitUntilWithLastTry() argument
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerLauncherCallbackTest.java126 public synchronized boolean isShortcutById(String id, Predicate<ShortcutInfo> predicate) { in isShortcutById()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderQualityRegressionTestBase.java128 boolean setLoopBack, Predicate<Double> predicate) in getQualityRegressionForCfgs()
DVideoEncoderRoiTest.java258 Predicate<Double> predicate = bdRate -> bdRate <= EXPECTED_BD_RATE; in testRoiSupport() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java557 Predicate<SecurityEvent> predicate) { in findEvents()
562 Predicate<SecurityEvent> predicate) { in findEvent()
569 Predicate<SecurityEvent> predicate, int expectedSize) { in assertNumberEvents()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java207 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerServiceHostTest.java228 Correspondence.BinaryPredicate<T, T> predicate = (actual, expected) -> in build() local
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java485 protected void waitUntil(long timeoutSeconds, BooleanSupplierWithThrow<Exception> predicate, in waitUntil()
495 protected void waitUntil(BooleanSupplierWithThrow<Exception> predicate, in waitUntil()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DCollectionAppWidgetTest.java406 private static <T extends View> T findFirstMatchingView(View view, Predicate<View> predicate) { in findFirstMatchingView()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java102 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DDisplayCutoutTests.java573 private List<Rect> boundsWith(DisplayCutout cutout, Predicate<Rect> predicate) { in boundsWith()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java1610 Predicate<NetworkCapabilities> predicate) { in waitForNetworkCapabilities()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java1712 private void killBackgroundProcesses(Predicate<String> predicate) { in killBackgroundProcesses()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java904 public void waitForPredicate(Predicate predicate, long timeoutMillis) { in waitForPredicate()

12