Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/
DRedactUriDeviceTest.java31 import static android.scopedstorage.cts.lib.TestUtils.isFileOpenRedacted;
287 assertThat(isFileOpenRedacted(APP_B_NO_PERMS, redactedUri)).isTrue(); in testSharedRedactedUri_openFileForRead()
320 assertThat(isFileOpenRedacted(APP_E, redactedUri)).isTrue(); in testSharedRedactedUri_openFileForRead_withLocationPerm()
378 assertThat(isFileOpenRedacted(APP_E, redactedUri)).isTrue(); in testUnsharedRedactedUri_openFileForRead()
379 assertThrows(IOException.class, () -> isFileOpenRedacted(APP_B_NO_PERMS, redactedUri)); in testUnsharedRedactedUri_openFileForRead()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java524 public static boolean isFileOpenRedacted(TestApp testApp, Uri uri) in isFileOpenRedacted() method in TestUtils