Home
last modified time | relevance | path

Searched refs:isKeyguardLocked (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DKeyguardManagerHelperTest.java49 assumeFalse(KeyguardManagerHelper.isKeyguardLocked()); in testIsKeyguardLocked()
52 assertThat(KeyguardManagerHelper.isKeyguardLocked()).isTrue(); in testIsKeyguardLocked()
55 assertThat(KeyguardManagerHelper.isKeyguardLocked()).isFalse(); in testIsKeyguardLocked()
/cts/tests/app/shared/src/android/app/cts/
DCtsAppTestUtils.java44 public static boolean isKeyguardLocked(Context context) { in isKeyguardLocked() method in CtsAppTestUtils
47 return keyguardManager.isKeyguardLocked(); in isKeyguardLocked()
57 && !isKeyguardLocked(context); in turnScreenOn()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DLockScreenSession.java244 private boolean isKeyguardLocked() { in isKeyguardLocked() method in LockScreenSession
245 return mKm != null && mKm.isKeyguardLocked(); in isKeyguardLocked()
279 if (!isKeyguardLocked()) { in close()
312 if (isKeyguardLocked()) { in close()
DUiDeviceUtils.java67 if (keyguardManager.isKeyguardLocked() || !powerManager.isInteractive() in wakeUpAndUnlock()
129 retryPressKeyCode(KEYCODE_MENU, () -> kgm != null && !kgm.isKeyguardLocked(), in pressUnlockButton()
DActivityManagerTestBase.java696 if (isKeyguardLocked()) { in setUp()
1273 protected boolean isKeyguardLocked() { in isKeyguardLocked() method in ActivityManagerTestBase
1274 return mKm != null && mKm.isKeyguardLocked(); in isKeyguardLocked()
2738 if (isKeyguardLocked()) {
/cts/common/device-side/interactive/steps/src/main/java/com/android/interactive/steps/notesrole/
DLockTheDeviceThenAccessSavedNote.java35 return keyguardManager.isKeyguardLocked(); in LockTheDeviceThenAccessSavedNote()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DUnlockScreenRule.java46 if (km != null && km.isKeyguardLocked()) { in apply()
DTestUtils.java237 return kgm != null && !kgm.isKeyguardLocked(); in unlockScreen()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSessionTestActivity.java56 } else if (keyguardManager.isKeyguardLocked()) { in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardTests.java105 assertTrue(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
109 assertFalse(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
388 assertTrue(mKeyguardManager.isKeyguardLocked()); in testInheritShowWhenLockedRemove()
431 assertTrue(mKeyguardManager.isKeyguardLocked()); in testNoInheritShowWhenLocked()
875 public void onKeyguardLockedStateChanged(boolean isKeyguardLocked) { in onKeyguardLockedStateChanged() argument
DKeyguardLockedTests.java97 assertTrue(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
107 assertFalse(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
125 assertTrue(mKeyguardManager.isKeyguardLocked()); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
/cts/hostsidetests/securitybulletin/test-apps/TestBluetoothDiscoverable/src/android/security/cts/TestBluetoothDiscoverable/
DDeviceTest.java145 powerManager.isInteractive() && !keyguardManager.isKeyguardLocked()); in testConnectedDeviceDashboardFragment()
186 powerManager.isInteractive() && !keyguardManager.isKeyguardLocked()); in testBluetoothDashboardFragment()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20360/src/android/security/cts/CVE_2022_20360/
DDeviceTest.java112 powerManager.isInteractive() && !keyguardManager.isKeyguardLocked()); in withSecureNfcDisabled()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/
DDeviceTest.java153 powerManager.isInteractive() && !keyguardManager.isKeyguardLocked()); in testOverlayButtonPresence()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java157 if (!keyguardManager.isKeyguardLocked()) { in homeScreenOrBust()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/
DExtensionRearDisplayTest.java438 if (isKeyguardLocked() || !Objects.requireNonNull( in unlockDeviceIfNeeded()
DExtensionRearDisplayPresentationTest.java559 if (isKeyguardLocked() || !Objects.requireNonNull( in unlockDeviceIfNeeded()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DDisplayHashManagerTest.java124 if (km != null && km.isKeyguardLocked() || !Objects.requireNonNull( in setUp()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerBubbleTest.java311 if (keyguardManager.isKeyguardLocked()) { in ensureDeviceUnlocked()
/cts/tests/tests/nfc/src/android/nfc/cts/
DCardEmulationTest.java1478 if (km != null && km.isKeyguardLocked()) { in ensureUnlocked()
1484 return km != null && !km.isKeyguardLocked(); in ensureUnlocked()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java1755 if (mKeyguardManager.isKeyguardLocked()) { in testInteractiveEvents()
2723 if (mKeyguardManager.isKeyguardLocked()) { in dismissKeyguard()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java145 if (keyguardManager.isKeyguardLocked()) { in onCreate()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java1031 && !CtsAppTestUtils.isKeyguardLocked(mContext)) in testBackgroundCheckActivityService()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6205 method public boolean isKeyguardLocked();