/packages/apps/Dialer/java/com/android/dialer/common/database/ |
D | Selection.java | 68 public final class Selection { class 73 private Selection(@NonNull String selection, @NonNull String[] selectionArgs) { in Selection() method in Selection 113 public static Selection fromString(@Nullable String selection, @Nullable String... args) { in fromString() 119 public static Selection fromString(@Nullable String selection, Collection<String> args) { in fromString() 125 public static Selection not(@NonNull Selection selection) { in not() 150 public Selection is(@NonNull String operator, @NonNull Object value) { in is() 159 public Selection is(@NonNull String condition) { in is() 163 public Selection in(String... values) { in in() 167 public Selection in(Collection<String> values) { in in() 193 private Builder(@NonNull Selection selection) { in Builder() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | ClearMissedCalls.java | 28 import com.android.dialer.common.database.Selection; 139 Selection.Builder selectionBuilder = 140 Selection.builder() 142 Selection.column(Calls.IS_READ) 145 .or(Selection.column(Calls.IS_READ).is("IS NULL")) 147 .and(Selection.column(Calls.TYPE).is("=", Calls.MISSED_TYPE)); 149 selectionBuilder.and(Selection.column(Calls._ID).in(toStrings(ids))); 151 Selection selection = selectionBuilder.build();
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | Blocking.java | 33 import com.android.dialer.common.database.Selection; 110 Selection selection = in unblock() 111 Selection.column(BlockedNumbers.COLUMN_ORIGINAL_NUMBER).is("=", number); in unblock() 118 Selection.column(BlockedNumbers.COLUMN_E164_NUMBER) in unblock() 158 Selection selection = 159 Selection.builder() 160 .or(Selection.column(BlockedNumbers.COLUMN_ORIGINAL_NUMBER).in(numbers)) 161 .or(Selection.column(BlockedNumbers.COLUMN_E164_NUMBER).in(e164Numbers))
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/selection/ |
D | SelectionImplTest.kt | 52 val selection: Selection<SelectionData> = in <lambda>() 72 val selection: Selection<SelectionData> = in testSelectionIsInitialized() 99 val selection: Selection<SelectionData> = in <lambda>() 123 val selection: Selection<SelectionData> = in <lambda>() 143 val selection: Selection<SelectionData> = in <lambda>() 176 val selection: Selection<SelectionData> = in <lambda>() 216 val selection: Selection<SelectionData> = in <lambda>() 255 val selection: Selection<SelectionData> = in <lambda>() 306 val selection: Selection<SelectionData> = in <lambda>() 345 val selection: Selection<SelectionData> = in <lambda>() [all …]
|
D | GrantsAwareSelectionTest.kt | 56 val selection: Selection<SelectionData> = in <lambda>() 76 val selection: Selection<SelectionData> = in testSelectionIsInitialized() 103 val selection: Selection<SelectionData> = in <lambda>() 127 val selection: Selection<SelectionData> = in <lambda>() 147 val selection: Selection<SelectionData> = in <lambda>() 180 val selection: Selection<SelectionData> = in <lambda>() 220 val selection: Selection<SelectionData> = in <lambda>() 259 val selection: Selection<SelectionData> = in <lambda>() 310 val selection: Selection<SelectionData> = in <lambda>() 349 val selection: Selection<SelectionData> = in <lambda>() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogNotificationsQueryHelper.java | 39 import com.android.dialer.common.database.Selection; 369 Selection.Builder selectionBuilder = in query() 370 Selection.builder() in query() 371 .and(Selection.column(Calls.NEW).is("= 1")) in query() 372 .and(Selection.column(Calls.TYPE).is("=", type)) in query() 373 .and(Selection.column(Calls.IS_READ).is("IS NOT 1")); in query() 376 selectionBuilder.and(Selection.column(Voicemails.DELETED).is(" = 0")); in query() 382 Selection.column(Calls.DATE) in query() 385 .or(Selection.column(Calls.DATE).is(">=", thresholdMillis)) in query() 388 Selection selection = selectionBuilder.build(); in query() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | DocumentClipper.java | 24 import androidx.recyclerview.selection.Selection; 49 ClipData getClipDataForDocuments(Function<String, Uri> uriBuilder, Selection<String> selection, in getClipDataForDocuments() 65 void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection<String> selection); in clipDocumentsForCopy() 71 Function<String, Uri> uriBuilder, Selection<String> selection, DocumentInfo parent); in clipDocumentsForCut()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/blockednumber/ |
D | SystemBlockedNumberPhoneLookup.java | 31 import com.android.dialer.common.database.Selection; 100 Selection normalizedSelection = in queryNumbers() 101 Selection.column(BlockedNumbers.COLUMN_E164_NUMBER) in queryNumbers() 118 Selection rawSelection = in queryNumbers() 119 Selection.column(BlockedNumbers.COLUMN_ORIGINAL_NUMBER) in queryNumbers()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
D | MissingPermissionsOperations.java | 25 import com.android.dialer.common.database.Selection; 75 Selection selection = in isDirtyForMissingPermissions() 76 Selection.builder() in isDirtyForMissingPermissions() 77 .and(Selection.column(PhoneLookupHistory.NORMALIZED_NUMBER).in(normalizedNumbers)) in isDirtyForMissingPermissions()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/ |
D | DeleteCallLogItemModule.java | 30 import com.android.dialer.common.database.Selection; 95 Selection selection = in doInBackground() 96 Selection.builder() in doInBackground() 97 .and(Selection.column(CallLog.Calls._ID).in(getCallLogIdsAsStrings(coalescedIds))) in doInBackground()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentClipper.java | 23 import androidx.recyclerview.selection.Selection; 54 Function<String, Uri> uriBuilder, Selection<String> selection, int opType) { in getClipDataForDocuments() 71 … public void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection<String> selection) { in clipDocumentsForCopy() 75 public void clipDocumentsForCut(Function<String, Uri> uriBuilder, Selection<String> selection, in clipDocumentsForCut()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | StubSelectionTracker.java | 22 import androidx.recyclerview.selection.Selection; 45 public Selection<K> getSelection() { in getSelection() 59 public void restoreSelection(Selection<K> selection) { in restoreSelection()
|
D | DocsSelectionHelper.java | 26 import androidx.recyclerview.selection.Selection; 68 public Selection<String> getSelection() { in getSelection() 146 protected void restoreSelection(Selection<String> selection) { in restoreSelection()
|
D | Model.java | 32 import androidx.recyclerview.selection.Selection; 185 public List<DocumentInfo> getDocuments(Selection<String> selection) { in getDocuments() 196 public List<DocumentInfo> loadDocuments(Selection<String> selection, Predicate<Cursor> filter) { in loadDocuments() 210 public boolean hasDocuments(Selection<String> selection, Predicate<Cursor> filter) { in hasDocuments()
|
/packages/apps/Dialer/java/com/android/dialer/rtt/ |
D | RttTranscriptUtil.java | 25 import com.android.dialer.common.database.Selection; 47 Selection selection = in checkRttTranscriptAvailability() 48 Selection.builder() in checkRttTranscriptAvailability() 49 .and(Selection.column(RttTranscriptColumn.TRANSCRIPT_ID).in(transcriptIds)) in checkRttTranscriptAvailability()
|
/packages/apps/Dialer/java/com/android/dialer/contacts/hiresphoto/ |
D | HighResolutionPhotoRequesterImpl.java | 30 import com.android.dialer.common.database.Selection; 114 Selection selection = 115 Selection.column(RawContacts.CONTACT_ID) 118 .and(Selection.column(RawContacts.ACCOUNT_TYPE).is("=", "com.google"))
|
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/ |
D | VisualVoicemailSettingsUtil.java | 29 import com.android.dialer.common.database.Selection; 224 Selection selection = in doInBackground() 225 Selection.builder() in doInBackground() 226 .and(Selection.column(CallLog.Calls.TYPE).is("=", Calls.VOICEMAIL_TYPE)) in doInBackground() 227 .and(Selection.column(Voicemails.SOURCE_PACKAGE).is("=", context.getPackageName())) in doInBackground()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cnap/ |
D | CnapPhoneLookup.java | 27 import com.android.dialer.common.database.Selection; 76 Selection selection = in lookup() 77 Selection.builder() in lookup() 79 Selection.column(PhoneLookupHistory.NORMALIZED_NUMBER) in lookup()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DragStartListener.java | 28 import androidx.recyclerview.selection.Selection; 71 private final Function<Selection<String>, List<DocumentInfo>> mDocsConverter; 84 Function<Selection<String>, List<DocumentInfo>> docsConverter, in RuntimeDragStartListener() 122 Selection<String> selection = getSelectionToBeCopied(modelId, event); in startDrag()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 40 import androidx.recyclerview.selection.Selection; 141 Selection<String> selection = getStableSelection(); in openSelectedInNewWindow() 230 private Selection<String> getSelectedOrFocused() { in getSelectedOrFocused() 245 Selection<String> selection = getSelectedOrFocused(); in cutToClipboard() 266 Selection<String> selection = getSelectedOrFocused(); in copyToClipboard() 281 Selection<String> selection = getSelectedOrFocused(); in viewInOwner() 301 Selection selection = getSelectedOrFocused(); in showDeleteDialog() 354 Selection<String> selection = getStableSelection(); in shareSelectedDocuments()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DocsSelectionHelperTest.java | 24 import androidx.recyclerview.selection.Selection; 133 public Selection<String> getSelection() { in getSelection() 143 public void restoreSelection(Selection<String> other) { in restoreSelection()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItemMutator.java | 40 import com.android.dialer.common.database.Selection; 422 Selection selection = in getSpeedDialUiItemsFromEntries() 423 Selection.builder().and(Selection.column(Phone.CONTACT_ID).in(contactIds)).build(); in getSpeedDialUiItemsFromEntries() 505 Selection selection = Selection.column(Phone.STARRED).is("=", 1); in getStarredContacts() 530 selection = Selection.builder().and(Selection.column(Phone.CONTACT_ID).in(contactIds)).build(); in getStarredContacts()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/inject/ |
D | EmbeddedServiceModule.kt | 33 import com.android.photopicker.core.selection.Selection in <lambda>() 81 private lateinit var selection: Selection<Media> in <lambda>() 100 selection: Lazy<Selection<Media>>, in <lambda>() 296 ): Selection<Media> { in <lambda>()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/inject/ |
D | PhotopickerTestModule.kt | 32 import com.android.photopicker.core.selection.Selection 89 selection: Lazy<Selection<Media>>, in provideViewModelFactory() 187 ): Selection<Media> { in createSelection()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/ |
D | SpeedDialEntryDatabaseHelper.java | 26 import com.android.dialer.common.database.Selection; 275 Selection selection = Selection.builder().and(Selection.column(ID).in(idStrings)).build(); in delete()
|