Searched refs:currentDirectory (Results 1 – 2 of 2) sorted by relevance
109 public boolean deleteAdServicesFiles(File currentDirectory) { in deleteAdServicesFiles() argument110 if (currentDirectory == null) { in deleteAdServicesFiles()116 if (!currentDirectory.isDirectory()) { in deleteAdServicesFiles()123 File[] files = currentDirectory.listFiles(); in deleteAdServicesFiles()143 Log.e(TAG, "Error deleting directory " + currentDirectory.getName(), e); in deleteAdServicesFiles()158 private boolean deleteAllData(File currentDirectory) { in deleteAllData() argument159 if (currentDirectory == null) { in deleteAllData()165 if (!currentDirectory.isDirectory()) { in deleteAllData()172 for (File file : currentDirectory.listFiles()) { in deleteAllData()179 allSuccess = allSuccess && safeDelete(currentDirectory); in deleteAllData()[all …]
974 private boolean runCommand(@Nullable File currentDirectory, String... command) { in runCommand() argument982 if (currentDirectory != null) { in runCommand()983 processBuilder.directory(currentDirectory); in runCommand()