HomeSort by relevance Sort by last modified time
    Searched refs:ShadowEnvironment (Results 1 - 2 of 2) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowEnvironmentTest.java 27 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_REMOVED);
33 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_MOUNTED);
46 assertThat(path).isEqualTo(new File(ShadowEnvironment.EXTERNAL_FILES_DIR.toFile(), Environment.DIRECTORY_MOVIES));
61 ShadowEnvironment.setExternalStorageRemovable(Environment.getExternalStorageDirectory(), true);
70 ShadowEnvironment.setExternalStorageRemovable(file, true);
79 ShadowEnvironment.setExternalStorageEmulated(file, true);
86 assertNull(ShadowEnvironment.EXTERNAL_CACHE_DIR);
87 assertNull(ShadowEnvironment.EXTERNAL_FILES_DIR);
92 assertNotNull(ShadowEnvironment.EXTERNAL_CACHE_DIR);
93 assertNotNull(ShadowEnvironment.EXTERNAL_FILES_DIR)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowEnvironment.java 24 public class ShadowEnvironment {
47 ShadowEnvironment.externalStorageState = externalStorageState;
56 ShadowEnvironment.sIsExternalStorageEmulated = emulated;

Completed in 96 milliseconds