1{ 2 "methods": { 3 "inKeyguardRestrictedInputMode()": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected" 7 ], 8 "params": [], 9 "returnType": "boolean", 10 "exceptions": [], 11 "name": "inKeyguardRestrictedInputMode()", 12 "documentation": "For tests, returns the value set via {@link #setinRestrictedInputMode(boolean)}, or `false` by\ndefault.\n\n@see #setInRestrictedInputMode(boolean)\n" 13 }, 14 "isDeviceLocked()": { 15 "isImplementation": true, 16 "modifiers": [ 17 "protected" 18 ], 19 "params": [], 20 "returnType": "boolean", 21 "exceptions": [], 22 "minSdk": 22, 23 "name": "isDeviceLocked()", 24 "documentation": "@return `false` by default, or the value passed to {@link #setIsDeviceLocked(boolean)}.\n@see #isDeviceLocked()\n" 25 }, 26 "isDeviceLocked(int)": { 27 "isImplementation": true, 28 "modifiers": [ 29 "protected" 30 ], 31 "params": [ 32 "userId" 33 ], 34 "returnType": "boolean", 35 "exceptions": [], 36 "minSdk": 22, 37 "name": "isDeviceLocked(int)" 38 }, 39 "isDeviceSecure()": { 40 "isImplementation": true, 41 "modifiers": [ 42 "protected" 43 ], 44 "params": [], 45 "returnType": "boolean", 46 "exceptions": [], 47 "minSdk": 23, 48 "name": "isDeviceSecure()", 49 "documentation": "For tests on Android \u003e\u003dM, returns the value set by {@link #setIsDeviceSecure(boolean)}, or\n`false` by default.\n\n@see #setIsDeviceSecure(boolean)\n" 50 }, 51 "isDeviceSecure(int)": { 52 "isImplementation": true, 53 "modifiers": [ 54 "protected" 55 ], 56 "params": [ 57 "userId" 58 ], 59 "returnType": "boolean", 60 "exceptions": [], 61 "minSdk": 23, 62 "name": "isDeviceSecure(int)", 63 "documentation": "For tests on Android \u003e\u003dM, returns the value set by {@link #setIsDeviceSecure(int, boolean)}, or\n`false` by default.\n\n@see #setIsDeviceSecure(int, boolean)\n" 64 }, 65 "isKeyguardLocked()": { 66 "isImplementation": true, 67 "modifiers": [ 68 "protected" 69 ], 70 "params": [], 71 "returnType": "boolean", 72 "exceptions": [], 73 "name": "isKeyguardLocked()", 74 "documentation": "For tests, returns the value set via {@link #setKeyguardLocked(boolean)}, or `false` by\ndefault.\n\n@see #setKeyguardLocked(boolean)\n" 75 }, 76 "isKeyguardSecure()": { 77 "isImplementation": true, 78 "modifiers": [ 79 "protected" 80 ], 81 "params": [], 82 "returnType": "boolean", 83 "exceptions": [], 84 "name": "isKeyguardSecure()", 85 "documentation": "For tests, returns the value set by {@link #setIsKeyguardSecure(boolean)}, or `false` by\ndefault.\n\n@see #setIsKeyguardSecure(boolean)\n" 86 }, 87 "newKeyguardLock(java.lang.String)": { 88 "isImplementation": true, 89 "modifiers": [ 90 "protected" 91 ], 92 "params": [ 93 "tag" 94 ], 95 "returnType": "android.app.KeyguardManager.KeyguardLock", 96 "exceptions": [], 97 "name": "newKeyguardLock(java.lang.String)", 98 "documentation": "For tests, returns a {@link ShadowKeyguardLock}.\n\n@see ShadowKeyguardLock\n" 99 }, 100 "requestDismissKeyguard(android.app.Activity,android.app.KeyguardManager.KeyguardDismissCallback)": { 101 "isImplementation": true, 102 "modifiers": [ 103 "protected" 104 ], 105 "params": [ 106 "activity", 107 "callback" 108 ], 109 "returnType": "void", 110 "exceptions": [], 111 "minSdk": 26, 112 "name": "requestDismissKeyguard(android.app.Activity,android.app.KeyguardManager.KeyguardDismissCallback)" 113 }, 114 "reset()": { 115 "isImplementation": false, 116 "modifiers": [ 117 "public", 118 "static" 119 ], 120 "params": [], 121 "returnType": "void", 122 "exceptions": [], 123 "name": "reset()" 124 }, 125 "setInRestrictedInputMode(boolean)": { 126 "isImplementation": false, 127 "modifiers": [ 128 "public" 129 ], 130 "params": [ 131 "restricted" 132 ], 133 "returnType": "void", 134 "exceptions": [], 135 "name": "setInRestrictedInputMode(boolean)", 136 "documentation": "Sets the value to be returned by {@link KeyguardManager#inKeyguardRestrictedInputMode()}.\n\n@see KeyguardManager#inKeyguardRestrictedInputMode()\n" 137 }, 138 "setIsDeviceLocked(boolean)": { 139 "isImplementation": false, 140 "modifiers": [ 141 "public" 142 ], 143 "params": [ 144 "isDeviceLocked" 145 ], 146 "returnType": "void", 147 "exceptions": [], 148 "name": "setIsDeviceLocked(boolean)", 149 "documentation": "For tests on Android \u003e\u003dL MR1, sets the value to be returned by {@link #isDeviceLocked()}.\n\n@see #isDeviceLocked()\n" 150 }, 151 "setIsDeviceLocked(int,boolean)": { 152 "isImplementation": false, 153 "modifiers": [ 154 "public" 155 ], 156 "params": [ 157 "userId", 158 "isLocked" 159 ], 160 "returnType": "void", 161 "exceptions": [], 162 "name": "setIsDeviceLocked(int,boolean)", 163 "documentation": "For tests on Android \u003e\u003d L MR1, sets the value to be returned by {@link #isDeviceLocked(int)}.\n\n@see #isDeviceLocked(int)\n" 164 }, 165 "setIsDeviceSecure(boolean)": { 166 "isImplementation": false, 167 "modifiers": [ 168 "public" 169 ], 170 "params": [ 171 "isDeviceSecure" 172 ], 173 "returnType": "void", 174 "exceptions": [], 175 "name": "setIsDeviceSecure(boolean)", 176 "documentation": "For tests on Android \u003e\u003dM, sets the value to be returned by {@link #isDeviceSecure()}.\n\n@see #isDeviceSecure()\n" 177 }, 178 "setIsDeviceSecure(int,boolean)": { 179 "isImplementation": false, 180 "modifiers": [ 181 "public" 182 ], 183 "params": [ 184 "userId", 185 "isDeviceSecure" 186 ], 187 "returnType": "void", 188 "exceptions": [], 189 "name": "setIsDeviceSecure(int,boolean)", 190 "documentation": "For tests on Android \u003e\u003dM, sets the value to be returned by {@link #isDeviceSecure(int)}.\n\n@see #isDeviceSecure(int)\n" 191 }, 192 "setIsKeyguardSecure(boolean)": { 193 "isImplementation": false, 194 "modifiers": [ 195 "public" 196 ], 197 "params": [ 198 "secure" 199 ], 200 "returnType": "void", 201 "exceptions": [], 202 "name": "setIsKeyguardSecure(boolean)", 203 "documentation": "Sets the value to be returned by {@link #isKeyguardSecure()}.\n\n@see #isKeyguardSecure()\n" 204 }, 205 "setKeyguardLocked(boolean)": { 206 "isImplementation": false, 207 "modifiers": [ 208 "public" 209 ], 210 "params": [ 211 "isKeyguardLocked" 212 ], 213 "returnType": "void", 214 "exceptions": [], 215 "name": "setKeyguardLocked(boolean)", 216 "documentation": "Sets whether the device keyguard is locked or not. This affects the value to be returned by\n{@link #isKeyguardLocked()} and also invokes callbacks set in\n {@link KeyguardManager#requestDismissKeyguard()}.\n\n @param isKeyguardLocked true to lock the keyguard. If a KeyguardDismissCallback is set will\n fire {@link KeyguardDismissCallback#onDismissCancelled()} or false to unlock and dismiss the\n keyguard firing {@link KeyguardDismissCallback#onDismissSucceeded()} if a\n KeyguardDismissCallback is set.\n " 217 }, 218 "setinRestrictedInputMode(boolean)": { 219 "isImplementation": false, 220 "modifiers": [ 221 "public" 222 ], 223 "params": [ 224 "restricted" 225 ], 226 "returnType": "void", 227 "exceptions": [], 228 "name": "setinRestrictedInputMode(boolean)", 229 "documentation": "Sets the value to be returned by {@link KeyguardManager#inKeyguardRestrictedInputMode()}.\n\n@see KeyguardManager#inKeyguardRestrictedInputMode()\n@deprecated use {@link #setInRestrictedInputMode(boolean)} instead\n" 230 } 231 }, 232 "imports": [ 233 "android.os.Build.VERSION_CODES.LOLLIPOP_MR1", 234 "android.os.Build.VERSION_CODES.M", 235 "android.os.Build.VERSION_CODES.O", 236 "android.app.Activity", 237 "android.app.KeyguardManager", 238 "android.app.KeyguardManager.KeyguardDismissCallback", 239 "java.util.HashSet", 240 "java.util.Set", 241 "org.robolectric.annotation.Implementation", 242 "org.robolectric.annotation.Implements", 243 "org.robolectric.annotation.RealObject", 244 "org.robolectric.annotation.Resetter", 245 "org.robolectric.shadow.api.Shadow", 246 "org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock" 247 ], 248 "name": "org.robolectric.shadows.ShadowKeyguardManager" 249}