Home
last modified time | relevance | path

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

/system/netd/server/
DNetworkController.cpp385 int NetworkController::createPhysicalOemNetwork(Permission permission, unsigned *pNetId) { in createPhysicalOemNetwork() argument
386 if (pNetId == nullptr) { in createPhysicalOemNetwork()
391 for (*pNetId = MIN_OEM_ID; *pNetId <= MAX_OEM_ID; (*pNetId)++) { in createPhysicalOemNetwork()
392 if (!isValidNetworkLocked(*pNetId)) { in createPhysicalOemNetwork()
397 if (*pNetId > MAX_OEM_ID) { in createPhysicalOemNetwork()
399 *pNetId = 0; in createPhysicalOemNetwork()
403 int ret = createPhysicalNetworkLocked(*pNetId, permission); in createPhysicalOemNetwork()
405 *pNetId = 0; in createPhysicalOemNetwork()