Searched defs:targetDir (Results 1 - 2 of 2) sorted by relevance

/system/timezone/distro/core/src/main/com/android/timezone/distro/
H A DTimeZoneDistro.java121 * Consumes the wrapped {@link InputStream}, extracting the content to {@code targetDir}.
124 public void extractTo(File targetDir) throws IOException { argument
125 extractZipSafely(inputStream, targetDir, true /* makeWorldReadable */);
129 static void extractZipSafely(InputStream is, File targetDir, boolean makeWorldReadable) argument
133 FileUtils.ensureDirectoriesExist(targetDir, makeWorldReadable);
140 // targetDir.
143 // that might invalidate the guarantees about name existing beneath targetDir.
144 File entryFile = FileUtils.createSubFile(targetDir, name);
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
H A DTimeZoneDistroInstaller.java352 private void unpackDistro(TimeZoneDistro distro, File targetDir) throws IOException { argument
353 Slog.i(logTag, "Unpacking update content to: " + targetDir);
354 distro.extractTo(targetDir);

Completed in 52 milliseconds