Home
last modified time | relevance | path

Searched refs:mDefaultNetId (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DNetworkController.cpp142 mDelegateImpl(new NetworkController::DelegateImpl(this)), mDefaultNetId(NETID_UNSET), in NetworkController()
167 return mDefaultNetId; in getDefaultNetwork()
173 if (netId == mDefaultNetId) { in setDefaultNetwork()
192 if (mDefaultNetId != NETID_UNSET) { in setDefaultNetwork()
193 Network* network = getNetworkLocked(mDefaultNetId); in setDefaultNetwork()
195 ALOGE("cannot find previously set default network with netId %u", mDefaultNetId); in setDefaultNetwork()
203 mDefaultNetId = netId; in setDefaultNetwork()
213 unsigned defaultNetId = appDefaultNetwork ? appDefaultNetwork->getNetId() : mDefaultNetId; in getNetworkForDnsLocked()
269 return mDefaultNetId; in getNetworkForUser()
302 return mDefaultNetId; in getNetworkForConnectLocked()
[all …]
DNetworkController.h181 unsigned mDefaultNetId; variable