/cts/tests/tests/provider/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 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
|
D | MediaStore_Video_MediaTest.java | 312 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
|
D | MediaStore_Audio_MediaTest.java | 302 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending() local 303 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending() argument
|
D | MediaStore_Images_ThumbnailsTest.java | 430 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertUpdateDelete() local 432 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertUpdateDelete() argument
|
D | MediaStore_Images_MediaTest.java | 448 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/ |
D | MediaStorageTest.java | 791 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/ |
D | ProviderTestUtils.java | 310 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local 311 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in stageMedia() argument
|