Home
last modified time | relevance | path

Searched refs:isFileOpenRedacted (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DRedactUriDeviceTest.java31 import static android.scopedstorage.cts.lib.TestUtils.isFileOpenRedacted;
283 assertThat(isFileOpenRedacted(APP_B_NO_PERMS, redactedUri)).isTrue(); in testSharedRedactedUri_openFileForRead()
316 assertThat(isFileOpenRedacted(APP_C, redactedUri)).isTrue(); in testSharedRedactedUri_openFileForRead_withLocationPerm()
377 assertThat(isFileOpenRedacted(APP_C, redactedUri)).isTrue(); in testUnsharedRedactedUri_openFileForRead()
378 assertThrows(IOException.class, () -> isFileOpenRedacted(APP_B_NO_PERMS, redactedUri)); in testUnsharedRedactedUri_openFileForRead()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java377 public static boolean isFileOpenRedacted(TestApp testApp, Uri uri) in isFileOpenRedacted() method in TestUtils