Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_DownloadsTest.java192 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertDownload() local
193 assertNotNull(pendingUri); in testInsertDownload()
195 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertDownload() argument
238 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testUpdateDownload() local
239 assertNotNull(pendingUri); in testUpdateDownload()
241 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testUpdateDownload() argument
274 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testDeleteDownload() local
275 assertNotNull(pendingUri); in testDeleteDownload()
277 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testDeleteDownload() argument
314 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testNotifyChange() local
[all …]
DMediaStorePendingTest.java118 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in verifySuccessfulImageInsertion() local
119 final long id = ContentUris.parseId(pendingUri); in verifySuccessfulImageInsertion()
122 try (Cursor c = mResolver.query(pendingUri, in verifySuccessfulImageInsertion()
132 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in verifySuccessfulImageInsertion() argument
168 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testSimple_Abandoned() local
171 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testSimple_Abandoned() argument
178 pendingFile = getRawFile(pendingUri); in testSimple_Abandoned()
185 try (Cursor c = mResolver.query(pendingUri, in testSimple_Abandoned()
495 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local
496 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
DMediaStore_Video_MediaTest.java312 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testLocationDeprecated() local
314 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testLocationDeprecated() argument
477 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local
478 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
DMediaStore_Audio_MediaTest.java302 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local
303 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
DMediaStore_Images_ThumbnailsTest.java430 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertUpdateDelete() local
432 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertUpdateDelete() argument
DMediaStore_Images_MediaTest.java448 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params);
450 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) {
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java791 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createAudio() local
792 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createAudio() argument
806 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createVideo() local
807 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createVideo() argument
821 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createImage() local
822 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createImage() argument
836 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createPlaylist() local
837 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createPlaylist() argument
848 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createSubtitle() local
849 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createSubtitle() argument
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java310 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local
311 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in stageMedia() argument