Searched refs:fileToDelete (Results 1 – 4 of 4) sorted by relevance
73 File fileToDelete = new File(mData.getFilePath()); in delete() local74 boolean deletionSucceeded = fileToDelete.delete(); in delete()75 deleteIfEmptyCameraSubDir(fileToDelete.getParentFile()); in delete()
588 final String fileToDelete = dataPath + "/cache/deleteme.txt"; in testSdkDataPackageDirectory_IsClearedOnClearAppData() local589 getDevice().executeShellCommand("echo something to delete > " + fileToDelete); in testSdkDataPackageDirectory_IsClearedOnClearAppData()590 assertThat(getDevice().doesFileExist(fileToDelete)).isTrue(); in testSdkDataPackageDirectory_IsClearedOnClearAppData()627 final String fileToDelete = dataPath + "/cache/deleteme.txt"; in testSdkDataPackageDirectory_IsClearedOnFreeCache() local628 getDevice().executeShellCommand("echo something to delete > " + fileToDelete); in testSdkDataPackageDirectory_IsClearedOnFreeCache()629 assertThat(getDevice().doesFileExist(fileToDelete)).isTrue(); in testSdkDataPackageDirectory_IsClearedOnFreeCache()666 final String fileToDelete = dataPath + "/cache/deleteme.txt"; in testSdkDataPackageDirectory_IsClearedOnClearCache() local667 getDevice().executeShellCommand("echo something to delete > " + fileToDelete); in testSdkDataPackageDirectory_IsClearedOnClearCache()668 assertThat(getDevice().doesFileExist(fileToDelete)).isTrue(); in testSdkDataPackageDirectory_IsClearedOnClearCache()
926 Path fileToDelete = pathToCallComposerDir.resolve(uri.getLastPathSegment()); in deleteCallComposerPicture() local927 enforceValidCallLogPath(pathToCallComposerDir, fileToDelete, in deleteCallComposerPicture()929 return Files.deleteIfExists(fileToDelete) ? 1 : 0; in deleteCallComposerPicture()
1466 File fileToDelete = new File(mContext.getFilesDir(), fileName); in overrideConfig() local1467 fileToDelete.delete(); in overrideConfig()