/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentFilters.java | 27 import java.util.function.Predicate; 39 public static final Predicate<Cursor> ANY = (Cursor c) -> { return true; }; 40 public static final Predicate<Cursor> VIRTUAL = DocumentFilters::isVirtual; 41 public static final Predicate<Cursor> NOT_MOVABLE = DocumentFilters::isNotMovable; 42 private static final Predicate<Cursor> O_SHARABLE = DocumentFilters::isSharableInO; 43 private static final Predicate<Cursor> PREO_SHARABLE = DocumentFilters::isSharablePreO; 45 public static Predicate<Cursor> sharable(Features features) { in sharable()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountsLoader.java | 29 import com.google.common.base.Predicate; 40 private final Predicate<AccountInfo> mFilter; 46 public AccountsLoader(Context context, Predicate<AccountInfo> filter) { in AccountsLoader() 78 final FragmentType fragment, int loaderId, final Predicate<AccountInfo> filter) { in loadAccounts() 87 final ActivityType activity, int id, final Predicate<AccountInfo> filter) { in loadAccounts() 92 final Predicate<AccountInfo> filter, final AccountsListener listener) { in loadAccounts()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Predicate.java | 29 public interface Predicate<T> { interface 36 Predicate TRUE = new Predicate() { 46 Predicate FALSE = new Predicate() {
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VideoProviderTest.java | 43 import com.google.common.base.Predicate; 313 assertTrueWithTimeout(new Predicate<Void>() { in testSetPreviewSurface() 322 assertTrueWithTimeout(new Predicate<Void>() { in testSetPreviewSurface() 339 assertTrueWithTimeout(new Predicate<Void>() { in testSetDisplaySurface() 348 assertTrueWithTimeout(new Predicate<Void>() { in testSetDisplaySurface() 364 assertTrueWithTimeout(new Predicate<Void>() { in testSetDeviceOrientation() 373 assertTrueWithTimeout(new Predicate<Void>() { in testSetDeviceOrientation() 388 assertTrueWithTimeout(new Predicate<Void>() { in testSetZoom() 450 assertTrueWithTimeout(new Predicate<Void>() { in testSessionModifyResponse() 488 assertTrueWithTimeout(new Predicate<Void>() { in testSetPauseImage()
|
D | TelecomSystemTest.java | 89 import com.google.common.base.Predicate; 853 assertTrueWithTimeout(new Predicate<Void>() { in startIncomingPhoneCall() 860 assertTrueWithTimeout(new Predicate<Void>() { in startIncomingPhoneCall() 874 assertTrueWithTimeout(new Predicate<Void>() { in startIncomingPhoneCall() 881 assertTrueWithTimeout(new Predicate<Void>() { in startIncomingPhoneCall() 887 assertTrueWithTimeout(new Predicate<Void>() { in startIncomingPhoneCall() 998 protected static void assertTrueWithTimeout(Predicate<Void> predicate) { in assertTrueWithTimeout()
|
D | BasicCallTests.java | 57 import com.google.common.base.Predicate; 342 assertTrueWithTimeout(new Predicate<Void>() { in testIncomingCallFromContactWithSendToVoicemailIsRejected() 348 assertTrueWithTimeout(new Predicate<Void>() { in testIncomingCallFromContactWithSendToVoicemailIsRejected() 389 assertTrueWithTimeout(new Predicate<Void>() { in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 431 assertTrueWithTimeout(new Predicate<Void>() { in testIncomingCallFromBlockedNumberIsRejected()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | AccountTypeManager.java | 56 import com.google.common.base.Predicate; 84 public enum AccountFilter implements Predicate<AccountInfo> { 146 Predicate<AccountInfo> filter) { 202 Predicate<AccountInfo> filter); in filterAccountsAsync() 220 return Futures.getUnchecked(filterAccountsAsync(new Predicate<AccountInfo>() { in getWritableGoogleAccounts() 325 public static Predicate<AccountInfo> writableFilter() { 329 public static Predicate<AccountInfo> groupWritableFilter() { 568 final Predicate<AccountInfo> filter) {
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | DataModel.java | 30 import com.android.deskclock.Predicate; 66 DO_NOT_DISTURB(R.string.alarms_blocked_by_dnd, 0, Predicate.FALSE, null), 70 Predicate.TRUE, 79 Predicate.TRUE, 84 private final Predicate<Context> mActionEnabled; 87 SilentSetting(int labelResId, int actionResId, Predicate<Context> actionEnabled, in SilentSetting() 123 private static class ChangeSoundActionPredicate implements Predicate<Context> {
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 73 import com.google.common.base.Predicate; 596 private void bindAttachmentsOfSameType(final Predicate<MessagePartData> attachmentTypeFilter, in bindAttachmentsOfSameType() 1064 static final Predicate<MessagePartData> sVideoFilter = new Predicate<MessagePartData>() { 1071 static final Predicate<MessagePartData> sAudioFilter = new Predicate<MessagePartData>() { 1078 static final Predicate<MessagePartData> sVCardFilter = new Predicate<MessagePartData>() { 1085 static final Predicate<MessagePartData> sImageFilter = new Predicate<MessagePartData>() {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LastAccessedProvider.java | 46 import java.util.function.Predicate; 199 purgeByAuthority(new Predicate<String>() { in call() 220 purgeByAuthority(new Predicate<String>() { in call() 240 private void purgeByAuthority(Predicate<String> predicate) { in purgeByAuthority()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Model.java | 51 import java.util.function.Predicate; 217 public List<DocumentInfo> loadDocuments(Selection selection, Predicate<Cursor> filter) { in loadDocuments() 231 public boolean hasDocuments(Selection selection, Predicate<Cursor> filter) { in hasDocuments() 243 private @Nullable DocumentInfo loadDocument(String modelId, Predicate<Cursor> filter) { in loadDocument()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DragHost.java | 38 import java.util.function.Predicate; 52 private final Predicate<View> mIsDocumentView; 63 Predicate<View> isDocumentView, in DragHost()
|
D | DragHoverListener.java | 33 import java.util.function.Predicate; 57 private final Predicate<View> mIsScrollView; 66 Predicate<View> isScrollView, in DragHoverListener()
|
D | UserInputHandler.java | 35 import java.util.function.Predicate; 52 private final Predicate<DocumentDetails> mSelectable; 69 Predicate<DocumentDetails> selectable, in UserInputHandler()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | BreadBot.java | 49 import java.util.function.Predicate; 109 Predicate<String> checker = mMain.inFixedLayout() in assertItemsPresent() 116 public void assertItemsPresent(String[] items, Predicate<String> predicate) { in assertItemsPresent()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/ |
D | ZslImageCaptureCommand.java | 33 import com.google.common.base.Predicate; 59 private final Predicate<TotalCaptureResultProxy> mMetadataFilter; 66 Predicate<TotalCaptureResultProxy> metadataFilter, in ZslImageCaptureCommand()
|
D | AcceptableZslImageFilter.java | 22 import com.google.common.base.Predicate; 28 public class AcceptableZslImageFilter implements Predicate<TotalCaptureResultProxy> {
|
D | AutoFlashZslImageFilter.java | 30 import com.google.common.base.Predicate; 60 public final class AutoFlashZslImageFilter implements Predicate<TotalCaptureResultProxy>,
|
/packages/experimental/FillService/src/foo/bar/fill/ |
D | FillService.java | 41 import java.util.function.Predicate; 202 Predicate<ViewNode> predicate) { in findByPredicate() 218 private static ViewNode findByPredicate(ViewNode root, Predicate<ViewNode> predicate) { in findByPredicate()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestPredicate.java | 27 import java.util.function.Predicate; 35 public class TestPredicate<T> implements Predicate<T> {
|
D | TestConfirmationCallback.java | 23 import java.util.function.Predicate;
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockAccountTypeManager.java | 27 import com.google.common.base.Predicate; 76 public ListenableFuture<List<AccountInfo>> filterAccountsAsync(Predicate<AccountInfo> filter) { in filterAccountsAsync()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | Predicate.java | 31 public interface Predicate<T> { interface
|
D | CharMatcher.java | 45 public abstract class CharMatcher implements Predicate<Character> { 516 final Predicate<? super Character> predicate) {
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | MapMessageMonitor.java | 64 import java.util.function.Predicate; 427 private void cleanupMessagesAndNotifications(Predicate<CompositeKey> predicate) { in cleanupMessagesAndNotifications()
|