Searched refs:VirtualNetwork (Results 1 – 5 of 5) sorted by relevance
30 VirtualNetwork::VirtualNetwork(unsigned netId, bool secure) : Network(netId, secure) {} in VirtualNetwork() function in android::net::VirtualNetwork32 VirtualNetwork::~VirtualNetwork() {} in ~VirtualNetwork()34 int VirtualNetwork::addUsers(const UidRanges& uidRanges, uint32_t subPriority) { in addUsers()51 int VirtualNetwork::removeUsers(const UidRanges& uidRanges, uint32_t subPriority) { in removeUsers()66 int VirtualNetwork::addInterface(const std::string& interface) { in addInterface()79 int VirtualNetwork::removeInterface(const std::string& interface) { in removeInterface()92 bool VirtualNetwork::isValidSubPriority(uint32_t priority) { in isValidSubPriority()
32 class VirtualNetwork : public Network {34 VirtualNetwork(unsigned netId, bool secure);35 virtual ~VirtualNetwork();
77 class VirtualNetwork; variable163 VirtualNetwork* getVirtualNetworkForUserLocked(uid_t uid) const;
245 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in getNetworkForDnsLocked()263 if (VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid)) { in getNetworkForUser()295 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in getNetworkForConnectLocked()461 mNetworks[netId] = new VirtualNetwork(netId, secure); in createVirtualNetwork()785 VirtualNetwork* NetworkController::getVirtualNetworkForUserLocked(uid_t uid) const { in getVirtualNetworkForUserLocked()789 return static_cast<VirtualNetwork*>(network); in getVirtualNetworkForUserLocked()845 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in checkUserNetworkAccessLocked()
292 "VirtualNetwork.cpp",