Home
last modified time | relevance | path

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

/cts/tests/mediaprovider/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
169 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testSimple_Abandoned() local
172 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testSimple_Abandoned() argument
179 pendingFile = getRawFile(pendingUri); in testSimple_Abandoned()
186 try (Cursor c = mResolver.query(pendingUri, in testSimple_Abandoned()
496 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local
497 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
DMediaStore_Video_MediaTest.java319 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testLocationDeprecated() local
321 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testLocationDeprecated() argument
488 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local
489 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
DMediaProviderTestUtils.java214 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local
216 pendingUri)) { in stageMedia() argument
DMediaStore_Audio_MediaTest.java340 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local
341 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() 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
DMediaStore_Images_MediaTest.java468 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params);
470 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) {
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java979 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createDownload() local
980 assertNotNull(pendingUri); in createDownload()
981 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createDownload() argument
1001 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createAudio() local
1003 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createAudio() argument
1017 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createVideo() local
1018 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createVideo() argument
1032 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createImage() local
1033 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createImage() argument
1047 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createPlaylist() local
[all …]
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerFilesUtils.java179 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local
181 pendingUri)) { in stageMedia() argument