1{ 2 "methods": { 3 "disableKeyguard()": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected" 7 ], 8 "params": [], 9 "returnType": "void", 10 "exceptions": [], 11 "name": "disableKeyguard()", 12 "documentation": "Sets the value to be returned by {@link #isEnabled()} to false.\n\n@see #isEnabled()\n" 13 }, 14 "isEnabled()": { 15 "isImplementation": false, 16 "modifiers": [ 17 "public" 18 ], 19 "params": [], 20 "returnType": "boolean", 21 "exceptions": [], 22 "name": "isEnabled()", 23 "documentation": "For tests, returns the value set via {@link #disableKeyguard()} or {@link reenableKeyguard},\nor `true` by default.\n\n@see #setKeyguardLocked(boolean)\n" 24 }, 25 "reenableKeyguard()": { 26 "isImplementation": true, 27 "modifiers": [ 28 "protected" 29 ], 30 "params": [], 31 "returnType": "void", 32 "exceptions": [], 33 "name": "reenableKeyguard()", 34 "documentation": "Sets the value to be returned by {@link #isEnabled()} to true.\n\n@see #isEnabled()\n" 35 } 36 }, 37 "imports": [ 38 "android.os.Build.VERSION_CODES.LOLLIPOP_MR1", 39 "android.os.Build.VERSION_CODES.M", 40 "android.os.Build.VERSION_CODES.O", 41 "android.app.Activity", 42 "android.app.KeyguardManager", 43 "android.app.KeyguardManager.KeyguardDismissCallback", 44 "java.util.HashSet", 45 "java.util.Set", 46 "org.robolectric.annotation.Implementation", 47 "org.robolectric.annotation.Implements", 48 "org.robolectric.annotation.RealObject", 49 "org.robolectric.annotation.Resetter", 50 "org.robolectric.shadow.api.Shadow" 51 ], 52 "name": "org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock", 53 "documentation": "An implementation of {@link KeyguardManager#KeyguardLock}, for use in tests. " 54}