Searched refs:selection (Results 1 - 25 of 197) sorted by path

12345678

/frameworks/base/core/java/android/app/
H A DActivity.java2505 * @param selection SQL WHERE clause.
2517 public final Cursor managedQuery(Uri uri, String[] projection, String selection, argument
2519 Cursor c = getContentResolver().query(uri, projection, selection, null, sortOrder);
2545 * @param selection SQL WHERE clause.
2546 * @param selectionArgs The arguments to selection, if any ?s are pesent
2557 public final Cursor managedQuery(Uri uri, String[] projection, String selection, argument
2559 Cursor c = getContentResolver().query(uri, projection, selection, selectionArgs, sortOrder);
4230 * query is being inserted. If false, the selection point will be placed at the end of the
H A DDownloadManager.java951 String selection = joinStrings(" AND ", selectionParts);
955 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
1457 * Get the selection args for a clause returned by {@link #getWhereClauseForIds(long[])}.
1465 * Get selection args for a clause returned by {@link #getWhereClauseForIds(long[])}
H A DSearchManager.java580 * query is being inserted. If false, the selection point will be placed at the end of the
909 // get the query selection, may be null
910 String selection = searchable.getSuggestSelection();
911 // inject query, either as selection args or inline
913 if (selection != null) { // use selection if provided
915 } else { // no selection, use REST pattern
926 return mContext.getContentResolver().query(uri, null, selection, selArgs, null);
/frameworks/base/core/java/android/app/slice/
H A DSliceProvider.java310 public final int update(Uri uri, ContentValues values, String selection, argument
317 public final int delete(Uri uri, String selection, String[] selectionArgs) { argument
323 public final Cursor query(Uri uri, String[] projection, String selection, argument
330 public final Cursor query(Uri uri, String[] projection, String selection, String[] argument
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java52 public String selection; field in class:AsyncQueryHandler.WorkerArgs
80 args.selection, args.selectionArgs,
100 args.result = resolver.update(args.uri, args.values, args.selection,
105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
154 * @param selection A filter declaring which rows to return, formatted as an
157 * @param selectionArgs You may include ?s in selection, which will be
159 * appear in the selection. The values will be bound as Strings.
165 String[] projection, String selection, String[] selectionArgs,
175 args.selection = selection;
164 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
261 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs) argument
[all...]
H A DContentProvider.java333 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { argument
341 return ContentProvider.this.delete(uri, selection, selectionArgs);
348 public int update(String callingPkg, Uri uri, ContentValues values, String selection, argument
357 return ContentProvider.this.update(uri, values, selection, selectionArgs);
958 selection,
972 * @param selection A selection criteria to apply when filtering rows.
974 * @param selectionArgs You may include ?s in selection, which will be replaced by
975 * the values from selectionArgs, in order that they appear in the selection.
982 @Nullable String selection,
981 query(@onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) argument
1052 query(@onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) argument
1329 delete(@onNull Uri uri, @Nullable String selection, @Nullable String[] selectionArgs) argument
1349 update(@onNull Uri uri, @Nullable ContentValues values, @Nullable String selection, @Nullable String[] selectionArgs) argument
[all...]
H A DContentProviderClient.java134 @Nullable String selection, @Nullable String[] selectionArgs,
136 return query(url, projection, selection, selectionArgs, sortOrder, null);
141 @Nullable String selection, @Nullable String[] selectionArgs,
145 ContentResolver.createSqlQueryBundle(selection, selectionArgs, sortOrder);
311 public int delete(@NonNull Uri url, @Nullable String selection, argument
317 return mContentProvider.delete(mPackageName, url, selection, selectionArgs);
329 public int update(@NonNull Uri url, @Nullable ContentValues values, @Nullable String selection, argument
335 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
133 query(@onNull Uri url, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) argument
140 query(@onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) argument
H A DContentProviderNative.java192 String selection = data.readString();
195 int count = delete(callingPkg, url, selection, selectionArgs);
208 String selection = data.readString();
211 int count = update(callingPkg, url, values, selection, selectionArgs);
533 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument
542 data.writeString(selection);
557 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
567 data.writeString(selection);
H A DContentProviderOperation.java397 * the key is an index into the selection argument array (see {@link Builder#withSelection})
398 * and the value is the index of the previous result that should be used for that selection
564 * Add a back references as a selection arg. Any value at that index of the selection arg
572 + "can have selection back-references");
643 * The selection and arguments to use. An occurrence of '?' in the selection will be
644 * replaced with the corresponding occurence of the selection argument. Any of the
645 * selection arguments may be overwritten by a selection argumen
650 withSelection(String selection, String[] selectionArgs) argument
[all...]
H A DContentResolver.java213 * Key for an SQL style selection string that may be present in the query Bundle argument
217 * <p>Clients should never include user supplied values directly in the selection string,
219 * should use standard placeholder notation to represent values in a selection string,
229 public static final String QUERY_ARG_SQL_SELECTION = "android:query-arg-sql-selection";
232 * Key for SQL selection string arguments list.
234 * <p>Clients should never include user supplied values directly in the selection string,
236 * should use standard placeholder notation to represent values in a selection string,
247 "android:query-arg-sql-selection-args";
685 * explicit values in the {@code selection} parameter, so that queries
695 * @param selection
707 query(@equiresPermission.Read @onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) argument
747 query(@equiresPermission.Read @onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) argument
2957 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
3076 createSqlQueryBundle( @ullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) argument
[all...]
H A DCursorLoader.java137 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
143 mSelection = selection;
214 public void setSelection(String selection) { argument
215 mSelection = selection;
H A DIContentProvider.java46 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument
48 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
H A DSearchRecentSuggestionsProvider.java225 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
236 count = db.delete(sSuggestions, selection, selectionArgs);
319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
369 // Tack on the user's selection, if present
370 if (selection != null && selection.length() > 0) {
376 whereClause.append(selection);
393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java782 * @param selection A filter declaring which rows to return,
785 * @return the number of rows in the table filtered by the selection
787 public static long queryNumEntries(SQLiteDatabase db, String table, String selection) { argument
788 return queryNumEntries(db, table, selection, null);
795 * @param selection A filter declaring which rows to return,
798 * @param selectionArgs You may include ?s in selection,
800 * in order that they appear in the selection.
802 * @return the number of rows in the table filtered by the selection
804 public static long queryNumEntries(SQLiteDatabase db, String table, String selection, argument
806 String s = (!TextUtils.isEmpty(selection))
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java1100 * @param selection A filter declaring which rows to return, formatted as an
1103 * @param selectionArgs You may include ?s in selection, which will be
1105 * appear in the selection. The values will be bound as Strings.
1124 String selection, String[] selectionArgs, String groupBy,
1126 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs,
1138 * @param selection A filter declaring which rows to return, formatted as an
1141 * @param selectionArgs You may include ?s in selection, which will be
1143 * appear in the selection. The values will be bound as Strings.
1165 String selection, String[] selectionArgs, String groupBy,
1167 return queryWithFactory(null, distinct, table, columns, selection, selectionArg
1123 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
1164 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument
1203 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
1246 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument
1290 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) argument
1328 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
[all...]
H A DSQLiteQueryBuilder.java87 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
90 * WHERE (&lt;append chunk 1>&lt;append chunk2>) AND (&lt;query() selection parameter>)
106 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
109 * WHERE (&lt;append chunk 1>&lt;append chunk2>) AND (&lt;query() selection parameter>)
151 * When set, the selection is verified against malicious arguments.
160 * additionally also parenthesis escaping selection are caught.
269 * @param selection A filter declaring which rows to return,
272 * @param selectionArgs You may include ?s in selection, which
274 * that they appear in the selection. The values will be bound
292 String selection, Strin
291 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder) argument
330 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument
372 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit, CancellationSignal cancellationSignal) argument
433 buildQuery( String[] projectionIn, String selection, String groupBy, String having, String sortOrder, String limit) argument
469 buildQuery( String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument
514 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String groupBy, String having) argument
553 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String[] selectionArgs, String groupBy, String having) argument
[all...]
H A DSqliteWrapper.java57 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
56 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/core/java/android/provider/
H A DCalendarContract.java625 * {@link ContentUris#withAppendedId}) or as the first selection item--the
626 * selection should start with "_id=?" and the first selectionArg should be
627 * the _id of the calendar. Calendars may also be updated using a selection
633 * on the Uri or using any standard selection. Deleting a calendar should
639 * matches the query selection, or at most a single row if the {@link #_ID}
875 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */,
1547 * {@link ContentUris#withAppendedId}) or as the first selection item--the
1548 * selection should start with "_id=?" and the first selectionArg should be
1549 * the _id of the event. Updates may also be done using a selection and no
1555 * id on the Uri or using any standard selection
[all...]
H A DDocumentsProvider.java748 public final Cursor query(Uri uri, String[] projection, String selection, argument
766 public Cursor query(Uri uri, String[] projection, String selection, argument
922 public final int delete(Uri uri, String selection, String[] selectionArgs) { argument
932 Uri uri, ContentValues values, String selection, String[] selectionArgs) {
931 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
H A DMediaStore.java871 String selection, String [] selectionArgs, String orderBy) {
872 return cr.query(uri, projection, selection,
2372 null, /* selection */
870 query(ContentResolver cr, Uri uri, String[] projection, String selection, String [] selectionArgs, String orderBy) argument
H A DSearchIndexablesProvider.java109 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
195 public final int delete(Uri uri, String selection, String[] selectionArgs) { argument
204 Uri uri, ContentValues values, String selection, String[] selectionArgs) {
203 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
H A DSearchRecentSuggestions.java236 String selection = null;
238 selection = "_id IN " +
243 cr.delete(mSuggestionsUri, selection, null);
/frameworks/base/core/java/android/service/autofill/
H A DFillEventHistory.java524 FillEventHistory selection = new FillEventHistory(0, parcel.readBundle());
558 selection.addEvent(new Event(eventType, datasetId, clientState,
564 return selection;
/frameworks/base/core/java/android/service/textclassifier/
H A DITextSelectionCallback.aidl26 void onSuccess(in TextSelection selection);
/frameworks/base/core/java/android/view/textclassifier/
H A DSelectionEvent.java35 * A selection event.
54 /** User typed over the selection. */
56 /** User copied the selection. */
58 /** User pasted over the selection. */
60 /** User cut the selection. */
62 /** User shared the selection. */
66 /** User dragged+dropped the selection. */
68 /** User abandoned the selection. */
70 /** User performed an action on the selection. */
76 /** User reset the smart selection
275 createSelectionModifiedEvent( int start, int end, @NonNull TextSelection selection) argument
[all...]

Completed in 1275 milliseconds

12345678