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/tests/framework/base/activitymanager/src/android/server/am/
DKeyguardLockedTests.java65 assertTrue(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
66 assertTrue(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
67 assertTrue(mKeyguardManager.isDeviceSecure()); in testLockAndUnlock()
68 assertTrue(mKeyguardManager.isKeyguardSecure()); in testLockAndUnlock()
74 assertFalse(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
75 assertFalse(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
DKeyguardTestBase.java36 KeyguardManager mKeyguardManager; field in KeyguardTestBase
41 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in setUp()
DKeyguardTests.java90 assertTrue(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
93 assertFalse(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
/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.java73 private KeyguardManager mKeyguardManager; field in FingerprintBoundKeysTest
92 mKeyguardManager = (KeyguardManager) getSystemService(KeyguardManager.class); in onRequestPermissionsResult()
95 if (!mKeyguardManager.isKeyguardSecure()) { in onRequestPermissionsResult()
/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/tests/tests/widget/src/android/widget/cts/
DVideoView2Test.java87 private KeyguardManager mKeyguardManager; field in VideoView2Test
99 mKeyguardManager = (KeyguardManager) in setup()
110 mKeyguardManager.requestDismissKeyguard(mActivity, null); in setup()
/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.java65 private KeyguardManager mKeyguardManager; field in ByodFlowTestActivity
125 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); in onCreate()
703 if (!mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
715 if (mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
721 if (mKeyguardManager.isDeviceSecure()) { in handleSetLockForEncryption()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayer2DrmTestBase.java99 private KeyguardManager mKeyguardManager; field in MediaPlayer2DrmTestBase
105 mKeyguardManager = (KeyguardManager) in setUp()
115 mKeyguardManager.requestDismissKeyguard(mActivity, null); in setUp()