Searched refs:uidRanges (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | VirtualNetwork.cpp | 43 int VirtualNetwork::addUsers(const UidRanges& uidRanges) { in addUsers() argument 46 uidRanges)) { in addUsers() 51 mUidRanges.add(uidRanges); in addUsers() 55 int VirtualNetwork::removeUsers(const UidRanges& uidRanges) { in removeUsers() argument 58 mSecure, uidRanges)) { in removeUsers() 63 mUidRanges.remove(uidRanges); in removeUsers()
|
D | RouteController.h | 51 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 53 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 60 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 62 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
|
D | VirtualNetwork.h | 39 int addUsers(const UidRanges& uidRanges) WARN_UNUSED_RESULT; 40 int removeUsers(const UidRanges& uidRanges) WARN_UNUSED_RESULT;
|
D | NetworkController.h | 76 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT; 77 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
|
D | RouteController.cpp | 758 const UidRanges& uidRanges, bool secure, bool add, in modifyVirtualNetwork() argument 765 for (const UidRanges::Range& range : uidRanges.getRanges()) { in modifyVirtualNetwork() 1002 bool secure, const UidRanges& uidRanges) { in addInterfaceToVirtualNetwork() argument 1003 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_ADD, in addInterfaceToVirtualNetwork() 1012 bool secure, const UidRanges& uidRanges) { in removeInterfaceFromVirtualNetwork() argument 1013 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_DEL, in removeInterfaceFromVirtualNetwork() 1035 const UidRanges& uidRanges) { in addUsersToVirtualNetwork() argument 1036 return modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_ADD, in addUsersToVirtualNetwork() 1041 bool secure, const UidRanges& uidRanges) { in removeUsersFromVirtualNetwork() argument 1042 return modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_DEL, in removeUsersFromVirtualNetwork()
|
D | NetworkController.cpp | 431 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork() argument 442 if (int ret = static_cast<VirtualNetwork*>(network)->addUsers(uidRanges)) { in addUsersToNetwork() 448 int NetworkController::removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) { in removeUsersFromNetwork() argument 459 if (int ret = static_cast<VirtualNetwork*>(network)->removeUsers(uidRanges)) { in removeUsersFromNetwork()
|
D | CommandListener.cpp | 1769 UidRanges uidRanges; in runCommand() local 1770 if (!uidRanges.parseFrom(argc - 4, argv + 4)) { in runCommand() 1774 if (int ret = sNetCtrl->addUsersToNetwork(netId, uidRanges)) { in runCommand() 1778 if (int ret = sNetCtrl->removeUsersFromNetwork(netId, uidRanges)) { in runCommand()
|