Home
last modified time | relevance | path

Searched refs:mCacheDir (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/build/cache/
DPartialZipDownloadCache.java41 private final File mCacheDir; field in PartialZipDownloadCache
53 mCacheDir = FileUtil.createTempDir("partial_download_cache_dir"); in PartialZipDownloadCache()
60 FileUtil.recursiveDelete(mCacheDir); in PartialZipDownloadCache()
88 File cachedFile = new File(mCacheDir, key); in PartialZipDownloadCache()
133 File cacheDestination = new File(mCacheDir, key); in populateCacheFile()
148 FileUtil.recursiveDelete(mCacheDir); in cleanUpCache()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DDeviceImageTracker.java41 private final File mCacheDir; field in DeviceImageTracker
78 mCacheDir = FileUtil.createTempDir("image_file_cache_dir"); in DeviceImageTracker()
142 File copyInCacheDeviceImage = new File(mCacheDir, serial + "_device_image"); in trackUpdatedDeviceImage()
144 File copyInCacheBootloader = new File(mCacheDir, serial + "_bootloader"); in trackUpdatedDeviceImage()
148 copyInCacheBaseband = new File(mCacheDir, serial + "_baseband"); in trackUpdatedDeviceImage()
184 FileUtil.recursiveDelete(mCacheDir); in cleanUp()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DFileDownloadCacheTest.java65 private File mCacheDir; field in FileDownloadCacheTest
82 mCacheDir = FileUtil.createTempDir("unittest"); in setUp()
84 new FileDownloadCache(mCacheDir) { in setUp()
95 FileUtil.recursiveDelete(mCacheDir); in tearDown()
260 new FileDownloadCache(mCacheDir) { in testFetchRemoteFile_copyFailed()
352 new FileDownloadCache(mCacheDir) { in testCacheRebuild_multiSlashPath()