/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_DownloadsTest.java | 192 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 …]
|
D | MediaStorePendingTest.java | 118 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
|
D | MediaStore_Video_MediaTest.java | 319 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
|
D | MediaProviderTestUtils.java | 214 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local 216 pendingUri)) { in stageMedia() argument
|
D | MediaStore_Audio_MediaTest.java | 340 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local 341 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
|
D | MediaStore_Images_ThumbnailsTest.java | 425 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertUpdateDelete() local 427 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertUpdateDelete() argument
|
D | MediaStore_Images_MediaTest.java | 468 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/ |
D | MediaStorageTest.java | 979 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/ |
D | PhotoPickerFilesUtils.java | 179 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local 181 pendingUri)) { in stageMedia() argument
|