Searched refs:keyguardManager (Results 1 – 10 of 10) sorted by relevance
40 final KeyguardManager keyguardManager = (KeyguardManager) c.getSystemService( in testNewKeyguardLock() local42 final KeyguardManager.KeyguardLock keyLock = keyguardManager.newKeyguardLock(TAG); in testNewKeyguardLock()48 KeyguardManager keyguardManager = (KeyguardManager) c.getSystemService( in testPrivateNotificationsAllowed() local55 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()
209 final KeyguardManager keyguardManager = in isKeyguardLocked() local211 return keyguardManager.isKeyguardLocked(); in isKeyguardLocked()
2688 KeyguardManager keyguardManager = in testNotificationManagerBubblePolicy_flagForAppForeground() local2690 … keyguardManager.requestDismissKeyguard(a, new KeyguardManager.KeyguardDismissCallback() { in testNotificationManagerBubblePolicy_flagForAppForeground()
110 KeyguardManager keyguardManager = (KeyguardManager)appContext. in performDeviceLock() local112 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()178 KeyguardManager keyguardManager = (KeyguardManager)appContext in testUserAuth() local181 doTestUserAuth(dl, keyguardManager); in testUserAuth()187 void doTestUserAuth(DeviceLockSession dl, KeyguardManager keyguardManager) throws Exception { in doTestUserAuth() argument325 assertTrue(keyguardManager.isDeviceLocked()); in doTestUserAuth()327 assertTrue(!keyguardManager.isDeviceLocked()); in doTestUserAuth()
31 KeyguardManager keyguardManager = in testCaptureHolo() local33 keyguardManager.newKeyguardLock("holo_capture").disableKeyguard(); in testCaptureHolo()
58 KeyguardManager keyguardManager = in onCreate() local60 keyguardManager.newKeyguardLock("cts-audio").disableKeyguard(); in onCreate()
282 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in performDeviceLock() local283 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()292 KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService( in performDeviceUnlock() local294 for (int i = 0; i < 25 && keyguardManager.isDeviceLocked(); i++) { in performDeviceUnlock()297 assertFalse(keyguardManager.isDeviceLocked()); in performDeviceUnlock()518 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testKeyguardLockAndUnlock() local522 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()525 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()539 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local1031 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in testCanCreateAuthBoundKeyWhenScreenLocked() local[all …]
82 KeyguardManager keyguardManager = in testRunStarted() local85 keyguardManager.newKeyguardLock("cts").disableKeyguard(); in testRunStarted()
375 KeyguardManager keyguardManager = in onCreate() local377 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate()