Home
last modified time | relevance | path

Searched refs:isDeviceSecure (Results 1 – 8 of 8) sorted by relevance

/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
DScreenLockHelper.java31 public static boolean isDeviceSecure(Context context) { in isDeviceSecure() method in ScreenLockHelper
33 return km.isDeviceSecure(); in isDeviceSecure()
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/
DPreconditionsTest.java46 ScreenLockHelper.isDeviceSecure(this.getContext())); in testScreenUnlocked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestActivity.java805 if (!mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
817 if (mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
823 if (mKeyguardManager.isDeviceSecure()) { in handleSetLockForEncryption()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardLockedTests.java93 assertTrue(mKeyguardManager.isDeviceSecure()); in testLockAndUnlock()
120 assertTrue(mKeyguardManager.isDeviceSecure()); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
DActivityManagerGetConfigTests.java308 kgm.isDeviceSecure(), deviceConfig.hasSecureScreenLock); in checkDeviceConfig()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DResetPasswordWithTokenTest.java143 assertTrue(km.isDeviceSecure()); in testClearPasswordWithToken()
148 assertFalse(km.isDeviceSecure()); in testClearPasswordWithToken()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DUnlockedDeviceRequiredTest.java556 if (!mKeyguardManager.isDeviceSecure()) { in verifyTestRequirements()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java1790 if (km.isDeviceSecure()) { in test()
1863 if (!km.isDeviceSecure()) { in test()