/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStoreUtils.java | 66 public static @NonNull PendingSession openPending(@NonNull Context context, @NonNull Uri uri) { in openPending() 67 return new PendingSession(context, uri); in openPending() 150 public static class PendingSession implements AutoCloseable { class in MediaStoreUtils 157 public PendingSession(Context context, Uri uri) { in PendingSession() method in MediaStoreUtils.PendingSession
|
D | MediaStorageTest.java | 56 import com.android.cts.mediastorageapp.MediaStoreUtils.PendingSession; 981 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createDownload() 1003 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createAudio() 1018 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createVideo() 1033 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createImage() 1048 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createPlaylist() 1060 try (PendingSession session = MediaStoreUtils.openPending(context, pendingUri)) { in createSubtitle()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStoreUtils.java | 77 public static @NonNull PendingSession openPending(@NonNull Context context, @NonNull Uri uri) { in openPending() 78 return new PendingSession(context, uri); in openPending() 167 public static class PendingSession implements AutoCloseable { class in MediaStoreUtils 174 public PendingSession(Context context, Uri uri) { in PendingSession() method in MediaStoreUtils.PendingSession
|
D | MediaStore_DownloadsTest.java | 41 import android.provider.cts.media.MediaStoreUtils.PendingSession; 195 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertDownload() 241 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testUpdateDownload() 277 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testDeleteDownload() 317 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testNotifyChange()
|
D | MediaStorePendingTest.java | 46 import android.provider.cts.media.MediaStoreUtils.PendingSession; 132 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in verifySuccessfulImageInsertion() 172 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testSimple_Abandoned() 497 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending()
|
D | MediaStore_Video_MediaTest.java | 50 import android.provider.cts.media.MediaStoreUtils.PendingSession; 321 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testLocationDeprecated() 489 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending()
|
D | MediaStore_Audio_MediaTest.java | 45 import android.provider.cts.media.MediaStoreUtils.PendingSession; 341 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in execPending()
|
D | MediaStore_Images_ThumbnailsTest.java | 48 import android.provider.cts.media.MediaStoreUtils.PendingSession; 427 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) { in testInsertUpdateDelete()
|
D | MediaStore_Images_MediaTest.java | 53 import android.provider.cts.media.MediaStoreUtils.PendingSession; 470 try (PendingSession session = MediaStoreUtils.openPending(mContext, pendingUri)) {
|
D | MediaProviderTestUtils.java | 215 try (MediaStoreUtils.PendingSession session = MediaStoreUtils.openPending(context, in stageMedia()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
D | PhotoPickerFilesUtils.java | 180 try (MediaStoreUtils.PendingSession session = MediaStoreUtils.openPending(context, in stageMedia()
|