/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/ |
D | LiveDataFunctionsTest.java | 254 (predicate, value) -> LiveDataFunctions.iff(predicate, Boolean::booleanValue, in testIff_truthTable() 264 (predicate, value) -> LiveDataFunctions.iff(predicate, Boolean::booleanValue, in testIff_uninitialized() 273 MutableLiveData<Boolean> predicate = new MutableLiveData<>(); in testIff_changePredicate() local 279 LiveDataFunctions.iff(predicate, Boolean::booleanValue, value) in testIff_changePredicate() 283 predicate.setValue(false); in testIff_changePredicate() 289 predicate.setValue(true); in testIff_changePredicate() 295 predicate.setValue(null); in testIff_changePredicate() 303 LiveData<Boolean> predicate = trueLiveData(); in testIff_changeValue() local 308 LiveDataFunctions.iff(predicate, Boolean::booleanValue, value) in testIff_changeValue() 396 MutableLiveData<Boolean> predicate = new MutableLiveData<>(); in testIfThenElse_liveDataParams_changePredicate() local [all …]
|
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/ |
D | LiveDataFunctions.java | 365 @NonNull LiveData<Boolean> predicate, @NonNull LiveData<T> value) { 366 return iff(predicate, Boolean::booleanValue, value); 375 @NonNull Predicate<? super P> predicate, 378 trigger, value, (p, v) -> p == null || !predicate.test(p) ? null : v); 394 @NonNull LiveData<Boolean> predicate, 397 return ifThenElse(predicate, Boolean::booleanValue, trueData, falseData); 412 @NonNull Predicate<? super P> predicate, 421 return predicate.test(t) ? trueData : falseData; 439 @NonNull LiveData<Boolean> predicate, @Nullable T trueValue, @Nullable T falseValue) { 440 return ifThenElse(predicate, Boolean::booleanValue, trueValue, falseValue); [all …]
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | BaseNotificationDelegate.java | 140 public void cleanupMessagesAndNotifications(Predicate<CompositeKey> predicate) { in cleanupMessagesAndNotifications() argument 141 clearNotifications(predicate); in cleanupMessagesAndNotifications() 142 mNotificationBuilders.entrySet().removeIf(entry -> predicate.test(entry.getKey())); in cleanupMessagesAndNotifications() 143 mNotificationInfos.entrySet().removeIf(entry -> predicate.test(entry.getKey())); in cleanupMessagesAndNotifications() 144 mSenderLargeIcons.entrySet().removeIf(entry -> predicate.test(entry.getKey())); in cleanupMessagesAndNotifications() 146 messageKeyMapMessageEntry -> predicate.test(messageKeyMapMessageEntry.getKey())); in cleanupMessagesAndNotifications() 154 public void clearNotifications(Predicate<CompositeKey> predicate) { in clearNotifications() argument 156 if (predicate.test(conversationKey)) { in clearNotifications()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | MessengerDelegate.java | 250 protected void clearNotifications(Predicate<CompositeKey> predicate) { in clearNotifications() argument 252 if (predicate.test(senderKey)) { in clearNotifications() 260 private void cleanupMessagesAndNotifications(Predicate<CompositeKey> predicate) { in cleanupMessagesAndNotifications() argument 262 if (predicate.test(key)) { in cleanupMessagesAndNotifications() 266 clearNotifications(predicate); in cleanupMessagesAndNotifications() 267 mNotificationInfos.entrySet().removeIf(entry -> predicate.test(entry.getKey())); in cleanupMessagesAndNotifications() 268 mSenderToLargeIconBitmap.entrySet().removeIf(entry -> predicate.test(entry.getKey())); in cleanupMessagesAndNotifications() 270 messageKeyMapMessageEntry -> predicate.test(messageKeyMapMessageEntry.getKey())); in cleanupMessagesAndNotifications()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DotsPageIndicator.java | 736 protected StartPredicate predicate; field in DotsPageIndicator.PendingStartAnimator 738 public PendingStartAnimator(StartPredicate predicate) { in PendingStartAnimator() argument 740 this.predicate = predicate; in PendingStartAnimator() 745 if (!hasStarted && predicate.shouldStart(currentValue)) { in startIfNecessary() 759 public PendingRetreatAnimator(int was, int now, int steps, StartPredicate predicate) { in PendingRetreatAnimator() argument 760 super(predicate); in PendingRetreatAnimator() 853 public PendingRevealAnimator(int dot, StartPredicate predicate) { in PendingRevealAnimator() argument 854 super(predicate); in PendingRevealAnimator()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 736 protected StartPredicate predicate; field in DotsPageIndicator.PendingStartAnimator 738 public PendingStartAnimator(StartPredicate predicate) { in PendingStartAnimator() argument 740 this.predicate = predicate; in PendingStartAnimator() 745 if (!hasStarted && predicate.shouldStart(currentValue)) { in startIfNecessary() 759 public PendingRetreatAnimator(int was, int now, int steps, StartPredicate predicate) { in PendingRetreatAnimator() argument 760 super(predicate); in PendingRetreatAnimator() 853 public PendingRevealAnimator(int dot, StartPredicate predicate) { in PendingRevealAnimator() argument 854 super(predicate); in PendingRevealAnimator()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | DialerFutures.java | 46 Predicate<T> predicate, in firstMatching() argument 48 return firstMatchingImpl(futures, predicate, defaultValue); in firstMatching() 53 Predicate<T> predicate, in firstMatchingImpl() argument 75 if (!predicate.apply(value)) { in firstMatchingImpl()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | InCallViewModel.java | 329 private static Call firstMatch(List<Call> callList, Predicate<Call> predicate) { in firstMatch() argument 330 List<Call> filteredResults = filter(callList, predicate); in firstMatch() 334 private static List<Call> filter(List<Call> callList, Predicate<Call> predicate) { in filter() argument 335 if (callList == null || predicate == null) { in filter() 341 if (predicate.apply(call)) { in filter()
|
/packages/services/Car/service/src/com/android/car/ |
D | SlidingWindow.java | 61 public int count(Predicate<T> predicate) { in count() argument 62 return (int)stream().filter(predicate).count(); in count()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogConstraints.java | 98 Predicate<ContentValues> predicate) { in checkColumn() argument 107 predicate.test(contentValues), in checkColumn()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | BreadBot.java | 116 public void assertItemsPresent(String[] items, Predicate<String> predicate) { in assertItemsPresent() argument 119 if (!predicate.test(item)) { in assertItemsPresent()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | NetworkStackUtils.java | 287 public static <T> boolean any(SparseArray<T> array, Predicate<T> predicate) { in any() argument 289 if (predicate.test(array.valueAt(i))) { in any()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LastAccessedProvider.java | 241 private void purgeByAuthority(Predicate<String> predicate) { in purgeByAuthority() argument 253 if (stack.getRoot() != null && predicate.test(stack.getRoot().authority)) { in purgeByAuthority()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomSystemTest.java | 1114 protected static void assertTrueWithTimeout(Predicate<Void> predicate) { in assertTrueWithTimeout() argument 1117 if (predicate.apply(null)) { in assertTrueWithTimeout()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | it_wordlist.combined.gz | 1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ... |
D | ro_wordlist.combined.gz | 1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ... |