Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java40 public final int netId; field in NetworkEvent
44 private NetworkEvent(int netId, int eventType, long durationMs) { in NetworkEvent()
77 public static void logEvent(int netId, int eventType) { in logEvent()
81 public static void logValidated(int netId, long durationMs) { in logValidated()
85 public static void logCaptivePortalFound(int netId, long durationMs) { in logCaptivePortalFound()
DDnsEvent.java28 public final int netId; field in DnsEvent
40 private DnsEvent(int netId, byte[] eventTypes, byte[] returnCodes, int[] latenciesMs) { in DnsEvent()
84 int netId, byte[] eventTypes, byte[] returnCodes, int[] latenciesMs) { in logEvent()
DDefaultNetworkEvent.java30 public final int netId; field in DefaultNetworkEvent
40 private DefaultNetworkEvent(int netId, int[] transportTypes, in DefaultNetworkEvent()
107 int netId, int[] transports, int prevNetId, boolean hadIPv4, boolean hadIPv6) { in logEvent()
DValidationProbeEvent.java40 public final int netId; field in ValidationProbeEvent
45 private ValidationProbeEvent(int netId, long durationMs, int probeType, int returnCode) { in ValidationProbeEvent()
86 public static void logEvent(int netId, long durationMs, int probeType, int returnCode) { in logEvent()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl102 void addRoute(int netId, in RouteInfo route); in addRoute()
107 void removeRoute(int netId, in RouteInfo route); in removeRoute()
329 void setDnsConfigurationForNetwork(int netId, in String[] servers, String domains); in setDnsConfigurationForNetwork()
334 void setDnsServersForNetwork(int netId, in String[] servers, String domains); in setDnsServersForNetwork()
348 void addVpnUidRanges(int netId, in UidRange[] ranges); in addVpnUidRanges()
353 void removeVpnUidRanges(int netId, in UidRange[] ranges); in removeVpnUidRanges()
390 void createPhysicalNetwork(int netId, String permission); in createPhysicalNetwork()
395 void createVirtualNetwork(int netId, boolean hasDNS, boolean secure); in createVirtualNetwork()
400 void removeNetwork(int netId); in removeNetwork()
405 void addInterfaceToNetwork(String iface, int netId); in addInterfaceToNetwork()
[all …]
/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.java261 public void setNetworkId(int netId) { in setNetworkId()
/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp128 static jboolean android_net_utils_bindProcessToNetwork(JNIEnv *env, jobject thiz, jint netId) in android_net_utils_bindProcessToNetwork()
139 jint netId) in android_net_utils_bindProcessToNetworkForHostResolution()
145 jint netId) in android_net_utils_bindSocketToNetwork()
155 static jboolean android_net_utils_queryUserAccess(JNIEnv *env, jobject thiz, jint uid, jint netId) in android_net_utils_queryUserAccess()
/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()
788 int netId = result.getNetworkId(); in saveNetwork() local
833 void updateStatus(int netId, DetailedState state) { in updateStatus()
893 boolean forgetNetwork(int netId) { in forgetNetwork()
1157 boolean removeNetwork(int netId) { in removeNetwork()
1313 boolean selectNetworkWithoutBroadcast(int netId) { in selectNetworkWithoutBroadcast()
1338 boolean disableNetwork(int netId) { in disableNetwork()
1349 boolean updateNetworkSelectionStatus(int netId, int reason) { in updateNetworkSelectionStatus()
1560 StaticIpConfiguration getStaticIpConfiguration(int netId) { in getStaticIpConfiguration()
[all …]
DWifiConfigStore.java225 private void readNetworkBitsetVariable(int netId, BitSet variable, String varName, in readNetworkBitsetVariable()
251 int netId = config.networkId; in readNetworkVariables() local
607 private boolean saveNetwork(WifiConfiguration config, int netId) { in saveNetwork()
796 int netId = config.networkId; in addOrUpdateNetwork() local
1157 private void markAllNetworksDisabledExcept(int netId, Collection<WifiConfiguration> configs) { in markAllNetworksDisabledExcept()
1275 SupplicantSaver(int netId, String setterSSID) { in SupplicantSaver()
1308 SupplicantLoader(int netId) { in SupplicantLoader()
DNetworkUpdateResult.java22 int netId; field in NetworkUpdateResult
DWifiNative.java409 public boolean setNetworkExtra(int netId, String name, Map<String, String> values) { in setNetworkExtra()
423 public boolean setNetworkVariable(int netId, String name, String value) { in setNetworkVariable()
433 public Map<String, String> getNetworkExtra(int netId, String name) { in getNetworkExtra()
466 public String getNetworkVariable(int netId, String name) { in getNetworkVariable()
473 public boolean removeNetwork(int netId) { in removeNetwork()
495 public boolean enableNetwork(int netId) { in enableNetwork()
505 public boolean enableNetworkWithoutConnect(int netId) { in enableNetworkWithoutConnect()
515 public boolean disableNetwork(int netId) { in disableNetwork()
525 public boolean selectNetwork(int netId) { in selectNetwork()
1295 public boolean p2pGroupAdd(int netId) { in p2pGroupAdd()
[all …]
DWifiServiceImpl.java480 public String getWpsNfcConfigurationToken(int netId) { in getWpsNfcConfigurationToken()
904 public boolean removeNetwork(int netId) { in removeNetwork()
922 public boolean enableNetwork(int netId, boolean disableOthers) { in enableNetwork()
939 public boolean disableNetwork(int netId) { in disableNetwork()
DSupplicantStateTracker.java112 private void handleNetworkConnectionFailure(int netId, int disableReason) { in handleNetworkConnectionFailure()
/frameworks/base/core/java/android/net/
DNetworkUtils.java62 public native static boolean bindProcessToNetwork(int netId); in bindProcessToNetwork()
77 public native static boolean bindProcessToNetworkForHostResolution(int netId); in bindProcessToNetworkForHostResolution()
84 public native static int bindSocketToNetwork(int socketfd, int netId); in bindSocketToNetwork()
106 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/core/java/com/android/server/
DNetworkManagementService.java1123 public void addRoute(int netId, RouteInfo route) { in addRoute()
1128 public void removeRoute(int netId, RouteInfo route) { in removeRoute()
1132 private void modifyRoute(String action, String netId, RouteInfo route) { in modifyRoute()
1322 int netId = (network != null) ? network.netId : ConnectivityManager.NETID_UNSET; in setDnsForwarders() local
1967 public void setDnsConfigurationForNetwork(int netId, String[] servers, String domains) { in setDnsConfigurationForNetwork()
2012 public void setDnsServersForNetwork(int netId, String[] servers, String domains) { in setDnsServersForNetwork()
2037 public void addVpnUidRanges(int netId, UidRange[] ranges) { in addVpnUidRanges()
2059 public void removeVpnUidRanges(int netId, UidRange[] ranges) { in removeVpnUidRanges()
2567 public void createPhysicalNetwork(int netId, String permission) { in createPhysicalNetwork()
2582 public void createVirtualNetwork(int netId, boolean hasDNS, boolean secure) { in createVirtualNetwork()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsEventListenerService.java61 public DnsEventBatch(int netId) { in DnsEventBatch()
129 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs) { in onDnsEvent()
/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.java892 public boolean removeNetwork(int netId) { in removeNetwork()
926 public boolean enableNetwork(int netId, boolean disableOthers) { in enableNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1401 int netId = message.arg1; in processMessage() local
1807 int netId = mSavedPeerConfig.netId; in processMessage() local
2124 int netId = mGroup.getNetworkId(); in processMessage() local
2500 int netId = -1; in updatePersistentNetworks() local
2612 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup() local
2628 int netId = WifiP2pGroup.PERSISTENT_NET_ID; in reinvokePersistentGroup() local
2671 int netId = group.getNetworkId(); in getNetworkIdFromClientList() local
2688 private String[] getClientList(int netId) { in getClientList()
2703 private boolean removeClientFromList(int netId, String addr, boolean isRemovable) { in removeClientFromList()
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DWifiTrackerTest.java299 int netId = WifiConfiguration.INVALID_NETWORK_ID; in generateTestNetworks() local
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java360 final String netId = getNetworkId(policy); in getWifiPolicies() local

12