Searched refs:keyguardManager (Results 1 – 9 of 9) 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()
181 final KeyguardManager keyguardManager = in isKeyguardLocked() local183 return keyguardManager.isKeyguardLocked(); in isKeyguardLocked()
2612 KeyguardManager keyguardManager = in testNotificationManagerBubblePolicy_flagForAppForeground() local2614 … keyguardManager.requestDismissKeyguard(a, new KeyguardManager.KeyguardDismissCallback() { in testNotificationManagerBubblePolicy_flagForAppForeground()
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()
82 KeyguardManager keyguardManager = in testRunStarted() local85 keyguardManager.newKeyguardLock("cts").disableKeyguard(); in testRunStarted()
282 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in performDeviceLock() local283 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()459 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testKeyguardLockAndUnlock() local463 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()466 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()480 KeyguardManager keyguardManager = (KeyguardManager)getContext() in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local972 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in testCanCreateAuthBoundKeyWhenScreenLocked() local975 assertTrue(keyguardManager.isDeviceLocked()); in testCanCreateAuthBoundKeyWhenScreenLocked()998 …KeyguardManager keyguardManager = (KeyguardManager)getContext().getSystemService(Context.KEYGUARD_… in testCannotCreateAuthBoundKeyWhenDevicePinNotSet() local999 assertFalse(keyguardManager.isDeviceLocked()); in testCannotCreateAuthBoundKeyWhenDevicePinNotSet()
383 KeyguardManager keyguardManager = in onCreate() local385 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null); in onCreate()