Home
last modified time | relevance | path

Searched refs:openWithMediaProvider (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java83 import static android.scopedstorage.cts.lib.TestUtils.openWithMediaProvider;
914 ParcelFileDescriptor writePfd = openWithMediaProvider(file, "rw")) { in testOpenFilePathFirstWriteContentResolver()
931 try (ParcelFileDescriptor writePfd = openWithMediaProvider(file, "rw"); in testOpenContentResolverFirstWriteContentResolver()
950 ParcelFileDescriptor readPfd = openWithMediaProvider(file, "rw")) { in testOpenFilePathFirstWriteFilePath()
967 try (ParcelFileDescriptor readPfd = openWithMediaProvider(file, "rw"); in testOpenContentResolverFirstWriteFilePath()
986 try (ParcelFileDescriptor writePfd = openWithMediaProvider(file, "w"); in testOpenContentResolverWriteOnly()
987 ParcelFileDescriptor readPfd = openWithMediaProvider(file, "rw")) { in testOpenContentResolverWriteOnly()
1009 try (ParcelFileDescriptor writePfd = openWithMediaProvider(file, "rw"); in testOpenContentResolverDup()
1035 ParcelFileDescriptor writePfd = openWithMediaProvider(file, "rw"); in testOpenContentResolverClose()
1990 ParcelFileDescriptor writePfd = openWithMediaProvider(file, "rw"); in testInodeStatConsistency()
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java59 import static android.scopedstorage.cts.lib.TestUtils.openWithMediaProvider;
963 try (ParcelFileDescriptor pfd = openWithMediaProvider(otherPendingFile, "r")) { in testOpenOtherPendingFilesFromFuse()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1017 public static ParcelFileDescriptor openWithMediaProvider(@NonNull File file, String mode) in openWithMediaProvider() method in TestUtils