Home
last modified time | relevance | path

Searched refs:getNetworkId (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java58 mListener.onDeleteGroup(oldValue.getNetworkId()); in WifiP2pGroupList()
86 mGroups.put(group.getNetworkId(), group); in add()
105 remove(getNetworkId(deviceAddress)); in remove()
130 public int getNetworkId(String deviceAddress) { in getNetworkId() method in WifiP2pGroupList
137 mGroups.get(grp.getNetworkId()); in getNetworkId()
138 return grp.getNetworkId(); in getNetworkId()
153 public int getNetworkId(String deviceAddress, String ssid) { in getNetworkId() method in WifiP2pGroupList
163 mGroups.get(grp.getNetworkId()); in getNetworkId()
164 return grp.getNetworkId(); in getNetworkId()
198 if (netId == grp.getNetworkId()) { in contains()
DWifiP2pGroup.java256 public int getNetworkId() { in getNetworkId() method in WifiP2pGroup
292 mNetId = source.getNetworkId(); in WifiP2pGroup()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java289 pw.print(getNetworkId(policy)); in listWifiNetworks()
316 final String networkId = getNetworkId(policy); in setMeteredWifiNetwork()
360 final String netId = getNetworkId(policy); in getWifiPolicies()
378 private String getNetworkId(NetworkPolicy policy) { in getNetworkId() method in NetworkPolicyManagerShellCommand
379 return removeDoubleQuotes(policy.template.getNetworkId()); in getNetworkId()
DNetworkIdentitySet.java88 writeOptionalString(out, ident.getNetworkId()); in writeToStream()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java43 public int getNetworkId() { in getNetworkId() method in NetworkUpdateResult
DWifiQualifiedNetworkSelector.java309 mWifiConfigManager.getWifiConfiguration(mWifiInfo.getNetworkId()); in needQualifiedNetworkSelection()
618 mWifiConfigManager.getWifiConfiguration(mWifiInfo.getNetworkId()); in selectQualifiedNetwork()
DWifiConfigManager.java593 WifiConfiguration config = getWifiConfiguration(info.getNetworkId()); in updateConfiguration()
788 int netId = result.getNetworkId(); in saveNetwork()
928 if (result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID) { in addOrUpdateNetwork()
929 WifiConfiguration conf = mConfiguredNetworks.getForCurrentUser(result.getNetworkId()); in addOrUpdateNetwork()
939 return result.getNetworkId(); in addOrUpdateNetwork()
DWifiStateMachine.java3486 mWifiConfigManager.getWifiConfiguration(mWifiInfo.getNetworkId()); in handleSupplicantStateChange()
3493 mWifiInfo.setEphemeral(mWifiConfigManager.isEphemeral(mWifiInfo.getNetworkId())); in handleSupplicantStateChange()
3495 mWifiInfo.setMeteredHint(mWifiConfigManager.getMeteredHint(mWifiInfo.getNetworkId())); in handleSupplicantStateChange()
5726 netId = result.getNetworkId(); in processMessage()
5878 netId = result.getNetworkId(); in processMessage()
6018 if (result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID) { in processMessage()
6019 if (mWifiInfo.getNetworkId() == result.getNetworkId()) { in processMessage()
6040 + Integer.toString(result.getNetworkId())); in processMessage()
6062 result.getNetworkId(), persistConnect); in processMessage()
6571 if (mWifiInfo.getNetworkId() == netId) { in processMessage()
DWifiConnectivityManager.java591 .getWifiConfiguration(mWifiInfo.getNetworkId()); in connectToNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiQualifiedNetworkSelectorTest.java159 when(wifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo()
161 when(wifiInfo.getNetworkId()).thenReturn(-1); in getWifiInfo()
1145 when(mWifiInfo.getNetworkId()).thenReturn(1); in noNewQNSCurrentNetworkQualified()
1189 when(mWifiInfo.getNetworkId()).thenReturn(1); in noNewQNSLinkBouncing()
1225 when(mWifiInfo.getNetworkId()).thenReturn(0); in currentNetworkNotQualifiedDueToBandMismatch()
1271 when(mWifiInfo.getNetworkId()).thenReturn(1); in currentNetworkNotQualifiedDueToOpenNetwork()
1319 when(mWifiInfo.getNetworkId()).thenReturn(1); in currentNetworkNotQualifiedDueToEphemeral()
1364 when(mWifiInfo.getNetworkId()).thenReturn(1); in currentNetworkNotQualifiedDueToLow5GRssi()
1411 when(mWifiInfo.getNetworkId()).thenReturn(1); in currentNetworkNotQualifiedDueToLow2GRssi()
1459 when(mWifiInfo.getNetworkId()).thenReturn(1); in currentNetworkStayDueToSameNetworkBonus()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java73 if (networks.get(i).networkId == info.getNetworkId()) { in getSsid()
DWifiTracker.java333 connectionConfig = getWifiConfigurationForNetworkId(mLastInfo.getNetworkId()); in updateAccessPoints()
489 connectionConfig = getWifiConfigurationForNetworkId(mLastInfo.getNetworkId()); in updateNetworkInfo()
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DAccessPointTest.java68 Mockito.when(wifiInfo.getNetworkId()).thenReturn(NETWORK_ID); in testOnAccessPointChangedCallback()
DWifiTrackerTest.java307 Mockito.when(wifiInfo.getNetworkId()).thenReturn(netId); in generateTestNetworks()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaCellLocation.java119 public int getNetworkId() { in getNetworkId() method in CdmaCellLocation
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java357 ", NID=" + cellLocation.getNetworkId() +
361 ", NID=" + cellLocation.getNetworkId();
/frameworks/base/telephony/java/android/telephony/
DCellIdentityCdma.java100 public int getNetworkId() { in getNetworkId() method in CellIdentityCdma
DServiceState.java1121 public int getNetworkId() { in getNetworkId() method in ServiceState
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DWifiNetworkAdapter.java163 if (config.networkId == wifiInfo.getNetworkId()) { in getActiveWifiConfig()
199 if (passpointConfig.getWifiConfiguration().networkId == wifiInfo.getNetworkId()) { in getActivePasspointConfig()
/frameworks/base/core/java/android/net/
DNetworkIdentity.java125 public String getNetworkId() { in getNetworkId() method in NetworkIdentity
DNetworkTemplate.java269 public String getNetworkId() { in getNetworkId() method in NetworkTemplate
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java245 final String networkId = template.getNetworkId(); in buildUnquotedNetworkTemplate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java148 assertEquals(456, ss.getNetworkId()); in testMisc()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1405 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
1429 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
1730 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
1736 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessage()
2124 int netId = mGroup.getNetworkId(); in processMessage()
2612 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup()
2634 netId = mGroups.getNetworkId(dev.deviceAddress); in reinvokePersistentGroup()
2671 int netId = group.getNetworkId(); in getNetworkIdFromClientList()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java468 public int getNetworkId() { in getNetworkId() method in WifiInfo

12