Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java53 private File mCacheDir; field in RenamingDelegatingContext
237 if (mCacheDir == null) { in getCacheDir()
238 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
240 if (!mCacheDir.exists()) { in getCacheDir()
241 if(!mCacheDir.mkdirs()) { in getCacheDir()
247 Files.setPosixFilePermissions(mCacheDir.toPath(), in getCacheDir()
255 return mCacheDir; in getCacheDir()
/frameworks/base/rs/java/android/renderscript/
DRenderScriptCacheDir.java42 mCacheDir = cacheDir; in setupDiskCache()
46 static File mCacheDir; field in RenderScriptCacheDir
DRenderScript.java1393 if (RenderScriptCacheDir.mCacheDir == null) { in getCachePath()
1396 File f = new File(RenderScriptCacheDir.mCacheDir, CACHE_PATH); in getCachePath()
/frameworks/rs/
DrsScriptGroup2.h19 mName(name), mCacheDir(cacheDir) {} in ScriptGroup2()
27 const char* mCacheDir; variable
DrsContext.h278 return mCacheDir; in getCacheDir()
378 char mCacheDir[PATH_MAX+1]; variable
DrsContext.cpp445 memset(mCacheDir, 0, sizeof(mCacheDir)); in Context()
453 memcpy(mCacheDir, cacheDir_arg, length); in setCacheDir()
454 mCacheDir[length] = 0; in setCacheDir()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageCacher.java56 private final File mCacheDir; field in PackageCacher
65 this.mCacheDir = cacheDir; in PackageCacher()
184 final File cacheFile = new File(mCacheDir, cacheKey); in getCachedResult()
216 final File cacheFile = new File(mCacheDir, cacheKey); in cacheResult()
246 final File[] files = FileUtils.listFilesOrEmpty(mCacheDir, in cleanCachedResult()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventHistoryImplTest.java78 private File mCacheDir; field in EventHistoryImplTest
85 mCacheDir = ctx.getCacheDir(); in setUp()
86 mFile = new File(mCacheDir, "testdir"); in setUp()
232 EVENT_HISTORY_INJECTOR, mCacheDir, mMockScheduledExecutorService); in testEventHistoriesImplFromDisk()
/frameworks/rs/cpp/
DScriptC.cpp28 … rs->mCacheDir, rs->mCacheDirLen, (const char *)codeTxt, codeLength); in ScriptC()
DRenderScript.cpp150 memcpy(mCacheDir, name, nameLen); in init()
152 mCacheDir[nameLen] = 0; in init()
DrsCppStructs.h445 char mCacheDir[PATH_MAX+1]; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java148 private File mCacheDir; field in UpdatableFontDirTest
162 mCacheDir = new File(context.getCacheDir(), "UpdatableFontDirTest"); in setUp()
163 FileUtils.deleteContentsAndDir(mCacheDir); in setUp()
164 mCacheDir.mkdirs(); in setUp()
165 mUpdatableFontFilesDir = new File(mCacheDir, "updatable_fonts"); in setUp()
168 mPreinstalledFontDirs.add(new File(mCacheDir, "system_fonts")); in setUp()
169 mPreinstalledFontDirs.add(new File(mCacheDir, "product_fonts")); in setUp()
173 mConfigFile = new File(mCacheDir, "config.xml"); in setUp()
180 FileUtils.deleteContentsAndDir(mCacheDir); in tearDown()
684 File readonlyDir = new File(mCacheDir, "readonly"); in installFontFile_failedToWriteConfigXml()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp194 compile(mGroup->mCacheDir); in CpuScriptGroup2Impl()
/frameworks/base/core/java/android/app/
DContextImpl.java373 private File mCacheDir; field in ContextImpl
923 if (mCacheDir == null) { in getCacheDir()
924 mCacheDir = new File(getDataDir(), "cache"); in getCacheDir()
926 return ensurePrivateCacheDirExists(mCacheDir, XATTR_INODE_CACHE); in getCacheDir()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java895 private File mCacheDir; field in PackageManagerService
1715 new PackageCacher(pm.mCacheDir, pm.mPackageParserCallback), in main()
2265 mCacheDir = PackageManagerServiceUtils.preparePackageParserCache( in PackageManagerService()
7741 return mCacheDir; in getCacheDir()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java309 private File mCacheDir; field in PackageParser
604 mCacheDir = cacheDir; in setCacheDir()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4676 Landroid/app/ContextImpl;->mCacheDir:Ljava/io/File;
12888 Landroid/content/pm/PackageParser;->mCacheDir:Ljava/io/File;