Searched refs:DENYLIST (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | FirewallController.cpp | 91 mFirewallType = DENYLIST; in FirewallController() 181 if (mFirewallType == DENYLIST) { in setInterfaceRule() 219 return DENYLIST; in getFirewallType() 225 return DENYLIST; in getFirewallType()
|
D | FirewallControllerTest.cpp | 110 createChain("fw_denylist", DENYLIST); in TEST_F() 251 EXPECT_EQ(0, mFw.setFirewallType(DENYLIST)); in TEST_F() 254 EXPECT_EQ(0, mFw.setFirewallType(DENYLIST)); in TEST_F()
|
D | FirewallController.h | 39 enum FirewallType { ALLOWLIST = INetd::FIREWALL_WHITELIST, DENYLIST = INetd::FIREWALL_BLACKLIST }; enumerator
|
D | TrafficControllerTest.cpp | 168 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, DENY, DENYLIST)); in checkUidOwnerRuleForChain() 185 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, ALLOW, DENYLIST)); in checkUidOwnerRuleForChain() 191 EXPECT_EQ(-ENOENT, mTc.changeUidOwnerRule(chain, uid, ALLOW, DENYLIST)); in checkUidOwnerRuleForChain() 608 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, DENY, DENYLIST))); in TEST_F() 623 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, ALLOW, DENYLIST))); in TEST_F() 627 ASSERT_FALSE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, ALLOW, DENYLIST))); in TEST_F()
|
D | TrafficController.cpp | 524 if ((rule == ALLOW && type == ALLOWLIST) || (rule == DENY && type == DENYLIST)) { in updateOwnerMapEntry() 526 } else if ((rule == ALLOW && type == DENYLIST) || (rule == DENY && type == ALLOWLIST)) { in updateOwnerMapEntry()
|