/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiInfoTest.java | 183 assertEquals(TEST_BSSID, info.getBSSID()); in assertNoRedaction() 260 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getBSSID()); in assertLocationSensitiveRedaction() 323 assertEquals(TEST_BSSID, info.getBSSID()); in assertLocalMacAddressInfoRedaction() 433 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getBSSID()); in assertLocationSensitiveAndLocalMacAddressRedaction() 580 assertNull(wifiInfo.getBSSID()); in testWifiInfoResetValue() 615 assertEquals(TEST_BSSID, info1.getBSSID()); in testWifiInfoBuilder() 628 assertEquals(TEST_BSSID, info1.getBSSID()); in testWifiInfoBuilder() 634 assertEquals(TEST_BSSID, info2.getBSSID()); in testWifiInfoBuilder()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | IconEvent.java | 16 public long getBSSID() { in getBSSID() method in IconEvent
|
D | NetworkDetail.java | 609 public long getBSSID() { in getBSSID() method in NetworkDetail 728 return getSSID().equals(that.getSSID()) && getBSSID() == that.getBSSID(); in equals()
|
D | PasspointEventHandler.java | 137 iconEvent.getBSSID(), iconEvent.getFileName(), iconEvent.getData()); in notifyIconDone()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSelector.java | 479 .map(cmmState -> cmmState.wifiInfo.getBSSID()) in filterScanResults() 626 && !scanResultPresentForCurrentBssids.contains(cmmState.wifiInfo.getBSSID())) { in filterScanResults() 628 localLog("Current connected BSSID " + cmmState.wifiInfo.getBSSID() in filterScanResults() 633 localLog("Current connected BSSID " + cmmState.wifiInfo.getBSSID() in filterScanResults() 972 && Objects.equals(wifiInfo.getBSSID(), thatCmmState.wifiInfo.getBSSID()); in equals() 978 wifiInfo.getSSID(), wifiInfo.getBSSID(), role); in hashCode() 1129 String currentBssid = cmmState.wifiInfo.getBSSID(); in getCandidatesFromScan()
|
D | WifiScoreReport.java | 159 mWifiBlocklistMonitor.handleBssidConnectionFailure(mWifiInfoNoReset.getBSSID(), in notifyScoreUpdate() 340 if (mWifiInfoNoReset.getBSSID() != null) { in blocklistCurrentBssid() 341 mWifiBlocklistMonitor.handleBssidConnectionFailure(mWifiInfoNoReset.getBSSID(), in blocklistCurrentBssid() 1091 mWifiInfoNoReset.setBSSID(mWifiInfo.getBSSID()); in startConnectedNetworkScorer() 1113 mWifiBlocklistMonitor.handleBssidConnectionFailure(mWifiInfo.getBSSID(), in stopConnectedNetworkScorer()
|
D | WifiDataStall.java | 387 || (mLastBssid.equals(wifiInfo.getBSSID()) in checkDataStallAndThroughputSufficiency() 390 mLastBssid = wifiInfo.getBSSID(); in checkDataStallAndThroughputSufficiency()
|
D | ClientModeImpl.java | 2268 if (mWifiInfo.getBSSID() != null) { in getLogRecString() 2269 sb.append(" ").append(mWifiInfo.getBSSID()); in getLogRecString() 2369 if (mWifiInfo.getBSSID() != null) { in getLogRecString() 2370 sb.append(" ").append(mWifiInfo.getBSSID()); in getLogRecString() 3244 mWifiBlocklistMonitor.removeAffiliatedBssids(mWifiInfo.getBSSID()); in handleSupplicantStateChange() 3356 if (link.getApMacAddress() != null && !Objects.equals(mWifiInfo.getBSSID(), in updateBlockListAffiliatedBssids() 3361 mWifiBlocklistMonitor.setAffiliatedBssids(mWifiInfo.getBSSID(), affiliatedBssids); in updateBlockListAffiliatedBssids() 3469 NativeUtil.getMacAddressOrNull(mWifiInfo.getBSSID()); in updateLayer2Information() 3560 mWifiBlocklistMonitor.removeAffiliatedBssids(mWifiInfo.getBSSID()); in handleNetworkDisconnect() 4054 mWifiBlocklistMonitor.handleBssidConnectionFailure(mWifiInfo.getBSSID(), in handleIpReachabilityLost() [all …]
|
D | WifiScoreCard.java | 291 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in getL2KeyAndGroupHint() 363 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in updatePerBssid() 493 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in noteNetworkAgentCreated() 1316 mBssid = wifiInfo.getBSSID(); in updateWifiInfo() 1363 .append(" bssid ").append(wifiInfo.getBSSID()) in updateLinkBandwidthTxRxSample()
|
D | WifiLastResortWatchdog.java | 413 return mBssidFailureList.contains(wifiInfo.getBSSID()); in checkIfConnectedBssidHasEverFailed()
|
D | WifiConfigManager.java | 2905 ScanDetail scanDetail = scanDetailCache.getScanDetail(info.getBSSID()); in updateScanDetailCacheFromWifiInfo()
|
D | WifiMetrics.java | 7078 || (mLastBssid.equals(info.getBSSID()) 7080 mLastBssid = info.getBSSID();
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardTest.java | 245 String bssid = mWifiInfo.getBSSID(); in testBssidBlocklistStreakOperations() 270 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 272 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 281 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 283 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 290 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 296 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 309 String bssid = mWifiInfo.getBSSID(); in testSetBssidConnectionTimestampMs()
|
D | WifiNetworkSelectorTest.java | 384 when(mWifiInfo.getBSSID()).thenReturn(null); in setupWifiInfo() 739 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in lowRssi5GNetworkIsNotSufficient() 799 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in noInternetAccessNetworkIsNotSufficient() 1251 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in noSelectionWhenCurrentNetworkNotInScanResults() 1319 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in includeCurrentNetworkWhenCurrentNetworkNotNominated() 2037 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in testStayOrTryToSwitchImpl() 2650 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in networkSelectionPerformedWhenAnyCmmIsNotSufficient() 2659 when(mSecondaryWifiInfo.getBSSID()).thenReturn(bssids[0]); in networkSelectionPerformedWhenAnyCmmIsNotSufficient() 2712 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in networkSelectionNotPerformedWhenAllCmmIsSufficient() 2724 when(mSecondaryWifiInfo.getBSSID()).thenReturn(bssids[0]); in networkSelectionNotPerformedWhenAllCmmIsSufficient()
|
D | WifiLastResortWatchdogTest.java | 1570 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in testMetricsCollection() 1914 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in testWatchdogAssumesSuccessOnlyIfFirstConnectionAfterRestartSucceeds() 2202 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in testWatchdogAssumesSuccessOnlyIfConnectedOnSameSsid() 2392 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in testNotTriggerBugreportIfConnectedToNewBssid()
|
D | ClientModeImplTest.java | 1290 assertEquals(TEST_BSSID_STR, wifiInfo.getBSSID()); in connect() 1312 assertEquals(TEST_BSSID_STR, wifiInfoFromTi.getBSSID()); in connect() 1445 assertEquals(TEST_BSSID_STR, wifiInfo.getBSSID()); in connectWithIpProvisionTimeout() 1468 assertEquals(TEST_BSSID_STR, wifiInfoFromTi.getBSSID()); in connectWithIpProvisionTimeout() 3445 assertEquals(TEST_BSSID_STR1, wifiInfo.getBSSID()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent() 3455 assertNull(wifiInfo.getBSSID()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent() 3487 assertEquals(TEST_BSSID_STR1, wifiInfo.getBSSID()); in testWifiInfoUpdatedUponSupplicantStateChangedEventWithWrongSsid() 3498 assertNull(wifiInfo.getBSSID()); in testWifiInfoUpdatedUponSupplicantStateChangedEventWithWrongSsid() 3546 assertEquals(TEST_BSSID_STR1, wifiInfo.getBSSID()); in testWifiInfoUpdatedUponAssociatedBSSIDEvent() 3587 assertNull(wifiInfo.getBSSID()); in testWifiInfoCleanedUpEnteringExitingConnectableState() [all …]
|
D | MultiInternetManagerTest.java | 201 isConnected ? mSecondaryInfo.getBSSID() : null); in fakeSecondaryCmmConnected()
|
D | WifiDataStallTest.java | 144 when(mWifiInfo.getBSSID()).thenReturn("5G_WiFi"); in setUp()
|
D | WifiMonitorTest.java | 263 assertEquals(bssid, ((IconEvent) messageCaptor.getValue().obj).getBSSID()); in testBroadcastIconDoneEvent()
|
D | WifiServiceImplTest.java | 3030 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 3061 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException() 3083 assertEquals(TEST_BSSID, connectionInfo.getBSSID()); in testConnectedIdsAreVisibleFromPermittedApp() 3114 assertEquals(TEST_BSSID, connectionInfo.getBSSID()); in testConnectedIdsFromSecondaryCmmAreVisibleFromAppRequestingSecondaryCmm() 3152 assertEquals(TEST_BSSID, connectionInfo.getBSSID()); in testConnectedIdsAreVisibleFromAppRequestingSecondaryCmmWIthPromotesSettingsWs() 3187 assertEquals(TEST_BSSID, connectionInfo.getBSSID()); in testConnectedIdsFromPrimaryCmmAreVisibleFromAppNotRequestingSecondaryCmm()
|
D | SupplicantStaIfaceHalAidlImplTest.java | 906 iconEventCaptor.getValue().getBSSID()); in testIconDoneCallback()
|
D | SupplicantStaIfaceHalHidlImplTest.java | 1098 iconEventCaptor.getValue().getBSSID()); in testIconDoneCallback()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiStatusTest.java | 182 mBSSID.setText(wifiInfo.getBSSID());
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiInfo.java | 909 public String getBSSID() { in getBSSID() method in WifiInfo
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 827 ((WifiInfo) redactedNormal.getTransportInfo()).getBSSID()); in testGetRedactedNetworkCapabilitiesForPackage() 838 assertEquals(bssid, ((WifiInfo) redactedPrivileged.getTransportInfo()).getBSSID()); in testGetRedactedNetworkCapabilitiesForPackage()
|