Searched refs:publishUri (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_DownloadsTest.java | 185 final Uri publishUri; in testInsertDownload() local 193 publishUri = session.publish(); in testInsertDownload() 196 try (Cursor cursor = mContentResolver.query(publishUri, null, null, null, null)) { in testInsertDownload() 211 try (InputStream in = mContentResolver.openInputStream(publishUri)) { in testInsertDownload() 231 final Uri publishUri; in testUpdateDownload() local 237 publishUri = session.publish(); in testUpdateDownload() 244 assertEquals(1, mContentResolver.update(publishUri, updateValues, null, null)); in testUpdateDownload() 246 try (Cursor cursor = mContentResolver.query(publishUri, in testUpdateDownload() 267 final Uri publishUri; in testDeleteDownload() local 273 publishUri = session.publish(); in testDeleteDownload() [all …]
|
D | MediaStore_Video_MediaTest.java | 223 final Uri publishUri; in testLocationRedaction() local 229 publishUri = session.publish(); in testLocationRedaction() 232 final Uri originalUri = MediaStore.setRequireOriginal(publishUri); in testLocationRedaction() 236 try (ParcelFileDescriptor pfd = mContentResolver.openFile(publishUri, "r", null); in testLocationRedaction() 243 try (InputStream in = mContentResolver.openInputStream(publishUri)) { in testLocationRedaction() 278 + " --uri " + publishUri + " --bind owner_package_name:n:", in testLocationRedaction() 280 try (ParcelFileDescriptor pfd = mContentResolver.openFile(publishUri, "r", null); in testLocationRedaction() 287 try (InputStream in = mContentResolver.openInputStream(publishUri)) { in testLocationRedaction() 309 final Uri publishUri; in testLocationDeprecated() local 315 publishUri = session.publish(); in testLocationDeprecated() [all …]
|
D | MediaStore_Images_MediaTest.java | 315 final Uri publishUri; 321 publishUri = session.publish(); 324 final Uri originalUri = MediaStore.setRequireOriginal(publishUri); 328 try (InputStream is = mContentResolver.openInputStream(publishUri)) { 367 + " --uri " + publishUri + " --bind owner_package_name:n:", 369 try (InputStream is = mContentResolver.openInputStream(publishUri)) { 395 final Uri publishUri; 401 publishUri = session.publish(); 405 try (Cursor c = mContentResolver.query(publishUri, 416 mContentResolver.update(publishUri, values, null, null); [all …]
|
D | MediaStorePendingTest.java | 126 final Uri publishUri; in verifySuccessfulImageInsertion() local 132 publishUri = session.publish(); in verifySuccessfulImageInsertion() 136 try (Cursor c = mResolver.query(publishUri, in verifySuccessfulImageInsertion() 145 final File rawFile = getRawFile(publishUri); in verifySuccessfulImageInsertion() 151 try (InputStream in = mResolver.openInputStream(publishUri)) { in verifySuccessfulImageInsertion()
|