Searched refs:isAllowlist (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | FirewallController.cpp | 294 bool isAllowlist, const std::vector<int32_t>& uids) { in makeUidRules() argument 299 if (isAllowlist) { in makeUidRules() 325 if (isAllowlist) { in makeUidRules() 330 if (!isAllowlist) { in makeUidRules() 338 if (isAllowlist) { in makeUidRules() 347 int FirewallController::replaceUidChain(const std::string& name, bool isAllowlist, in replaceUidChain() argument 350 return gCtls->trafficCtrl.replaceUidOwnerMap(name, isAllowlist, uids); in replaceUidChain() 352 std::string commands4 = makeUidRules(V4, name.c_str(), isAllowlist, uids); in replaceUidChain() 353 std::string commands6 = makeUidRules(V6, name.c_str(), isAllowlist, uids); in replaceUidChain()
|
D | FirewallController.h | 95 std::string makeUidRules(IptablesTarget target, const char* name, bool isAllowlist,
|
D | TrafficController.h | 100 int replaceUidOwnerMap(const std::string& name, bool isAllowlist,
|
D | TrafficControllerTest.cpp | 214 bool isAllowlist = true; in checkUidMapReplace() local 215 EXPECT_EQ(0, mTc.replaceUidOwnerMap(name, isAllowlist, uids)); in checkUidMapReplace() 218 isAllowlist = false; in checkUidMapReplace() 219 EXPECT_EQ(0, mTc.replaceUidOwnerMap(name, isAllowlist, uids)); in checkUidMapReplace()
|
D | NetdNativeService.h | 40 binder::Status firewallReplaceUidChain(const std::string& chainName, bool isAllowlist,
|
D | NetdNativeService.cpp | 271 bool isAllowlist, in firewallReplaceUidChain() argument 275 int err = gCtls->firewallCtrl.replaceUidChain(chainName, isAllowlist, uids); in firewallReplaceUidChain()
|
D | TrafficController.cpp | 706 int TrafficController::replaceUidOwnerMap(const std::string& name, bool isAllowlist __unused, in replaceUidOwnerMap()
|