Home
last modified time | relevance | path

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

12345678910

/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/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/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/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/Car/libs/car-ui-lib/src/com/android/car/ui/core/
DCarUiInstaller.java77 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
95 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
101 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, in update()
/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/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/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/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/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.java39 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
55 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
60 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java58 public void updateActionMenu(Menu menu, SelectionDetails selection) { in updateActionMenu()
59 updateOpenWith(menu.findItem(R.id.action_menu_open_with), selection); in updateActionMenu() local
60 updateDelete(menu.findItem(R.id.action_menu_delete), selection); in updateActionMenu() local
61 updateShare(menu.findItem(R.id.action_menu_share), selection); in updateActionMenu() local
62 updateRename(menu.findItem(R.id.action_menu_rename), selection); in updateActionMenu() local
63 updateSelect(menu.findItem(R.id.action_menu_select), selection); in updateActionMenu() local
65 updateMoveTo(menu.findItem(R.id.action_menu_move_to), selection); in updateActionMenu() local
66 updateCopyTo(menu.findItem(R.id.action_menu_copy_to), selection); in updateActionMenu() local
67 updateCompress(menu.findItem(R.id.action_menu_compress), selection); in updateActionMenu() local
68 updateExtractTo(menu.findItem(R.id.action_menu_extract_to), selection); in updateActionMenu() local
[all …]
/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/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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/
DBackupSettingsContentProvider.java55 …public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String… in query()
70 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
75 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
DSuggestionStateProvider.java50 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
66 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
71 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/suggestions/
DSuggestionStateProvider.java50 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
66 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
71 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/Settings/src/com/android/settings/backup/
DBackupSettingsContentProvider.java55 …public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String… in query()
70 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
75 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/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailTable.java40 public int delete(UriData uriData, String selection, String[] selectionArgs); in delete()
41 public Cursor query(UriData uriData, String[] projection, String selection, in query()
43 public int update(UriData uriData, ContentValues values, String selection, in update()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierProvider.java61 public Cursor query(Uri uri, String[] projectionIn, String selection, in query()
92 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
107 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()

12345678910