Lines Matching refs:mNetId
78 ALOGE("Error closing sockets for netId %d permission change", mNetId); in destroySocketsLackingPermission()
81 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission()
84 mNetId, permission, strerror(-ret)); in destroySocketsLackingPermission()
113 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission()
116 interface.c_str(), mNetId, mPermission, permission); in setPermission()
123 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission()
126 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission()
144 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault()
157 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault()
173 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(), in addInterface()
175 ALOGE("failed to add interface %s to netId %u", interface.c_str(), mNetId); in addInterface()
179 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addInterface()
192 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeInterface()
200 if (int ret = RouteController::removeInterfaceFromPhysicalNetwork(mNetId, interface.c_str(), in removeInterface()
202 ALOGE("failed to remove interface %s from netId %u", interface.c_str(), mNetId); in removeInterface()