Home
last modified time | relevance | path

Searched refs:keyguardManager (Results 1 – 9 of 9) 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.java181 final KeyguardManager keyguardManager = in isKeyguardLocked() local
183 return keyguardManager.isKeyguardLocked(); in isKeyguardLocked()
DNotificationManagerTest.java2612 KeyguardManager keyguardManager = in testNotificationManagerBubblePolicy_flagForAppForeground() local
2614keyguardManager.requestDismissKeyguard(a, new KeyguardManager.KeyguardDismissCallback() { in testNotificationManagerBubblePolicy_flagForAppForeground()
/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/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/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()
459 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testKeyguardLockAndUnlock() local
463 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
466 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
480 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local
972 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in testCanCreateAuthBoundKeyWhenScreenLocked() local
975 assertTrue(keyguardManager.isDeviceLocked()); in testCanCreateAuthBoundKeyWhenScreenLocked()
998 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in testCannotCreateAuthBoundKeyWhenDevicePinNotSet() local
999 assertFalse(keyguardManager.isDeviceLocked()); in testCannotCreateAuthBoundKeyWhenDevicePinNotSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java383 KeyguardManager keyguardManager = in onCreate() local
385 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate()