Home
last modified time | relevance | path

Searched refs:VirtualNetwork (Results 1 – 5 of 5) sorted by relevance

/system/netd/server/
DVirtualNetwork.cpp30 VirtualNetwork::VirtualNetwork(unsigned netId, bool secure, bool excludeLocalRoutes) in VirtualNetwork() function in android::net::VirtualNetwork
33 VirtualNetwork::~VirtualNetwork() {} in ~VirtualNetwork()
35 int VirtualNetwork::addUsers(const UidRanges& uidRanges, int32_t subPriority) { in addUsers()
53 int VirtualNetwork::removeUsers(const UidRanges& uidRanges, int32_t subPriority) { in removeUsers()
69 int VirtualNetwork::addInterface(const std::string& interface) { in addInterface()
82 int VirtualNetwork::removeInterface(const std::string& interface) { in removeInterface()
95 bool VirtualNetwork::isValidSubPriority(int32_t priority) { in isValidSubPriority()
DVirtualNetwork.h34 class VirtualNetwork : public Network {
36 explicit VirtualNetwork(unsigned netId, bool secure, bool excludeLocalRoutes = false);
37 virtual ~VirtualNetwork();
DNetworkController.h76 class VirtualNetwork; variable
167 VirtualNetwork* getVirtualNetworkForUserLocked(uid_t uid) const;
DNetworkController.cpp248 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in getNetworkForDnsLocked()
266 if (VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid)) { in getNetworkForUser()
298 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in getNetworkForConnectLocked()
479 mNetworks[netId] = new VirtualNetwork(netId, secure, excludeLocalRoutes); in createVirtualNetwork()
858 VirtualNetwork* NetworkController::getVirtualNetworkForUserLocked(uid_t uid) const { in getVirtualNetworkForUserLocked()
862 return static_cast<VirtualNetwork*>(network); in getVirtualNetworkForUserLocked()
927 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in checkUserNetworkAccessLocked()
DAndroid.bp148 "VirtualNetwork.cpp",