Home
last modified time | relevance | path

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

/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
DTimeZoneDistroInstaller.java121 private final File workingDir; field in TimeZoneDistroInstaller
129 workingDir = new File(installDir, WORKING_DIR_NAME); in TimeZoneDistroInstaller()
149 return workingDir; in getWorkingDir()
163 if (workingDir.exists()) { in stageInstallWithErrorCode()
164 FileUtils.deleteRecursive(workingDir); in stageInstallWithErrorCode()
169 unpackDistro(distro, workingDir); in stageInstallWithErrorCode()
173 distroVersion = readDistroVersion(workingDir); in stageInstallWithErrorCode()
200 if (!checkDistroDataFilesExist(workingDir)) { in stageInstallWithErrorCode()
211 File zoneInfoFile = new File(workingDir, TimeZoneDistro.TZDATA_FILE_NAME); in stageInstallWithErrorCode()
227 File tzLookupFile = new File(workingDir, TimeZoneDistro.TZLOOKUP_FILE_NAME); in stageInstallWithErrorCode()
[all …]
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java346 File workingDir = installer.getWorkingDir(); in testStageInstallWithErrorCode_withWorkingDir() local
347 assertTrue(workingDir.mkdir()); in testStageInstallWithErrorCode_withWorkingDir()
348 createFile(new File(workingDir, "myFile"), new byte[] { 'a' }); in testStageInstallWithErrorCode_withWorkingDir()
527 File workingDir = installer.getWorkingDir(); in testStageUninstall_oldDirsAlreadyExists() local
528 assertTrue(workingDir.mkdir()); in testStageUninstall_oldDirsAlreadyExists()
535 assertFalse(workingDir.exists()); in testStageUninstall_oldDirsAlreadyExists()
712 File workingDir = installer.getWorkingDir(); in assertInstallDistroStaged() local
713 assertFalse(workingDir.exists()); in assertInstallDistroStaged()
743 File workingDir = installer.getWorkingDir(); in assertNoDistroOperationStaged() local
744 assertFalse(workingDir.exists()); in assertNoDistroOperationStaged()
[all …]