Lines Matching refs:NetworkController

68 class NetworkController::DelegateImpl : public PhysicalNetwork::Delegate {
70 explicit DelegateImpl(NetworkController* networkController);
85 NetworkController* const mNetworkController;
88 NetworkController::DelegateImpl::DelegateImpl(NetworkController* networkController) : in DelegateImpl()
92 NetworkController::DelegateImpl::~DelegateImpl() { in ~DelegateImpl()
95 int NetworkController::DelegateImpl::modifyFallthrough(unsigned vpnNetId, in modifyFallthrough()
118 int NetworkController::DelegateImpl::addFallthrough(const std::string& physicalInterface, in addFallthrough()
123 int NetworkController::DelegateImpl::removeFallthrough(const std::string& physicalInterface, in removeFallthrough()
128 int NetworkController::DelegateImpl::modifyFallthrough(const std::string& physicalInterface, in modifyFallthrough()
140 NetworkController::NetworkController() : in NetworkController() function in android::net::NetworkController
141 mDelegateImpl(new NetworkController::DelegateImpl(this)), mDefaultNetId(NETID_UNSET), in NetworkController()
163 unsigned NetworkController::getDefaultNetwork() const { in getDefaultNetwork()
168 int NetworkController::setDefaultNetwork(unsigned netId) { in setDefaultNetwork()
205 uint32_t NetworkController::getNetworkForDnsLocked(unsigned* netId, uid_t uid) const { in getNetworkForDnsLocked()
255 unsigned NetworkController::getNetworkForUser(uid_t uid) const { in getNetworkForUser()
277 unsigned NetworkController::getNetworkForConnectLocked(uid_t uid) const { in getNetworkForConnectLocked()
285 unsigned NetworkController::getNetworkForConnect(uid_t uid) const { in getNetworkForConnect()
290 void NetworkController::getNetworkContext( in getNetworkContext()
339 unsigned NetworkController::getNetworkForInterfaceLocked(const char* interface) const { in getNetworkForInterfaceLocked()
348 unsigned NetworkController::getNetworkForInterface(const char* interface) const { in getNetworkForInterface()
353 bool NetworkController::isVirtualNetwork(unsigned netId) const { in isVirtualNetwork()
358 bool NetworkController::isVirtualNetworkLocked(unsigned netId) const { in isVirtualNetworkLocked()
363 int NetworkController::createPhysicalNetworkLocked(unsigned netId, Permission permission) { in createPhysicalNetworkLocked()
389 int NetworkController::createPhysicalNetwork(unsigned netId, Permission permission) { in createPhysicalNetwork()
394 int NetworkController::createPhysicalOemNetwork(Permission permission, unsigned *pNetId) { in createPhysicalOemNetwork()
420 int NetworkController::createVirtualNetwork(unsigned netId, bool secure) { in createVirtualNetwork()
440 int NetworkController::destroyNetwork(unsigned netId) { in destroyNetwork()
492 int NetworkController::addInterfaceToNetwork(unsigned netId, const char* interface) { in addInterfaceToNetwork()
527 int NetworkController::removeInterfaceFromNetwork(unsigned netId, const char* interface) { in removeInterfaceFromNetwork()
538 Permission NetworkController::getPermissionForUser(uid_t uid) const { in getPermissionForUser()
543 void NetworkController::setPermissionForUsers(Permission permission, in setPermissionForUsers()
551 int NetworkController::checkUserNetworkAccess(uid_t uid, unsigned netId) const { in checkUserNetworkAccess()
556 int NetworkController::setPermissionForNetworks(Permission permission, in setPermissionForNetworks()
577 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork()
594 int NetworkController::removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) { in removeUsersFromNetwork()
612 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, in addRoute()
617 int NetworkController::updateRoute(unsigned netId, const char* interface, const char* destination, in updateRoute()
622 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, in removeRoute()
627 void NetworkController::addInterfaceAddress(unsigned ifIndex, const char* address) { in addInterfaceAddress()
637 bool NetworkController::removeInterfaceAddress(unsigned ifindex, const char* address) { in removeInterfaceAddress()
675 bool NetworkController::canProtectLocked(uid_t uid) const { in canProtectLocked()
680 bool NetworkController::canProtect(uid_t uid) const { in canProtect()
685 void NetworkController::allowProtect(const std::vector<uid_t>& uids) { in allowProtect()
690 void NetworkController::denyProtect(const std::vector<uid_t>& uids) { in denyProtect()
697 void NetworkController::dump(DumpWriter& dw) { in dump()
744 bool NetworkController::isValidNetworkLocked(unsigned netId) const { in isValidNetworkLocked()
748 Network* NetworkController::getNetworkLocked(unsigned netId) const { in getNetworkLocked()
753 VirtualNetwork* NetworkController::getVirtualNetworkForUserLocked(uid_t uid) const { in getVirtualNetworkForUserLocked()
765 Permission NetworkController::getPermissionForUserLocked(uid_t uid) const { in getPermissionForUserLocked()
773 int NetworkController::checkUserNetworkAccessLocked(uid_t uid, unsigned netId) const { in checkUserNetworkAccessLocked()
800 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, in modifyRoute()
843 int NetworkController::modifyFallthroughLocked(unsigned vpnNetId, bool add) { in modifyFallthroughLocked()
866 void NetworkController::updateTcpSocketMonitorPolling() { in updateTcpSocketMonitorPolling()