Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dnet.c26 static int getnetidfromhandle(net_handle_t handle, unsigned *netid) { in getnetidfromhandle() argument
38 if (netid != NULL) { in getnetidfromhandle()
39 *netid = ((handle >> (CHAR_BIT * sizeof(k32BitMask))) & k32BitMask); in getnetidfromhandle()
46 unsigned netid; in android_setsocknetwork() local
47 if (!getnetidfromhandle(network, &netid)) { in android_setsocknetwork()
52 int rval = setNetworkForSocket(netid, fd); in android_setsocknetwork()
61 unsigned netid; in android_setprocnetwork() local
62 if (!getnetidfromhandle(network, &netid)) { in android_setprocnetwork()
67 int rval = setNetworkForProcess(netid); in android_setprocnetwork()
78 unsigned netid; in android_getaddrinfofornetwork() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConfigurationMap.java108 public WifiConfiguration getForAllUsers(int netid) { in getForAllUsers() argument
109 return mPerID.get(netid); in getForAllUsers()
112 public WifiConfiguration getForCurrentUser(int netid) { in getForCurrentUser() argument
113 return mPerIDForCurrentUser.get(netid); in getForCurrentUser()
/frameworks/base/core/java/android/net/metrics/
DIpConnectivityLog.java151 public boolean log(int netid, @NonNull int[] transports, @NonNull Event data) { in log() argument
153 ev.netId = netid; in log()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java571 void connectEvent(int netid, int error, int latencyMs, String ipAddr) throws Exception { in connectEvent() argument
572 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1); in connectEvent()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4365 int netid = nai.network.netId; in handleReportNetworkConnectivity() local
4366 log("reportNetworkConnectivity(" + netid + ", " + hasConnectivity + ") by " + uid); in handleReportNetworkConnectivity()