Home
last modified time | relevance | path

Searched refs:MediaStoreUtils (Results 1 – 12 of 12) sorted by relevance

/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerFilesUtils.java28 import android.provider.cts.media.MediaStoreUtils;
176 final MediaStoreUtils.PendingParams params = new MediaStoreUtils.PendingParams( in stageMedia()
179 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia()
180 try (MediaStoreUtils.PendingSession session = MediaStoreUtils.openPending(context, in stageMedia()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_DownloadsTest.java40 import android.provider.cts.media.MediaStoreUtils.PendingParams;
41 import android.provider.cts.media.MediaStoreUtils.PendingSession;
192 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertDownload()
195 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertDownload()
238 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testUpdateDownload()
241 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testUpdateDownload()
274 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testDeleteDownload()
277 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testDeleteDownload()
314 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testNotifyChange()
317 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testNotifyChange()
DMediaStorePendingTest.java45 import android.provider.cts.media.MediaStoreUtils.PendingParams;
46 import android.provider.cts.media.MediaStoreUtils.PendingSession;
118 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in verifySuccessfulImageInsertion()
132 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in verifySuccessfulImageInsertion()
169 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testSimple_Abandoned()
172 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testSimple_Abandoned()
480 MediaStoreUtils.createPending(mContext, params); in assertCreatePending()
489 MediaStoreUtils.createPending(mContext, params); in assertNotCreatePending()
496 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending()
497 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending()
DMediaProviderTestUtils.java212 final MediaStoreUtils.PendingParams params = new MediaStoreUtils.PendingParams( in stageMedia()
214 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in stageMedia()
215 try (MediaStoreUtils.PendingSession session = MediaStoreUtils.openPending(context, in stageMedia()
DMediaStore_Video_MediaTest.java49 import android.provider.cts.media.MediaStoreUtils.PendingParams;
50 import android.provider.cts.media.MediaStoreUtils.PendingSession;
319 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testLocationDeprecated()
321 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testLocationDeprecated()
488 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending()
489 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending()
DMediaStore_Audio_MediaTest.java44 import android.provider.cts.media.MediaStoreUtils.PendingParams;
45 import android.provider.cts.media.MediaStoreUtils.PendingSession;
340 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in execPending()
341 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending()
DMediaStore_Images_ThumbnailsTest.java47 import android.provider.cts.media.MediaStoreUtils.PendingParams;
48 import android.provider.cts.media.MediaStoreUtils.PendingSession;
425 final Uri pendingUri = MediaStoreUtils.createPending(mContext, params); in testInsertUpdateDelete()
427 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertUpdateDelete()
DMediaStoreUtils.java41 public class MediaStoreUtils { class
DMediaStore_Images_MediaTest.java52 import android.provider.cts.media.MediaStoreUtils.PendingParams;
53 import android.provider.cts.media.MediaStoreUtils.PendingSession;
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/
DMediaStorageTest.java55 import com.android.cts.mediastorageapp.MediaStoreUtils.PendingParams;
56 import com.android.cts.mediastorageapp.MediaStoreUtils.PendingSession;
979 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createDownload()
981 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createDownload()
1001 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createAudio()
1003 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createAudio()
1017 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createVideo()
1018 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createVideo()
1032 final Uri pendingUri = MediaStoreUtils.createPending(context, params); in createImage()
1033 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createImage()
[all …]
DMediaStoreUtils.java36 public class MediaStoreUtils { class
/cts/tests/mediaprovider/
DAndroid.bp55 "src/android/provider/cts/media/MediaStoreUtils.java",