Home
last modified time | relevance | path

Searched refs:PhysicalNetwork (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/netd/server/
H A DPhysicalNetwork.cpp31 PhysicalNetwork::Delegate* delegate) { in addToDefault()
57 PhysicalNetwork::Delegate::~Delegate() {} in ~Delegate()
59 PhysicalNetwork::PhysicalNetwork(unsigned netId, PhysicalNetwork::Delegate* delegate) : in PhysicalNetwork() function in android::net::PhysicalNetwork
63 PhysicalNetwork::~PhysicalNetwork() {} in ~PhysicalNetwork()
65 Permission PhysicalNetwork::getPermission() const { in getPermission()
98 int PhysicalNetwork::setPermission(Permission permission) { in setPermission()
135 int PhysicalNetwork::addAsDefault() { in addAsDefault()
148 int PhysicalNetwork::removeAsDefault() { in removeAsDefault()
193 int PhysicalNetwork::addInterface(const std::string& interface) { in addInterface()
211 int PhysicalNetwork::removeInterface(const std::string& interface) { in removeInterface()
[all …]
H A DPhysicalNetwork.h24 class PhysicalNetwork : public Network {
36 PhysicalNetwork(unsigned netId, Delegate* delegate);
37 virtual ~PhysicalNetwork();
H A DNetworkController.cpp69 class NetworkController::DelegateImpl : public PhysicalNetwork::Delegate {
187 if (int ret = static_cast<PhysicalNetwork*>(network)->addAsDefault()) { in setDefaultNetwork()
198 if (int ret = static_cast<PhysicalNetwork*>(network)->removeAsDefault()) { in setDefaultNetwork()
395 PhysicalNetwork* physicalNetwork = new PhysicalNetwork(netId, mDelegateImpl); in createPhysicalNetworkLocked()
487 if (int err = static_cast<PhysicalNetwork*>(network)->removeAsDefault()) { in destroyNetwork()
595 if (int ret = static_cast<PhysicalNetwork*>(network)->setPermission(permission)) { in setPermissionForNetworks()
741 Permission permission = reinterpret_cast<PhysicalNetwork*>(network)->getPermission(); in dump()
862 Permission networkPermission = static_cast<PhysicalNetwork*>(network)->getPermission(); in checkUserNetworkAccessLocked()
922 Permission permission = static_cast<PhysicalNetwork*>(network)->getPermission(); in modifyFallthroughLocked()
H A DAndroid.bp288 "PhysicalNetwork.cpp",