Searched refs:VirtualNetwork (Results 1 – 5 of 5) sorted by relevance
30 VirtualNetwork::VirtualNetwork(unsigned netId, bool secure, bool excludeLocalRoutes) in VirtualNetwork() function in android::net::VirtualNetwork33 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()
34 class VirtualNetwork : public Network {36 explicit VirtualNetwork(unsigned netId, bool secure, bool excludeLocalRoutes = false);37 virtual ~VirtualNetwork();
76 class VirtualNetwork; variable167 VirtualNetwork* getVirtualNetworkForUserLocked(uid_t uid) const;
248 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()
148 "VirtualNetwork.cpp",