/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/ |
H A D | RuleEvaluatorTest.java | 72 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 D | RuleEvaluationEngineTest.java | 65 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 D | RuleBinaryParserTest.java | 86 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 D | RuleBinarySerializerTest.java | 93 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 D | RuleIndexingDetailsIdentifierTest.java | 89 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 D | IntegrityCheckResultTest.java | 73 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 D | Rule.java | 48 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 D | IntegrityCheckResult.java | 38 DENY enumConstant 82 return new IntegrityCheckResult(Effect.DENY, ruleList); in deny() 89 if (getEffect() == Effect.DENY) { in getLoggingResponse()
|
/aosp12/system/netd/server/ |
H A D | FirewallControllerTest.cpp | 124 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 D | FirewallController.cpp | 204 } else if (rule == DENY && mIfaceRules.find(iface) != mIfaceRules.end()) { in setInterfaceRule() 248 op = (rule == DENY)? "-A" : "-D"; in setUidRule()
|
H A D | FirewallController.h | 34 enum FirewallRule { ALLOW = INetd::FIREWALL_RULE_ALLOW, DENY = INetd::FIREWALL_RULE_DENY }; enumerator
|
H A D | TrafficControllerTest.cpp | 168 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 D | TrafficController.cpp | 500 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 D | IntegrityFileManagerTest.java | 121 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 D | AppIntegrityManagerServiceImplTest.java | 207 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 D | RuleTest.java | 34 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 D | RuleEvaluator.java | 19 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 D | AutoAppPermissionFragment.java | 212 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 D | AppPermissionViewModel.kt | 61 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 D | BugreportManagerTest.java | 506 DENY, enumConstant
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
H A D | AppPermissionFragment.java | 325 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
H A D | AppPermissionFragment.java | 396 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState()
|
/aosp12/frameworks/proto_logging/stats/ |
H A D | atoms.proto | 10662 DENY = 2; enumerator
|
/aosp12/frameworks/base/core/api/ |
H A D | system-current.txt | 2487 field public static final int DENY = 0; // 0x0
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |