Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.h55 int addNaughtyApps(const std::vector<std::string>& appStrUid);
56 int removeNaughtyApps(const std::vector<std::string>& appStrUid);
57 int addNiceApps(const std::vector<std::string>& appStrUid);
58 int removeNiceApps(const std::vector<std::string>& appStrUid);
DBandwidthController.cpp379 int BandwidthController::addNaughtyApps(const std::vector<std::string>& appStrUid) { in addNaughtyApps() argument
380 return manipulateSpecialApps(appStrUid, NAUGHTY_CHAIN, IptJumpReject, IptOpInsert); in addNaughtyApps()
383 int BandwidthController::removeNaughtyApps(const std::vector<std::string>& appStrUid) { in removeNaughtyApps() argument
384 return manipulateSpecialApps(appStrUid, NAUGHTY_CHAIN, IptJumpReject, IptOpDelete); in removeNaughtyApps()
387 int BandwidthController::addNiceApps(const std::vector<std::string>& appStrUid) { in addNiceApps() argument
388 return manipulateSpecialApps(appStrUid, NICE_CHAIN, IptJumpReturn, IptOpInsert); in addNiceApps()
391 int BandwidthController::removeNiceApps(const std::vector<std::string>& appStrUid) { in removeNiceApps() argument
392 return manipulateSpecialApps(appStrUid, NICE_CHAIN, IptJumpReturn, IptOpDelete); in removeNiceApps()
406 for (const auto& appStrUid : appStrUids) { in manipulateSpecialApps() local
408 appStrUid.c_str(), jumpToString(jumpHandling)); in manipulateSpecialApps()
DTrafficController.cpp597 for (const auto& appStrUid : appStrUids) { in updateUidOwnerMap() local
599 long uid = strtol(appStrUid.c_str(), &endPtr, 10); in updateUidOwnerMap()
601 (endPtr == appStrUid.c_str()) || (*endPtr != '\0')) { in updateUidOwnerMap()
602 return statusFromErrno(errno, "invalid uid string:" + appStrUid); in updateUidOwnerMap()