/aosp12/system/netd/server/ |
H A D | PhysicalNetwork.cpp | 74 ALOGE("Error closing sockets for netId %d permission change", mNetId); in destroySocketsLackingPermission() 77 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission() 80 mNetId, permission, strerror(-ret)); in destroySocketsLackingPermission() 112 interface.c_str(), mNetId, mPermission, permission); in setPermission() 119 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission() 140 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault() 153 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault() 167 int ret = RouteController::addUsersToPhysicalNetwork(mNetId, interface.c_str(), in addUsers() 199 ALOGE("failed to add interface %s to netId %u", interface.c_str(), mNetId); in addInterface() 203 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addInterface() [all …]
|
H A D | VirtualNetwork.cpp | 40 int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() 43 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); in addUsers() 55 int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), mSecure, in removeUsers() 58 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); in removeUsers() 70 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface() 72 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); in addInterface() 83 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface() 85 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId); in removeInterface()
|
H A D | LocalNetwork.cpp | 38 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) { in addInterface() 39 ALOGE("failed to add interface %s to local netId %u", interface.c_str(), mNetId); in addInterface() 50 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) { in removeInterface() 51 ALOGE("failed to remove interface %s from local netId %u", interface.c_str(), mNetId); in removeInterface()
|
H A D | Network.cpp | 32 ALOGE("deleting network with netId %u without clearing its interfaces", mNetId); in ~Network() 37 return mNetId; in getNetId() 64 repr << mNetId << kSeparator << getTypeString(); in toString() 139 Network::Network(unsigned netId, bool secure) : mNetId(netId), mSecure(secure) {} in Network()
|
H A D | UnreachableNetwork.cpp | 34 int ret = RouteController::addUsersToUnreachableNetwork(mNetId, {{subPriority, uidRanges}}); in addUsers() 47 RouteController::removeUsersFromUnreachableNetwork(mNetId, {{subPriority, uidRanges}}); in removeUsers()
|
H A D | Network.h | 70 const unsigned mNetId; variable
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | NetworkUpdateResult.java | 24 private final int mNetId; field in NetworkUpdateResult 40 mNetId = netId; in NetworkUpdateResult() 53 return mNetId; in getNetworkId() 73 return mNetId != INVALID_NETWORK_ID; in isSuccess() 81 return mNetId == that.mNetId in equals() 90 return Objects.hash(mNetId, mIpChanged, mProxyChanged, mCredentialChanged, mIsNewNetwork); in hashCode() 96 + "mNetId=" + mNetId in toString()
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
H A D | WifiP2pGroup.java | 80 private int mNetId; field in WifiP2pGroup 141 mNetId = NETWORK_ID_PERSISTENT; in WifiP2pGroup() 143 mNetId = NETWORK_ID_TEMPORARY; in WifiP2pGroup() 147 mNetId = NETWORK_ID_PERSISTENT; in WifiP2pGroup() 168 mNetId = Integer.parseInt(nameValue[1]); in WifiP2pGroup() 281 return mNetId; in getNetworkId() 287 this.mNetId = netId; in setNetworkId() 309 sbuf.append("\n networkId: ").append(mNetId); in toString() 328 mNetId = source.getNetworkId(); in WifiP2pGroup() 344 dest.writeInt(mNetId); in writeToParcel()
|
H A D | WifiP2pConfig.java | 286 private int mNetId = WifiP2pGroup.NETWORK_ID_TEMPORARY; field in WifiP2pConfig.Builder 466 mNetId = WifiP2pGroup.NETWORK_ID_PERSISTENT; in enablePersistentMode() 468 mNetId = WifiP2pGroup.NETWORK_ID_TEMPORARY; in enablePersistentMode() 502 config.netId = mNetId; in build()
|
/aosp12/packages/modules/DnsResolver/tests/unsolicited_listener/ |
H A D | unsolicited_event_listener.h | 35 UnsolicitedEventListener(int32_t netId) : mNetId(netId){}; in UnsolicitedEventListener() 58 return mValidationRecords.find({mNetId, serverAddr}) != mValidationRecords.end(); in findValidationRecord() 84 const int32_t mNetId; variable
|
H A D | unsolicited_event_listener.cpp | 40 if (event.netId == mNetId) mDnsHealthResultRecords.push(event.healthResult); in onDnsHealthEvent() 48 if (event.netId == mNetId) { in onNat64PrefixEvent() 77 if (findAndRemoveValidationRecord({mNetId, serverAddr}, validation)) return true; in waitForPrivateDnsValidation()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
H A D | NetworkListAdapter.java | 84 vh.netId.setText("" + mNetworkList[position].mNetId); in getView() 146 mFragment.releaseNetworkById(mNetworkList[position].mNetId); in onRequestClicked() 149 mFragment.requestNetworkById(mNetworkList[position].mNetId); in onRequestClicked() 166 mFragment.bindToNetwork(mNetworkList[position].mNetId); in onDefaultClicked() 174 mFragment.reportNetworkbyId(mNetworkList[position].mNetId); in onReportClicked()
|
H A D | ConnectivityFragment.java | 122 public int mNetId; field in ConnectivityFragment.NetworkItem 216 releaseNetworkById(n.mNetId); in releaseAllNetworks() 391 ni.mNetId = n.getNetId(); in getNetworkItem()
|
/aosp12/packages/modules/DnsResolver/tests/dns_metrics_listener/ |
H A D | dns_metrics_listener.h | 57 DnsMetricsListener(int32_t netId) : mNetId(netId){}; in DnsMetricsListener() 90 return mValidationRecords.find({mNetId, serverAddr}) != mValidationRecords.end(); in findValidationRecord() 112 const int32_t mNetId; variable
|
H A D | dns_metrics_listener.cpp | 51 if (netId == mNetId) mNat64Prefix = added ? prefixString : ""; in onNat64PrefixEvent() 73 if (netId == mNetId) { in onDnsEvent() 105 if (findAndRemoveValidationRecord({mNetId, serverAddr}, validated)) return true; in waitForPrivateDnsValidation()
|
/aosp12/packages/modules/Connectivity/core/java/android/net/ |
H A D | Network.java | 91 private final int mNetId; field in Network.NetworkBoundSocketFactory 95 mNetId = netId; in NetworkBoundSocketFactory() 150 NetworkUtils.bindSocketToNetwork(socket.getFileDescriptor$().getInt$(), mNetId); in createSocket() local
|
/aosp12/packages/modules/DnsResolver/tests/dns_responder/ |
H A D | dns_responder.h | 165 mNetId = netId; in DNSResponder() 203 void setNetwork(unsigned netId) { mNetId = netId; } in setNetwork() 204 std::optional<unsigned> getNetwork() const { return mNetId; } in getNetwork() 362 std::optional<unsigned> mNetId; variable
|
/aosp12/packages/modules/DnsResolver/ |
H A D | DnsTlsDispatcher.h | 88 mNetId(netId), in Transport() 98 const unsigned mNetId; member
|
H A D | DnsTlsDispatcher.cpp | 284 if (s->useCount == 0 && s->mNetId == netId) { in forceCleanupLocked()
|
/aosp12/packages/modules/DnsResolver/tests/ |
H A D | resolv_integration_test.cpp | 6067 : mNetId(netId), in ScopedNetwork() 6075 if (mNetdSrv != nullptr) mNetdSrv->networkDestroy(mNetId); in ~ScopedNetwork() 6085 unsigned netId() const { return mNetId; } in netId() 6092 const unsigned mNetId; member in ResolverMultinetworkTest::ScopedNetwork 6106 return StringPrintf("192.168.%u.%u", (mNetId - TEST_NETID_BASE), n); in makeIpv4AddrString() 6189 r = mNetdSrv->networkCreateVpn(mNetId, mIsSecure); in createNetwork() 6263 if (auto r = mDnsResolvSrv->createNetworkCache(mNetId); !r.isOk()) { in init() 6266 if (auto r = mNetdSrv->networkAddInterface(mNetId, mIfname); !r.isOk()) { in init() 6337 parcel.netId = mNetId; in setDnsConfiguration() 6347 return mDnsResolvSrv->destroyNetworkCache(mNetId).isOk() && in clearDnsConfiguration() [all …]
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/ |
H A D | ConnectivityService.java | 3561 private final int mNetId; field in ConnectivityService.NetworkMonitorCallbacks 3565 mNetId = nai.network.getNetId(); in NetworkMonitorCallbacks() 3590 mNetId, p.result, p.timestampMillis, p.redirectUrl)); in notifyNetworkTestedWithExtras() 3594 final NetworkAgentInfo nai = getNetworkAgentInfoForNetId(mNetId); in notifyNetworkTestedWithExtras() 3613 0, mNetId, PrivateDnsConfig.fromParcel(config))); in notifyPrivateDnsConfigResolved() 3620 probesCompleted, probesSucceeded, new Integer(mNetId))); in notifyProbeStatusChanged() 3627 0, mNetId, data)); in notifyCaptivePortalDataChanged() 3649 mNetId, pendingIntent)); in showProvisioningNotification() 3660 ConnectivityService.this.notifyDataStallSuspected(p, mNetId); in notifyDataStallSuspected() 9178 private final int mNetId; field in ConnectivityService.NetworkTestedResults [all …]
|
/aosp12/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 507 Landroid/net/Network$NetworkBoundSocketFactory;->mNetId:I
|
/aosp12/packages/modules/Wifi/apex/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 1185 Landroid/net/wifi/p2p/WifiP2pGroup;->mNetId:I
|