Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/
DRedactUriDeviceTest.java107 private static final TestApp APP_E = new TestApp("TestAppE", field in RedactUriDeviceTest
314 forceStopApp(APP_E.getPackageName()); in testSharedRedactedUri_openFileForRead_withLocationPerm()
316 addressStoragePermissions(APP_E.getPackageName(), true); in testSharedRedactedUri_openFileForRead_withLocationPerm()
317 grantPermission(APP_E.getPackageName(), Manifest.permission.ACCESS_MEDIA_LOCATION); in testSharedRedactedUri_openFileForRead_withLocationPerm()
319 Uri redactedUri = shareAndGetRedactedUri(img, APP_E); in testSharedRedactedUri_openFileForRead_withLocationPerm()
320 assertThat(isFileOpenRedacted(APP_E, redactedUri)).isTrue(); in testSharedRedactedUri_openFileForRead_withLocationPerm()
331 forceStopApp(APP_E.getPackageName()); in testSharedRedactedUri_openFdForRead_withLocationPerm()
334 addressStoragePermissions(APP_E.getPackageName(), true); in testSharedRedactedUri_openFdForRead_withLocationPerm()
335 grantPermission(APP_E.getPackageName(), Manifest.permission.ACCESS_MEDIA_LOCATION); in testSharedRedactedUri_openFdForRead_withLocationPerm()
337 Uri redactedUri = shareAndGetRedactedUri(img, APP_E); in testSharedRedactedUri_openFdForRead_withLocationPerm()
[all …]
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java228 private static final TestApp APP_E = new TestApp("TestAppE", field in ScopedStorageDeviceTest
1283 APP_E, in testReadStorageInvalidation()
1289 testAppOpInvalidation(APP_E, new File(getDcimDir(), "read_storage.jpg"), in testReadStorageInvalidation()
1304 testAppOpInvalidation(APP_E, new File(getDownloadDir(), "manage_storage.pdf"), in testManageStorageInvalidation()
1310 testAppOpInvalidation(APP_E, new File(getDcimDir(), "write_images.jpg"), in testWriteImagesInvalidation()
1316 testAppOpInvalidation(APP_E, new File(getDcimDir(), "write_video.mp4"), in testWriteVideoInvalidation()
1392 addressStoragePermissions(APP_E.getPackageName(), true); in testAppUpdateInvalidation()
1397 assertThat(canOpenFileAs(APP_E, file, /* forWrite */ false)).isTrue(); in testAppUpdateInvalidation()
1399 assertThat(canOpenFileAs(APP_E, file, /* forWrite */ true)).isFalse(); in testAppUpdateInvalidation()