/frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pGroupListTest.java | 80 assertEquals(mTestGroup2.getNetworkId(), in testListOperations() 81 list.getNetworkId(TEST_GROUP_OWNER_2.deviceAddress)); in testListOperations() 83 list.getOwnerAddr(mTestGroup2.getNetworkId())); in testListOperations() 85 assertEquals(-1, list.getNetworkId(TEST_GROUP_OWNER_OTHER.deviceAddress)); in testListOperations() 87 assertEquals(mTestGroup1.getNetworkId(), in testListOperations() 88 list.getNetworkId(TEST_GROUP_OWNER_1.deviceAddress)); in testListOperations() 90 assertEquals(mTestGroup4.getNetworkId(), in testListOperations() 91 list.getNetworkId(TEST_GROUP_OWNER_1.deviceAddress, "testGroup4")); in testListOperations() 93 list.remove(mTestGroup3.getNetworkId()); in testListOperations() 94 assertEquals(-1, list.getNetworkId(TEST_GROUP_OWNER_3.deviceAddress)); in testListOperations() [all …]
|
D | WifiP2pGroupTest.java | 62 assertEquals(NETWORK_ID, group.getNetworkId()); in testSetterGetter()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroupList.java | 61 mListener.onDeleteGroup(oldValue.getNetworkId()); in WifiP2pGroupList() 90 mGroups.put(group.getNetworkId(), group); in add() 109 remove(getNetworkId(deviceAddress)); in remove() 134 public int getNetworkId(String deviceAddress) { in getNetworkId() method in WifiP2pGroupList 141 mGroups.get(grp.getNetworkId()); in getNetworkId() 142 return grp.getNetworkId(); in getNetworkId() 157 public int getNetworkId(String deviceAddress, String ssid) { in getNetworkId() method in WifiP2pGroupList 167 mGroups.get(grp.getNetworkId()); in getNetworkId() 168 return grp.getNetworkId(); in getNetworkId() 202 if (netId == grp.getNetworkId()) { in contains()
|
D | WifiP2pGroup.java | 266 public int getNetworkId() { in getNetworkId() method in WifiP2pGroup 314 mNetId = source.getNetworkId(); in WifiP2pGroup()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 364 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() 397 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists() 548 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission() 553 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission() 575 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission() 605 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission() 754 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied() 776 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID() 1021 int networkId = result.getNetworkId(); in testNetworkSelectionStatus() 1032 verifyUpdateNetworkSelectionStatus(result.getNetworkId(), assocRejectReason, i); in testNetworkSelectionStatus() [all …]
|
D | WifiNetworkSelectorTest.java | 248 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiInfo() 430 when(mWifiInfo.getNetworkId()).thenReturn(0); in openNetworkIsNotSufficient() 478 when(mWifiInfo.getNetworkId()).thenReturn(0); in lowRssi5GNetworkIsNotSufficient() 526 when(mWifiInfo.getNetworkId()).thenReturn(0); in noInternetAccessNetworkIsNotSufficient() 639 when(mWifiInfo.getNetworkId()).thenReturn(0); in noSelectionWhenCurrentNetworkNotInScanResults() 1166 when(mWifiInfo.getNetworkId()).thenReturn(0); in testStayOrTryToSwitchImpl()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | CarrierNetworkEvaluator.java | 144 if (!mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID)) { in evaluateNetworks() 148 if (!mWifiConfigManager.setNetworkCandidateScanResult(result.getNetworkId(), scanResult, in evaluateNetworks() 156 config = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in evaluateNetworks() 167 mWifiConfigManager.updateScanDetailForNetwork(result.getNetworkId(), scanDetail); in evaluateNetworks()
|
D | NetworkUpdateResult.java | 46 public int getNetworkId() { in getNetworkId() method in NetworkUpdateResult
|
D | NetworkSuggestionEvaluator.java | 149 if (!mWifiConfigManager.updateNetworkSelectionStatus(result.getNetworkId(), in addCandidateToWifiConfigManager() 154 int candidateNetworkId = result.getNetworkId(); in addCandidateToWifiConfigManager()
|
D | ScoredNetworkEvaluator.java | 309 if (!mWifiConfigManager.updateNetworkSelectionStatus(result.getNetworkId(), in getCandidateConfiguration() 314 candidateNetworkId = result.getNetworkId(); in getCandidateConfiguration()
|
D | WifiNetworkSelector.java | 228 + " , ID: " + wifiInfo.getNetworkId()); in isCurrentNetworkSufficient() 241 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isCurrentNetworkSufficient() 708 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in selectNetwork()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 249 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider() 250 mWifiConfigManager.setNetworkCandidateScanResult(result.getNetworkId(), in createWifiConfigForProvider() 253 result.getNetworkId(), networkInfo.mScanDetail); in createWifiConfigForProvider() 254 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
|
D | OsuNetworkConnection.java | 246 if (mNetworkId < 0 || mNetworkId != wifiInfo.getNetworkId()) { in onAvailable() 248 + wifiInfo.getNetworkId()); in onAvailable()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pMetrics.java | 398 mCurrentGroupEvent.netId = group.getNetworkId(); in startGroupEvent() 423 if (mCurrentGroupEvent.netId != group.getNetworkId()) { in updateGroupEvent() 424 Log.w(TAG, "Updating group id " + group.getNetworkId() in updateGroupEvent()
|
D | WifiP2pServiceImpl.java | 1857 int id = group.getNetworkId(); in processMessage() 1951 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage() 1992 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage() 2362 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage() 2366 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessage() 2809 int netId = mGroup.getNetworkId(); in processMessage() 3487 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup() 3509 netId = mGroups.getNetworkId(dev.deviceAddress); in reinvokePersistentGroup() 3548 int netId = group.getNetworkId(); in getNetworkIdFromClientList() 4151 mWifiNative.removeP2pNetwork(group.getNetworkId()); in factoryReset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/ |
D | WifiDebuggingSecondaryUserActivity.java | 83 if (wifiInfo == null || wifiInfo.getNetworkId() == -1) { in onReceive()
|
D | WifiDebuggingActivity.java | 154 if (wifiInfo == null || wifiInfo.getNetworkId() == -1) { in onReceive()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 357 ", NID=" + cellLocation.getNetworkId() + 361 ", NID=" + cellLocation.getNetworkId();
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellIdentityCdmaTest.java | 50 assertEquals(NETWORK_ID, ci.getNetworkId()); in testConstructor()
|
/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/cdma/ |
D | CdmaCellLocation.java | 126 public int getNetworkId() { in getNetworkId() method in CdmaCellLocation
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 218 final String networkId = template.getNetworkId(); in buildUnquotedNetworkTemplate()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellIdentityCdma.java | 167 public int getNetworkId() { in getNetworkId() method in CellIdentityCdma
|
/frameworks/base/core/java/android/net/ |
D | NetworkIdentity.java | 138 public String getNetworkId() { in getNetworkId() method in NetworkIdentity
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 199 if (networks.get(i).networkId == info.getNetworkId()) { in getValidSsid()
|