Lines Matching refs:VirtualNetwork
203 !static_cast<VirtualNetwork *>(network)->getHasDns()) { in getNetworkForDns()
210 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in getNetworkForDns()
227 if (VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid)) { in getNetworkForUser()
249 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in getNetworkForConnect()
353 mNetworks[netId] = new VirtualNetwork(netId, hasDns, secure); in createVirtualNetwork()
476 if (int ret = static_cast<VirtualNetwork*>(network)->addUsers(uidRanges, mProtectableUsers)) { in addUsersToNetwork()
493 if (int ret = static_cast<VirtualNetwork*>(network)->removeUsers(uidRanges, in removeUsersFromNetwork()
562 VirtualNetwork* NetworkController::getVirtualNetworkForUserLocked(uid_t uid) const { in getVirtualNetworkForUserLocked()
565 VirtualNetwork* virtualNetwork = static_cast<VirtualNetwork*>(entry.second); in getVirtualNetworkForUserLocked()
598 return static_cast<VirtualNetwork*>(network)->appliesToUser(uid) ? 0 : -EPERM; in checkUserNetworkAccessLocked()
600 VirtualNetwork* virtualNetwork = getVirtualNetworkForUserLocked(uid); in checkUserNetworkAccessLocked()