/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/base/core/tests/coretests/apks/version_nosys/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/base/core/java/com/android/internal/content/ |
H A D | SelectionBuilder.java | 50 public SelectionBuilder append(String selection, Object... selectionArgs) { argument 52 if (selectionArgs != null && selectionArgs.length > 0) { 66 if (selectionArgs != null) { 67 for (Object arg : selectionArgs) {
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SqliteWrapper.java | 57 String[] projection, String selection, String[] selectionArgs, String sortOrder) { 59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 77 ContentValues values, String where, String[] selectionArgs) { 79 return resolver.update(uri, values, where, selectionArgs); 88 String where, String[] selectionArgs) { 90 return resolver.delete(uri, where, selectionArgs); 56 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 76 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 87 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
|
H A D | SQLiteDirectCursorDriver.java | 43 public Cursor query(CursorFactory factory, String[] selectionArgs) { argument 47 query.bindAllArgsAsStrings(selectionArgs);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | SqliteWrapper.java | 69 String[] projection, String selection, String[] selectionArgs, String sortOrder) { 71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 89 ContentValues values, String where, String[] selectionArgs) { 91 return resolver.update(uri, values, where, selectionArgs); 100 String where, String[] selectionArgs) { 102 return resolver.delete(uri, where, selectionArgs); 68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 99 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 53 public String[] selectionArgs; field in class:AsyncQueryHandler.WorkerArgs 80 args.selection, args.selectionArgs, 101 args.selectionArgs); 105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs); 157 * @param selectionArgs You may include ?s in selection, which will be 158 * replaced by the values from selectionArgs, in the order that they 165 String[] projection, String selection, String[] selectionArgs, 176 args.selectionArgs = selectionArgs; 234 ContentValues values, String selection, String[] selectionArgs) { 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 | 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 327 if (TextUtils.isEmpty(selectionArgs[0])) { 331 String like = "%" + selectionArgs[0] + "%"; 382 selectionArgs, null, null, sortOrder, 393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | CursorLoader.java | 134 String[] selectionArgs, String sortOrder) { 140 mSelectionArgs = selectionArgs; 218 public void setSelectionArgs(String[] selectionArgs) { argument 219 mSelectionArgs = selectionArgs; 133 CursorLoader(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
H A D | ContentProviderClient.java | 113 String[] selectionArgs, String sortOrder) throws RemoteException { 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); 248 String[] selectionArgs) throws RemoteException { 251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs); 112 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 247 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | ContentProviderOperation.java | 236 String[] selectionArgs = 249 numRows = provider.delete(mUri, mSelection, selectionArgs); 251 numRows = provider.update(mUri, values, mSelection, selectionArgs); 263 final Cursor cursor = provider.query(mUri, projection, mSelection, selectionArgs, null); 588 public Builder withSelection(String selection, String[] selectionArgs) { argument 594 if (selectionArgs == null) { 597 mSelectionArgs = new String[selectionArgs.length]; 598 System.arraycopy(selectionArgs, 0, mSelectionArgs, 0, selectionArgs.length);
|
/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/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); 112 String[] selectionArgs, String sortOrder) { 116 selectionArgs, null, null, sortOrder); 123 String[] selectionArgs) { 111 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 122 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 71 return MockContentProvider.this.delete(url, selection, selectionArgs); 101 String[] selectionArgs, 104 selectionArgs, sortOrder); 109 String[] selectionArgs) throws RemoteException { 110 return MockContentProvider.this.update(url, values, selection, selectionArgs); 189 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 209 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 215 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 100 query(String callingPackage, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument 108 update(String callingPackage, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | MockIContentProvider.java | 49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 80 String[] selectionArgs, 85 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument 91 String[] selectionArgs) throws RemoteException { 79 query(String callingPackage, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument 90 update(String callingPackage, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | SQLiteContentProvider.java | 77 String[] selectionArgs); 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); 76 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
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/tests/src/com/android/vcard/tests/testutils/ |
H A D | ExportTestProvider.java | 99 String selection, String[] selectionArgs, String sortOrder) { 105 TestCase.assertEquals(1, selectionArgs.length); 106 final int id = Integer.parseInt(selectionArgs[0]); 115 String selection, String[] selectionArgs, String sortOrder) { 119 TestCase.assertNull(selectionArgs); 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/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 257 * String[] selectionArgs = new String[] {contactId}; 259 * contentUriForRawContactsEntity, null, selection, selectionArgs, null) 278 public boolean init(final String selection, final String[] selectionArgs) { argument 279 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, 287 final String[] selectionArgs, final String sortOrder) { 288 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); 296 * @param selectionArgs selectionArgs used with 305 final String[] selectionArgs, final String sortOrder, 307 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrde 286 init(final Uri contentUri, final String selection, final String[] selectionArgs, final String sortOrder) argument 304 init(final Uri contentUri, final String selection, final String[] selectionArgs, final String sortOrder, final Uri contentUriForRawContactsEntity) argument 348 init(final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder, Uri contentUriForRawContactsEntity) argument 397 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 | SearchIndexablesProvider.java | 104 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/support/v4/java/android/support/v4/content/ |
H A D | CursorLoader.java | 98 String[] selectionArgs, String sortOrder) { 104 mSelectionArgs = selectionArgs; 182 public void setSelectionArgs(String[] selectionArgs) { argument 183 mSelectionArgs = selectionArgs; 97 CursorLoader(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|