Home
last modified time | relevance | path

Searched defs:selection (Results 1 – 25 of 251) sorted by relevance

1234567891011

/packages/apps/Dialer/java/com/android/dialer/common/database/
DSelection.java70 private final String selection; field in Selection
73 private Selection(@NonNull String selection, @NonNull String[] selectionArgs) { 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()
177 private final StringBuilder selection = new StringBuilder(); field in Selection.Builder
182 private Builder(@Nullable String selection, Collection<String> args) { in Builder()
193 private Builder(@NonNull Selection selection) { in Builder()
209 public Builder and(@NonNull Selection selection) { in and()
223 public Builder or(@NonNull Selection selection) { in or()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragStartListenerTest.java129 Selection<String> selection = mListener.getSelectionToBeCopied("1234", in testDragStart_nonSelectedItem() local
137 MutableSelection<String> selection = new MutableSelection<>(); in testDragStart_selectedItem() local
151 MutableSelection<String> selection = new MutableSelection<>(); in testDragStart_newNonSelectedItem() local
165 MutableSelection<String> selection = new MutableSelection<>(); in testCtrlDragStart_newNonSelectedItem() local
/packages/providers/TvProvider/src/com/android/providers/tv/util/
DSqlParams.java26 public SqlParams(String tables, String selection, String... selectionArgs) { in SqlParams()
47 public void setWhere(String selection, String... selectionArgs) { in setWhere()
52 public void appendWhere(String selection, String... selectionArgs) { in appendWhere()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java184 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, in update()
193 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
217 private int deleteBlockedNumberWithId(long id, String selection) { in deleteBlockedNumberWithId()
226 private int deleteBlockedNumber(String selection, String[] selectionArgs) { in deleteBlockedNumber()
242 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
250 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
277 private Cursor queryBlockedListWithId(long id, String[] projection, String selection, in queryBlockedListWithId()
288 private Cursor queryBlockedList(String[] projection, String selection, String[] selectionArgs, in queryBlockedList()
300 private void throwForNonEmptySelection(String selection) { in throwForNonEmptySelection()
396 String selection = selectionBuilder.toString(); in unblock() local
/packages/providers/BookmarkProvider/src/com/android/bookmarkstore/
DBookmarkProvider.java49 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
59 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DNullContentProvider.java31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
52 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java175 final String[] selection = buildSingleWordSelection(query, matchColumns.length); in firstWordQuery() local
191 final String[] selection = buildSingleWordSelection(query, matchColumns.length); in secondaryWordQuery() local
206 final String[] selection = buildAnyWordSelection(matchColumns.length * 2); in anyWordQuery() local
219 private Set<SearchResult> query(String whereClause, String[] selection, int baseRank) { in query()
224 selection, null, null, null)) { in query() argument
277 String[] selection = new String[size]; in buildSingleWordSelection() local
294 String[] selection = new String[size]; in buildAnyWordSelection() local
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
51 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/TV/common/src/com/android/tv/common/util/sql/
DSqlParams.java29 public SqlParams(String tables, @Nullable String selection, @Nullable String... selectionArgs) { in SqlParams()
50 public void setWhere(String selection, String... selectionArgs) { in setWhere()
55 public void appendWhere(String selection, String... selectionArgs) { in appendWhere()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java62 public void updateActionMenu(Menu menu, SelectionDetails selection) { in updateActionMenu()
63 updateOpenWith(menu.findItem(R.id.action_menu_open_with), selection); in updateActionMenu() local
64 updateDelete(menu.findItem(R.id.action_menu_delete), selection); in updateActionMenu() local
65 updateShare(menu.findItem(R.id.action_menu_share), selection); in updateActionMenu() local
66 updateRename(menu.findItem(R.id.action_menu_rename), selection); in updateActionMenu() local
67 updateSelect(menu.findItem(R.id.action_menu_select), selection); in updateActionMenu() local
68 updateSelectAll(menu.findItem(R.id.action_menu_select_all), selection); in updateActionMenu() local
69 updateDeselectAll(menu.findItem(R.id.action_menu_deselect_all), selection); in updateActionMenu() local
70 updateMoveTo(menu.findItem(R.id.action_menu_move_to), selection); in updateActionMenu() local
71 updateCopyTo(menu.findItem(R.id.action_menu_copy_to), selection); in updateActionMenu() local
[all …]
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/
DSpammySuggestionProvider.java46 public Cursor query(Uri uri, String[] projectionIn, String selection, in query()
74 public int update(Uri uri, ContentValues values, String selection, in update()
80 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/
DSlowSuggestionProvider.java46 public Cursor query(Uri uri, String[] projectionIn, String selection, in query()
80 public int update(Uri uri, ContentValues values, String selection, in update()
86 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardFeatureProviderImpl.java47 final String selection = CardDatabaseHelper.CardColumns.DISMISSED_TIMESTAMP + " < ? OR " in getContextualCards() local
62 final String selection = CardDatabaseHelper.CardColumns.NAME + "=?"; in markCardAsDismissed() local
75 final String selection = CardDatabaseHelper.CardColumns.DISMISSED_TIMESTAMP + " < ? AND " in resetDismissedTime() local
DCardContentProvider.java102 final String selection = in bulkInsert() local
104 try (Cursor cursor = database.query(table, columns, selection, in bulkInsert() argument
152 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
162 public Cursor query(Uri uri, String[] projection, String selection, in query()
184 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/
DPreferredSimFallbackProvider.java66 @Nullable String selection, in query()
106 @NonNull Uri uri, @Nullable String selection, @Nullable String[] selectionArgs) { in delete()
141 @Nullable String selection, in update()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/
DCrashingIconProvider.java48 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
73 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DUserDictionaryCursorLoaderTest.java65 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
88 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
93 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
DSuggestionContentProvider.java40 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
56 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
61 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/services/Mtp/src/com/android/mtp/
DMapper.java190 final String selection; in startAddingDocuments() local
242 String selection, in putDocuments()
319 final String selection; in stopAddingDocuments() local
370 final String selection; in cancelAddingDocuments() local
411 String selection, String[] args, String[] mappingKeys, ContentValues values) { in queryCandidate()
433 String selection, String[] args, String mappingKey, ContentValues values) { in queryCandidate()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberProvider.java64 Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { in query()
123 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
144 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
165 private String getSelectionWithId(String selection, long id) { in getSelectionWithId()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSummaryProvider.java67 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
83 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
88 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
DAllUriTest.java306 String[] projection, String selection, in checkQueryExecutable()
309 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() argument
318 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() argument
330 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
345 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
354 String[] projection, String selection, in checkQueryNotExecutable()
357 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryNotExecutable() argument
582 private void checkColumnNotAccessibleInner(Uri uri, String[] projection, String selection, in checkColumnNotAccessibleInner()
585 try (Cursor c = mResolver.query(uri, projection, selection, in checkColumnNotAccessibleInner() argument
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandProvider.java55 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
70 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
76 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java141 Selection<String> selection = getStableSelection(); in openSelectedInNewWindow() local
231 final MutableSelection<String> selection = this.getStableSelection(); in getSelectedOrFocused() local
245 Selection<String> selection = getSelectedOrFocused(); in cutToClipboard() local
266 Selection<String> selection = getSelectedOrFocused(); in copyToClipboard() local
281 Selection<String> selection = getSelectedOrFocused(); in viewInOwner() local
301 Selection selection = getSelectedOrFocused(); in showDeleteDialog() local
354 Selection<String> selection = getStableSelection(); in shareSelectedDocuments() local
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java93 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
109 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
114 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()

1234567891011