Searched refs:oldStagedDataDir (Results 1 – 2 of 2) sorted by relevance
118 private final File oldStagedDataDir; field in TimeZoneDistroInstaller126 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 …]
524 File oldStagedDataDir = installer.getOldStagedDataDir(); in testStageUninstall_oldDirsAlreadyExists() local525 assertTrue(oldStagedDataDir.mkdir()); in testStageUninstall_oldDirsAlreadyExists()536 assertFalse(oldStagedDataDir.exists()); in testStageUninstall_oldDirsAlreadyExists()