Home
last modified time | relevance | path

Searched refs:replaceUidOwnerMap (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DTrafficControllerTest.cpp215 EXPECT_EQ(0, mTc.replaceUidOwnerMap(name, isAllowlist, uids)); in checkUidMapReplace()
219 EXPECT_EQ(0, mTc.replaceUidOwnerMap(name, isAllowlist, uids)); in checkUidMapReplace()
648 ASSERT_EQ(-EINVAL, mTc.replaceUidOwnerMap("unknow", true, uids)); in TEST_F()
818 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_dozable", true, {10002, 10003})); in TEST_F()
824 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_powersave", true, {10000, 10001, 10002, 10003})); in TEST_F()
831 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_dozable", true, {})); in TEST_F()
838 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_powersave", true, {})); in TEST_F()
DTrafficController.h100 int replaceUidOwnerMap(const std::string& name, bool isAllowlist,
DFirewallController.cpp350 return gCtls->trafficCtrl.replaceUidOwnerMap(name, isAllowlist, uids); in replaceUidChain()
DTrafficController.cpp706 int TrafficController::replaceUidOwnerMap(const std::string& name, bool isAllowlist __unused, in replaceUidOwnerMap() function in android::net::TrafficController