/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
H A D | DisabledProvider.java | 34 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 D | EnabledProvider.java | 34 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 D | TestProvider.java | 33 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 D | TestReceiver.java | 33 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 D | NullProvider.java | 15 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/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatResponseMessage.java | 35 public void setMenuSelection(int selection) { argument 36 this.usersMenuSelection = selection;
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 52 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 D | ContentProviderClient.java | 62 public Cursor query(Uri url, String[] projection, String selection, argument 65 return query(url, projection, selection, selectionArgs, sortOrder, null); 75 public Cursor query(Uri url, String[] projection, String selection, argument 84 return mContentProvider.query(url, projection, selection, selectionArgs, sortOrder, 144 public int delete(Uri url, String selection, String[] selectionArgs) argument 147 return mContentProvider.delete(url, selection, selectionArgs); 157 public int update(Uri url, ContentValues values, String selection, argument 160 return mContentProvider.update(url, values, selection, selectionArgs);
|
H A D | SearchRecentSuggestionsProvider.java | 225 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
|
H A D | IContentProvider.java | 37 public Cursor query(Uri url, String[] projection, String selection, argument 44 public int delete(Uri url, String selection, String[] selectionArgs) argument 46 public int update(Uri url, ContentValues values, String selection, argument
|
H A D | CursorLoader.java | 137 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 D | ContentProvider.java | 186 String selection, String[] selectionArgs, String sortOrder, 189 return ContentProvider.this.query(uri, projection, selection, selectionArgs, sortOrder, 226 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 228 return ContentProvider.this.delete(uri, selection, selectionArgs); 232 public int update(Uri uri, ContentValues values, String selection, argument 235 return ContentProvider.this.update(uri, values, selection, selectionArgs); 560 selection, 574 * @param selection A selection criteria to apply when filtering rows. 576 * @param selectionArgs You may include ?s in selection, whic 185 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument 583 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 649 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 730 delete(Uri uri, String selection, String[] selectionArgs) argument 749 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | SingleUserProvider.java | 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 51 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/frameworks/ex/common/java/com/android/common/ |
H A D | Search.java | 103 // get the query selection, may be null 104 String selection = searchable.getSuggestSelection(); 105 // inject query, either as selection args or inline 107 if (selection != null) { 109 } else { // no selection, use REST pattern 121 return context.getContentResolver().query(uri, null, selection, selArgs, null);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerProvider.java | 86 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/database/sqlite/ |
H A D | SQLiteQueryBuilder.java | 87 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 90 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 106 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 109 * WHERE (<append chunk 1><append chunk2>) AND (<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...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | SelectionBuilder.java | 27 * 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/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 67 public int delete(Uri url, String selection, String[] selectionArgs) argument 69 return MockContentProvider.this.delete(url, selection, selectionArgs); 95 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument 97 return MockContentProvider.this.query(url, projection, selection, 102 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument 104 return MockContentProvider.this.update(url, values, selection, selectionArgs); 172 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 192 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 198 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | MockIContentProvider.java | 49 public int delete(Uri url, String selection, String[] selectionArgs) argument 75 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument 80 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument 85 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | SQLiteContentProvider.java | 76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument 82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); argument 148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 155 count = updateInTransaction(uri, values, selection, selectionArgs); 166 count = updateInTransaction(uri, values, selection, selectionArgs); 176 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 183 count = deleteInTransaction(uri, selection, selectionArgs); 194 count = deleteInTransaction(uri, selection, selectionArgs);
|
H A D | SyncStateContentProviderHelper.java | 82 String selection, String[] selectionArgs, String sortOrder) { 83 return db.query(SYNC_STATE_TABLE, projection, selection, selectionArgs, 96 String selection, String[] selectionArgs) { 97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs); 81 query(SQLiteDatabase db, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 95 update(SQLiteDatabase db, ContentValues values, String selection, String[] selectionArgs) argument
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 291 * String selection = Data.CONTACT_ID + "=?"; 294 * contentUriForRawContactsEntity, null, selection, selectionArgs, null) 310 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection 313 public boolean init(final String selection, final String[] selectionArgs) { argument 314 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, 321 public boolean init(final Uri contentUri, final String selection, argument 323 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); 329 * @param selection selection used with 339 public boolean init(final Uri contentUri, final String selection, argument 383 init(final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder, Uri contentUriForRawContactsEntity) argument 432 initInterCursorCreationPart( final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | SearchRecentSuggestions.java | 236 String selection = null; 238 selection = "_id IN " + 243 cr.delete(mSuggestionsUri, selection, null);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ExportTestProvider.java | 99 String selection, String[] selectionArgs, String sortOrder) { 104 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection)); 115 String selection, String[] selectionArgs, String sortOrder) { 118 TestCase.assertNull(selection); 98 queryEntities(Uri uri, String selection, String[] selectionArgs, String sortOrder) argument 114 query(Uri uri,String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | CursorLoader.java | 105 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument 111 mSelection = selection; 182 public void setSelection(String selection) { argument 183 mSelection = selection;
|