Home
last modified time | relevance | path

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

/system/netd/server/
DFirewallController.cpp92 mFirewallType = BLACKLIST; in FirewallController()
182 if (mFirewallType == BLACKLIST) { in setInterfaceRule()
220 return BLACKLIST; in getFirewallType()
226 return BLACKLIST; in getFirewallType()
DFirewallControllerTest.cpp113 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()
DFirewallController.h39 enum FirewallType { WHITELIST = INetd::FIREWALL_WHITELIST, BLACKLIST = INetd::FIREWALL_BLACKLIST }; enumerator
DTrafficControllerTest.cpp169 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()
DTrafficController.cpp555 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()