Searched refs:selection (Results 1 - 25 of 47) 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/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 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
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 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...]
/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/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
H A DMockContentProvider.java70 public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, argument
77 public int delete(Uri url, String selection, String[] selectionArgs) argument
79 return MockContentProvider.this.delete(url, selection, selectionArgs);
105 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
107 return MockContentProvider.this.query(url, projection, selection,
112 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
114 return MockContentProvider.this.update(url, values, selection, selectionArgs);
169 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
189 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
195 public int update(Uri uri, ContentValues values, String selection, Strin argument
[all...]
/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
H A DTrackerDataHelper.java109 String selection = (tag == null ? null : TrackerEntry.TAG + "=?");
113 selection, selectionArgs, null);
/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/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
/frameworks/base/core/java/android/database/sqlite/
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...]
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 DSearchRecentSuggestions.java217 String selection = null;
219 selection = "_id IN " +
224 cr.delete(mSuggestionsUri, selection, null);
/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/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/java/android/widget/
H A DAdapterView.java89 * Indicates whether to sync based on the selection or position. Possible
347 * @param parent The AdapterView where the selection happened
355 * Callback method to be invoked when the selection disappears from this
356 * view. The selection can disappear for instance when touch is activated
550 int selection = getSelectedItemPosition();
551 if (adapter != null && adapter.getCount() > 0 && selection >= 0) {
552 return adapter.getItem(selection);
858 // we fire selection events here not in View
868 int selection = this.getSelectedItemPosition();
869 if (selection >
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java315 String selection;
339 selection = "upper(" + Data.DATA1 + ")=?"
347 selection = null;
353 Log.d(LOG_TAG, "==> selection: " + selection);
383 selection, // selection
/frameworks/base/core/tests/coretests/src/android/content/
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/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,

Completed in 588 milliseconds

12