Home
last modified time | relevance | path

Searched refs:keyguardManager (Results 1 – 10 of 10) sorted by relevance

/cts/tests/app/src/android/app/cts/
DKeyguardManagerTest.java40 final KeyguardManager keyguardManager = (KeyguardManager) c.getSystemService( in testNewKeyguardLock() local
42 final KeyguardManager.KeyguardLock keyLock = keyguardManager.newKeyguardLock(TAG); in testNewKeyguardLock()
48 KeyguardManager keyguardManager = (KeyguardManager) c.getSystemService( in testPrivateNotificationsAllowed() local
55 set.invoke(keyguardManager, false); in testPrivateNotificationsAllowed()
56 assertFalse((boolean) get.invoke(keyguardManager)); in testPrivateNotificationsAllowed()
57 set.invoke(keyguardManager, true); in testPrivateNotificationsAllowed()
58 assertTrue((boolean) get.invoke(keyguardManager)); in testPrivateNotificationsAllowed()
DActivityManagerProcessStateTest.java209 final KeyguardManager keyguardManager = in isKeyguardLocked() local
211 return keyguardManager.isKeyguardLocked(); in isKeyguardLocked()
DNotificationManagerTest.java2688 KeyguardManager keyguardManager = in testNotificationManagerBubblePolicy_flagForAppForeground() local
2690keyguardManager.requestDismissKeyguard(a, new KeyguardManager.KeyguardDismissCallback() { in testNotificationManagerBubblePolicy_flagForAppForeground()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java110 KeyguardManager keyguardManager = (KeyguardManager)appContext. in performDeviceLock() local
112 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()
178 KeyguardManager keyguardManager = (KeyguardManager)appContext in testUserAuth() local
181 doTestUserAuth(dl, keyguardManager); in testUserAuth()
187 void doTestUserAuth(DeviceLockSession dl, KeyguardManager keyguardManager) throws Exception { in doTestUserAuth() argument
325 assertTrue(keyguardManager.isDeviceLocked()); in doTestUserAuth()
327 assertTrue(!keyguardManager.isDeviceLocked()); in doTestUserAuth()
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/
DCaptureHolo.java31 KeyguardManager keyguardManager = in testCaptureHolo() local
33 keyguardManager.newKeyguardLock("holo_capture").disableKeyguard(); in testCaptureHolo()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DCtsAudioClientActivity.java58 KeyguardManager keyguardManager = in onCreate() local
60 keyguardManager.newKeyguardLock("cts-audio").disableKeyguard(); in onCreate()
/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java282 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in performDeviceLock() local
283 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()
292 KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService( in performDeviceUnlock() local
294 for (int i = 0; i < 25 && keyguardManager.isDeviceLocked(); i++) { in performDeviceUnlock()
297 assertFalse(keyguardManager.isDeviceLocked()); in performDeviceUnlock()
518 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testKeyguardLockAndUnlock() local
522 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
525 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
539 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local
1031 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in testCanCreateAuthBoundKeyWhenScreenLocked() local
[all …]
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsTestRunListener.java82 KeyguardManager keyguardManager = in testRunStarted() local
85 keyguardManager.newKeyguardLock("cts").disableKeyguard(); in testRunStarted()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java82 KeyguardManager keyguardManager = in testRunStarted() local
85 keyguardManager.newKeyguardLock("cts").disableKeyguard(); in testRunStarted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java375 KeyguardManager keyguardManager = in onCreate() local
377 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate()