Home
last modified time | relevance | path

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

/cts/tests/app/app/src/android/app/stubs/
DKeyguardManagerActivity.java28 private KeyguardManager mKeyguardManager; field in KeyguardManagerActivity
34 mKeyguardManager = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE); in onCreate()
45 mKeyLock = mKeyguardManager.newKeyguardLock(TAG); in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DScreenLockBoundKeysTest.java61 private KeyguardManager mKeyguardManager; field in ScreenLockBoundKeysTest
70 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); in onCreate()
94 if (!mKeyguardManager.isKeyguardSecure()) { in onCreate()
177 Intent intent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, null); in showAuthenticationScreen()
DFingerprintBoundKeysTest.java74 private KeyguardManager mKeyguardManager; field in FingerprintBoundKeysTest
106 mKeyguardManager = getSystemService(KeyguardManager.class); in onRequestPermissionsResult()
109 if (!mKeyguardManager.isKeyguardSecure()) { in onRequestPermissionsResult()
DIdentityCredentialAuthentication.java91 private KeyguardManager mKeyguardManager; field in IdentityCredentialAuthentication
116 mKeyguardManager = getSystemService(KeyguardManager.class); in onRequestPermissionsResult()
119 if (!mKeyguardManager.isKeyguardSecure()) { in onRequestPermissionsResult()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardLockedTests.java73 assertTrue(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
74 assertTrue(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
75 assertTrue(mKeyguardManager.isDeviceSecure()); in testLockAndUnlock()
76 assertTrue(mKeyguardManager.isKeyguardSecure()); in testLockAndUnlock()
82 assertFalse(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
83 assertFalse(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
DKeyguardTestBase.java33 KeyguardManager mKeyguardManager; field in KeyguardTestBase
38 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in setUp()
DKeyguardTests.java111 assertTrue(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
114 assertFalse(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
293 assertTrue(mKeyguardManager.isKeyguardLocked()); in testInheritShowWhenLockedRemove()
344 assertTrue(mKeyguardManager.isKeyguardLocked()); in testNoInheritShowWhenLocked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DScreenLockTestActivity.java45 private KeyguardManager mKeyguardManager; field in ScreenLockTestActivity
55 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); in onCreate()
111 boolean lockSuccess = mKeyguardManager.inKeyguardRestrictedInputMode(); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java74 private KeyguardManager mKeyguardManager; field in AuthenticationBoundKeyTestActivity
93 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); in onCreate()
132 Intent intent = mKeyguardManager.createConfirmDeviceCredentialIntent(null, null); in onFinish()
194 if (!mKeyguardManager.isKeyguardSecure()) { in checkPreconditions()
DByodFlowTestActivity.java83 private KeyguardManager mKeyguardManager; field in ByodFlowTestActivity
164 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); in onCreate()
798 if (!mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
810 if (mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
816 if (mKeyguardManager.isDeviceSecure()) { in handleSetLockForEncryption()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java75 private KeyguardManager mKeyguardManager; field in BiometricTest
159 mKeyguardManager = getApplicationContext().getSystemService(KeyguardManager.class); in onCreate()
215 if (mKeyguardManager.isDeviceSecure()) { in startTest()
227 if (!mKeyguardManager.isDeviceSecure()) { in startTest()