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()
58 return appContext.getCacheDir().getPath(); in getCacheDirectory()
74 String cacheDir = targetContext.getCacheDir().getAbsolutePath(); in getAppDirFromTargetContext()
29 File outputDirectory = ctx.getCacheDir(); in CreateTempFile()
88 public File getCacheDir() { in getCacheDir() method in ShadowContext
90 final File cacheDir = getInstrumentation().getTargetContext().getCacheDir(); in testNormalPrintingFlow()
302 File cacheDir = getActivity().getCacheDir(); in testLoadDataWithBaseUrlAccessingFile()
728 final String tmpDir = getInstrumentation().getTargetContext().getCacheDir().getPath(); in testCalledForExistingFiles()
861 mTempDir = getInstrumentation().getTargetContext().getCacheDir().getPath(); in AwSettingsContentUrlAccessFromFileTestHelper()2012 fileName = context.getCacheDir() + "/block_network_loads_test.html"; in testBlockNetworkLoadsWithHttpResources()
117 File cacheDir = context.getCacheDir(); in getPhotoCacheDir()