Searched refs:Network (Results 1 - 13 of 13) sorted by relevance

/system/netd/server/
H A DNetwork.cpp17 #include "Network.h"
22 Network::~Network() {
28 unsigned Network::getNetId() const {
32 bool Network::hasInterface(const std::string& interface) const {
36 const std::set<std::string>& Network::getInterfaces() const {
40 int Network::clearInterfaces() {
52 Network::Network(unsigned netId) : mNetId(netId) { function in class:Network
H A DDummyNetwork.cpp27 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) {
34 Network::Type DummyNetwork::getType() const {
H A DNetwork.h25 // A Network represents a collection of interfaces participating as a single administrative unit.
26 class Network { class
38 virtual ~Network();
52 explicit Network(unsigned netId);
H A DLocalNetwork.cpp24 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) {
30 Network::Type LocalNetwork::getType() const {
H A DDummyNetwork.h20 #include "Network.h"
22 class DummyNetwork : public Network {
H A DLocalNetwork.h20 #include "Network.h"
22 class LocalNetwork : public Network {
H A DVirtualNetwork.h20 #include "Network.h"
30 class VirtualNetwork : public Network {
H A DNetworkController.cpp125 if (entry.second->getType() == Network::VIRTUAL) {
153 Network* network = getNetworkLocked(netId);
158 if (network->getType() != Network::PHYSICAL) {
168 Network* network = getNetworkLocked(mDefaultNetId);
169 if (!network || network->getType() != Network::PHYSICAL) {
276 Network* network = getNetworkLocked(netId);
277 return network && network->getType() == Network::VIRTUAL;
336 Network* network = getNetworkLocked(netId);
351 } else if (network->getType() == Network::VIRTUAL) {
412 Network* networ
[all...]
H A DVirtualNetwork.cpp25 Network(netId), mHasDns(hasDns), mSecure(secure) {
67 Network::Type VirtualNetwork::getType() const {
H A DNetworkController.h31 class Network;
95 Network* getNetworkLocked(unsigned netId) const;
110 std::map<unsigned, Network*> mNetworks; // Map keys are NetIds.
H A DPhysicalNetwork.h20 #include "Network.h"
23 class PhysicalNetwork : public Network {
H A DPhysicalNetwork.cpp58 Network(netId), mDelegate(delegate), mPermission(PERMISSION_NONE), mIsDefault(false) {
120 Network::Type PhysicalNetwork::getType() const {
H A DAndroid.mk63 Network.cpp \

Completed in 108 milliseconds