Home
last modified time | relevance | path

Searched refs:DENYLIST (Results 1 – 5 of 5) sorted by relevance

/system/netd/server/
DFirewallController.cpp91 mFirewallType = DENYLIST; in FirewallController()
181 if (mFirewallType == DENYLIST) { in setInterfaceRule()
219 return DENYLIST; in getFirewallType()
225 return DENYLIST; in getFirewallType()
DFirewallControllerTest.cpp110 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()
DFirewallController.h39 enum FirewallType { ALLOWLIST = INetd::FIREWALL_WHITELIST, DENYLIST = INetd::FIREWALL_BLACKLIST }; enumerator
DTrafficControllerTest.cpp168 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()
DTrafficController.cpp524 if ((rule == ALLOW && type == ALLOWLIST) || (rule == DENY && type == DENYLIST)) { in updateOwnerMapEntry()
526 } else if ((rule == ALLOW && type == DENYLIST) || (rule == DENY && type == ALLOWLIST)) { in updateOwnerMapEntry()