Searched refs:getCacheDir (Results 1 – 10 of 10) sorted by relevance
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()
77 assertThat(context.getCacheDir().exists()).isTrue(); in getCacheDir_shouldCreateDirectory()87 assertThat(context.getCacheDir()).isNotNull(); in shouldWriteToCacheDir()88 File cacheTest = new File(context.getCacheDir(), "__test__"); in shouldWriteToCacheDir()
73 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile()
248 mMmsSendFile = new File(mContext.getCacheDir(), fileName); in writeBytesToCacheFile()250 mContext.getCacheDir().toString())); in writeBytesToCacheFile()
89 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR); in newRequestQueue()
154 public File getCacheDir() { in getCacheDir() method in MockContext.MockContext2
59 rootTestDir = ApplicationProvider.getApplicationContext().getCacheDir(); in setup()
123 File cacheDir = context.getCacheDir(); in getPhotoCacheDir()
1014 result.put("appcache", mService.getCacheDir().getAbsolutePath()); in environment()
1849 return File.createTempFile(prefix, null, context.getCacheDir()); in createTempFile()