Searched refs:otherAppImageFile (Results 1 – 1 of 1) sorted by relevance
1392 final File otherAppImageFile = new File(getDcimDir(), "other_" + IMAGE_FILE_NAME); in testDisableOpResetForSystemGallery() local1399 assertThat(createFileAs(APP_B_NO_PERMS, otherAppImageFile.getPath())).isTrue(); in testDisableOpResetForSystemGallery()1400 assertThat(otherAppImageFile.exists()).isTrue(); in testDisableOpResetForSystemGallery()1406 assertCanWriteAndRead(otherAppImageFile, BYTES_DATA1); in testDisableOpResetForSystemGallery()1413 assertCanWriteAndRead(otherAppImageFile, BYTES_DATA2); in testDisableOpResetForSystemGallery()1417 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppImageFile.getAbsolutePath()); in testDisableOpResetForSystemGallery()1425 final File otherAppImageFile = new File(getDcimDir(), "other_" + IMAGE_FILE_NAME); in testSystemGalleryAppHasFullAccessToImages() local1433 assertThat(createFileAs(APP_B_NO_PERMS, otherAppImageFile.getPath())).isTrue(); in testSystemGalleryAppHasFullAccessToImages()1434 assertThat(otherAppImageFile.exists()).isTrue(); in testSystemGalleryAppHasFullAccessToImages()1437 try (FileOutputStream fos = new FileOutputStream(otherAppImageFile)) { in testSystemGalleryAppHasFullAccessToImages()[all …]