Home
last modified time | relevance | path

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

/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
DTimeZoneDistroInstaller.java120 private final File currentTzDataDir; field in TimeZoneDistroInstaller
128 currentTzDataDir = new File(installDir, CURRENT_TZ_DATA_DIR_NAME); in TimeZoneDistroInstaller()
144 return currentTzDataDir; in getCurrentTzDataDir()
321 if (!currentTzDataDir.exists()) { in stageUninstall()
322 Slog.i(logTag, "Nothing to uninstall at " + currentTzDataDir); in stageUninstall()
350 if (!currentTzDataDir.exists()) { in getInstalledDistroVersion()
353 return readDistroVersion(currentTzDataDir); in getInstalledDistroVersion()
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java771 File currentTzDataDir = installer.getCurrentTzDataDir(); in simulateInstalledDistro() local
772 assertFalse(currentTzDataDir.exists()); in simulateInstalledDistro()
773 assertTrue(currentTzDataDir.mkdir()); in simulateInstalledDistro()
774 new TimeZoneDistro(distroBytes).extractTo(currentTzDataDir); in simulateInstalledDistro()
782 File currentTzDataDir = installer.getCurrentTzDataDir(); in assertInstalledDistro() local
783 assertTrue(currentTzDataDir.exists()); in assertInstalledDistro()
784 File versionFile = new File(currentTzDataDir, TimeZoneDistro.DISTRO_VERSION_FILE_NAME); in assertInstalledDistro()