Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDialerFutures.java46 Predicate<T> predicate, in firstMatching()
53 Predicate<T> predicate, in firstMatchingImpl()
/packages/services/Car/service/src/com/android/car/
DSlidingWindow.java61 public int count(Predicate<T> predicate) { in count()
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java275 MutableLiveData<Boolean> predicate = new MutableLiveData<>(); in testIff_changePredicate() local
305 LiveData<Boolean> predicate = trueLiveData(); in testIff_changeValue() local
398 MutableLiveData<Boolean> predicate = new MutableLiveData<>(); in testIfThenElse_liveDataParams_changePredicate() local
432 LiveData<Boolean> predicate = trueLiveData(); in testIfThenElse_liveDataParams_changeValue_value() local
507 MutableLiveData<Boolean> predicate = new MutableLiveData<>(); in testIfThenElse_valueParams_changePredicate() local
794 LiveData<Boolean> predicate, LiveData<T> trueData, LiveData<T> falseData) { in IfThenElseDataParams()
806 private IfThenElseValueParams(LiveData<Boolean> predicate, T trueValue, T falseValue) { in IfThenElseValueParams()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallViewModel.java276 private static Call firstMatch(List<Call> callList, Predicate<Call> predicate) { in firstMatch()
281 private static List<Call> filter(List<Call> callList, Predicate<Call> predicate) { in filter()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogConstraints.java98 Predicate<ContentValues> predicate) { in checkColumn()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DBreadBot.java116 public void assertItemsPresent(String[] items, Predicate<String> predicate) { in assertItemsPresent()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java736 protected StartPredicate predicate; field in DotsPageIndicator.PendingStartAnimator
738 public PendingStartAnimator(StartPredicate predicate) { in PendingStartAnimator()
759 public PendingRetreatAnimator(int was, int now, int steps, StartPredicate predicate) { in PendingRetreatAnimator()
853 public PendingRevealAnimator(int dot, StartPredicate predicate) { in PendingRevealAnimator()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java736 protected StartPredicate predicate; field in DotsPageIndicator.PendingStartAnimator
738 public PendingStartAnimator(StartPredicate predicate) { in PendingStartAnimator()
759 public PendingRetreatAnimator(int was, int now, int steps, StartPredicate predicate) { in PendingRetreatAnimator()
853 public PendingRevealAnimator(int dot, StartPredicate predicate) { in PendingRevealAnimator()
/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java158 public static <T> boolean any(SparseArray<T> array, Predicate<T> predicate) { in any()
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DMessengerDelegate.java211 protected void clearNotifications(Predicate<CompositeKey> predicate) { in clearNotifications()
220 private void cleanupMessagesAndNotifications(Predicate<CompositeKey> predicate) { in cleanupMessagesAndNotifications()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DLastAccessedProvider.java241 private void purgeByAuthority(Predicate<String> predicate) { in purgeByAuthority()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomSystemTest.java1030 protected static void assertTrueWithTimeout(Predicate<Void> predicate) { in assertTrueWithTimeout()