Home
last modified time | relevance | path

Searched refs:mKeyguardManager (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DInitialLockSetupClient.java62 private KeyguardManager mKeyguardManager; field in InitialLockSetupClient
72 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in InitialLockSetupClient()
129 mInitialLockListener, mInitialLockSetupService, mKeyguardManager); in getLockConfigs()
145 mInitialLockSetupService, mKeyguardManager, LockTypes.PASSWORD); in checkValidPassword()
160 mInitialLockSetupService, mKeyguardManager, LockTypes.PIN); in checkValidPin()
175 mInitialLockSetupService, mKeyguardManager, LockTypes.PATTERN); in checkValidPattern()
192 mInitialLockSetupService, mKeyguardManager, LockTypes.PASSWORD); in saveLockPassword()
208 mInitialLockSetupService, mKeyguardManager, LockTypes.PIN); in saveLockPin()
225 mInitialLockSetupService, mKeyguardManager, LockTypes.PATTERN); in saveLockPattern()
290 private WeakReference<KeyguardManager> mKeyguardManager; field in InitialLockSetupClient.LockConfigsAsyncTask
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DKeyguardManagerCompat.java23 private final KeyguardManager mKeyguardManager; field in KeyguardManagerCompat
26 mKeyguardManager = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE); in KeyguardManagerCompat()
30 return mKeyguardManager.isDeviceLocked(userId); in isDeviceLocked()
/frameworks/base/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/
DShowWhenLockedActivity.java80 private KeyguardManager mKeyguardManager; field in ShowWhenLockedActivity
86 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); in onCreate()
159 mKeyguardManager.requestDismissKeyguard(this, null); in handleExtras()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java43 private KeyguardManager mKeyguardManager; field in MockLockSettingsContext
59 mKeyguardManager = keyguardManager; in MockLockSettingsContext()
78 return mKeyguardManager; in getSystemService()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodMenuController.java66 private final KeyguardManager mKeyguardManager; field in InputMethodMenuController
87 mKeyguardManager = mService.mKeyguardManager; in InputMethodMenuController()
237 return mKeyguardManager != null && mKeyguardManager.isKeyguardLocked() in isScreenLocked()
238 && mKeyguardManager.isKeyguardSecure(); in isScreenLocked()
DInputMethodManagerService.java361 KeyguardManager mKeyguardManager; field in InputMethodManagerService
1776 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in systemRunning()
2734 && mKeyguardManager != null && mKeyguardManager.isKeyguardSecure()) return false; in shouldShowImeSwitcherLocked()
2794 return mKeyguardManager != null && mKeyguardManager.isKeyguardLocked(); in isKeyguardLocked()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java50 KeyguardManager mKeyguardManager; field in PhoneFallbackEventHandler
301 if (mKeyguardManager == null) { in getKeyguardManager()
302 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE); in getKeyguardManager()
304 return mKeyguardManager; in getKeyguardManager()
DPhoneWindow.java299 private KeyguardManager mKeyguardManager; field in PhoneWindow
1988 if (mKeyguardManager == null) { in getKeyguardManager()
1989 mKeyguardManager = (KeyguardManager) getContext().getSystemService( in getKeyguardManager()
1992 return mKeyguardManager; in getKeyguardManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java59 private @Mock KeyguardManager mKeyguardManager; field in WorkLockActivityTest
79 .thenReturn(mKeyguardManager); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DPinStorageTest.java85 when(mKeyguardManager.isDeviceSecure()).thenReturn(false); in setUp()
86 when(mKeyguardManager.isDeviceLocked()).thenReturn(false); in setUp()
155 when(mKeyguardManager.isDeviceSecure()).thenReturn(true); in storePin_unattendedReboot_deviceIsLocked()
156 when(mKeyguardManager.isDeviceLocked()).thenReturn(true); in storePin_unattendedReboot_deviceIsLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java106 private KeyguardManager mKeyguardManager; field in ActivityStartInterceptorTest
143 when(mContext.getSystemService(Context.KEYGUARD_SERVICE)).thenReturn(mKeyguardManager); in setUp()
144 when(mKeyguardManager.createConfirmDeviceCredentialIntent( in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java75 private KeyguardManager mKeyguardManager; field in StatusBarRemoteInputCallback
107 mKeyguardManager = context.getSystemService(KeyguardManager.class); in StatusBarRemoteInputCallback()
218 final Intent newIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, in startWorkChallengeIfNecessary()
DStatusBarNotificationActivityStarter.java105 private final KeyguardManager mKeyguardManager; field in StatusBarNotificationActivityStarter
179 mKeyguardManager = keyguardManager; in StatusBarNotificationActivityStarter()
339 && mKeyguardManager.isDeviceLocked(userId)) { in handleNotificationClickAfterPanelCollapsed()
646 private final KeyguardManager mKeyguardManager; field in StatusBarNotificationActivityStarter.Builder
714 mKeyguardManager = keyguardManager; in Builder()
778 mKeyguardManager, in build()
DStatusBarNotificationPresenter.java122 private final KeyguardManager mKeyguardManager; field in StatusBarNotificationPresenter
166 mKeyguardManager = context.getSystemService(KeyguardManager.class); in StatusBarNotificationPresenter()
438 && mKeyguardManager.isKeyguardLocked()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java99 protected KeyguardManager mKeyguardManager; field in NotificationLockscreenUserManagerImpl
214 mKeyguardManager = keyguardManager; in NotificationLockscreenUserManagerImpl()
484 final boolean allowedBySystem = mKeyguardManager.getPrivateNotificationsAllowed(); in userAllowsNotificationsInPublic()
616 isProfilePublic = showingKeyguard || mKeyguardManager.isDeviceLocked(userId); in updatePublicMode()
DNotificationRemoteInputManager.java125 private final KeyguardManager mKeyguardManager; field in NotificationRemoteInputManager
300 mKeyguardManager = context.getSystemService(KeyguardManager.class); in NotificationRemoteInputManager()
509 && mKeyguardManager.isDeviceLocked(userId); in showBouncerForRemoteInput()
515 && mKeyguardManager.isDeviceLocked(profileParent.id); in showBouncerForRemoteInput()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java89 @Mock private KeyguardManager mKeyguardManager; field in PlatformKeyManagerTest
110 when(mContext.getSystemService(anyString())).thenReturn(mKeyguardManager); in setUp()
112 when(mKeyguardManager.isDeviceSecure(USER_ID_FIXTURE)).thenReturn(true); in setUp()
DRecoverableKeyStoreManagerTest.java156 @Mock private KeyguardManager mKeyguardManager; field in RecoverableKeyStoreManagerTest
180 when(mMockContext.getSystemService(anyString())).thenReturn(mKeyguardManager); in setUp()
183 when(mKeyguardManager.isDeviceSecure(TEST_USER_ID)).thenReturn(true); in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java116 KeyguardManager mKeyguardManager; field in BuzzBeepBlinkTest
159 when(mKeyguardManager.isDeviceLocked(anyInt())).thenReturn(false); in setUp()
181 mService.setKeyguardManager(mKeyguardManager); in setUp()
508 when(mKeyguardManager.isDeviceLocked(anyInt())).thenReturn(true); in testLockedPrivateA11yRedaction()
530 when(mKeyguardManager.isDeviceLocked(anyInt())).thenReturn(true); in testLockedOverridePrivateA11yRedaction()
552 when(mKeyguardManager.isDeviceLocked(anyInt())).thenReturn(true); in testLockedPublicA11yNoRedaction()
574 when(mKeyguardManager.isDeviceLocked(anyInt())).thenReturn(false); in testUnlockedPrivateA11yNoRedaction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java92 private KeyguardManager mKeyguardManager; field in NotificationLockscreenUserManagerTest
422 NotificationLockscreenUserManagerTest.this.mKeyguardManager, in TestNotificationLockscreenUserManager()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java196 private KeyguardManager mKeyguardManager; field in SensorPrivacyService
224 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in onBootPhase()
770 if (mKeyguardManager != null && mKeyguardManager.isDeviceLocked(userId)) { in canChangeIndividualSensorPrivacy()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java274 return mKeyguardManager; in getSystemService()
677 private final KeyguardManager mKeyguardManager = mock(KeyguardManager.class); field in ContextFixture
DTelephonyTest.java347 protected KeyguardManager mKeyguardManager; field in TelephonyTest
491 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in setUp()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java140 private KeyguardManager mKeyguardManager; field in MediaSessionService
192 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in onStart()
2302 boolean isLocked = mKeyguardManager != null && mKeyguardManager.isKeyguardLocked(); in startVoiceInput()
2309 isLocked && mKeyguardManager.isKeyguardSecure()); in startVoiceInput()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java231 private KeyguardManager mKeyguardManager; field in AppWidgetServiceImpl
257 mKeyguardManager = (KeyguardManager) mContext.getSystemService(KEYGUARD_SERVICE); in onStart()
550 onClickIntent = mKeyguardManager in maskWidgetsViewsLocked()

12