/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 | 66 public static <T> Predicate<T> not(Predicate<? super T> predicate) { in not() 71 private final Predicate<? super T> predicate; field in TestPredicates.NotPredicate 73 private NotPredicate(Predicate<? super T> predicate) { in NotPredicate()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CollectionUtils.java | 64 java.util.function.Predicate<? super T> predicate) { in filter() 79 java.util.function.Predicate<? super T> predicate) { in filter() 103 @Nullable Predicate<? super T> predicate) { in addIf() 258 java.util.function.Predicate<T> predicate) { in any() 267 java.util.function.Predicate<T> predicate) { in any() 276 java.util.function.Predicate<T> predicate) { in find() 290 java.util.function.Predicate<T> predicate) { in find()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | algorithm.h | 48 auto FindIf(const Container& container, Predicate predicate) { in FindIf() 53 bool ContainsIf(const Container& container, Predicate predicate) { in ContainsIf()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | StateControllerTest.java | 88 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 92 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | IdleController.java | 158 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 178 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | StorageController.java | 162 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 182 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | BatteryController.java | 239 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 258 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | DeviceIdleJobsController.java | 237 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 263 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | ComponentController.java | 257 public void dumpControllerStateLocked(IndentingPrintWriter pw, Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 275 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | StateController.java | 185 Predicate<JobStatus> predicate); in dumpControllerStateLocked() 187 Predicate<JobStatus> predicate) {} in dumpControllerStateLocked()
|
D | BackgroundJobsController.java | 185 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 239 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | TimeController.java | 421 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 462 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | ContentObserverController.java | 384 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 474 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/native/services/surfaceflinger/FrontEnd/ |
D | SwapErase.h | 40 void swapErase(std::vector<T>& vec, P predicate) { in swapErase()
|
/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/services/core/java/com/android/server/location/listeners/ |
D | ListenerMultiplexer.java | 319 protected final void removeRegistrationIf(@NonNull Predicate<TKey> predicate) { in removeRegistrationIf() 487 protected final boolean findRegistration(Predicate<TRegistration> predicate) { in findRegistration() 512 protected final void updateRegistrations(@NonNull Predicate<TRegistration> predicate) { in updateRegistrations() 541 @NonNull Predicate<TRegistration> predicate) { in updateRegistration()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderfsStatsReader.java | 65 public void handleFreeAsyncSpace(Predicate<Integer> predicate, in handleFreeAsyncSpace()
|
/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/native/services/surfaceflinger/tests/utils/ |
D | WindowInfosListenerUtils.h | 36 bool waitForWindowInfosPredicate(const WindowInfosPredicate& predicate) { in waitForWindowInfosPredicate()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 228 List<OverlayInfo> removeIf(@NonNull final Predicate<OverlayInfo> predicate, final int userId) { in removeIf() 233 List<OverlayInfo> removeIf(final @NonNull Predicate<OverlayInfo> predicate) { in removeIf()
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | loop_guest_context_optimizer.cc | 290 void OptimizeLoopTree(MachineIR* machine_ir, LoopTreeNode* node, PredicateFunction predicate) { in OptimizeLoopTree() 305 auto predicate = [](LoopTreeNode* node) -> bool { in RemoveLoopGuestContextAccesses() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsPersisterTests.java | 548 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, in findLastItem() 564 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems()
|