/cts/tests/app/app/src/android/app/stubs/ |
D | KeyguardManagerActivity.java | 28 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/ |
D | KeyguardLockedTests.java | 65 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()
|
D | KeyguardTestBase.java | 36 KeyguardManager mKeyguardManager; field in KeyguardTestBase 41 mKeyguardManager = mContext.getSystemService(KeyguardManager.class); in setUp()
|
D | KeyguardTests.java | 90 assertTrue(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity() 93 assertFalse(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 61 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()
|
D | FingerprintBoundKeysTest.java | 73 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/ |
D | ScreenLockTestActivity.java | 45 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/ |
D | VideoView2Test.java | 87 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/ |
D | AuthenticationBoundKeyTestActivity.java | 74 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()
|
D | ByodFlowTestActivity.java | 65 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/ |
D | MediaPlayer2DrmTestBase.java | 99 private KeyguardManager mKeyguardManager; field in MediaPlayer2DrmTestBase 105 mKeyguardManager = (KeyguardManager) in setUp() 115 mKeyguardManager.requestDismissKeyguard(mActivity, null); in setUp()
|