Home
last modified time | relevance | path

Searched defs:netId (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java44 public void onDeleteGroup(int netId); in onDeleteGroup()
99 public void remove(int netId) { in remove()
182 public String getOwnerAddr(int netId) { in getOwnerAddr()
199 public boolean contains(int netId) { in contains()
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java29 public void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent()
35 public void onNat64PrefixEvent(int netId, boolean added, String prefixString, in onNat64PrefixEvent()
41 public void onPrivateDnsValidationEvent(int netId, String ipAddress, in onPrivateDnsValidationEvent()
/frameworks/base/core/java/android/net/
DINetdEventCallback.aidl44 void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent()
58 void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, in onNat64PrefixEvent()
70 void onPrivateDnsValidationEvent(int netId, String ipAddress, String hostname, in onPrivateDnsValidationEvent()
DNetworkUtils.java70 public native static boolean bindProcessToNetwork(int netId); in bindProcessToNetwork()
86 public native static boolean bindProcessToNetworkForHostResolution(int netId); in bindProcessToNetworkForHostResolution()
93 public native static int bindSocketToNetwork(int socketfd, int netId); in bindSocketToNetwork()
116 public native static boolean queryUserAccess(int uid, int netId); in queryUserAccess()
125 int netId, byte[] msg, int msglen, int flags) throws ErrnoException; in resNetworkSend()
135 int netId, String dname, int nsClass, int nsType, int flags) throws ErrnoException; in resNetworkQuery()
DITestNetworkManager.aidl38 void teardownTestNetwork(int netId); in teardownTestNetwork()
DNetwork.java69 public final int netId; field in Network
114 public Network(int netId) { in Network()
121 public Network(int netId, boolean privateDnsBypass) { in Network()
DConnectivityMetricsEvent.java36 public int netId; field in ConnectivityMetricsEvent
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java121 int netId = mWifiManager.addNetwork(config); in testAddRemoveNetwork() local
158 int netId = mWifiManager.addNetwork(config); in testEnableDisableNetwork() local
208 int netId = mWifiManager.addNetwork(config); in testSaveConfig() local
/frameworks/base/core/java/android/net/metrics/
DNetworkMetrics.java41 public final int netId; field in NetworkMetrics
55 public NetworkMetrics(int netId, long transports, TokenBucket tb) { in NetworkMetrics()
112 public final int netId; field in NetworkMetrics.Summary
130 public Summary(int netId, long transports) { in Summary()
DDnsEvent.java34 public final int netId; field in DnsEvent
53 public DnsEvent(int netId, long transports, int initialCapacity) { in DnsEvent()
DConnectStats.java36 public final int netId; field in ConnectStats
56 public ConnectStats(int netId, long transports, TokenBucket tb, int maxLatencyRecords) { in ConnectStats()
DDefaultNetworkEvent.java36 public int netId = NETID_UNSET; field in DefaultNetworkEvent
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java167 private NetworkMetrics getMetricsForNetwork(long timeMs, int netId) { in getMetricsForNetwork()
201 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent()
218 public synchronized void onNat64PrefixEvent(int netId, in onNat64PrefixEvent()
231 public synchronized void onPrivateDnsValidationEvent(int netId, in onPrivateDnsValidationEvent()
244 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent()
298 int netId = networkIds[i]; in onTcpSocketStatsEvent() local
386 private long getTransports(int netId) { in getTransports()
DDnsManager.java151 final public int netId; field in DnsManager.PrivateDnsValidationUpdate
156 public PrivateDnsValidationUpdate(int netId, InetAddress ipAddress, in PrivateDnsValidationUpdate()
292 public void updatePrivateDnsStatus(int netId, LinkProperties lp) { in updatePrivateDnsStatus()
328 public void updateTransportsForNetwork(int netId, @NonNull int[] transportTypes) { in updateTransportsForNetwork()
339 public void noteDnsServersForNetwork(int netId, @NonNull LinkProperties lp) { in noteDnsServersForNetwork()
347 public void sendDnsConfigurationForNetwork(int netId) { in sendDnsConfigurationForNetwork()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl112 void addRoute(int netId, in RouteInfo route); in addRoute()
117 void removeRoute(int netId, in RouteInfo route); in removeRoute()
331 void addVpnUidRanges(int netId, in UidRange[] ranges); in addVpnUidRanges()
336 void removeVpnUidRanges(int netId, in UidRange[] ranges); in removeVpnUidRanges()
356 void addInterfaceToNetwork(String iface, int netId); in addInterfaceToNetwork()
361 void removeInterfaceFromNetwork(String iface, int netId); in removeInterfaceFromNetwork()
363 void addLegacyRouteForNetId(int netId, in RouteInfo routeInfo, int uid); in addLegacyRouteForNetId()
365 void setDefaultNetId(int netId); in setDefaultNetId()
373 void setNetworkPermission(int netId, int permission); in setNetworkPermission()
/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp105 static jboolean android_net_utils_bindProcessToNetwork(JNIEnv *env, jobject thiz, jint netId) in android_net_utils_bindProcessToNetwork()
116 jint netId) in android_net_utils_bindProcessToNetworkForHostResolution()
122 jint netId) in android_net_utils_bindSocketToNetwork()
132 static jboolean android_net_utils_queryUserAccess(JNIEnv *env, jobject thiz, jint uid, jint netId) in android_net_utils_queryUserAccess()
146 static jobject android_net_utils_resNetworkQuery(JNIEnv *env, jobject thiz, jint netId, in android_net_utils_resNetworkQuery()
166 static jobject android_net_utils_resNetworkSend(JNIEnv *env, jobject thiz, jint netId, in android_net_utils_resNetworkSend()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java338 public boolean removeP2pNetwork(int netId) { in removeP2pNetwork()
576 public boolean p2pGroupAdd(int netId) { in p2pGroupAdd()
658 public boolean p2pReinvoke(int netId, String deviceAddress) { in p2pReinvoke()
805 public String getP2pClientList(int netId) { in getP2pClientList()
816 public boolean setP2pClientList(int netId, String list) { in setP2pClientList()
/frameworks/base/services/core/java/com/android/server/
DNetIdManager.java58 int netId = lastId; in getNextAvailableNetIdLocked() local
DNetworkManagementService.java908 public void addRoute(int netId, RouteInfo route) { in addRoute()
914 public void removeRoute(int netId, RouteInfo route) { in removeRoute()
1065 int netId = (network != null) ? network.netId : ConnectivityManager.NETID_UNSET; in setDnsForwarders() local
1553 public void addVpnUidRanges(int netId, UidRange[] ranges) { in addVpnUidRanges()
1564 public void removeVpnUidRanges(int netId, UidRange[] ranges) { in removeVpnUidRanges()
1989 public void addInterfaceToNetwork(String iface, int netId) { in addInterfaceToNetwork()
1994 public void removeInterfaceFromNetwork(String iface, int netId) { in removeInterfaceFromNetwork()
1998 private void modifyInterfaceInNetwork(boolean add, int netId, String iface) { in modifyInterfaceInNetwork()
2012 public void addLegacyRouteForNetId(int netId, RouteInfo routeInfo, int uid) { in addLegacyRouteForNetId()
2033 public void setDefaultNetId(int netId) { in setDefaultNetId()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DLingerMonitorTest.java351 NetworkAgentInfo nai(int netId, int transport, int networkType, String networkTypeName) { in nai()
363 NetworkAgentInfo wifiNai(int netId) { in wifiNai()
368 NetworkAgentInfo cellNai(int netId) { in cellNai()
DIpConnectivityMetricsTest.java575 void dnsEvent(int netId, int type, int result, int latency) throws Exception { in dnsEvent()
585 NetworkAgentInfo makeNai(int netId, int score, boolean ipv4, boolean ipv6, long transports) { in makeNai()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java22 int netId; field in NetworkUpdateResult
DWifiScoreReport.java104 int netId = 0; in calculateAndReportScore() local
249 private void logLinkMetrics(WifiInfo wifiInfo, long now, int netId, in logLinkMetrics()
/frameworks/base/tests/net/common/java/android/net/metrics/
DIpConnectivityLogTest.java138 private ConnectivityMetricsEvent makeExpectedEvent(long timestamp, int netId, long transports, in makeExpectedEvent()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java152 public boolean removeNetwork(int netId, String packageName) { in removeNetwork()
157 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork()
162 public boolean disableNetwork(int netId, String packageName) { in disableNetwork()

123