/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroupList.java | 58 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()
|
D | WifiP2pGroup.java | 255 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/ |
D | WifiConfigManagerTest.java | 353 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied() 375 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID() 618 int networkId = result.getNetworkId(); in testNetworkSelectionStatus() 629 verifyUpdateNetworkSelectionStatus(result.getNetworkId(), assocRejectReason, i); in testNetworkSelectionStatus() 636 result.getNetworkId(), NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER, 0); in testNetworkSelectionStatus() 642 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatus() 656 int networkId = result.getNetworkId(); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet() 664 result.getNetworkId(), NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPORARY, 1); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet() 670 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet() 687 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatusEnableClearsDisableCounters() [all …]
|
D | WifiNetworkSelectorTest.java | 186 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiInfo() 363 when(mWifiInfo.getNetworkId()).thenReturn(0); in openNetworkIsNotSufficient() 410 when(mWifiInfo.getNetworkId()).thenReturn(0); in lowRssi5GNetworkIsNotSufficient() 457 when(mWifiInfo.getNetworkId()).thenReturn(0); in noInternetAccessNetworkIsNotSufficient() 537 when(mWifiInfo.getNetworkId()).thenReturn(0); in noSelectionWhenCurrentNetworkNotInScanResults() 965 when(mWifiInfo.getNetworkId()).thenReturn(0); in testStayOrTryToSwitchImpl()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 158 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider() 159 mWifiConfigManager.setNetworkCandidateScanResult(result.getNetworkId(), in createWifiConfigForProvider() 162 result.getNetworkId(), networkInfo.mScanDetail); in createWifiConfigForProvider() 163 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | NetworkUpdateResult.java | 46 public int getNetworkId() { in getNetworkId() method in NetworkUpdateResult
|
D | ScoredNetworkEvaluator.java | 301 if (!mWifiConfigManager.updateNetworkSelectionStatus(result.getNetworkId(), in getCandidateConfiguration() 306 candidateNetworkId = result.getNetworkId(); in getCandidateConfiguration()
|
D | WifiNetworkSelector.java | 137 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isCurrentNetworkSufficient() 525 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in selectNetwork()
|
D | WifiStateMachine.java | 1150 if (!forceReconnect && mWifiInfo.getNetworkId() == netId) { in connectToUserSelectNetwork() 3318 replyToMessage(message, message.what, result.getNetworkId()); in processMessage() 4215 netId = result.getNetworkId(); in processMessage() 4231 netId = result.getNetworkId(); in processMessage() 4232 if (result.isSuccess() && mWifiInfo.getNetworkId() == netId) { in processMessage() 4843 if (mWifiInfo.getNetworkId() == netId) { in processMessage() 5793 result.getNetworkId(), false, message.sendingUid)) { in saveNetworkConfigAndSendReply()
|
D | WifiConfigManager.java | 1111 WifiConfiguration newConfig = getInternalConfiguredNetwork(result.getNetworkId()); in addOrUpdateNetwork() 2042 WifiConfiguration config = getInternalConfiguredNetwork(info.getNetworkId()); in updateScanDetailCacheFromWifiInfo() 2043 ScanDetailCache scanDetailCache = getScanDetailCacheForNetwork(info.getNetworkId()); in updateScanDetailCacheFromWifiInfo()
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
D | CdmaCellLocation.java | 119 public int getNetworkId() { in getNetworkId() method in CdmaCellLocation
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellIdentityCdmaTest.java | 49 assertEquals(NETWORK_ID, ci.getNetworkId()); in testConstructor()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 357 ", NID=" + cellLocation.getNetworkId() + 361 ", NID=" + cellLocation.getNetworkId();
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 99 writeOptionalString(out, ident.getNetworkId()); in writeToStream()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellIdentityCdma.java | 133 public int getNetworkId() { in getNetworkId() method in CellIdentityCdma
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 175 if (networks.get(i).networkId == info.getNetworkId()) { in getValidSsid()
|
D | WifiTracker.java | 533 connectionConfig = getWifiConfigurationForNetworkId(mLastInfo.getNetworkId(), configs); in updateAccessPoints() 655 connectionConfig = getWifiConfigurationForNetworkId(mLastInfo.getNetworkId(), in updateNetworkInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 218 final String networkId = template.getNetworkId(); in buildUnquotedNetworkTemplate()
|
/frameworks/base/core/java/android/net/ |
D | NetworkIdentity.java | 150 public String getNetworkId() { in getNetworkId() method in NetworkIdentity
|
D | NetworkTemplate.java | 304 public String getNetworkId() { in getNetworkId() method in NetworkTemplate
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1515 int id = group.getNetworkId(); in processMessage() 1583 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage() 1615 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage() 1951 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage() 1955 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessage() 2369 int netId = mGroup.getNetworkId(); in processMessage() 2877 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup() 2899 netId = mGroups.getNetworkId(dev.deviceAddress); in reinvokePersistentGroup() 2936 int netId = group.getNetworkId(); in getNetworkIdFromClientList()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 92 when(mWifiInfo.getNetworkId()).thenReturn(TEST_NETWORK_ID); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 484 int getNetworkId() { return ++mNetworkId; } in getNetworkId() method in UpstreamNetworkMonitorTest.TestConnectivityManager 567 this.networkId = new Network(cm.getNetworkId()); in TestNetworkAgent()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 394 public int getNetworkId() { in getNetworkId() method in WifiInfo
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallbackTest.java | 306 assertEquals(group.getNetworkId(), WifiP2pGroup.PERSISTENT_NET_ID); in testOnGroupStarted_success()
|