Home
last modified time | relevance | path

Searched refs:Selection (Results 1 – 25 of 81) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/dialer/common/database/
DSelection.java68 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/
DClearMissedCalls.java28 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/
DBlocking.java33 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/
DSelectionImplTest.kt52 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 …]
DGrantsAwareSelectionTest.kt56 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/
DCallLogNotificationsQueryHelper.java39 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/
DDocumentClipper.java24 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/
DSystemBlockedNumberPhoneLookup.java31 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/
DMissingPermissionsOperations.java25 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/
DDeleteCallLogItemModule.java30 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/
DTestDocumentClipper.java23 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/
DStubSelectionTracker.java22 import androidx.recyclerview.selection.Selection;
45 public Selection<K> getSelection() { in getSelection()
59 public void restoreSelection(Selection<K> selection) { in restoreSelection()
DDocsSelectionHelper.java26 import androidx.recyclerview.selection.Selection;
68 public Selection<String> getSelection() { in getSelection()
146 protected void restoreSelection(Selection<String> selection) { in restoreSelection()
DModel.java32 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/
DRttTranscriptUtil.java25 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/
DHighResolutionPhotoRequesterImpl.java30 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/
DVisualVoicemailSettingsUtil.java29 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/
DCnapPhoneLookup.java27 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/
DDragStartListener.java28 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/
DActionHandler.java40 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/
DDocsSelectionHelperTest.java24 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/
DSpeedDialUiItemMutator.java40 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/
DEmbeddedServiceModule.kt33 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/
DPhotopickerTestModule.kt32 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/
DSpeedDialEntryDatabaseHelper.java26 import com.android.dialer.common.database.Selection;
275 Selection selection = Selection.builder().and(Selection.column(ID).in(idStrings)).build(); in delete()

1234