Home
last modified time | relevance | path

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

12

/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.java78 public native static boolean bindProcessToNetwork(int netId); in bindProcessToNetwork()
94 public native static boolean bindProcessToNetworkForHostResolution(int netId); in bindProcessToNetworkForHostResolution()
101 public native static int bindSocketToNetwork(int socketfd, int netId); in bindSocketToNetwork()
124 public native static boolean queryUserAccess(int uid, int netId); in queryUserAccess()
133 int netId, byte[] msg, int msglen, int flags) throws ErrnoException; in resNetworkSend()
143 int netId, String dname, int nsClass, int nsType, int flags) throws ErrnoException; in resNetworkQuery()
DITestNetworkManager.aidl36 void teardownTestNetwork(int netId); in teardownTestNetwork()
DNetwork.java67 public final int netId; field in Network
112 public Network(int netId) { in Network()
119 public Network(int netId, boolean privateDnsBypass) { in Network()
DConnectivityMetricsEvent.java36 public int netId; field in ConnectivityMetricsEvent
/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/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/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
381 private long getTransports(int netId) { in getTransports()
DDnsManager.java146 final public int netId; field in DnsManager.PrivateDnsValidationUpdate
151 public PrivateDnsValidationUpdate(int netId, InetAddress ipAddress, in PrivateDnsValidationUpdate()
277 public void updatePrivateDnsStatus(int netId, LinkProperties lp) { in updatePrivateDnsStatus()
308 int netId, LinkProperties lp, boolean isDefaultNetwork) { in setDnsConfigurationForNetwork()
/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()
343 void addVpnUidRanges(int netId, in UidRange[] ranges); in addVpnUidRanges()
348 void removeVpnUidRanges(int netId, in UidRange[] ranges); in removeVpnUidRanges()
368 void addInterfaceToNetwork(String iface, int netId); in addInterfaceToNetwork()
373 void removeInterfaceFromNetwork(String iface, int netId); in removeInterfaceFromNetwork()
375 void addLegacyRouteForNetId(int netId, in RouteInfo routeInfo, int uid); in addLegacyRouteForNetId()
377 void setDefaultNetId(int netId); in setDefaultNetId()
385 void setNetworkPermission(int netId, int permission); in setNetworkPermission()
/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp198 static jboolean android_net_utils_bindProcessToNetwork(JNIEnv *env, jobject thiz, jint netId) in android_net_utils_bindProcessToNetwork()
209 jint netId) in android_net_utils_bindProcessToNetworkForHostResolution()
215 jint netId) in android_net_utils_bindSocketToNetwork()
225 static jboolean android_net_utils_queryUserAccess(JNIEnv *env, jobject thiz, jint uid, jint netId) in android_net_utils_queryUserAccess()
239 static jobject android_net_utils_resNetworkQuery(JNIEnv *env, jobject thiz, jint netId, in android_net_utils_resNetworkQuery()
259 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/tests/net/java/com/android/server/connectivity/
DLingerMonitorTest.java352 NetworkAgentInfo nai(int netId, int transport, int networkType, String networkTypeName) { in nai()
364 NetworkAgentInfo wifiNai(int netId) { in wifiNai()
369 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/base/services/core/java/com/android/server/
DNetworkManagementService.java896 public void addRoute(int netId, RouteInfo route) { in addRoute()
901 public void removeRoute(int netId, RouteInfo route) { in removeRoute()
905 private void modifyRoute(boolean add, int netId, RouteInfo route) { in modifyRoute()
1089 int netId = (network != null) ? network.netId : ConnectivityManager.NETID_UNSET; in setDnsForwarders() local
1618 public void addVpnUidRanges(int netId, UidRange[] ranges) { in addVpnUidRanges()
1629 public void removeVpnUidRanges(int netId, UidRange[] ranges) { in removeVpnUidRanges()
2054 public void addInterfaceToNetwork(String iface, int netId) { in addInterfaceToNetwork()
2059 public void removeInterfaceFromNetwork(String iface, int netId) { in removeInterfaceFromNetwork()
2063 private void modifyInterfaceInNetwork(boolean add, int netId, String iface) { in modifyInterfaceInNetwork()
2077 public void addLegacyRouteForNetId(int netId, RouteInfo routeInfo, int uid) { in addLegacyRouteForNetId()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java103 int netId = 0; in calculateAndReportScore() local
245 private void logLinkMetrics(WifiInfo wifiInfo, long now, int netId, in logLinkMetrics()
DNetworkUpdateResult.java22 int netId; field in NetworkUpdateResult
/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()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl88 boolean removeNetwork(int netId, String packageName); in removeNetwork()
90 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork()
92 boolean disableNetwork(int netId, String packageName); in disableNetwork()

12