Home
last modified time | relevance | path

Searched refs:DENY (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluatorTest.java20 import static com.android.server.integrity.model.IntegrityCheckResult.Effect.DENY;
73 Rule.DENY); in testEvaluateRules_noMatchedRules_allow()
89 Rule.DENY); in testEvaluateRules_oneMatch_deny()
96 Rule.DENY); in testEvaluateRules_oneMatch_deny()
101 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_oneMatch_deny()
113 Rule.DENY); in testEvaluateRules_multipleMatches_deny()
126 Rule.DENY); in testEvaluateRules_multipleMatches_deny()
131 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_multipleMatches_deny()
145 Rule.DENY); in testEvaluateRules_ruleWithNot_deny()
150 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_ruleWithNot_deny()
[all …]
DRuleEvaluationEngineTest.java65 IntegrityFormula.Installer.notAllowedByManifest(), Rule.DENY))); in setUp()
117 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_oneElement()
126 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_oneElement()
135 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_oneElement()
169 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_multipleElement()
178 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_multipleElement()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
DRuleBinaryParserTest.java88 private static final String DENY = getBits(Rule.DENY, EFFECT_BITS); field in RuleBinaryParserTest
115 + DENY in testBinaryStream_validCompoundFormula_noIndexing()
132 Rule.DENY); in testBinaryStream_validCompoundFormula_noIndexing()
154 + DENY in testBinaryString_validCompoundFormula_notConnector_noIndexing()
171 Rule.DENY); in testBinaryString_validCompoundFormula_notConnector_noIndexing()
199 + DENY in testBinaryString_validCompoundFormula_andConnector_noIndexing()
220 Rule.DENY); in testBinaryString_validCompoundFormula_andConnector_noIndexing()
247 + DENY in testBinaryString_validCompoundFormula_orConnector_noIndexing()
268 Rule.DENY); in testBinaryString_validCompoundFormula_orConnector_noIndexing()
286 + DENY in testBinaryString_validAtomicFormula_stringValue_noIndexing()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
DIntegrityCheckResultTest.java73 Rule.DENY); in createDenyResultWithRule()
78 assertThat(denyResult.getEffect()).isEqualTo(IntegrityCheckResult.Effect.DENY); in createDenyResultWithRule()
97 Rule.DENY); in isDenyCausedByAppCertificate()
102 Rule.DENY); in isDenyCausedByAppCertificate()
124 Rule.DENY); in isDenyCausedByInstaller()
129 Rule.DENY); in isDenyCausedByInstaller()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
DRuleBinarySerializerTest.java93 private static final String DENY = getBits(Rule.DENY, EFFECT_BITS); field in RuleBinarySerializerTest
165 Rule.DENY); in testBinaryStream_serializeValidCompoundFormula()
187 + DENY in testBinaryStream_serializeValidCompoundFormula()
230 Rule.DENY); in testBinaryString_serializeValidCompoundFormula_notConnector()
243 + DENY in testBinaryString_serializeValidCompoundFormula_notConnector()
274 Rule.DENY); in testBinaryString_serializeValidCompoundFormula_andConnector()
293 + DENY in testBinaryString_serializeValidCompoundFormula_andConnector()
324 Rule.DENY); in testBinaryString_serializeValidCompoundFormula_orConnector()
343 + DENY in testBinaryString_serializeValidCompoundFormula_orConnector()
366 Rule.DENY); in testBinaryString_serializeValidAtomicFormula_stringValue()
[all …]
DRuleIndexingDetailsIdentifierTest.java89 Rule.DENY);
97 Rule.DENY);
105 Rule.DENY);
114 Rule.DENY);
131 ruleList.add(new Rule(getInvalidFormula(), Rule.DENY)); in getIndexType_invalidFormula()
215 Rule.DENY); in getIndexType_negatedRuleContainingPackageNameFormula()
274 Rule.DENY); in getRuleWithPackageName()
287 Rule.DENY); in getRuleWithAppCertificate()
/frameworks/base/core/java/android/content/integrity/
DRule.java48 DENY,
55 public static final int DENY = 0; field in Rule
135 case DENY: in effectToString()
145 return effect == DENY || effect == FORCE_ALLOW; in isValidEffect()
/frameworks/base/services/core/java/com/android/server/integrity/model/
DIntegrityCheckResult.java38 DENY enumConstant
82 return new IntegrityCheckResult(Effect.DENY, ruleList); in deny()
89 if (getEffect() == Effect.DENY) { in getLoggingResponse()
/frameworks/base/core/tests/coretests/src/android/content/integrity/
DRuleTest.java34 private static final @Rule.Effect int DENY_EFFECT = Rule.DENY;
70 Rule rule = new Rule(compoundFormula, Rule.DENY); in testToString()
102 Rule.DENY); in testParcelUnparcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DIntegrityFileManagerTest.java121 Rule.DENY); in testGetRules()
135 Rule.DENY); in testGetRules()
209 Rule.DENY); in getPackageNameIndexedRule()
217 Rule.DENY); in getAppCertificateIndexedRule()
224 Rule.DENY); in getInstallerCertificateRule()
DAppIntegrityManagerServiceImplTest.java207 Rule.DENY); in updateRuleSet_notAuthorized()
226 Rule.DENY); in updateRuleSet_notSystemApp()
245 Rule.DENY); in updateRuleSet_authorized()
261 Rule.DENY)); in updateRuleSet_correctMethodCall()
282 Rule.DENY)); in updateRuleSet_fail()
428 Rule.DENY)))); in handleBroadcast_reject()
485 Rule rule = new Rule(IntegrityFormula.Application.packageNameEquals("package"), Rule.DENY); in getCurrentRules()
/frameworks/base/services/core/java/com/android/server/integrity/engine/
DRuleEvaluator.java19 import static android.content.integrity.Rule.DENY;
71 .filter(rule -> rule.getEffect() == DENY) in evaluateRules()
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/
DBugreportManagerTest.java804 DENY, enumConstant
/frameworks/proto_logging/stats/
Datoms.proto12867 DENY = 2; enumerator
/frameworks/base/core/api/
Dsystem-current.txt3971 field public static final int DENY = 0; // 0x0
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...