/frameworks/base/apct-tests/perftests/core/src/android/util/ |
D | ArraySetPerfTest.java | 128 Predicate<Integer> predicate = (i) -> i % 2 == 0; in testRemoveIf_Small_Base() local 142 Predicate<Integer> predicate = (i) -> false; in testRemoveIf_Small_RemoveNothing() local 157 Predicate<Integer> predicate = (i) -> true; in testRemoveIf_Small_RemoveAll() local 172 Predicate<Integer> predicate = (i) -> i % 2 == 0; in testRemoveIf_Small_RemoveHalf() local 191 Predicate<Integer> predicate = (i) -> i % 2 == 0; in testRemoveIf_Large_Base() local 205 Predicate<Integer> predicate = (i) -> false; in testRemoveIf_Large_RemoveNothing() local 220 Predicate<Integer> predicate = (i) -> true; in testRemoveIf_Large_RemoveAll() local 235 Predicate<Integer> predicate = (i) -> i % 2 == 0; in testRemoveIf_Large_RemoveHalf() local
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestPredicates.java | 64 public static <T> Predicate<T> not(Predicate<? super T> predicate) { in not() 69 private final Predicate<? super T> predicate; field in TestPredicates.NotPredicate 71 private NotPredicate(Predicate<? super T> predicate) { in NotPredicate()
|
/frameworks/libs/net/common/framework/com/android/net/module/util/ |
D | CollectionUtils.java | 81 public static <T> boolean all(@NonNull Collection<T> elem, @NonNull Predicate<T> predicate) { in all() 93 public static <T> boolean any(@NonNull Collection<T> elem, @NonNull Predicate<T> predicate) { in any() 101 public static <T> int indexOf(@NonNull Collection<T> elem, @NonNull Predicate<T> predicate) { in indexOf() 114 public static <T> boolean any(@NonNull SparseArray<T> array, @NonNull Predicate<T> predicate) { in any()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CollectionUtils.java | 63 java.util.function.Predicate<? super T> predicate) { in filter() 78 java.util.function.Predicate<? super T> predicate) { in filter() 102 @Nullable Predicate<? super T> predicate) { in addIf() 256 java.util.function.Predicate<T> predicate) { in any() 265 java.util.function.Predicate<T> predicate) { in any() 274 java.util.function.Predicate<T> predicate) { in find() 288 java.util.function.Predicate<T> predicate) { in find()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseArrayTest.java | 46 final LongObjPredicate<Integer> predicate = (value, obj) -> (value < 0 && obj < 0); in testRemoveIf() local
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | IdleController.java | 123 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 143 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | StorageController.java | 159 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 179 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | BackgroundJobsController.java | 99 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 133 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | DeviceIdleJobsController.java | 237 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 263 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | ComponentController.java | 249 public void dumpControllerStateLocked(IndentingPrintWriter pw, Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 267 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | StateController.java | 179 Predicate<JobStatus> predicate); in dumpControllerStateLocked() 181 Predicate<JobStatus> predicate) {} in dumpControllerStateLocked()
|
D | BatteryController.java | 297 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 317 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | TimeController.java | 413 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 454 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | ContentObserverController.java | 384 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 474 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | StateControllerTest.java | 89 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 93 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsImeTest.java | 131 private static void waitUntil(String message, BooleanSupplier predicate) in waitUntil() 138 private static boolean waitUntil(BooleanSupplier predicate) throws Exception { in waitUntil()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PersisterQueue.java | 119 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, Class<T> clazz) { in findLastItem() 151 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems()
|
D | VisibleActivityProcessTracker.java | 86 private boolean match(int uid, Predicate<WindowProcessController> predicate) { in match()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 216 List<OverlayInfo> removeIf(@NonNull final Predicate<OverlayInfo> predicate, final int userId) { in removeIf() 221 List<OverlayInfo> removeIf(final @NonNull Predicate<OverlayInfo> predicate) { in removeIf()
|
/frameworks/base/services/core/java/com/android/server/location/listeners/ |
D | ListenerMultiplexer.java | 306 protected final void removeRegistrationIf(@NonNull Predicate<TKey> predicate) { in removeRegistrationIf() 465 protected final void updateRegistrations(@NonNull Predicate<TRegistration> predicate) { in updateRegistrations() 494 @NonNull Predicate<TRegistration> predicate) { in updateRegistration()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsPersisterTests.java | 545 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, in findLastItem() 561 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems()
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerViewPager.java | 140 protected <T extends View> T findViewByPredicateTraversal(Predicate<View> predicate, in findViewByPredicateTraversal()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TestUtils.java | 132 public static void assertLogcatContains(String tag, Predicate<ShadowLog.LogItem> predicate) { in assertLogcatContains()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | StageTaskListener.java | 147 private boolean contains(Predicate<ActivityManager.RunningTaskInfo> predicate) { in contains() 157 Predicate<ActivityManager.RunningTaskInfo> predicate) { in getChildTaskInfo()
|
/frameworks/base/location/java/android/location/ |
D | LocationResult.java | 187 public @Nullable LocationResult filter(Predicate<Location> predicate) { in filter()
|