Home
last modified time | relevance | path

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

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_VideoTest.java83 Uri newUri = mResolver.insert(mExternalVideo, values); in testQuery() local
84 assertNotNull(newUri); in testQuery()
86 Cursor c = Video.query(mResolver, newUri, new String[] { VideoColumns.DATA }); in testQuery()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java114 Uri newUri = mContentResolver.insert(uri, contentValues); in testValidCase() local
115 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testValidCase()
203 Uri newUri = mContentResolver.insert(uri, contentValues); in testQueryConflictCase() local
204 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testQueryConflictCase()
265 Uri newUri = mContentResolver.insert(uri, contentValues); in testUpdateConflictCase() local
266 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testUpdateConflictCase()
339 Uri newUri = mContentResolver.insert(uri, contentValues); in testDeleteConflictCase() local
340 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testDeleteConflictCase()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java661 final Uri newUri = mResolver.insert(uri, cv); in testAllOperations()
662 if (newUri == null) { in testAllOperations()
667 if (!newUri.toString().startsWith( in testAllOperations()
669 checkExecutable("insert -> update", newUri, true, () -> { in testAllOperations()
670 mResolver.update(newUri, cv, null, null); in testAllOperations()
673 checkExecutable("insert -> delete", newUri, true, () -> { in testAllOperations()
674 mResolver.delete(newUri, null, null); in testAllOperations()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DApnTest.java299 Uri newUri = mContentResolver.insert(CARRIER_TABLE_URI, contentValues); in insertTestApnAndValidateInsertion() local
301 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in insertTestApnAndValidateInsertion()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java700 final Uri newUri = create.call(); in assertRenameAndReplaceFileAPISupport() local
701 assertWithMessage("Check newFile created").that(newUri).isNotNull(); in assertRenameAndReplaceFileAPISupport()
702 File newFile = new File(queryForSingleColumn(newUri, MediaColumns.DATA)); in assertRenameAndReplaceFileAPISupport()
704 clearMediaOwner(newUri, mUserId); in assertRenameAndReplaceFileAPISupport()
714 MediaStore.createWriteRequest(mContentResolver, Arrays.asList(newUri))); in assertRenameAndReplaceFileAPISupport()
722 MediaStore.createWriteRequest(mContentResolver, Arrays.asList(newUri))); in assertRenameAndReplaceFileAPISupport()
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java1277 final Uri newUri = Uri.parse("content://"); in testRemoteConnectionVideo_SetPauseImage() local
1290 remoteVideoProvider.setPauseImage(newUri); in testRemoteConnectionVideo_SetPauseImage()
1292 assertEquals(newUri, callbackInvoker.getArgs(0)[0]); in testRemoteConnectionVideo_SetPauseImage()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java158 ClipData contentUriData = ClipData.newUri(mContext.getContentResolver(), in testSetPrimaryClip_contentUri()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java2545 final Uri newUri = MediaStore.scanFile(cr, imageFile); in testRenameCanRestoreDeletedRowId() local
2546 assertThat(newUri).isNotNull(); in testRenameCanRestoreDeletedRowId()
2547 assertThat(newUri.getLastPathSegment()).isEqualTo(oldUri.getLastPathSegment()); in testRenameCanRestoreDeletedRowId()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt10068 …method public static android.content.ClipData newUri(android.content.ContentResolver, CharSequence…