Home
last modified time | relevance | path

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

/packages/modules/ExtServices/java/src/android/ext/services/common/
DAdServicesFilesCleanupBootCompleteReceiver.java109 public boolean deleteAdServicesFiles(File currentDirectory) { in deleteAdServicesFiles() argument
110 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() argument
159 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 …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/telemetry/
DCarTelemetryTestFragment.java974 private boolean runCommand(@Nullable File currentDirectory, String... command) { in runCommand() argument
982 if (currentDirectory != null) { in runCommand()
983 processBuilder.directory(currentDirectory); in runCommand()