Home
last modified time | relevance | path

Searched refs:isAllowlist (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DFirewallController.cpp294 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()
DFirewallController.h95 std::string makeUidRules(IptablesTarget target, const char* name, bool isAllowlist,
DTrafficController.h100 int replaceUidOwnerMap(const std::string& name, bool isAllowlist,
DTrafficControllerTest.cpp214 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()
DNetdNativeService.h40 binder::Status firewallReplaceUidChain(const std::string& chainName, bool isAllowlist,
DNetdNativeService.cpp271 bool isAllowlist, in firewallReplaceUidChain() argument
275 int err = gCtls->firewallCtrl.replaceUidChain(chainName, isAllowlist, uids); in firewallReplaceUidChain()
DTrafficController.cpp706 int TrafficController::replaceUidOwnerMap(const std::string& name, bool isAllowlist __unused, in replaceUidOwnerMap()