Searched refs:assertSecurityException (Results 1 – 3 of 3) sorted by relevance
59 private void assertSecurityException(Callable callable, String tag) { in assertSecurityException() method in NegativePermissionsTest74 assertSecurityException( in setPackagesSuspended()77 assertSecurityException( in setPackagesSuspended()84 assertSecurityException( in setPackagesSuspended_deprecated()87 assertSecurityException( in setPackagesSuspended_deprecated()94 assertSecurityException( in setDistractingPackageRestrictions()98 assertSecurityException( in setDistractingPackageRestrictions()102 assertSecurityException( in setDistractingPackageRestrictions()106 assertSecurityException( in setDistractingPackageRestrictions()
32 assertSecurityException(() -> dpm.setCameraDisabled(mAdminComponent, true)); in testCameraDisabled()38 assertSecurityException(() -> dpm.setKeyguardDisabledFeatures(mAdminComponent, in testKeyguardDisabledFeatures()44 assertSecurityException(() -> dpm.isActivePasswordSufficient()); in testIsActivePasswordSufficient()53 assertSecurityException(() -> dpm.setPasswordHistoryLength(mAdminComponent, 3)); in testPasswordHistoryLength()112 assertSecurityException(() -> dpm.setPasswordExpirationTimeout(mAdminComponent, 1234L)); in testPasswordExpirationTimeout()116 private void assertSecurityException(Runnable r) { in assertSecurityException() method in DeviceAdminWithEnterprisePoliciesBlockedTest130 assertSecurityException(r); in runDeprecatedPasswordQualityApi()
163 private void assertSecurityException(String command) throws Exception { in assertSecurityException() method in FontManagerTest187 assertSecurityException(""); in fontManager_shellCommandPermissionTest()188 assertSecurityException("update"); in fontManager_shellCommandPermissionTest()189 assertSecurityException("clear"); in fontManager_shellCommandPermissionTest()190 assertSecurityException("status"); in fontManager_shellCommandPermissionTest()191 assertSecurityException("random_string"); in fontManager_shellCommandPermissionTest()200 assertSecurityException("insert-debug-cert"); in fontManager_insertDebugCertPermissionTest()