Home
last modified time | relevance | path

Searched refs:pendingUri (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_DownloadsTest.java183 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertDownload() local
184 assertNotNull(pendingUri); in testInsertDownload()
186 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertDownload() argument
229 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testUpdateDownload() local
230 assertNotNull(pendingUri); in testUpdateDownload()
232 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testUpdateDownload() argument
265 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testDeleteDownload() local
266 assertNotNull(pendingUri); in testDeleteDownload()
268 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testDeleteDownload() argument
305 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testNotifyChange() local
[all …]
DMediaStorePendingTest.java113 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in verifySuccessfulImageInsertion() local
114 final long id = ContentUris.parseId(pendingUri); in verifySuccessfulImageInsertion()
117 try (Cursor c = mResolver.query(pendingUri, in verifySuccessfulImageInsertion()
127 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in verifySuccessfulImageInsertion() argument
163 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testSimple_Abandoned() local
166 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testSimple_Abandoned() argument
173 pendingFile = getRawFile(pendingUri); in testSimple_Abandoned()
180 try (Cursor c = mResolver.query(pendingUri, in testSimple_Abandoned()
454 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local
455 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
DMediaStore_Video_MediaTest.java219 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testLocationRedaction() local
221 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testLocationRedaction() argument
284 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testLocationDeprecated() local
286 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testLocationDeprecated() argument
DMediaStore_Images_MediaTest.java314 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params);
316 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) {
373 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params);
375 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) {
DProviderTestUtils.java235 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local
236 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in stageMedia() argument
DMediaStore_Images_ThumbnailsTest.java425 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertUpdateDelete() local
427 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertUpdateDelete() argument
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java397 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createAudio() local
398 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createAudio() argument
412 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createVideo() local
413 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createVideo() argument
427 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createImage() local
428 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createImage() argument