Home
last modified time | relevance | path

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

/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/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java38 private KeyguardManager mKeyguardManager; field in MockLockSettingsContext
54 mKeyguardManager = keyguardManager; in MockLockSettingsContext()
73 return mKeyguardManager; in getSystemService()
/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/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java50 KeyguardManager mKeyguardManager; field in PhoneFallbackEventHandler
306 if (mKeyguardManager == null) { in getKeyguardManager()
307 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE); in getKeyguardManager()
309 return mKeyguardManager; in getKeyguardManager()
DPhoneWindow.java293 private KeyguardManager mKeyguardManager; field in PhoneWindow
1969 if (mKeyguardManager == null) { in getKeyguardManager()
1970 mKeyguardManager = (KeyguardManager) getContext().getSystemService( in getKeyguardManager()
1973 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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java71 private KeyguardManager mKeyguardManager; field in StatusBarRemoteInputCallback
99 mKeyguardManager = context.getSystemService(KeyguardManager.class); in StatusBarRemoteInputCallback()
209 final Intent newIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, in startWorkChallengeIfNecessary()
DStatusBarNotificationActivityStarter.java109 private final KeyguardManager mKeyguardManager; field in StatusBarNotificationActivityStarter
183 mKeyguardManager = keyguardManager; in StatusBarNotificationActivityStarter()
339 && mKeyguardManager.isDeviceLocked(userId)) { in handleNotificationClickAfterPanelCollapsed()
653 private final KeyguardManager mKeyguardManager;
722 mKeyguardManager = keyguardManager;
779 mKeyguardManager,
DStatusBarNotificationPresenter.java120 private final KeyguardManager mKeyguardManager; field in StatusBarNotificationPresenter
165 mKeyguardManager = context.getSystemService(KeyguardManager.class); in StatusBarNotificationPresenter()
453 && mKeyguardManager.isKeyguardLocked()) {
DStatusBar.java849 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in start()
2372 if (mDozing || mKeyguardManager.isKeyguardLocked()) { in showWirelessChargingAnimation()
4043 protected KeyguardManager mKeyguardManager;
/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/
DNotificationLockscreenUserManagerImpl.java100 protected KeyguardManager mKeyguardManager; field in NotificationLockscreenUserManagerImpl
214 mKeyguardManager = keyguardManager; in NotificationLockscreenUserManagerImpl()
480 final boolean allowedBySystem = mKeyguardManager.getPrivateNotificationsAllowed(); in userAllowsNotificationsInPublic()
611 isProfilePublic = showingKeyguard || mKeyguardManager.isDeviceLocked(userId); in updatePublicMode()
DNotificationRemoteInputManager.java124 private final KeyguardManager mKeyguardManager; field in NotificationRemoteInputManager
289 mKeyguardManager = context.getSystemService(KeyguardManager.class); in NotificationRemoteInputManager()
407 && mKeyguardManager.isDeviceLocked(userId); in activateRemoteInput()
413 && mKeyguardManager.isDeviceLocked(profileParent.id); in activateRemoteInput()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java91 @Mock private KeyguardManager mKeyguardManager; field in PlatformKeyManagerTest
112 when(mContext.getSystemService(anyString())).thenReturn(mKeyguardManager); in setUp()
114 when(mKeyguardManager.isDeviceSecure(USER_ID_FIXTURE)).thenReturn(true); in setUp()
DRecoverableKeyStoreManagerTest.java157 @Mock private KeyguardManager mKeyguardManager; field in RecoverableKeyStoreManagerTest
181 when(mMockContext.getSystemService(anyString())).thenReturn(mKeyguardManager); in setUp()
184 when(mKeyguardManager.isDeviceSecure(TEST_USER_ID)).thenReturn(true); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java90 private KeyguardManager mKeyguardManager; field in NotificationLockscreenUserManagerTest
399 mClickNotifier, NotificationLockscreenUserManagerTest.this.mKeyguardManager, in TestNotificationLockscreenUserManager()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java136 private KeyguardManager mKeyguardManager; field in MediaSessionService
171 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in onStart()
2187 boolean isLocked = mKeyguardManager != null && mKeyguardManager.isKeyguardLocked(); in startVoiceInput()
2194 isLocked && mKeyguardManager.isKeyguardSecure()); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java376 private KeyguardManager mKeyguardManager; field in InputMethodManagerService
1845 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in systemRunning()
2809 && mKeyguardManager != null && mKeyguardManager.isKeyguardSecure()) return false; in shouldShowImeSwitcherLocked()
2868 return mKeyguardManager != null && mKeyguardManager.isKeyguardLocked(); in isKeyguardLocked()
4652 return mKeyguardManager != null in isScreenLocked()
4653 && mKeyguardManager.isKeyguardLocked() && mKeyguardManager.isKeyguardSecure(); in isScreenLocked()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java231 private KeyguardManager mKeyguardManager; field in AppWidgetServiceImpl
261 mKeyguardManager = (KeyguardManager) mContext.getSystemService(KEYGUARD_SERVICE); in onStart()
656 onClickIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, null, in maskWidgetsViewsLocked()