Home
last modified time | relevance | path

Searched refs:selectionArgs (Results 1 – 25 of 25) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java132 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 …]
DDummyProvider.java118 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()
DContentProviderTest.java239 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
DAsyncQueryHandlerTest.java276 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/
DPrivateContentProviderGranting.java34 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
DPermissionContentProviderPathRestricting.java34 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
DPermissionContentProviderPath.java18 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
DPrivateContentProvider.java34 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
DPermissionContentProviderGranting.java34 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
DAmbiguousContentProvider.java34 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
DPermissionContentProvider.java34 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/
DAmbiguousContentProvider.java34 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/
DBasicContentProvider.java34 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/
DMmsPduProvider.java39 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/
DFeatureProvider.java61 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/
DMediaStore_Audio_ArtistsTest.java77 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()
DMediaStoreTest.java64 String[] selectionArgs = new String[] { TEST_VOLUME_NAME }; in testGetMediaScannerUri() local
68 selection, selectionArgs, null)); in testGetMediaScannerUri()
77 selection, selectionArgs, null); in testGetMediaScannerUri()
DTelephonyProviderTest.java91 String[] selectionArgs = null; in testAccessToApns() local
93 APN_PROJECTION, selection, selectionArgs, null); in testAccessToApns()
DMediaStore_Audio_AlbumsTest.java88 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()
DContactsContract_TestDataBuilder.java169 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()
DCalendarTest.java210 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/
DMockContentProvider.java46 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/
DTestResultsProvider.java120 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/
DAuthenticatorContentProvider.java125 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/
DDatabaseAsserts.java167 String[] projection, String selection, String[] selectionArgs, String sortOrder, in assertStoredValuesInUriMatchExactly() argument
169 final Cursor cursor = resolver.query(uri, projection, selection, selectionArgs, sortOrder); in assertStoredValuesInUriMatchExactly()