Home
last modified time | relevance | path

Searched refs:parsePolicy (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/security/src/android/security/cts/
DSELinuxNeverallowRulesParserTest.java36 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in testParsingEmpty()
45 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in testParsingWithoutConditions()
63 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in testParsingMultiNeverallowOnOneLine()
77 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in testParsingMultiLinesNeverallow()
88 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in testParsingWithConditions()
98 assertThrows(Exception.class, () -> SELinuxNeverallowRule.parsePolicy(policy)); in testParsingMissingConditions()
DSELinuxNeverallowRulesTest.java79 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in generateRules()
DSELinuxNeverallowRulesTestVendor.java96 SELinuxNeverallowRule.parsePolicy(policy); in generateRules()
DSELinuxNeverallowRule.java113 public static List<SELinuxNeverallowRule> parsePolicy(String policy) throws Exception { in parsePolicy() method in SELinuxNeverallowRule