/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_DownloadsTest.java | 183 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 …]
|
D | MediaStorePendingTest.java | 113 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
|
D | MediaStore_Video_MediaTest.java | 219 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
|
D | MediaStore_Images_MediaTest.java | 314 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)) {
|
D | ProviderTestUtils.java | 235 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia() local 236 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in stageMedia() 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
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 397 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
|