Searched refs:BLACKLIST (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | FirewallController.cpp | 92 mFirewallType = BLACKLIST; in FirewallController() 182 if (mFirewallType == BLACKLIST) { in setInterfaceRule() 220 return BLACKLIST; in getFirewallType() 226 return BLACKLIST; in getFirewallType()
|
D | FirewallControllerTest.cpp | 113 createChain("fw_blacklist", BLACKLIST); in TEST_F() 254 EXPECT_EQ(0, mFw.setFirewallType(BLACKLIST)); in TEST_F() 257 EXPECT_EQ(0, mFw.setFirewallType(BLACKLIST)); in TEST_F()
|
D | FirewallController.h | 39 enum FirewallType { WHITELIST = INetd::FIREWALL_WHITELIST, BLACKLIST = INetd::FIREWALL_BLACKLIST }; enumerator
|
D | TrafficControllerTest.cpp | 169 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, DENY, BLACKLIST)); in checkUidOwnerRuleForChain() 186 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, ALLOW, BLACKLIST)); in checkUidOwnerRuleForChain() 192 EXPECT_EQ(-ENOENT, mTc.changeUidOwnerRule(chain, uid, ALLOW, BLACKLIST)); in checkUidOwnerRuleForChain() 609 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, DENY, BLACKLIST))); in TEST_F() 624 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, ALLOW, BLACKLIST))); in TEST_F() 628 ASSERT_FALSE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, ALLOW, BLACKLIST))); in TEST_F()
|
D | TrafficController.cpp | 555 if ((rule == ALLOW && type == WHITELIST) || (rule == DENY && type == BLACKLIST)) { in updateOwnerMapEntry() 557 } else if ((rule == ALLOW && type == BLACKLIST) || (rule == DENY && type == WHITELIST)) { in updateOwnerMapEntry() 740 type = BLACKLIST; in replaceUidOwnerMap()
|