Searched refs:getExternalStorageState (Results 1 – 4 of 4) sorted by relevance
32 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_REMOVED); in getExternalStorageState_shouldReturnStorageState()34 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_MOUNTED); in getExternalStorageState_shouldReturnStorageState()151 assertThat(ShadowEnvironment.getExternalStorageState()).isEqualTo("blah"); in getExternalStorageStateJB()169 assertThat(ShadowEnvironment.getExternalStorageState()).isEqualTo("blah"); in getExternalStorageStatePreLollipopMR1()174 public void getExternalStorageState() throws Exception { in getExternalStorageState() method in ShadowEnvironmentTest181 assertThat(ShadowEnvironment.getExternalStorageState(storageDir1)) in getExternalStorageState()185 assertThat(ShadowEnvironment.getExternalStorageState(storageDir2)) in getExternalStorageState()189 assertThat(ShadowEnvironment.getExternalStorageState(new File(storageDir1, "subpath"))) in getExternalStorageState()193 assertThat(ShadowEnvironment.getExternalStorageState()).isEqualTo("blah"); in getExternalStorageState()
37 protected static String getExternalStorageState() { in getExternalStorageState() method in ShadowEnvironment115 protected static String getExternalStorageState(File directory) { in getExternalStorageState() method in ShadowEnvironment
97 String state = Environment.getExternalStorageState(); in isExternalStorageWritable()
44 String state = Environment.getExternalStorageState(); in externalStorageMounted()