Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java55 private File mRootDir; field in FileCache
90 mRootDir = Utils.checkNotNull(rootDir); in FileCache()
103 Utils.assertTrue(file.getParentFile().equals(mRootDir)); in store()
147 file.id, downloadUrl, new File(mRootDir, file.filename)); in lookup()
190 return File.createTempFile(FILE_PREFIX, FILE_POSTFIX, mRootDir); in createFile()
196 if (!mRootDir.isDirectory()) { in initialize()
197 mRootDir.mkdirs(); in initialize()
198 if (!mRootDir.isDirectory()) { in initialize()
199 throw new RuntimeException("cannot create: " + mRootDir.getAbsolutePath()); in initialize()
236 if (new File(mRootDir, path).delete()) { in freeSomeSpaceIfNeed()
[all …]
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxStorageManager.java66 private final String mRootDir; field in SdkSandboxStorageManager
87 mRootDir = rootDir; in SdkSandboxStorageManager()
463 return mRootDir + "/data"; in getDataDirectory()
465 return mRootDir + "/mnt/expand/" + volumeUuid; in getDataDirectory()
743 final String[] mountedVolumes = new File(mRootDir + "/mnt/expand").list(); in getMountedVolumes()