Home
last modified time | relevance | path

Searched refs:newUri (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_VideoTest.java85 Uri newUri = mResolver.insert(mExternalVideo, values); in testQuery() local
86 assertNotNull(newUri); in testQuery()
88 Cursor c = Video.query(mResolver, newUri, new String[] { VideoColumns.DATA }); in testQuery()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java641 final Uri newUri = mResolver.insert(uri, cv); in testAllOperations()
642 if (newUri == null) { in testAllOperations()
647 if (!newUri.toString().startsWith( in testAllOperations()
649 checkExecutable("insert -> update", newUri, true, () -> { in testAllOperations()
650 mResolver.update(newUri, cv, null, null); in testAllOperations()
653 checkExecutable("insert -> delete", newUri, true, () -> { in testAllOperations()
654 mResolver.delete(newUri, null, null); in testAllOperations()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java116 Uri newUri = mContentResolver.insert(uri, contentValues); in testValidCase() local
117 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testValidCase()
205 Uri newUri = mContentResolver.insert(uri, contentValues); in testQueryConflictCase() local
206 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testQueryConflictCase()
267 Uri newUri = mContentResolver.insert(uri, contentValues); in testUpdateConflictCase() local
268 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testUpdateConflictCase()
341 Uri newUri = mContentResolver.insert(uri, contentValues); in testDeleteConflictCase() local
342 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testDeleteConflictCase()
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java1226 final Uri newUri = Uri.parse("content://"); in testRemoteConnectionVideo_SetPauseImage() local
1239 remoteVideoProvider.setPauseImage(newUri); in testRemoteConnectionVideo_SetPauseImage()
1241 assertEquals(newUri, callbackInvoker.getArgs(0)[0]); in testRemoteConnectionVideo_SetPauseImage()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java131 ClipData contentUriData = ClipData.newUri(mContext.getContentResolver(), in testSetPrimaryClip_contentUri()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java2353 final Uri newUri = MediaStore.scanFile(cr, imageFile); in testRenameCanRestoreDeletedRowId() local
2354 assertThat(newUri).isNotNull(); in testRenameCanRestoreDeletedRowId()
2355 assertThat(newUri.getLastPathSegment()).isEqualTo(oldUri.getLastPathSegment()); in testRenameCanRestoreDeletedRowId()