Home
last modified time | relevance | path

Searched refs:uidRanges (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DVirtualNetwork.cpp43 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()
DRouteController.h51 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;
DVirtualNetwork.h39 int addUsers(const UidRanges& uidRanges) WARN_UNUSED_RESULT;
40 int removeUsers(const UidRanges& uidRanges) WARN_UNUSED_RESULT;
DNetworkController.h76 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
77 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
DRouteController.cpp758 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()
DNetworkController.cpp431 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()
DCommandListener.cpp1769 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()