/frameworks/base/apct-tests/perftests/core/src/android/util/ |
D | ArraySetPerfTest.java | 95 Predicate<Integer> predicate = (i) -> i % 2 == 0; in testRemoveIf_Small_Base() local 109 Predicate<Integer> predicate = (i) -> false; in testRemoveIf_Small_RemoveNothing() local 124 Predicate<Integer> predicate = (i) -> true; in testRemoveIf_Small_RemoveAll() local 139 Predicate<Integer> predicate = (i) -> i % 2 == 0; in testRemoveIf_Small_RemoveHalf() local 158 Predicate<Integer> predicate = (i) -> i % 2 == 0; in testRemoveIf_Large_Base() local 172 Predicate<Integer> predicate = (i) -> false; in testRemoveIf_Large_RemoveNothing() local 187 Predicate<Integer> predicate = (i) -> true; in testRemoveIf_Large_RemoveAll() local 202 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()
|
D | TestGrouping.java | 147 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) { in select()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CollectionUtils.java | 56 java.util.function.Predicate<? super T> predicate) { in filter() 71 java.util.function.Predicate<? super T> predicate) { in filter() 95 @Nullable Predicate<? super T> predicate) { in addIf() 242 java.util.function.Predicate<T> predicate) { in any() 251 java.util.function.Predicate<T> predicate) { in any() 260 java.util.function.Predicate<T> predicate) { in find() 274 java.util.function.Predicate<T> predicate) { in find()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 154 Predicate predicate; in CreateScheduledJobPredicate() local 162 Predicate predicate; in CreateBatterySaverModePredicate() local 170 Predicate predicate; in CreateScreenIsOnPredicate() local 178 Predicate predicate; in CreateScreenIsOffPredicate() local 186 Predicate predicate; in CreateHoldingWakelockPredicate() local 194 Predicate predicate; in CreateIsSyncingPredicate() local 202 Predicate predicate; in CreateIsInBackgroundPredicate() local 209 void addPredicateToPredicateCombination(const Predicate& predicate, in addPredicateToPredicateCombination()
|
/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 | 117 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 137 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | StorageController.java | 156 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 176 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | StateController.java | 134 Predicate<JobStatus> predicate); in dumpControllerStateLocked() 136 Predicate<JobStatus> predicate); in dumpControllerStateLocked()
|
D | BackgroundJobsController.java | 81 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 115 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | DeviceIdleJobsController.java | 232 final Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 258 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | BatteryController.java | 240 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 265 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | ContentObserverController.java | 357 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 447 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
D | TimeController.java | 522 Predicate<JobStatus> predicate) { in dumpControllerStateLocked() 560 Predicate<JobStatus> predicate) { in dumpControllerStateLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsImeTest.java | 107 private static void waitUntil(String message, BooleanSupplier predicate) in waitUntil() 114 private static boolean waitUntil(BooleanSupplier predicate) throws Exception { in waitUntil()
|
/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/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()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | FloatingToolbarEspressoUtils.java | 200 final Predicate<View> predicate, final boolean positiveAssertion) { in assertFloatingToolbarMenuItem()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | FileUtils.cpp | 41 const FindFilesPredicate& predicate) { in FindFiles()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsPersisterTests.java | 534 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, in findLastItem() 550 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems()
|
D | TaskSnapshotPersisterTestBase.java | 136 protected static void assertTrueForFiles(File[] files, Predicate<File> predicate, in assertTrueForFiles()
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.cpp | 242 Predicate predicate; in CreateScheduledJobPredicate() local 250 Predicate predicate; in CreateBatterySaverModePredicate() local 258 Predicate predicate; in CreateDeviceUnpluggedPredicate() local 266 Predicate predicate; in CreateScreenIsOnPredicate() local 274 Predicate predicate; in CreateScreenIsOffPredicate() local 282 Predicate predicate; in CreateHoldingWakelockPredicate() local 290 Predicate predicate; in CreateIsSyncingPredicate() local 298 Predicate predicate; in CreateIsInBackgroundPredicate() local 394 void addPredicateToPredicateCombination(const Predicate& predicate, in addPredicateToPredicateCombination()
|
/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/rs/tests/lldb/tests/harness/ |
D | test_base.py | 91 def predicate(obj): function
|