Home
last modified time | relevance | path

Searched refs:Network (Results 1 – 14 of 14) sorted by relevance

/system/netd/server/
DNetwork.cpp22 Network::~Network() { in ~Network()
28 unsigned Network::getNetId() const { in getNetId()
32 bool Network::hasInterface(const std::string& interface) const { in hasInterface()
36 const std::set<std::string>& Network::getInterfaces() const { in getInterfaces()
40 int Network::clearInterfaces() { in clearInterfaces()
52 Network::Network(unsigned netId) : mNetId(netId) { in Network() function in Network
DNetworkController.cpp125 if (entry.second->getType() == Network::VIRTUAL) { in modifyFallthrough()
153 Network* network = getNetworkLocked(netId); in setDefaultNetwork()
158 if (network->getType() != Network::PHYSICAL) { in setDefaultNetwork()
168 Network* network = getNetworkLocked(mDefaultNetId); in setDefaultNetwork()
169 if (!network || network->getType() != Network::PHYSICAL) { in setDefaultNetwork()
276 Network* network = getNetworkLocked(netId); in isVirtualNetwork()
277 return network && network->getType() == Network::VIRTUAL; in isVirtualNetwork()
336 Network* network = getNetworkLocked(netId); in destroyNetwork()
351 } else if (network->getType() == Network::VIRTUAL) { in destroyNetwork()
412 Network* network = getNetworkLocked(netId); in setPermissionForNetworks()
[all …]
DNetwork.h26 class Network {
38 virtual ~Network();
52 explicit Network(unsigned netId);
DDummyNetwork.cpp27 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) { in DummyNetwork()
34 Network::Type DummyNetwork::getType() const { in getType()
DLocalNetwork.cpp24 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) { in LocalNetwork()
30 Network::Type LocalNetwork::getType() const { in getType()
DNetworkController.h31 class Network; variable
95 Network* getNetworkLocked(unsigned netId) const;
110 std::map<unsigned, Network*> mNetworks; // Map keys are NetIds.
DVirtualNetwork.cpp25 Network(netId), mHasDns(hasDns), mSecure(secure) { in VirtualNetwork()
67 Network::Type VirtualNetwork::getType() const { in getType()
DLocalNetwork.h22 class LocalNetwork : public Network {
DDummyNetwork.h22 class DummyNetwork : public Network {
DPhysicalNetwork.cpp58 Network(netId), mDelegate(delegate), mPermission(PERMISSION_NONE), mIsDefault(false) { in PhysicalNetwork()
120 Network::Type PhysicalNetwork::getType() const { in getType()
DVirtualNetwork.h30 class VirtualNetwork : public Network {
DPhysicalNetwork.h23 class PhysicalNetwork : public Network {
DAndroid.mk63 Network.cpp \
/system/bt/doc/
Dnetwork_ports.md1 Network Ports