Searched refs:storageState (Results 1 – 3 of 3) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowEnvironment.java | 31 private static Map<Path, String> storageState = new HashMap<>(); field in ShadowEnvironment 87 storageState = new HashMap<>(); in reset() 106 for (Map.Entry<Path, String> entry : storageState.entrySet()) { in getStorageState() 117 for (Map.Entry<Path, String> entry : storageState.entrySet()) { in getExternalStorageState() 211 storageState.put(directory.toPath(), state); in setExternalStorageState()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | ShadowUtils.java | 45 String storageState = isMounted ? Environment.MEDIA_MOUNTED : Environment.MEDIA_REMOVED; in addExternalDir() local 48 ShadowEnvironment.setExternalStorageState(dir, storageState); in addExternalDir() 58 ShadowEnvironment.setExternalStorageState(packageDir, storageState); in addExternalDir() 65 ShadowEnvironment.setExternalStorageState(storageState); in addExternalDir()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowEnvironment.java | 42 private static Map<Path, String> storageState = new HashMap<>(); field in ShadowEnvironment 176 storageState = new HashMap<>(); in reset() 193 for (Map.Entry<Path, String> entry : storageState.entrySet()) { in getStorageState() 204 for (Map.Entry<Path, String> entry : storageState.entrySet()) { in getExternalStorageState() 309 storageState.put(directory.toPath(), state); in setExternalStorageState()
|