Searched refs:ShadowContext (Results 1 – 6 of 6) sorted by relevance
27 ShadowContext.EXTERNAL_CACHE_DIR.mkdirs(); in getExternalStorageDirectory()28 return ShadowContext.EXTERNAL_CACHE_DIR; in getExternalStorageDirectory()33 …File f = (type == null) ? ShadowContext.EXTERNAL_FILES_DIR : new File( ShadowContext.EXTERNAL_FILE… in getExternalStoragePublicDirectory()
26 abstract public class ShadowContext { class
32 public class ShadowContextWrapper extends ShadowContext {
22 deleteDir(ShadowContext.EXTERNAL_CACHE_DIR); in tearDown()23 deleteDir(ShadowContext.EXTERNAL_FILES_DIR); in tearDown()43 assertThat(extStoragePublic, equalTo( new File(ShadowContext.EXTERNAL_FILES_DIR, "Movies" ) ) ); in testGetExternalStoragePublicDirectory()
64 File dataDir = new File(ShadowContext.FILES_DIR, "data"); in shouldGetApplicationDataDirectory()75 File dataDir = new File(ShadowContext.FILES_DIR, "data"); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
183 ShadowContext.class, in getDefaultShadowClasses()373 ShadowContext.clearFilesAndCache(); in resetStaticState()573 public static ShadowContext shadowOf(Context instance) { in shadowOf()574 return (ShadowContext) shadowOf_(instance); in shadowOf()