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.java48 private File mCacheDir; field in RenamingDelegatingContext
232 if (mCacheDir == null) { in getCacheDir()
233 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
235 if (!mCacheDir.exists()) { in getCacheDir()
236 if(!mCacheDir.mkdirs()) { in getCacheDir()
241 mCacheDir.getPath(), in getCacheDir()
246 return mCacheDir; in getCacheDir()
/frameworks/base/rs/java/android/renderscript/
DRenderScriptCacheDir.java35 mCacheDir = cacheDir; in setupDiskCache()
38 static File mCacheDir; field in RenderScriptCacheDir
DRenderScript.java1391 if (RenderScriptCacheDir.mCacheDir == null) { in getCachePath()
1394 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.h288 return mCacheDir; in getCacheDir()
383 char mCacheDir[PATH_MAX+1]; variable
DrsContext.cpp468 memset(mCacheDir, 0, sizeof(mCacheDir)); in Context()
477 memcpy(mCacheDir, cacheDir_arg, length); in setCacheDir()
478 mCacheDir[length] = 0; in setCacheDir()
/frameworks/av/media/libstagefright/filters/
DSaturationFilter.cpp36 if (!msg->findString("cacheDir", &mCacheDir)) { in configure()
48 if (!mRS->init(mCacheDir.c_str())) { in start()
DIntrinsicBlurFilter.cpp36 if (!msg->findString("cacheDir", &mCacheDir)) { in configure()
48 if (!mRS->init(mCacheDir.c_str())) { in start()
DSaturationFilter.h42 AString mCacheDir;
DRSFilter.h44 AString mCacheDir;
DIntrinsicBlurFilter.h40 AString mCacheDir;
DRSFilter.cpp44 if (!msg->findString("cacheDir", &mCacheDir)) { in configure()
/frameworks/rs/cpp/
DScriptC.cpp29 … rs->mCacheDir, rs->mCacheDirLen, (const char *)codeTxt, codeLength); in ScriptC()
DRenderScript.cpp157 memcpy(mCacheDir, name, nameLen); in init()
159 mCacheDir[nameLen] = 0; in init()
DrsCppStructs.h445 char mCacheDir[PATH_MAX+1]; variable
/frameworks/base/core/java/android/app/
DContextImpl.java184 private File mCacheDir; field in ContextImpl
601 if (mCacheDir == null) { in getCacheDir()
602 mCacheDir = new File(getDataDir(), "cache"); in getCacheDir()
604 return ensurePrivateDirExists(mCacheDir); in getCacheDir()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp194 compile(mGroup->mCacheDir); in CpuScriptGroup2Impl()