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) : Network(netId, secure) {} in VirtualNetwork() function in android::net::VirtualNetwork
32 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()
DVirtualNetwork.h32 class VirtualNetwork : public Network {
34 VirtualNetwork(unsigned netId, bool secure);
35 virtual ~VirtualNetwork();
DNetworkController.h77 class VirtualNetwork; variable
163 VirtualNetwork* getVirtualNetworkForUserLocked(uid_t uid) const;
DNetworkController.cpp245 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()
DAndroid.bp292 "VirtualNetwork.cpp",