Home
last modified time | relevance | path

Searched refs:isDeviceSecure (Results 1 – 7 of 7) 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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DResetPasswordWithTokenTest.java125 assertTrue(km.isDeviceSecure()); in testClearPasswordWithToken()
130 assertFalse(km.isDeviceSecure()); in testClearPasswordWithToken()
/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.java703 if (!mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
715 if (mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
721 if (mKeyguardManager.isDeviceSecure()) { in handleSetLockForEncryption()
/cts/tests/framework/base/activitymanager/src/android/server/am/
DKeyguardLockedTests.java67 assertTrue(mKeyguardManager.isDeviceSecure()); in testLockAndUnlock()
DActivityManagerGetConfigTests.java312 kgm.isDeviceSecure(), deviceConfig.hasSecureScreenLock); in checkDeviceConfig()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1360 assertFalse("Secure lock screen must not be configured", keyguardManager.isDeviceSecure()); in testKeyStore_SetEntry_PrivateKeyEntry_Params_Unencrypted_Failure()