Searched refs:MediaStoreUtils (Results 1 – 12 of 12) sorted by relevance
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
D | PhotoPickerFilesUtils.java | 28 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/ |
D | MediaStore_DownloadsTest.java | 40 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()
|
D | MediaStorePendingTest.java | 45 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()
|
D | MediaProviderTestUtils.java | 212 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()
|
D | MediaStore_Video_MediaTest.java | 49 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()
|
D | MediaStore_Audio_MediaTest.java | 44 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()
|
D | MediaStore_Images_ThumbnailsTest.java | 47 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()
|
D | MediaStoreUtils.java | 41 public class MediaStoreUtils { class
|
D | MediaStore_Images_MediaTest.java | 52 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/ |
D | MediaStorageTest.java | 55 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 …]
|
D | MediaStoreUtils.java | 36 public class MediaStoreUtils { class
|
/cts/tests/mediaprovider/ |
D | Android.bp | 55 "src/android/provider/cts/media/MediaStoreUtils.java",
|