1{ 2 "methods": { 3 "addStorageVolume(android.os.storage.StorageVolume)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [ 9 "storageVolume" 10 ], 11 "returnType": "void", 12 "exceptions": [], 13 "name": "addStorageVolume(android.os.storage.StorageVolume)", 14 "documentation": "Adds a {@link StorageVolume} to the list returned by {@link #getStorageVolumes()}.\n\n@param StorageVolume to add to list\n" 15 }, 16 "getStorageVolume(java.io.File)": { 17 "isImplementation": true, 18 "modifiers": [ 19 "public" 20 ], 21 "params": [ 22 "file" 23 ], 24 "returnType": "android.os.storage.StorageVolume", 25 "exceptions": [], 26 "minSdk": 24, 27 "name": "getStorageVolume(java.io.File)", 28 "documentation": "Checks whether File belongs to any {@link StorageVolume} in the list returned by {@link\n#getStorageVolumes()}.\n\n@param File to check\n@return StorageVolume for the file\n" 29 }, 30 "getStorageVolumes()": { 31 "isImplementation": true, 32 "modifiers": [ 33 "protected" 34 ], 35 "params": [], 36 "returnType": "java.util.List\u003candroid.os.storage.StorageVolume\u003e", 37 "exceptions": [], 38 "minSdk": 24, 39 "name": "getStorageVolumes()", 40 "documentation": "Returns the storage volumes configured via {@link #addStorageVolume()}.\n\n@return StorageVolume list\n" 41 }, 42 "getVolumeList()": { 43 "isImplementation": false, 44 "modifiers": [ 45 "public" 46 ], 47 "params": [], 48 "returnType": "android.os.storage.StorageVolume[]", 49 "exceptions": [], 50 "name": "getVolumeList()", 51 "documentation": "Gets the volume list from {@link #getVolumeList(int, int)}\n\n@return volume list\n" 52 }, 53 "getVolumeList(int,int)": { 54 "isImplementation": true, 55 "modifiers": [ 56 "protected", 57 "static" 58 ], 59 "params": [ 60 "userId", 61 "flags" 62 ], 63 "returnType": "android.os.storage.StorageVolume[]", 64 "exceptions": [], 65 "minSdk": 23, 66 "name": "getVolumeList(int,int)" 67 }, 68 "isFileEncryptedNativeOrEmulated()": { 69 "isImplementation": true, 70 "modifiers": [ 71 "protected", 72 "static" 73 ], 74 "params": [], 75 "returnType": "boolean", 76 "exceptions": [], 77 "minSdk": 24, 78 "name": "isFileEncryptedNativeOrEmulated()" 79 }, 80 "isUserKeyUnlocked(int)": { 81 "isImplementation": true, 82 "modifiers": [ 83 "protected", 84 "static" 85 ], 86 "params": [ 87 "userId" 88 ], 89 "returnType": "boolean", 90 "exceptions": [], 91 "minSdk": 24, 92 "name": "isUserKeyUnlocked(int)" 93 }, 94 "resetStorageVolumeList()": { 95 "isImplementation": false, 96 "modifiers": [ 97 "public" 98 ], 99 "params": [], 100 "returnType": "void", 101 "exceptions": [], 102 "name": "resetStorageVolumeList()", 103 "documentation": "Clears the storageVolumeList. " 104 }, 105 "setFileEncryptedNativeOrEmulated(boolean)": { 106 "isImplementation": false, 107 "modifiers": [ 108 "public" 109 ], 110 "params": [ 111 "isSupported" 112 ], 113 "returnType": "void", 114 "exceptions": [], 115 "name": "setFileEncryptedNativeOrEmulated(boolean)", 116 "documentation": "Setter for {@link #isFileEncryptedNativeOrEmulated()}\n\n@param isSupported a boolean value to set file encrypted native or not\n" 117 } 118 }, 119 "imports": [ 120 "android.os.Build.VERSION_CODES.M", 121 "android.os.Build.VERSION_CODES.N", 122 "org.robolectric.RuntimeEnvironment.application", 123 "android.os.UserManager", 124 "android.os.storage.StorageManager", 125 "android.os.storage.StorageVolume", 126 "com.google.common.base.Preconditions", 127 "java.io.File", 128 "java.util.ArrayList", 129 "java.util.List", 130 "org.robolectric.annotation.HiddenApi", 131 "org.robolectric.annotation.Implementation", 132 "org.robolectric.annotation.Implements", 133 "org.robolectric.shadow.api.Shadow" 134 ], 135 "name": "org.robolectric.shadows.ShadowStorageManager", 136 "documentation": "Fake implementation of {@link android.os.storage.StorageManager}\n" 137}