Searched refs:getNetworkId (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java58 mListener.onDeleteGroup(oldValue.getNetworkId());
86 mGroups.put(group.getNetworkId(), group);
105 remove(getNetworkId(deviceAddress));
130 public int getNetworkId(String deviceAddress) { method in class:WifiP2pGroupList
137 mGroups.get(grp.getNetworkId());
138 return grp.getNetworkId();
153 public int getNetworkId(String deviceAddress, String ssid) { method in class:WifiP2pGroupList
163 mGroups.get(grp.getNetworkId());
164 return grp.getNetworkId();
198 if (netId == grp.getNetworkId()) {
[all...]
H A DWifiP2pGroup.java255 public int getNetworkId() { method in class:WifiP2pGroup
291 mNetId = source.getNetworkId();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DNetworkUpdateResult.java46 public int getNetworkId() { method in class:NetworkUpdateResult
H A DScoredNetworkEvaluator.java301 if (!mWifiConfigManager.updateNetworkSelectionStatus(result.getNetworkId(),
306 candidateNetworkId = result.getNetworkId();
H A DWifiNetworkSelector.java137 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId());
525 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId());
H A DWifiStateMachine.java1150 if (!forceReconnect && mWifiInfo.getNetworkId() == netId) {
3318 replyToMessage(message, message.what, result.getNetworkId());
4215 netId = result.getNetworkId();
4231 netId = result.getNetworkId();
4232 if (result.isSuccess() && mWifiInfo.getNetworkId() == netId) {
4843 if (mWifiInfo.getNetworkId() == netId) {
5793 result.getNetworkId(), false, message.sendingUid)) {
H A DWifiConfigManager.java1111 WifiConfiguration newConfig = getInternalConfiguredNetwork(result.getNetworkId());
2042 WifiConfiguration config = getInternalConfiguredNetwork(info.getNetworkId());
2043 ScanDetailCache scanDetailCache = getScanDetailCacheForNetwork(info.getNetworkId());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigManagerTest.java353 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID);
375 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID);
618 int networkId = result.getNetworkId();
629 verifyUpdateNetworkSelectionStatus(result.getNetworkId(), assocRejectReason, i);
636 result.getNetworkId(), NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER, 0);
642 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0);
656 int networkId = result.getNetworkId();
664 result.getNetworkId(), NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPORARY, 1);
670 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0);
687 result.getNetworkId(), NetworkSelectionStatu
[all...]
H A DWifiNetworkSelectorTest.java186 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID);
363 when(mWifiInfo.getNetworkId()).thenReturn(0);
410 when(mWifiInfo.getNetworkId()).thenReturn(0);
457 when(mWifiInfo.getNetworkId()).thenReturn(0);
537 when(mWifiInfo.getNetworkId()).thenReturn(0);
965 when(mWifiInfo.getNetworkId()).thenReturn(0);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointNetworkEvaluator.java158 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID);
159 mWifiConfigManager.setNetworkCandidateScanResult(result.getNetworkId(),
162 result.getNetworkId(), networkInfo.mScanDetail);
163 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId());
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaCellLocation.java119 public int getNetworkId() { method in class:CdmaCellLocation
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCellIdentityCdmaTest.java49 assertEquals(NETWORK_ID, ci.getNetworkId());
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkIdentitySet.java99 writeOptionalString(out, ident.getNetworkId());
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityCdma.java133 public int getNetworkId() { method in class:CellIdentityCdma
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerService.java357 ", NID=" + cellLocation.getNetworkId() +
361 ", NID=" + cellLocation.getNetworkId();
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java150 public String getNetworkId() { method in class:NetworkIdentity
H A DNetworkTemplate.java304 public String getNetworkId() { method in class:NetworkTemplate
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DNetworkPolicyEditor.java213 * with an unquoted {@link NetworkTemplate#getNetworkId()}. Used to work
218 final String networkId = template.getNetworkId();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiStatusTracker.java175 if (networks.get(i).networkId == info.getNetworkId()) {
H A DWifiTracker.java533 connectionConfig = getWifiConfigurationForNetworkId(mLastInfo.getNetworkId(), configs);
655 connectionConfig = getWifiConfigurationForNetworkId(mLastInfo.getNetworkId(),
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiInfo.java394 public int getNetworkId() { method in class:WifiInfo
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DOsuNetworkConnectionTest.java92 when(mWifiInfo.getNetworkId()).thenReturn(TEST_NETWORK_ID);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java1515 int id = group.getNetworkId();
1583 netId = mGroups.getNetworkId(mThisDevice.deviceAddress);
1615 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) {
1951 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) {
1955 mGroup.setNetworkId(mGroups.getNetworkId(devAddr,
2369 int netId = mGroup.getNetworkId();
2877 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid);
2899 netId = mGroups.getNetworkId(dev.deviceAddress);
2936 int netId = group.getNetworkId();
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DUpstreamNetworkMonitorTest.java484 int getNetworkId() { return ++mNetworkId; } method in class:UpstreamNetworkMonitorTest.TestConnectivityManager
567 this.networkId = new Network(cm.getNetworkId());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallbackTest.java306 assertEquals(group.getNetworkId(), WifiP2pGroup.PERSISTENT_NET_ID);

Completed in 242 milliseconds

12