Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java57 public final int netId; field in NetworkEvent
62 public NetworkEvent(int netId, @EventType int eventType, long durationMs) { in NetworkEvent()
69 public NetworkEvent(int netId, @EventType int eventType) { in NetworkEvent()
102 public static void logEvent(int netId, int eventType) { in logEvent()
105 public static void logValidated(int netId, long durationMs) { in logValidated()
108 public static void logCaptivePortalFound(int netId, long durationMs) { in logCaptivePortalFound()
DDnsEvent.java29 public final int netId; field in DnsEvent
42 public DnsEvent(int netId, byte[] eventTypes, byte[] returnCodes, int[] latenciesMs) { in DnsEvent()
87 int netId, byte[] eventTypes, byte[] returnCodes, int[] latenciesMs) { in logEvent()
DDefaultNetworkEvent.java31 public final int netId; field in DefaultNetworkEvent
42 public DefaultNetworkEvent(int netId, int[] transportTypes, in DefaultNetworkEvent()
111 int netId, int[] transports, int prevNetId, boolean hadIPv4, boolean hadIPv6) { in logEvent()
DValidationProbeEvent.java55 public final int netId; field in ValidationProbeEvent
62 int netId, long durationMs, @ProbeType int probeType, @ReturnCode int returnCode) { in ValidationProbeEvent()
105 public static void logEvent(int netId, long durationMs, int probeType, int returnCode) { in logEvent()
/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.aidl108 void addRoute(int netId, in RouteInfo route); in addRoute()
113 void removeRoute(int netId, in RouteInfo route); in removeRoute()
335 void setDnsConfigurationForNetwork(int netId, in String[] servers, String domains); in setDnsConfigurationForNetwork()
340 void setDnsServersForNetwork(int netId, in String[] servers, String domains); in setDnsServersForNetwork()
354 void addVpnUidRanges(int netId, in UidRange[] ranges); in addVpnUidRanges()
359 void removeVpnUidRanges(int netId, in UidRange[] ranges); in removeVpnUidRanges()
396 void createPhysicalNetwork(int netId, String permission); in createPhysicalNetwork()
401 void createVirtualNetwork(int netId, boolean hasDNS, boolean secure); in createVirtualNetwork()
406 void removeNetwork(int netId); in removeNetwork()
411 void addInterfaceToNetwork(String iface, int netId); in addInterfaceToNetwork()
[all …]
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java523 Integer netId = (Integer) entry.getKey(); in getMatchingConfig() local
623 public WifiConfiguration getWifiConfiguration(int netId) { in getWifiConfiguration()
782 int netId = result.getNetworkId(); in saveNetwork() local
827 void updateStatus(int netId, DetailedState state) { in updateStatus()
887 boolean forgetNetwork(int netId) { in forgetNetwork()
1151 boolean removeNetwork(int netId) { in removeNetwork()
1307 boolean selectNetworkWithoutBroadcast(int netId) { in selectNetworkWithoutBroadcast()
1332 boolean disableNetwork(int netId) { in disableNetwork()
1343 boolean updateNetworkSelectionStatus(int netId, int reason) { in updateNetworkSelectionStatus()
1554 StaticIpConfiguration getStaticIpConfiguration(int netId) { in getStaticIpConfiguration()
[all …]
DWifiConfigStore.java229 private void readNetworkBitsetVariable(int netId, BitSet variable, String varName, in readNetworkBitsetVariable()
255 int netId = config.networkId; in readNetworkVariables() local
611 private boolean saveNetwork(WifiConfiguration config, int netId) { in saveNetwork()
800 int netId = config.networkId; in addOrUpdateNetwork() local
1156 private void markAllNetworksDisabledExcept(int netId, Collection<WifiConfiguration> configs) { in markAllNetworksDisabledExcept()
1274 SupplicantSaver(int netId, String setterSSID) { in SupplicantSaver()
1307 SupplicantLoader(int netId) { in SupplicantLoader()
DNetworkUpdateResult.java22 int netId; field in NetworkUpdateResult
DWifiNative.java410 public boolean setNetworkExtra(int netId, String name, Map<String, String> values) { in setNetworkExtra()
424 public boolean setNetworkVariable(int netId, String name, String value) { in setNetworkVariable()
434 public Map<String, String> getNetworkExtra(int netId, String name) { in getNetworkExtra()
467 public String getNetworkVariable(int netId, String name) { in getNetworkVariable()
474 public boolean removeNetwork(int netId) { in removeNetwork()
496 public boolean enableNetwork(int netId) { in enableNetwork()
506 public boolean enableNetworkWithoutConnect(int netId) { in enableNetworkWithoutConnect()
516 public boolean disableNetwork(int netId) { in disableNetwork()
526 public boolean selectNetwork(int netId) { in selectNetwork()
1296 public boolean p2pGroupAdd(int netId) { in p2pGroupAdd()
[all …]
DWifiServiceImpl.java478 public String getWpsNfcConfigurationToken(int netId) { in getWpsNfcConfigurationToken()
902 public boolean removeNetwork(int netId) { in removeNetwork()
920 public boolean enableNetwork(int netId, boolean disableOthers) { in enableNetwork()
937 public boolean disableNetwork(int netId) { in disableNetwork()
DSupplicantStateTracker.java112 private void handleNetworkConnectionFailure(int netId, int disableReason) { in handleNetworkConnectionFailure()
/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp221 static jboolean android_net_utils_bindProcessToNetwork(JNIEnv *env, jobject thiz, jint netId) in android_net_utils_bindProcessToNetwork()
232 jint netId) in android_net_utils_bindProcessToNetworkForHostResolution()
238 jint netId) in android_net_utils_bindSocketToNetwork()
248 static jboolean android_net_utils_queryUserAccess(JNIEnv *env, jobject thiz, jint uid, jint netId) in android_net_utils_queryUserAccess()
/frameworks/base/core/java/android/net/
DNetworkUtils.java69 public native static boolean bindProcessToNetwork(int netId); in bindProcessToNetwork()
84 public native static boolean bindProcessToNetworkForHostResolution(int netId); in bindProcessToNetworkForHostResolution()
91 public native static int bindSocketToNetwork(int socketfd, int netId); in bindSocketToNetwork()
113 public native static boolean queryUserAccess(int uid, int netId); in queryUserAccess()
DNetwork.java60 public final int netId; field in Network
85 public Network(int netId) { in Network()
128 public NetworkBoundSocketFactory(int netId) { in NetworkBoundSocketFactory()
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DDnsEventListenerServiceTest.java159 void log(int netId, int[] latencies) { in log()
165 void logAsync(int netId, int[] latencies) { in logAsync()
DLingerMonitorTest.java320 NetworkAgentInfo nai(int netId, int transport, int networkType, String networkTypeName) { in nai()
331 NetworkAgentInfo wifiNai(int netId) { in wifiNai()
336 NetworkAgentInfo cellNai(int netId) { in cellNai()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1134 public void addRoute(int netId, RouteInfo route) { in addRoute()
1139 public void removeRoute(int netId, RouteInfo route) { in removeRoute()
1143 private void modifyRoute(String action, String netId, RouteInfo route) { in modifyRoute()
1334 int netId = (network != null) ? network.netId : ConnectivityManager.NETID_UNSET; in setDnsForwarders() local
1979 public void setDnsConfigurationForNetwork(int netId, String[] servers, String domains) { in setDnsConfigurationForNetwork()
2024 public void setDnsServersForNetwork(int netId, String[] servers, String domains) { in setDnsServersForNetwork()
2049 public void addVpnUidRanges(int netId, UidRange[] ranges) { in addVpnUidRanges()
2071 public void removeVpnUidRanges(int netId, UidRange[] ranges) { in removeVpnUidRanges()
2579 public void createPhysicalNetwork(int netId, String permission) { in createPhysicalNetwork()
2594 public void createVirtualNetwork(int netId, boolean hasDNS, boolean secure) { in createVirtualNetwork()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl72 boolean removeNetwork(int netId); in removeNetwork()
74 boolean enableNetwork(int netId, boolean disableOthers); in enableNetwork()
76 boolean disableNetwork(int netId); in disableNetwork()
148 String getWpsNfcConfigurationToken(int netId); in getWpsNfcConfigurationToken()
DWifiManager.java898 public boolean removeNetwork(int netId) { in removeNetwork()
932 public boolean enableNetwork(int netId, boolean disableOthers) { in enableNetwork()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsEventListenerService.java64 public DnsEventBatch(int netId) { in DnsEventBatch()
137 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs) { in onDnsEvent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1413 int netId = message.arg1; in processMessage() local
1819 int netId = mSavedPeerConfig.netId; in processMessage() local
2136 int netId = mGroup.getNetworkId(); in processMessage() local
2512 int netId = -1; in updatePersistentNetworks() local
2624 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup() local
2640 int netId = WifiP2pGroup.PERSISTENT_NET_ID; in reinvokePersistentGroup() local
2683 int netId = group.getNetworkId(); in getNetworkIdFromClientList() local
2700 private String[] getClientList(int netId) { in getClientList()
2715 private boolean removeClientFromList(int netId, String addr, boolean isRemovable) { in removeClientFromList()

12