Home
last modified time | relevance | path

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

/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
DTimeZoneDistroInstaller.java119 private final File stagedTzDataDir; field in TimeZoneDistroInstaller
127 stagedTzDataDir = new File(installDir, STAGED_TZ_DATA_DIR_NAME); in TimeZoneDistroInstaller()
139 return stagedTzDataDir; in getStagedTzDataDir()
265 if (!stagedTzDataDir.exists()) { in stageInstallWithErrorCode()
266 Slog.i(logTag, "Nothing to unstage at " + stagedTzDataDir); in stageInstallWithErrorCode()
268 Slog.i(logTag, "Moving " + stagedTzDataDir + " to " + oldStagedDataDir); in stageInstallWithErrorCode()
271 FileUtils.rename(stagedTzDataDir, oldStagedDataDir); in stageInstallWithErrorCode()
275 Slog.i(logTag, "Moving " + workingDir + " to " + stagedTzDataDir); in stageInstallWithErrorCode()
276 FileUtils.rename(workingDir, stagedTzDataDir); in stageInstallWithErrorCode()
277 Slog.i(logTag, "Install staged: " + stagedTzDataDir + " successfully created"); in stageInstallWithErrorCode()
[all …]
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java664 File stagedTzDataDir = installer.getStagedTzDataDir(); in assertInstallDistroStaged() local
665 assertTrue(stagedTzDataDir.exists()); in assertInstallDistroStaged()
668 new File(stagedTzDataDir, TimeZoneDistro.DISTRO_VERSION_FILE_NAME); in assertInstallDistroStaged()
671 File tzdataFile = new File(stagedTzDataDir, TimeZoneDistro.TZDATA_FILE_NAME); in assertInstallDistroStaged()
674 File icuFile = new File(stagedTzDataDir, TimeZoneDistro.ICU_DATA_FILE_NAME); in assertInstallDistroStaged()
677 File tzLookupFile = new File(stagedTzDataDir, TimeZoneDistro.TZLOOKUP_FILE_NAME); in assertInstallDistroStaged()
680 File telephonyLookupFile = new File(stagedTzDataDir, in assertInstallDistroStaged()
739 File stagedTzDataDir = installer.getStagedTzDataDir(); in assertNoDistroOperationStaged() local
740 assertFalse(stagedTzDataDir.exists()); in assertNoDistroOperationStaged()
753 File stagedTzDataDir = installer.getStagedTzDataDir(); in assertDistroUninstallStaged() local
[all …]