Home
last modified time | relevance | path

Searched refs:mHasSecureLockScreen (Results 1 – 18 of 18) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDevicePolicyManagerParentSupportTest.java34 if (!mHasSecureLockScreen) { in testSetAndGetPasswordHistoryLength_onParent()
48 if (!mHasSecureLockScreen) { in testSetAndGetPasswordExpirationTimeout_onParent()
62 if (!mHasSecureLockScreen) { in testGetPasswordExpiration_onParent()
97 if (!mHasSecureLockScreen) { in testSetAndGetMaximumFailedPasswordsForWipe_onParent()
137 if (!mHasSecureLockScreen) { in testSetAndGetTrustAgentConfiguration_onParent()
155 if (!mHasSecureLockScreen) { in testSetAndGetRequiredStrongAuthTimeout_onParent()
DBaseManagedProfileTest.java42 protected boolean mHasSecureLockScreen; field in BaseManagedProfileTest
60 mHasSecureLockScreen = mContext.getPackageManager().hasSystemFeature( in setUp()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DPasswordComplexityTest.java22 if (!mHasSecureLockScreen) { in setUp()
37 if (mHasSecureLockScreen) { in tearDown()
45 if (!mHasSecureLockScreen) { in testGetPasswordComplexity()
DMixedManagedProfileOwnerTestApi25.java65 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPassword()
78 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testResetPasswordFbe()
DBaseDeviceAdminHostSideTest.java94 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPassword_nycRestrictions()
114 if (!mHasFeature || !mHasSecureLockScreen) { in testRunDeviceOwnerPasswordTest()
DDeviceAndProfileOwnerTestApi25.java68 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPassword()
76 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testResetPasswordFbe()
DManagedProfileTest.java157 assertTrue(mHasSecureLockScreen); in testManagedProfilesSupportedWithLockScreenOnly()
252 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testLockNowWithKeyEviction()
1239 if (!mHasFeature || !mHasSecureLockScreen) { in testTrustAgentInfo()
1314 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testResetPasswordWithTokenBeforeUnlock()
1328 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testClearPasswordWithTokenBeforeUnlock()
1349 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testResetPasswordTokenUsableAfterClearingLock()
1376 if (!mHasFeature || !mHasSecureLockScreen) { in testIsUsingUnifiedPassword()
1389 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testUnlockWorkProfile_deviceWidePassword()
1411 if (!mHasFeature || !mHasSecureLockScreen) { in testRebootDevice_unifiedPassword()
1432 if (!mHasFeature || !mHasSecureLockScreen) { in testRebootDevice_separatePasswords()
[all …]
DMixedManagedProfileOwnerTest.java162 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPasswordWithToken()
DDeviceAndProfileOwnerTest.java1105 if (!mHasFeature || !mHasSecureLockScreen) { in testTrustAgentInfo()
1152 if (!mHasFeature || !mHasSecureLockScreen) { in testRequiredStrongAuthTimeout()
1182 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPasswordWithToken()
1203 if (!mHasFeature || !mHasSecureLockScreen) { in testGetCurrentFailedPasswordAttempts()
1235 if (!mHasFeature || !mHasSecureLockScreen) { in testPasswordExpiration()
1242 if (!mHasFeature || !mHasSecureLockScreen) { in testGetPasswordExpiration()
1261 if (!mHasFeature || mHasSecureLockScreen) { in testPasswordQualityWithoutSecureLockScreen()
DBaseDevicePolicyTest.java137 protected boolean mHasSecureLockScreen; field in BaseDevicePolicyTest
162 mHasSecureLockScreen = hasDeviceFeature("android.software.secure_lock_screen"); in setUp()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceAdminTest.java44 if (!mHasSecureLockScreen) { in testGetMaximumFailedPasswordsForWipe()
55 if (!mHasSecureLockScreen) { in testPasswordHistoryLength()
75 if (!mHasSecureLockScreen) { in testPasswordExpirationTimeout()
DBaseDeviceAdminTest.java32 protected boolean mHasSecureLockScreen; field in BaseDeviceAdminTest
43 mHasSecureLockScreen = mContext.getPackageManager() in setUp()
DDeviceAdminWithEnterprisePoliciesBlockedTest.java45 if (!mHasSecureLockScreen) { in testPasswordHistoryLength()
104 if (!mHasSecureLockScreen) { in testPasswordExpirationTimeout()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseDeviceOwnerTest.java40 protected boolean mHasSecureLockScreen; field in BaseDeviceOwnerTest
49 mHasSecureLockScreen = mContext.getPackageManager().hasSystemFeature( in setUp()
DSecurityLoggingTest.java257 if (mHasSecureLockScreen) { in verifyAdminEventsPresent()
286 if (mHasSecureLockScreen) { in generateAdminEvents()
614 if (mHasSecureLockScreen) { in generateLockingPolicyEvents()
628 if (mHasSecureLockScreen) { in verifyLockingPolicyEventsPresent()
/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferIncomingTest.java78 protected boolean mHasSecureLockScreen; field in DeviceAndProfileOwnerTransferIncomingTest
85 mHasSecureLockScreen = mContext.getPackageManager().hasSystemFeature( in setUp()
DTransferProfileOwnerIncomingTest.java44 if (mHasSecureLockScreen) { in testTransferPoliciesAreRetainedAfterTransfer()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java70 private boolean mHasSecureLockScreen; field in DevicePolicyManagerTest
103 mHasSecureLockScreen = in setUp()
890 if (!mDeviceAdmin || !mHasSecureLockScreen) { in testSetResetPasswordToken_failIfNotDeviceOrProfileOwner()
903 if (!mDeviceAdmin || !mHasSecureLockScreen) { in testClearResetPasswordToken_failIfNotDeviceOrProfileOwner()
916 if (!mDeviceAdmin || !mHasSecureLockScreen) { in testIsResetPasswordTokenActive_failIfNotDeviceOrProfileOwner()
929 if (!mDeviceAdmin || !mHasSecureLockScreen) { in testResetPasswordWithToken_failIfNotDeviceOrProfileOwner()
942 if (!mDeviceAdmin || !mHasSecureLockScreen) { in testIsUsingUnifiedPassword_failIfNotProfileOwner()