Home
last modified time | relevance | path

Searched refs:getStorageState (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEnvironmentTest.java163 assertThat(ShadowEnvironment.getStorageState(storageDir1)) in getExternalStorageStatePreLollipopMR1()
165 assertThat(ShadowEnvironment.getStorageState(storageDir2)) in getExternalStorageStatePreLollipopMR1()
167 assertThat(ShadowEnvironment.getStorageState(new File(storageDir1, "subpath"))) in getExternalStorageStatePreLollipopMR1()
183 assertThat(ShadowEnvironment.getStorageState(storageDir1)) in getExternalStorageState()
187 assertThat(ShadowEnvironment.getStorageState(storageDir2)) in getExternalStorageState()
191 assertThat(ShadowEnvironment.getStorageState(new File(storageDir1, "subpath"))) in getExternalStorageState()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEnvironment.java104 protected static String getStorageState(File directory) { in getStorageState() method in ShadowEnvironment