Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
H A DRuleEvaluatorTest.java72 Rule.DENY); in testEvaluateRules_noMatchedRules_allow()
88 Rule.DENY); in testEvaluateRules_oneMatch_deny()
95 Rule.DENY); in testEvaluateRules_oneMatch_deny()
100 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_oneMatch_deny()
112 Rule.DENY); in testEvaluateRules_multipleMatches_deny()
125 Rule.DENY); in testEvaluateRules_multipleMatches_deny()
144 Rule.DENY); in testEvaluateRules_ruleWithNot_deny()
159 Rule.DENY); in testEvaluateRules_ruleWithIntegerOperators_deny()
182 Rule.DENY); in testEvaluateRules_validForm_deny()
205 Rule.DENY); in testEvaluateRules_orRules()
[all …]
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
H A DRuleBinaryParserTest.java86 private static final String DENY = getBits(Rule.DENY, EFFECT_BITS); field in RuleBinaryParserTest
113 + DENY in testBinaryStream_validCompoundFormula_noIndexing()
152 + DENY in testBinaryString_validCompoundFormula_notConnector_noIndexing()
197 + DENY in testBinaryString_validCompoundFormula_andConnector_noIndexing()
245 + DENY in testBinaryString_validCompoundFormula_orConnector_noIndexing()
284 + DENY in testBinaryString_validAtomicFormula_stringValue_noIndexing()
316 + DENY in testBinaryString_validAtomicFormula_hashedValue_noIndexing()
348 + DENY in testBinaryString_validAtomicFormula_integerValue_noIndexing()
376 + DENY in testBinaryString_validAtomicFormula_booleanValue_noIndexing()
466 + DENY in testBinaryString_invalidCompoundFormula_invalidNumberOfFormulas_noIndexing()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
H A DRuleBinarySerializerTest.java93 private static final String DENY = getBits(Rule.DENY, EFFECT_BITS); field in RuleBinarySerializerTest
187 + DENY in testBinaryStream_serializeValidCompoundFormula()
243 + DENY in testBinaryString_serializeValidCompoundFormula_notConnector()
293 + DENY in testBinaryString_serializeValidCompoundFormula_andConnector()
343 + DENY in testBinaryString_serializeValidCompoundFormula_orConnector()
759 Rule.DENY); in getRuleWithPackageNameAndSampleInstallerName()
780 + DENY in getSerializedCompoundRuleWithPackageNameAndSampleInstallerName()
797 Rule.DENY); in getRuleWithAppCertificateAndSampleInstallerName()
818 + DENY in getSerializedCompoundRuleWithCertificateNameAndSampleInstallerName()
835 Rule.DENY); in getNonIndexedRuleWithInstallerName()
[all …]
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
H A 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()
/aosp12/frameworks/base/core/java/android/content/integrity/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/model/
H A DIntegrityCheckResult.java38 DENY enumConstant
82 return new IntegrityCheckResult(Effect.DENY, ruleList); in deny()
89 if (getEffect() == Effect.DENY) { in getLoggingResponse()
/aosp12/system/netd/server/
H A DFirewallControllerTest.cpp124 mFw.setUidRule(STANDBY, 12345, DENY); in TEST_F()
138 mFw.setUidRule(DOZABLE, 54321, DENY); in TEST_F()
149 mFw.setUidRule(NONE, 54321, DENY); in TEST_F()
283 EXPECT_EQ(0, mFw.setInterfaceRule("rmnet_data0", DENY)); in TEST_F()
286 EXPECT_EQ(0, mFw.setInterfaceRule("rmnet_data0", DENY)); in TEST_F()
H A DFirewallController.cpp204 } else if (rule == DENY && mIfaceRules.find(iface) != mIfaceRules.end()) { in setInterfaceRule()
248 op = (rule == DENY)? "-A" : "-D"; in setUidRule()
H A DFirewallController.h34 enum FirewallRule { ALLOW = INetd::FIREWALL_RULE_ALLOW, DENY = INetd::FIREWALL_RULE_DENY }; enumerator
H A DTrafficControllerTest.cpp168 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, DENY, DENYLIST)); in checkUidOwnerRuleForChain()
179 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, DENY, ALLOWLIST)); in checkUidOwnerRuleForChain()
570 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, DENY, DENYLIST))); in TEST_F()
580 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(DOZABLE_MATCH, uid, DENY, ALLOWLIST))); in TEST_F()
H A DTrafficController.cpp500 if ((rule == ALLOW && type == ALLOWLIST) || (rule == DENY && type == DENYLIST)) { in updateOwnerMapEntry()
502 } else if ((rule == ALLOW && type == DENYLIST) || (rule == DENY && type == ALLOWLIST)) { in updateOwnerMapEntry()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
H A DIntegrityFileManagerTest.java121 Rule.DENY); in testGetRules()
135 Rule.DENY); in testGetRules()
206 Rule.DENY); in getPackageNameIndexedRule()
214 Rule.DENY); in getAppCertificateIndexedRule()
221 Rule.DENY); in getInstallerCertificateRule()
H A 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/integrity/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/engine/
H A DRuleEvaluator.java19 import static android.content.integrity.Rule.DENY;
71 .filter(rule -> rule.getEffect() == DENY) in evaluateRules()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
H A DAutoAppPermissionFragment.java212 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.DENY); in onViewCreated()
302 states.get(AppPermissionViewModel.ButtonType.DENY)); in setRadioButtonsState()
328 mDenyPermissionPreference.setChecked(buttonType == AppPermissionViewModel.ButtonType.DENY); in checkOnlyOneButtonOverride()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
H A DAppPermissionViewModel.kt61 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.DENY
129 DENY(5),
344 ASK to askState, DENY to deniedState, DENY_FOREGROUND to deniedForegroundState,
/aosp12/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/
H A DBugreportManagerTest.java506 DENY, enumConstant
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
H A DAppPermissionFragment.java325 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
H A DAppPermissionFragment.java396 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState()
/aosp12/frameworks/proto_logging/stats/
H A Datoms.proto10662 DENY = 2; enumerator
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt2487 field public static final int DENY = 0; // 0x0
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...