Home
last modified time | relevance | path

Searched refs:mKeyguardManager (Results 1 – 20 of 20) 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.java36 private KeyguardManager mKeyguardManager; field in MockLockSettingsContext
48 mKeyguardManager = keyguardManager; in MockLockSettingsContext()
64 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.java51 KeyguardManager mKeyguardManager; field in PhoneFallbackEventHandler
307 if (mKeyguardManager == null) { in getKeyguardManager()
308 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE); in getKeyguardManager()
310 return mKeyguardManager; in getKeyguardManager()
DPhoneWindow.java271 private KeyguardManager mKeyguardManager; field in PhoneWindow
1947 if (mKeyguardManager == null) { in getKeyguardManager()
1948 mKeyguardManager = (KeyguardManager) getContext().getSystemService( in getKeyguardManager()
1951 return mKeyguardManager; in getKeyguardManager()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java69 private final KeyguardManager mKeyguardManager; field in RecentsTaskLoadPlan
78 mKeyguardManager = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE); in RecentsTaskLoadPlan()
146 mTmpLockedUsers.put(t.userId, mKeyguardManager.isDeviceLocked(t.userId)); in preloadPlan()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java56 private @Mock KeyguardManager mKeyguardManager; field in WorkLockActivityTest
75 .thenReturn(mKeyguardManager); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java103 private KeyguardManager mKeyguardManager; field in ActivityStartInterceptorTest
138 when(mContext.getSystemService(Context.KEYGUARD_SERVICE)).thenReturn(mKeyguardManager); in setUp()
139 when(mKeyguardManager.createConfirmDeviceCredentialIntent( in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java73 private KeyguardManager mKeyguardManager; field in StatusBarRemoteInputCallback
87 mKeyguardManager = context.getSystemService(KeyguardManager.class); in StatusBarRemoteInputCallback()
192 final Intent newIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, in startWorkChallengeIfNecessary()
DStatusBarNotificationActivityStarter.java98 private final KeyguardManager mKeyguardManager; field in StatusBarNotificationActivityStarter
143 mKeyguardManager = keyguardManager; in StatusBarNotificationActivityStarter()
294 && mKeyguardManager.isDeviceLocked(userId)) { in handleNotificationClickAfterPanelCollapsed()
DStatusBarNotificationPresenter.java120 private final KeyguardManager mKeyguardManager; field in StatusBarNotificationPresenter
157 mKeyguardManager = context.getSystemService(KeyguardManager.class); in StatusBarNotificationPresenter()
497 && mKeyguardManager.isKeyguardLocked()) {
DStatusBar.java689 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in start()
1076 mBarService, mStatusBarStateController, mKeyguardManager, mDreamManager, in setUpPresenter()
2131 if (mDozing || mKeyguardManager.isKeyguardLocked()) { in showWirelessChargingAnimation()
4142 protected KeyguardManager mKeyguardManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java89 protected KeyguardManager mKeyguardManager; field in NotificationLockscreenUserManagerImpl
184 mKeyguardManager = context.getSystemService(KeyguardManager.class); in NotificationLockscreenUserManagerImpl()
425 final boolean allowedBySystem = mKeyguardManager.getPrivateNotificationsAllowed(); in userAllowsNotificationsInPublic()
519 isProfilePublic = showingKeyguard || mKeyguardManager.isDeviceLocked(userId); in updatePublicMode()
DNotificationRemoteInputManager.java123 private final KeyguardManager mKeyguardManager; field in NotificationRemoteInputManager
273 mKeyguardManager = context.getSystemService(KeyguardManager.class); in NotificationRemoteInputManager()
388 && mKeyguardManager.isDeviceLocked(userId)) { in activateRemoteInput()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java79 @Mock private KeyguardManager mKeyguardManager; field in PlatformKeyManagerTest
100 when(mContext.getSystemService(anyString())).thenReturn(mKeyguardManager); in setUp()
102 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/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java145 private final KeyguardManager mKeyguardManager; field in GlobalActionsDialog
182 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in GlobalActionsDialog()
428 mKeyguardManager.isDeviceLocked()) in createDialog()
444 if (!mKeyguardManager.isDeviceSecure(userId)) { in shouldDisplayLockdown()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java133 private KeyguardManager mKeyguardManager; field in MediaSessionService
167 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in onStart()
2044 boolean isLocked = mKeyguardManager != null && mKeyguardManager.isKeyguardLocked(); in startVoiceInput()
2051 isLocked && mKeyguardManager.isKeyguardSecure()); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java353 private KeyguardManager mKeyguardManager; field in InputMethodManagerService
1614 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in systemRunning()
2432 && mKeyguardManager != null && mKeyguardManager.isKeyguardSecure()) return false; in shouldShowImeSwitcherLocked()
2493 return mKeyguardManager != null && mKeyguardManager.isKeyguardLocked(); in isKeyguardLocked()
4091 return mKeyguardManager != null in isScreenLocked()
4092 && mKeyguardManager.isKeyguardLocked() && mKeyguardManager.isKeyguardSecure(); in isScreenLocked()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java231 private KeyguardManager mKeyguardManager; field in AppWidgetServiceImpl
258 mKeyguardManager = (KeyguardManager) mContext.getSystemService(KEYGUARD_SERVICE); in onStart()
644 onClickIntent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, null, in maskWidgetsViewsLocked()