Searched defs:selection (Results 1 - 25 of 36) sorted by relevance

12

/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/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DMenu.java49 void processFile(String filename, boolean selection) { argument
58 void processDirectory(String path, boolean selection) { argument
H A DFileList.java157 abstract void processDirectory(String path, boolean selection); argument
161 * The flag indicates if this was from a selection or not.
163 abstract void processFile(String filename, boolean selection); argument
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java47 public Cursor query(Uri url, String[] projection, String selection, argument
49 return mContentProvider.query(url, projection, selection, selectionArgs, sortOrder);
69 public int delete(Uri url, String selection, String[] selectionArgs) argument
71 return mContentProvider.delete(url, selection, selectionArgs);
75 public int update(Uri url, ContentValues values, String selection, argument
77 return mContentProvider.update(url, values, selection, selectionArgs);
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 DIContentProvider.java44 String selection, String[] selectionArgs, String sortOrder, IContentObserver observer,
46 public Cursor query(Uri url, String[] projection, String selection, argument
52 public int delete(Uri url, String selection, String[] selectionArgs) argument
54 public int update(Uri url, ContentValues values, String selection, argument
43 bulkQuery(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, IContentObserver observer, CursorWindow window) argument
H A DContentProvider.java171 String selection, String[] selectionArgs, String sortOrder,
175 selection, selectionArgs, sortOrder);
185 String selection, String[] selectionArgs, String sortOrder) {
187 return ContentProvider.this.query(uri, projection, selection,
220 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
222 return ContentProvider.this.delete(uri, selection, selectionArgs);
225 public int update(Uri uri, ContentValues values, String selection, argument
228 return ContentProvider.this.update(uri, values, selection, selectionArgs);
512 selection,
526 * @param selection
170 bulkQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, IContentObserver observer, CursorWindow window) argument
184 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
535 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
613 delete(Uri uri, String selection, String[] selectionArgs) argument
632 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderNative.java89 // String selection, String[] selectionArgs...
90 String selection = data.readString();
111 IBulkCursor bulkCursor = bulkQuery(url, projection, selection,
183 String selection = data.readString();
186 int count = delete(url, selection, selectionArgs);
198 String selection = data.readString();
201 int count = update(url, values, selection, selectionArgs);
291 String selection, String[] selectionArgs, String sortOrder,
308 data.writeString(selection);
353 String selection, Strin
289 bulkQueryInternal( Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, IContentObserver observer, CursorWindow window, BulkCursorToCursorAdaptor adaptor) argument
352 bulkQuery(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, IContentObserver observer, CursorWindow window) argument
361 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
459 delete(Uri url, String selection, String[] selectionArgs) argument
481 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderOperation.java309 * the key is an index into the selection argument array (see {@link Builder#withSelection})
310 * and the value is the index of the previous result that should be used for that selection
477 * Add a back references as a selection arg. Any value at that index of the selection arg
485 + "can have selection back-references");
556 * The selection and arguments to use. An occurrence of '?' in the selection will be
557 * replaced with the corresponding occurence of the selection argument. Any of the
558 * selection arguments may be overwritten by a selection argumen
563 withSelection(String selection, String[] selectionArgs) argument
[all...]
H A DSearchRecentSuggestionsProvider.java213 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
224 count = db.delete(sSuggestions, selection, selectionArgs);
307 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
357 // Tack on the user's selection, if present
358 if (selection != null && selection.length() > 0) {
364 whereClause.append(selection);
381 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/java/android/database/sqlite/
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
H A DSQLiteQueryBuilder.java85 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
88 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>)
104 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
107 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>)
255 * @param selection A filter declaring which rows to return,
258 * @param selectionArgs You may include ?s in selection, which
260 * that they appear in the selection. The values will be bound
278 String selection, String[] selectionArgs, String groupBy,
280 return query(db, projectionIn, selection, selectionArgs, groupBy, having, sortOrder,
292 * @param selection
277 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder) argument
316 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument
367 buildQuery( String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument
439 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String[] selectionArgs, String groupBy, String having) argument
[all...]
/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.
H A DSyncStateContentProviderHelper.java86 String selection, String[] selectionArgs, String sortOrder) {
87 return db.query(SYNC_STATE_TABLE, projection, selection, selectionArgs,
100 String selection, String[] selectionArgs) {
101 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
85 query(SQLiteDatabase db, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
99 update(SQLiteDatabase db, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/base/core/java/com/google/android/mms/util/
H A DSqliteWrapper.java69 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java63 public Cursor query(Uri url, String[] projectionIn, String selection, argument
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/
H A DExportTestProvider.java94 String selection, String[] selectionArgs, String sortOrder) {
99 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection));
109 String selection, String[] selectionArgs, String sortOrder) {
112 TestCase.assertNull(selection);
93 queryEntities(Uri uri, String selection, String[] selectionArgs, String sortOrder) argument
108 query(Uri uri,String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DStkResponseMessage.java35 public void setMenuSelection(int selection) { argument
36 this.usersMenuSelection = selection;
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java85 public Cursor query(Uri url, String[] projectionIn, String selection, argument
105 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java118 public Cursor query(Uri url, String[] projectionIn, String selection, argument
H A DContentProviderOperationTest.java144 public Cursor query(Uri uri, String[] projection, String selection,
163 public Cursor query(Uri uri, String[] projection, String selection,
179 public Cursor query(Uri uri, String[] projection, String selection,
195 public Cursor query(Uri uri, String[] projection, String selection,
304 builderSetSelection(builder, "selection");
318 assertEquals("selection", operationGetSelection(op2));
404 ContentProviderOperation.Builder builder, String selection)
409 field.set(builder, selection);
529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
542 public int delete(Uri uri, String selection, Strin argument
403 builderSetSelection( ContentProviderOperation.Builder builder, String selection) argument
546 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java49 public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, argument
56 public int delete(Uri url, String selection, String[] selectionArgs) argument
82 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
87 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument
92 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerProvider.java86 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
88 int result = db.delete(TABLE_NAME, selection, selectionArgs);
111 public Cursor query(Uri uri, String[] projection, String selection, argument
115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
122 public int update(Uri uri, ContentValues values, String selection, argument
/frameworks/base/core/java/android/pim/vcard/
H A DVCardComposer.java401 public boolean init(final String selection, final String[] selectionArgs) { argument
402 return init(Contacts.CONTENT_URI, selection, selectionArgs, null);
408 public boolean init(final Uri contentUri, final String selection, argument
441 contentUri, projection, selection, selectionArgs, sortOrder);
532 final String selection = Data.CONTACT_ID + "=?";
538 mContentResolver, uri, selection, selectionArgs, null);
556 uri, null, selection, selectionArgs, null));

Completed in 438 milliseconds

12