Home
last modified time | relevance | path

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

/system/netd/server/
DTrafficControllerTest.cpp216 EXPECT_EQ(0, mTc.replaceUidOwnerMap(name, isWhitelist, uids)); in checkUidMapReplace()
220 EXPECT_EQ(0, mTc.replaceUidOwnerMap(name, isWhitelist, uids)); in checkUidMapReplace()
649 ASSERT_EQ(-EINVAL, mTc.replaceUidOwnerMap("unknow", true, uids)); in TEST_F()
819 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_dozable", true, {10002, 10003})); in TEST_F()
825 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_powersave", true, {10000, 10001, 10002, 10003})); in TEST_F()
832 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_dozable", true, {})); in TEST_F()
839 EXPECT_EQ(0, mTc.replaceUidOwnerMap("fw_powersave", true, {})); in TEST_F()
DTrafficController.h104 int replaceUidOwnerMap(const std::string& name, bool isWhitelist,
DFirewallController.cpp351 return gCtls->trafficCtrl.replaceUidOwnerMap(name, isWhitelist, uids); in replaceUidChain()
DTrafficController.cpp732 int TrafficController::replaceUidOwnerMap(const std::string& name, bool isWhitelist, in replaceUidOwnerMap() function in android::net::TrafficController