Home
last modified time | relevance | path

Searched refs:getNetworkId (Results 1 – 25 of 44) 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.java255 public int getNetworkId() { in getNetworkId() method in WifiP2pGroup
291 mNetId = source.getNetworkId(); in WifiP2pGroup()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java330 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied()
352 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID()
595 int networkId = result.getNetworkId(); in testNetworkSelectionStatus()
606 verifyUpdateNetworkSelectionStatus(result.getNetworkId(), assocRejectReason, i); in testNetworkSelectionStatus()
612 result.getNetworkId(), NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER, 0); in testNetworkSelectionStatus()
617 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatus()
634 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatusEnableClearsDisableCounters()
638 result.getNetworkId(), NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION, 1); in testNetworkSelectionStatusEnableClearsDisableCounters()
640 result.getNetworkId(), NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION, 2); in testNetworkSelectionStatusEnableClearsDisableCounters()
642 result.getNetworkId(), NetworkSelectionStatus.DISABLED_AUTHENTICATION_FAILURE, 1); in testNetworkSelectionStatusEnableClearsDisableCounters()
[all …]
DWifiNetworkSelectorTest.java182 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiInfo()
359 when(mWifiInfo.getNetworkId()).thenReturn(0); in openNetworkIsNotSufficient()
405 when(mWifiInfo.getNetworkId()).thenReturn(0); in lowRssi5GNetworkIsNotSufficient()
481 when(mWifiInfo.getNetworkId()).thenReturn(0); in noSelectionWhenCurrentNetworkNotInScanResults()
912 when(mWifiInfo.getNetworkId()).thenReturn(0); in testStayOrTryToSwitchImpl()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java156 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider()
157 mWifiConfigManager.setNetworkCandidateScanResult(result.getNetworkId(), in createWifiConfigForProvider()
160 result.getNetworkId(), networkInfo.mScanDetail); in createWifiConfigForProvider()
161 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLegacyConnectedScore.java211 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in multiBandScanResults()
214 mWifiConfigManager.getScanDetailCacheForNetwork(wifiInfo.getNetworkId()); in multiBandScanResults()
234 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isHomeNetwork()
242 mWifiConfigManager.getScanDetailCacheForNetwork(wifiInfo.getNetworkId()); in isHomeNetwork()
DNetworkUpdateResult.java46 public int getNetworkId() { in getNetworkId() method in NetworkUpdateResult
DScoredNetworkEvaluator.java283 if (!mWifiConfigManager.updateNetworkSelectionStatus(result.getNetworkId(), in getCandidateConfiguration()
288 candidateNetworkId = result.getNetworkId(); in getCandidateConfiguration()
DWifiNetworkSelector.java140 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isCurrentNetworkSufficient()
495 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in selectNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java82 if (networks.get(i).networkId == info.getNetworkId()) { in getSsid()
DWifiTracker.java511 mLastInfo.getNetworkId(), mWifiManager.getConfiguredNetworks()); in updateAccessPointsLocked()
697 connectionConfig = getWifiConfigurationForNetworkId(mLastInfo.getNetworkId(), in updateNetworkInfo()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaCellLocation.java119 public int getNetworkId() { in getNetworkId() method in CdmaCellLocation
/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java90 writeOptionalString(out, ident.getNetworkId()); in writeToStream()
/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
/frameworks/base/packages/Osu2/src/com/android/osu/
DNetworkConnection.java183 if (wifiInfo.getNetworkId() != mNetworkId) { in handleConnectedEvent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java218 final String networkId = template.getNetworkId(); in buildUnquotedNetworkTemplate()
/frameworks/base/core/java/android/net/
DNetworkIdentity.java144 public String getNetworkId() { in getNetworkId() method in NetworkIdentity
DNetworkTemplate.java295 public String getNetworkId() { in getNetworkId() method in NetworkTemplate
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java152 assertEquals(456, ss.getNetworkId()); in testMisc()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1517 int id = group.getNetworkId(); in processMessage()
1570 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
1602 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
1938 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
1942 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessage()
2356 int netId = mGroup.getNetworkId(); in processMessage()
2812 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup()
2834 netId = mGroups.getNetworkId(dev.deviceAddress); in reinvokePersistentGroup()
2871 int netId = group.getNetworkId(); in getNetworkIdFromClientList()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java474 int getNetworkId() { return ++mNetworkId; } in getNetworkId() method in UpstreamNetworkMonitorTest.TestConnectivityManager
557 this.networkId = new Network(cm.getNetworkId()); in TestNetworkAgent()
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
DPlatformAdapter.java524 if (passpointConfig.getWifiConfiguration().networkId == wifiInfo.getNetworkId()) { in getActivePasspointConfig()
585 if (config.networkId == wifiInfo.getNetworkId()) { in getActiveWifiConfig()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUFlowManager.java198 && connectionInfo.getNetworkId() == mWifiNetworkId) { in networkChange()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java526 public int getNetworkId() { in getNetworkId() method in WifiInfo

12