Searched refs:assertSecurityException (Results 1 – 1 of 1) sorted by relevance
28 assertSecurityException(() -> dpm.setCameraDisabled(mAdminComponent, true)); in testCameraDisabled()34 assertSecurityException(() -> dpm.setKeyguardDisabledFeatures(mAdminComponent, in testKeyguardDisabledFeatures()40 assertSecurityException(() -> dpm.isActivePasswordSufficient()); in testIsActivePasswordSufficient()49 assertSecurityException(() -> dpm.setPasswordHistoryLength(mAdminComponent, 3)); in testPasswordHistoryLength()55 assertSecurityException(() -> dpm.setPasswordMinimumLength(mAdminComponent, 4)); in testPasswordMinimumLength()61 assertSecurityException(() -> dpm.setPasswordMinimumLetters(mAdminComponent, 3)); in testPasswordMinimumLetters()67 assertSecurityException(() -> dpm.setPasswordMinimumLowerCase(mAdminComponent, 3)); in testPasswordMinimumLowerCase()73 assertSecurityException(() -> dpm.setPasswordMinimumNonLetter(mAdminComponent, 3)); in testPasswordMinimumNonLetter()79 assertSecurityException(() -> dpm.setPasswordMinimumNumeric(mAdminComponent, 2)); in testPasswordMinimumNumeric()85 assertSecurityException(() -> dpm.setPasswordMinimumSymbols(mAdminComponent, 2)); in testPasswordMinimumSymbols()[all …]