1{ 2 "methods": { 3 "addExternalDir(java.lang.String)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public", 7 "static" 8 ], 9 "params": [ 10 "path" 11 ], 12 "returnType": "java.io.File", 13 "exceptions": [], 14 "name": "addExternalDir(java.lang.String)", 15 "documentation": "Adds a directory to list returned by {@link ShadowUserEnvironment#getExternalDirs()}.\n\n@param path the external dir to add\n" 16 }, 17 "exists(java.nio.file.Path)": { 18 "isImplementation": false, 19 "modifiers": [ 20 "private", 21 "static" 22 ], 23 "params": [ 24 "path" 25 ], 26 "returnType": "boolean", 27 "exceptions": [], 28 "name": "exists(java.nio.file.Path)" 29 }, 30 "getExternalStorageDirectory()": { 31 "isImplementation": true, 32 "modifiers": [ 33 "protected", 34 "static" 35 ], 36 "params": [], 37 "returnType": "java.io.File", 38 "exceptions": [], 39 "name": "getExternalStorageDirectory()" 40 }, 41 "getExternalStoragePublicDirectory(java.lang.String)": { 42 "isImplementation": true, 43 "modifiers": [ 44 "protected", 45 "static" 46 ], 47 "params": [ 48 "type" 49 ], 50 "returnType": "java.io.File", 51 "exceptions": [], 52 "name": "getExternalStoragePublicDirectory(java.lang.String)" 53 }, 54 "getExternalStorageState()": { 55 "isImplementation": true, 56 "modifiers": [ 57 "protected", 58 "static" 59 ], 60 "params": [], 61 "returnType": "java.lang.String", 62 "exceptions": [], 63 "name": "getExternalStorageState()" 64 }, 65 "getExternalStorageState(java.io.File)": { 66 "isImplementation": true, 67 "modifiers": [ 68 "protected", 69 "static" 70 ], 71 "params": [ 72 "directory" 73 ], 74 "returnType": "java.lang.String", 75 "exceptions": [], 76 "minSdk": 21, 77 "name": "getExternalStorageState(java.io.File)" 78 }, 79 "getStorageState(java.io.File)": { 80 "isImplementation": true, 81 "modifiers": [ 82 "protected", 83 "static" 84 ], 85 "params": [ 86 "directory" 87 ], 88 "returnType": "java.lang.String", 89 "exceptions": [], 90 "minSdk": 19, 91 "name": "getStorageState(java.io.File)" 92 }, 93 "isExternalStorageEmulated()": { 94 "isImplementation": true, 95 "modifiers": [ 96 "protected", 97 "static" 98 ], 99 "params": [], 100 "returnType": "boolean", 101 "exceptions": [], 102 "name": "isExternalStorageEmulated()" 103 }, 104 "isExternalStorageEmulated(java.io.File)": { 105 "isImplementation": true, 106 "modifiers": [ 107 "protected", 108 "static" 109 ], 110 "params": [ 111 "path" 112 ], 113 "returnType": "boolean", 114 "exceptions": [], 115 "minSdk": 21, 116 "name": "isExternalStorageEmulated(java.io.File)" 117 }, 118 "isExternalStorageRemovable()": { 119 "isImplementation": true, 120 "modifiers": [ 121 "protected", 122 "static" 123 ], 124 "params": [], 125 "returnType": "boolean", 126 "exceptions": [], 127 "name": "isExternalStorageRemovable()" 128 }, 129 "isExternalStorageRemovable(java.io.File)": { 130 "isImplementation": true, 131 "modifiers": [ 132 "protected", 133 "static" 134 ], 135 "params": [ 136 "path" 137 ], 138 "returnType": "boolean", 139 "exceptions": [], 140 "minSdk": 21, 141 "name": "isExternalStorageRemovable(java.io.File)" 142 }, 143 "reset()": { 144 "isImplementation": false, 145 "modifiers": [ 146 "public", 147 "static" 148 ], 149 "params": [], 150 "returnType": "void", 151 "exceptions": [], 152 "name": "reset()" 153 }, 154 "setExternalStorageEmulated(java.io.File,boolean)": { 155 "isImplementation": false, 156 "modifiers": [ 157 "public", 158 "static" 159 ], 160 "params": [ 161 "file", 162 "isEmulated" 163 ], 164 "returnType": "void", 165 "exceptions": [], 166 "name": "setExternalStorageEmulated(java.io.File,boolean)", 167 "documentation": "Sets the \"isEmulated\" flag of a particular file.\n\n@param file Target file.\n@param isEmulated True if the filesystem is emulated.\n" 168 }, 169 "setExternalStorageRemovable(java.io.File,boolean)": { 170 "isImplementation": false, 171 "modifiers": [ 172 "public", 173 "static" 174 ], 175 "params": [ 176 "file", 177 "isRemovable" 178 ], 179 "returnType": "void", 180 "exceptions": [], 181 "name": "setExternalStorageRemovable(java.io.File,boolean)", 182 "documentation": "Sets the \"isRemovable\" flag of a particular file.\n\n@param file Target file.\n@param isRemovable True if the filesystem is removable.\n" 183 }, 184 "setExternalStorageState(java.io.File,java.lang.String)": { 185 "isImplementation": false, 186 "modifiers": [ 187 "public", 188 "static" 189 ], 190 "params": [ 191 "directory", 192 "state" 193 ], 194 "returnType": "void", 195 "exceptions": [], 196 "name": "setExternalStorageState(java.io.File,java.lang.String)", 197 "documentation": "Sets the {@link #getExternalStorageState(File)} for given directory.\n\n@param externalStorageState Value to return from {@link #getExternalStorageState(File)}.\n" 198 }, 199 "setExternalStorageState(java.lang.String)": { 200 "isImplementation": false, 201 "modifiers": [ 202 "public", 203 "static" 204 ], 205 "params": [ 206 "externalStorageState" 207 ], 208 "returnType": "void", 209 "exceptions": [], 210 "name": "setExternalStorageState(java.lang.String)", 211 "documentation": "Sets the return value of {@link #getExternalStorageState()}.\n\n@param externalStorageState Value to return from {@link #getExternalStorageState()}.\n" 212 }, 213 "setIsExternalStorageEmulated(boolean)": { 214 "isImplementation": false, 215 "modifiers": [ 216 "public", 217 "static" 218 ], 219 "params": [ 220 "emulated" 221 ], 222 "returnType": "void", 223 "exceptions": [], 224 "name": "setIsExternalStorageEmulated(boolean)", 225 "documentation": "Sets the return value of {@link #isExternalStorageEmulated()}.\n\n@param emulated Value to return from {@link #isExternalStorageEmulated()}.\n" 226 } 227 }, 228 "imports": [ 229 "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1", 230 "android.os.Build.VERSION_CODES.KITKAT", 231 "android.os.Build.VERSION_CODES.LOLLIPOP", 232 "android.os.Build.VERSION_CODES.M", 233 "android.os.Environment", 234 "java.io.File", 235 "java.io.IOException", 236 "java.nio.file.Files", 237 "java.nio.file.Path", 238 "java.util.ArrayList", 239 "java.util.HashMap", 240 "java.util.List", 241 "java.util.Map", 242 "org.robolectric.RuntimeEnvironment", 243 "org.robolectric.annotation.Implementation", 244 "org.robolectric.annotation.Implements", 245 "org.robolectric.annotation.Resetter", 246 "org.robolectric.util.ReflectionHelpers", 247 "org.robolectric.shadows.ShadowEnvironment.ShadowUserEnvironment" 248 ], 249 "name": "org.robolectric.shadows.ShadowEnvironment" 250}