{ "methods": { "disableKeyguard()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "disableKeyguard()", "documentation": "Sets the value to be returned by {@link #isEnabled()} to false.\n\n@see #isEnabled()\n" }, "isEnabled()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "boolean", "exceptions": [], "name": "isEnabled()", "documentation": "For tests, returns the value set via {@link #disableKeyguard()} or {@link reenableKeyguard},\nor `true` by default.\n\n@see #setKeyguardLocked(boolean)\n" }, "reenableKeyguard()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "reenableKeyguard()", "documentation": "Sets the value to be returned by {@link #isEnabled()} to true.\n\n@see #isEnabled()\n" } }, "imports": [ "android.os.Build.VERSION_CODES.LOLLIPOP_MR1", "android.os.Build.VERSION_CODES.M", "android.os.Build.VERSION_CODES.O", "android.app.Activity", "android.app.KeyguardManager", "android.app.KeyguardManager.KeyguardDismissCallback", "java.util.HashSet", "java.util.Set", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.annotation.Resetter", "org.robolectric.shadow.api.Shadow" ], "name": "org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock", "documentation": "An implementation of {@link KeyguardManager#KeyguardLock}, for use in tests. " }