Searched refs:kgm (Results 1 – 4 of 4) sorted by relevance
127 final KeyguardManager kgm = getInstrumentation() in pressUnlockButton() local129 retryPressKeyCode(KEYCODE_MENU, () -> kgm != null && !kgm.isKeyguardLocked(), in pressUnlockButton()
229 final KeyguardManager kgm = context.getSystemService(KeyguardManager.class); in unlockScreen() local237 return kgm != null && !kgm.isKeyguardLocked(); in unlockScreen()
357 KeyguardManager kgm = activitySession.getActivity().getSystemService(KeyguardManager.class); in testStartRearDisplayPresentation_persistsAfterDismissingKeyguard() local358 kgm.requestDismissKeyguard(activitySession.getActivity(), null /* callback */); in testStartRearDisplayPresentation_persistsAfterDismissingKeyguard()
306 KeyguardManager kgm = mContext.getSystemService(KeyguardManager.class); in checkDeviceConfig() local308 kgm.isDeviceSecure(), deviceConfig.hasSecureScreenLock); in checkDeviceConfig()