Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java44 private File mCacheDir; field in RenamingDelegatingContext
228 if (mCacheDir == null) { in getCacheDir()
229 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
231 if (!mCacheDir.exists()) { in getCacheDir()
232 if(!mCacheDir.mkdirs()) { in getCacheDir()
237 mCacheDir.getPath(), in getCacheDir()
242 return mCacheDir; in getCacheDir()
/frameworks/base/graphics/java/android/renderscript/
DScriptC.java106 File f = new File(rs.mCacheDir, CACHE_PATH); in internalCreate()
DRenderScript.java104 static File mCacheDir; field in RenderScript
134 mCacheDir = cacheDir; in setupDiskCache()
/frameworks/base/core/java/android/app/
DContextImpl.java221 private File mCacheDir; field in ContextImpl
889 if (mCacheDir == null) { in getCacheDir()
890 mCacheDir = new File(getDataDirFile(), "cache"); in getCacheDir()
892 if (!mCacheDir.exists()) { in getCacheDir()
893 if(!mCacheDir.mkdirs()) { in getCacheDir()
894 if (mCacheDir.exists()) { in getCacheDir()
896 return mCacheDir; in getCacheDir()
898 Log.w(TAG, "Unable to create cache directory " + mCacheDir.getAbsolutePath()); in getCacheDir()
902 mCacheDir.getPath(), in getCacheDir()
907 return mCacheDir; in getCacheDir()