Home
last modified time | relevance | path

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

12345678910>>...12

/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/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DFederatedTrainingTaskDao.java75 private void deleteFederatedTrainingTask(String selection, String[] selectionArgs) { in deleteFederatedTrainingTask()
95 String selection, String[] selectionArgs) { in getFederatedTrainingTask()
106 String selection = FederatedTrainingTaskColumns.JOB_SCHEDULER_JOB_ID + " = ?"; in findAndRemoveTaskByJobId() local
118 String selection = FederatedTrainingTaskColumns.POPULATION_NAME + " = ?"; in findAndRemoveTaskByPopulationName() local
131 String selection = in findAndRemoveTaskByPopulationAndJobId() local
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java186 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, in update()
195 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
219 private int deleteBlockedNumberWithId(long id, String selection) { in deleteBlockedNumberWithId()
228 private int deleteBlockedNumber(String selection, String[] selectionArgs) { in deleteBlockedNumber()
244 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
252 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
279 private Cursor queryBlockedListWithId(long id, String[] projection, String selection, in queryBlockedListWithId()
290 private Cursor queryBlockedList(String[] projection, String selection, String[] selectionArgs, in queryBlockedList()
302 private void throwForNonEmptySelection(String selection) { in throwForNonEmptySelection()
398 String selection = selectionBuilder.toString(); in unblock() local
/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/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/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/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/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/sms/
DSmsContentProvider.java40 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
56 Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
62 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/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/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/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DTriggerContentProvider.java43 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
69 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
74 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationContentProvider.java43 String selection, in query()
69 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
74 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/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/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java95 public Query withSelection(String selection, String... selectionArgs) { in withSelection()
136 public boolean equals(Uri uri, String[] projection, String selection, in equals()
329 public Delete withSelection(String selection, @Nullable String[] selectionArgs) { in withSelection()
368 private boolean equals(Uri uri, String selection, String[] selectionArgs) { in equals()
393 @Nullable String selection, in Update()
425 @Nullable String selection, in equals()
502 @Nullable String selection, in expectUpdate()
516 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
582 @Nullable String selection, in update()
606 @Nullable String selection, in updateToString()
[all …]
/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/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.java100 final String selection = in bulkInsert() local
102 try (Cursor cursor = database.query(table, columns, selection, in bulkInsert() argument
150 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
160 public Cursor query(Uri uri, String[] projection, String selection, in query()
183 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/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/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/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DBugReportContentProvider.java60 String selection, in query()
77 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
85 String selection, in update()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/
DCrashingIconProvider.java50 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
71 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
78 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()

12345678910>>...12