Searched refs:otherAppImageFile (Results 1 – 1 of 1) sorted by relevance
1479 final File otherAppImageFile = new File(getDcimDir(), "other_" + IMAGE_FILE_NAME); in testDisableOpResetForSystemGallery() local1486 assertThat(createFileAs(APP_B_NO_PERMS, otherAppImageFile.getPath())).isTrue(); in testDisableOpResetForSystemGallery()1487 assertThat(otherAppImageFile.exists()).isTrue(); in testDisableOpResetForSystemGallery()1493 assertCanWriteAndRead(otherAppImageFile, BYTES_DATA1); in testDisableOpResetForSystemGallery()1500 assertCanWriteAndRead(otherAppImageFile, BYTES_DATA2); in testDisableOpResetForSystemGallery()1504 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppImageFile.getAbsolutePath()); in testDisableOpResetForSystemGallery()1512 final File otherAppImageFile = new File(getDcimDir(), "other_" + IMAGE_FILE_NAME); in testSystemGalleryAppHasFullAccessToImages() local1520 assertThat(createFileAs(APP_B_NO_PERMS, otherAppImageFile.getPath())).isTrue(); in testSystemGalleryAppHasFullAccessToImages()1521 assertThat(otherAppImageFile.exists()).isTrue(); in testSystemGalleryAppHasFullAccessToImages()1524 try (FileOutputStream fos = new FileOutputStream(otherAppImageFile)) { in testSystemGalleryAppHasFullAccessToImages()[all …]