Home
last modified time | relevance | path

Searched refs:appUids (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DBandwidthController.h84 int addNaughtyApps(int numUids, char *appUids[]);
85 int removeNaughtyApps(int numUids, char *appUids[]);
86 int addNiceApps(int numUids, char *appUids[]);
87 int removeNiceApps(int numUids, char *appUids[]);
DBandwidthControllerTest.cpp445 std::vector<const char *> appUids = { "1000", "1001", "10012" }; in TEST_F() local
454 EXPECT_EQ(0, mBw.addNiceApps(appUids.size(), const_cast<char**>(&appUids[0]))); in TEST_F()
464 EXPECT_EQ(0, mBw.removeNaughtyApps(appUids.size(), const_cast<char**>(&appUids[0]))); in TEST_F()
DBandwidthController.cpp326 int BandwidthController::addNaughtyApps(int numUids, char *appUids[]) { in addNaughtyApps() argument
327 return manipulateNaughtyApps(numUids, appUids, IptOpInsert); in addNaughtyApps()
330 int BandwidthController::removeNaughtyApps(int numUids, char *appUids[]) { in removeNaughtyApps() argument
331 return manipulateNaughtyApps(numUids, appUids, IptOpDelete); in removeNaughtyApps()
334 int BandwidthController::addNiceApps(int numUids, char *appUids[]) { in addNiceApps() argument
335 return manipulateNiceApps(numUids, appUids, IptOpInsert); in addNiceApps()
338 int BandwidthController::removeNiceApps(int numUids, char *appUids[]) { in removeNiceApps() argument
339 return manipulateNiceApps(numUids, appUids, IptOpDelete); in removeNiceApps()