Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java42 public void onDeleteGroup(int netId); in onDeleteGroup()
95 public void remove(int netId) { in remove()
178 public String getOwnerAddr(int netId) { in getOwnerAddr()
195 public boolean contains(int netId) { in contains()
DWifiP2pConfig.java55 public int netId = WifiP2pGroup.PERSISTENT_NET_ID; field in WifiP2pConfig
DWifiP2pGroup.java260 public void setNetworkId(int netId) { in setNetworkId()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl107 void addRoute(int netId, in RouteInfo route); in addRoute()
112 void removeRoute(int netId, in RouteInfo route); in removeRoute()
313 void setDnsConfigurationForNetwork(int netId, in String[] servers, String domains); in setDnsConfigurationForNetwork()
327 void addVpnUidRanges(int netId, in UidRange[] ranges); in addVpnUidRanges()
332 void removeVpnUidRanges(int netId, in UidRange[] ranges); in removeVpnUidRanges()
369 void createPhysicalNetwork(int netId, String permission); in createPhysicalNetwork()
374 void createVirtualNetwork(int netId, boolean hasDNS, boolean secure); in createVirtualNetwork()
379 void removeNetwork(int netId); in removeNetwork()
384 void addInterfaceToNetwork(String iface, int netId); in addInterfaceToNetwork()
389 void removeInterfaceFromNetwork(String iface, int netId); in removeInterfaceFromNetwork()
[all …]
/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java63 public final int netId; field in NetworkEvent
67 public NetworkEvent(int netId, @EventType int eventType, long durationMs) { in NetworkEvent()
73 public NetworkEvent(int netId, @EventType int eventType) { in NetworkEvent()
DDnsEvent.java32 public final int netId; field in DnsEvent
49 public DnsEvent(int netId, long transports, int initialCapacity) { in DnsEvent()
DDefaultNetworkEvent.java29 public final int netId; field in DefaultNetworkEvent
39 public DefaultNetworkEvent(int netId, int[] transportTypes, in DefaultNetworkEvent()
DConnectStats.java35 public final int netId; field in ConnectStats
53 public ConnectStats(int netId, long transports, TokenBucket tb, int maxLatencyRecords) { in ConnectStats()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java101 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent()
122 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent()
176 private ConnectStats makeConnectStats(int netId) { in makeConnectStats()
181 private DnsEvent makeDnsEvent(int netId) { in makeDnsEvent()
186 private long getTransports(int netId) { in getTransports()
/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/jni/
Dandroid_net_NetUtils.cpp294 static jboolean android_net_utils_bindProcessToNetwork(JNIEnv *env, jobject thiz, jint netId) in android_net_utils_bindProcessToNetwork()
305 jint netId) in android_net_utils_bindProcessToNetworkForHostResolution()
311 jint netId) in android_net_utils_bindSocketToNetwork()
321 static jboolean android_net_utils_queryUserAccess(JNIEnv *env, jobject thiz, jint uid, jint netId) in android_net_utils_queryUserAccess()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java137 public boolean removeP2pNetwork(int netId) { in removeP2pNetwork()
375 public boolean p2pGroupAdd(int netId) { in p2pGroupAdd()
430 public boolean p2pReinvoke(int netId, String deviceAddress) { in p2pReinvoke()
577 public String getP2pClientList(int netId) { in getP2pClientList()
588 public boolean setP2pClientList(int netId, String list) { in setP2pClientList()
DWifiP2pServiceImpl.java1464 int netId = message.arg1; in processMessage() local
1902 int netId = mSavedPeerConfig.netId; in processMessage() local
2245 int netId = mGroup.getNetworkId(); in processMessage() local
2706 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup() local
2722 int netId = WifiP2pGroup.PERSISTENT_NET_ID; in reinvokePersistentGroup() local
2765 int netId = group.getNetworkId(); in getNetworkIdFromClientList() local
2782 private String[] getClientList(int netId) { in getClientList()
2798 private boolean removeClientFromList(int netId, String addr, boolean isRemovable) { in removeClientFromList()
/frameworks/base/core/java/android/net/
DNetworkUtils.java80 public native static boolean bindProcessToNetwork(int netId); in bindProcessToNetwork()
96 public native static boolean bindProcessToNetworkForHostResolution(int netId); in bindProcessToNetworkForHostResolution()
103 public native static int bindSocketToNetwork(int socketfd, int netId); in bindSocketToNetwork()
125 public native static boolean queryUserAccess(int uid, int netId); in queryUserAccess()
DNetwork.java64 public final int netId; field in Network
89 public Network(int netId) { in Network()
132 public NetworkBoundSocketFactory(int netId) { in NetworkBoundSocketFactory()
DConnectivityMetricsEvent.java35 public int netId; field in ConnectivityMetricsEvent
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1083 public void addRoute(int netId, RouteInfo route) { in addRoute()
1088 public void removeRoute(int netId, RouteInfo route) { in removeRoute()
1092 private void modifyRoute(String action, String netId, RouteInfo route) { in modifyRoute()
1283 int netId = (network != null) ? network.netId : ConnectivityManager.NETID_UNSET; in setDnsForwarders() local
1824 public void setDnsConfigurationForNetwork(int netId, String[] servers, String domains) { in setDnsConfigurationForNetwork()
1869 public void addVpnUidRanges(int netId, UidRange[] ranges) { in addVpnUidRanges()
1891 public void removeVpnUidRanges(int netId, UidRange[] ranges) { in removeVpnUidRanges()
2406 public void createPhysicalNetwork(int netId, String permission) { in createPhysicalNetwork()
2421 public void createVirtualNetwork(int netId, boolean hasDNS, boolean secure) { in createVirtualNetwork()
2433 public void removeNetwork(int netId) { in removeNetwork()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DLingerMonitorTest.java336 NetworkAgentInfo nai(int netId, int transport, int networkType, String networkTypeName) { in nai()
347 NetworkAgentInfo wifiNai(int netId) { in wifiNai()
352 NetworkAgentInfo cellNai(int netId) { in cellNai()
DNetdEventListenerServiceTest.java278 Thread connectEventAction(int netId, int error, int latencyMs, String ipAddr) { in connectEventAction()
DIpConnectivityMetricsTest.java409 void dnsEvent(int netId, int type, int result, int latency) throws Exception { in dnsEvent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java22 int netId; field in NetworkUpdateResult
DSupplicantStateTracker.java126 private void handleNetworkConnectionFailure(int netId, int disableReason) { in handleNetworkConnectionFailure()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl78 boolean removeNetwork(int netId); in removeNetwork()
80 boolean enableNetwork(int netId, boolean disableOthers); in enableNetwork()
82 boolean disableNetwork(int netId); in disableNetwork()
DWifiManager.java1198 public boolean removeNetwork(int netId) { in removeNetwork()
1234 public boolean enableNetwork(int netId, boolean attemptConnect) { in enableNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTestUtil.java151 int netId = 0; in generateWifiConfigurations() local

12