Home
last modified time | relevance | path

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

/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
DTimeZoneDistroInstaller.java118 private final File oldStagedDataDir; field in TimeZoneDistroInstaller
126 oldStagedDataDir = new File(installDir, OLD_TZ_DATA_DIR_NAME); in TimeZoneDistroInstaller()
134 return oldStagedDataDir; in getOldStagedDataDir()
160 if (oldStagedDataDir.exists()) { in stageInstallWithErrorCode()
161 FileUtils.deleteRecursive(oldStagedDataDir); in stageInstallWithErrorCode()
268 Slog.i(logTag, "Moving " + stagedTzDataDir + " to " + oldStagedDataDir); in stageInstallWithErrorCode()
271 FileUtils.rename(stagedTzDataDir, oldStagedDataDir); in stageInstallWithErrorCode()
280 deleteBestEffort(oldStagedDataDir); in stageInstallWithErrorCode()
300 if (oldStagedDataDir.exists()) { in stageUninstall()
302 FileUtils.deleteRecursive(oldStagedDataDir); in stageUninstall()
[all …]
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java524 File oldStagedDataDir = installer.getOldStagedDataDir(); in testStageUninstall_oldDirsAlreadyExists() local
525 assertTrue(oldStagedDataDir.mkdir()); in testStageUninstall_oldDirsAlreadyExists()
536 assertFalse(oldStagedDataDir.exists()); in testStageUninstall_oldDirsAlreadyExists()