Searched refs:getCacheDir (Results 1 – 10 of 10) sorted by relevance
32 deleteDir(context.getCacheDir()); in setUp()46 deleteDir(context.getCacheDir()); in after()93 assertTrue(context.getCacheDir().exists()); in getCacheDir_shouldCreateDirectory()103 assertNotNull(context.getCacheDir()); in shouldWriteToCacheDir()104 File cacheTest = new File(context.getCacheDir(), "__test__"); in shouldWriteToCacheDir()
84 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile()87 Log.d(String.format("Looking for file at %s", getContext().getCacheDir() + uri.getPath())); in openFile()
109 if (sDataDirectoryAppContext.getCacheDir() != null) { in setPrivateDataDirectorySuffixInternal()110 paths[CACHE_DIRECTORY] = sDataDirectoryAppContext.getCacheDir().getPath(); in setPrivateDataDirectorySuffixInternal()
43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR); in newRequestQueue()
73 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile()
200 File mmsFile = new File(mContext.getCacheDir(), fileName); in writeBytesToCacheFile()202 mContext.getCacheDir().toString())); in writeBytesToCacheFile()
88 public File getCacheDir() { in getCacheDir() method in ShadowContext
154 public File getCacheDir() { in getCacheDir() method in MockContext.MockContext2
123 File cacheDir = context.getCacheDir(); in getPhotoCacheDir()
1014 result.put("appcache", mService.getCacheDir().getAbsolutePath()); in environment()