Searched defs:selection (Results 1 - 25 of 46) sorted by path

12

/frameworks/base/core/java/android/app/
H A DActivity.java1930 * @param selection SQL WHERE clause.
1942 public final Cursor managedQuery(Uri uri, String[] projection, String selection, argument
1944 Cursor c = getContentResolver().query(uri, projection, selection, null, sortOrder);
1970 * @param selection SQL WHERE clause.
1971 * @param selectionArgs The arguments to selection, if any ?s are pesent
1982 public final Cursor managedQuery(Uri uri, String[] projection, String selection, argument
1984 Cursor c = getContentResolver().query(uri, projection, selection, selectionArgs, sortOrder);
3544 * query is being inserted. If false, the selection point will be placed at the end of the
/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.java201 String selection, String[] selectionArgs, String sortOrder,
206 return rejectQuery(uri, projection, selection, selectionArgs, sortOrder,
212 uri, projection, selection, selectionArgs, sortOrder,
304 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { argument
312 return ContentProvider.this.delete(uri, selection, selectionArgs);
319 public int update(String callingPkg, Uri uri, ContentValues values, String selection, argument
328 return ContentProvider.this.update(uri, values, selection, selectionArgs);
822 * rewrites the <var>selection</var> argument to include a condition
828 String selection, String[] selectionArgs, String sortOrder,
831 // selection statemen
200 query(String callingPkg, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument
827 rejectQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
897 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
963 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
1115 delete(Uri uri, String selection, String[] selectionArgs) argument
1134 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderClient.java112 public Cursor query(Uri url, String[] projection, String selection, argument
114 return query(url, projection, selection, selectionArgs, sortOrder, null);
118 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
128 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs,
231 public int delete(Uri url, String selection, String[] selectionArgs) argument
235 return mContentProvider.delete(mPackageName, url, selection, selectionArgs);
247 public int update(Uri url, ContentValues values, String selection, argument
251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
H A DContentProviderNative.java95 // String selection, String[] selectionArgs...
96 String selection = data.readString();
112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs,
203 String selection = data.readString();
206 int count = delete(callingPkg, url, selection, selectionArgs);
219 String selection = data.readString();
222 int count = update(callingPkg, url, values, selection, selectionArgs);
386 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, argument
405 data.writeString(selection);
530 public int delete(String callingPkg, Uri url, String selection, Strin argument
553 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderOperation.java335 * the key is an index into the selection argument array (see {@link Builder#withSelection})
336 * and the value is the index of the previous result that should be used for that selection
502 * Add a back references as a selection arg. Any value at that index of the selection arg
510 + "can have selection back-references");
581 * The selection and arguments to use. An occurrence of '?' in the selection will be
582 * replaced with the corresponding occurence of the selection argument. Any of the
583 * selection arguments may be overwritten by a selection argumen
588 withSelection(String selection, String[] selectionArgs) argument
[all...]
H A DContentResolver.java398 * explicit values in the {@code selection} parameter, so that queries
408 * @param selection A filter declaring which rows to return, formatted as an
411 * @param selectionArgs You may include ?s in selection, which will be
413 * appear in the selection. The values will be bound as Strings.
421 String selection, String[] selectionArgs, String sortOrder) {
422 return query(uri, projection, selection, selectionArgs, sortOrder, null);
434 * explicit values in the {@code selection} parameter, so that queries
444 * @param selection A filter declaring which rows to return, formatted as an
447 * @param selectionArgs You may include ?s in selection, which will be
449 * appear in the selection
420 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
459 query(final Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
2374 maybeLogQueryToEventLog(long durationMillis, Uri uri, String[] projection, String selection, String sortOrder) argument
2415 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
[all...]
H A DCursorLoader.java133 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
139 mSelection = selection;
210 public void setSelection(String selection) { argument
211 mSelection = selection;
H A DIContentProvider.java37 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, argument
45 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument
47 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.java765 * @param selection A filter declaring which rows to return,
768 * @return the number of rows in the table filtered by the selection
770 public static long queryNumEntries(SQLiteDatabase db, String table, String selection) { argument
771 return queryNumEntries(db, table, selection, null);
778 * @param selection A filter declaring which rows to return,
781 * @param selectionArgs You may include ?s in selection,
783 * in order that they appear in the selection.
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
789 String s = (!TextUtils.isEmpty(selection))
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java1008 * @param selection A filter declaring which rows to return, formatted as an
1011 * @param selectionArgs You may include ?s in selection, which will be
1013 * appear in the selection. The values will be bound as Strings.
1032 String selection, String[] selectionArgs, String groupBy,
1034 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs,
1046 * @param selection A filter declaring which rows to return, formatted as an
1049 * @param selectionArgs You may include ?s in selection, which will be
1051 * appear in the selection. The values will be bound as Strings.
1073 String selection, String[] selectionArgs, String groupBy,
1075 return queryWithFactory(null, distinct, table, columns, selection, selectionArg
1031 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
1072 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument
1111 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
1154 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument
1198 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) argument
1236 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
444 buildQuery( String[] projectionIn, String selection, String groupBy, String having, String sortOrder, String limit) argument
480 buildQuery( String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument
525 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String groupBy, String having) argument
564 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 DDocumentsProvider.java475 public final Cursor query(Uri uri, String[] projection, String selection, argument
599 public final int delete(Uri uri, String selection, String[] selectionArgs) { argument
609 Uri uri, ContentValues values, String selection, String[] selectionArgs) {
608 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
H A DMediaStore.java820 String selection, String [] selectionArgs, String orderBy) {
821 return cr.query(uri, projection, selection,
819 query(ContentResolver cr, Uri uri, String[] projection, String selection, String [] selectionArgs, String orderBy) argument
H A DSearchIndexablesProvider.java104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
177 public final int delete(Uri uri, String selection, String[] selectionArgs) { argument
186 Uri uri, ContentValues values, String selection, String[] selectionArgs) {
185 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java27 * Helper for building selection clauses for {@link SQLiteDatabase}. Each
47 * Append the given selection clause to the internal state. Each clause is
50 public SelectionBuilder append(String selection, Object... selectionArgs) { argument
51 if (TextUtils.isEmpty(selection)) {
54 "Valid selection required when including arguments");
65 mSelection.append("(").append(selection).append(")");
78 * Return selection string for current internal state.
87 * Return selection arguments for current internal state.
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java63 public Cursor query(Uri url, String[] projectionIn, String selection, argument

Completed in 397 milliseconds

12