/cts/tests/tests/content/src/android/content/cts/ |
D | MockContentProvider.java | 132 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 143 count = db.delete("TestTable1", selection, selectionArgs); in delete() 149 selectionArgs); in delete() 152 count = db.delete("TestTable2", selection, selectionArgs); in delete() 158 selectionArgs); in delete() 235 String[] selectionArgs, String sortOrder) { in query() argument 236 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query() 241 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument 291 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy, in query() 300 String[] selectionArgs) { in update() argument [all …]
|
D | DummyProvider.java | 118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 125 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query() 165 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 171 int count = db.update(tbName, values, selection, selectionArgs); in update() 182 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 188 int count = db.delete(tbName, selection, selectionArgs); in delete()
|
D | ContentProviderTest.java | 239 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 260 String[] selectionArgs, String sortOrder) { in query() argument 266 String[] selectionArgs) { in update() argument 310 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 330 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 332 return mDb.query("files", projection, selection, selectionArgs, null, null, null); in query() 336 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
D | AsyncQueryHandlerTest.java | 276 String selection, String[] selectionArgs, String orderBy, boolean cancelable) { in startQuery() argument 281 selection, selectionArgs, orderBy); in startQuery() 293 String selection, String[] selectionArgs, boolean cancelable) { in startUpdate() argument 297 mAsyncHandler.startUpdate(token, cookie, uri, values, selection, selectionArgs); in startUpdate() 301 String[] selectionArgs, boolean cancelable) { in startDelete() argument 305 mAsyncHandler.startDelete(token, cookie, uri, selection, selectionArgs); in startDelete()
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | PrivateContentProviderGranting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
D | PermissionContentProviderPathRestricting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
D | PermissionContentProviderPath.java | 18 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 40 String[] selectionArgs, String sortOrder) { in query() argument 46 String[] selectionArgs) { in update() argument
|
D | PrivateContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
D | PermissionContentProviderGranting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
D | AmbiguousContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
D | PermissionContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/ |
D | AmbiguousContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | BasicContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 56 String[] selectionArgs, String sortOrder) { in query() argument 62 String[] selectionArgs) { in update() argument
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | MmsPduProvider.java | 39 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 58 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 64 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/src/com/android/cts/splitapp/ |
D | FeatureProvider.java | 61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 77 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 82 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_ArtistsTest.java | 77 String[] selectionArgs = new String[] { Audio1.ARTIST }; in testStoreAudioArtists() local 80 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() 96 mContentResolver.update(artistsUri, artistValues, selection, selectionArgs); in testStoreAudioArtists() 104 mContentResolver.delete(artistsUri, selection, selectionArgs); in testStoreAudioArtists() 128 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists()
|
D | MediaStoreTest.java | 64 String[] selectionArgs = new String[] { TEST_VOLUME_NAME }; in testGetMediaScannerUri() local 68 selection, selectionArgs, null)); in testGetMediaScannerUri() 77 selection, selectionArgs, null); in testGetMediaScannerUri()
|
D | TelephonyProviderTest.java | 91 String[] selectionArgs = null; in testAccessToApns() local 93 APN_PROJECTION, selection, selectionArgs, null); in testAccessToApns()
|
D | MediaStore_Audio_AlbumsTest.java | 88 String[] selectionArgs = new String[] { Audio1.ALBUM }; in testStoreAudioAlbums() local 91 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, in testStoreAudioAlbums() 126 mContentResolver.update(audioAlbumsUri, albumValues, selection, selectionArgs); in testStoreAudioAlbums() 134 mContentResolver.delete(audioAlbumsUri, selection, selectionArgs); in testStoreAudioAlbums() 158 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null); in testStoreAudioAlbums()
|
D | ContactsContract_TestDataBuilder.java | 169 ArrayList<String> selectionArgs = Lists.newArrayList(); in loadUsingValues() local 184 selectionArgs.add(value.toString()); in loadUsingValues() 189 selectionArgs.toArray(new String[0]), null, null); in loadUsingValues()
|
D | CalendarTest.java | 210 String[] selectionArgs; in getCalendarsByAccount() local 213 selectionArgs = new String[2]; in getCalendarsByAccount() 214 selectionArgs[1] = account; in getCalendarsByAccount() 216 selectionArgs = new String[1]; in getCalendarsByAccount() 218 selectionArgs[0] = CTS_TEST_TYPE; in getCalendarsByAccount() 221 selectionArgs, null); in getCalendarsByAccount() 267 String[] selectionArgs = new String[] { CTS_TEST_TYPE, account }; in getSyncStateByAccount() local 270 selectionArgs, null); in getSyncStateByAccount() 556 String[] selectionArgs; in getEventsByAccount() local 559 selectionArgs = new String[2]; in getEventsByAccount() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | MockContentProvider.java | 46 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 62 String[] selectionArgs, String sortOrder) { in query() argument 68 String[] selectionArgs) { in update() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 120 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 147 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query() 160 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 190 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs); in update() 199 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 201 int numDeleted = db.delete(TABLE_NAME, selection, selectionArgs); in delete()
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | AuthenticatorContentProvider.java | 125 String[] selectionArgs, in query() argument 141 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 146 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DatabaseAsserts.java | 167 String[] projection, String selection, String[] selectionArgs, String sortOrder, in assertStoredValuesInUriMatchExactly() argument 169 final Cursor cursor = resolver.query(uri, projection, selection, selectionArgs, sortOrder); in assertStoredValuesInUriMatchExactly()
|