Home
last modified time | relevance | path

Searched refs:getBSSID (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java183 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/
DIconEvent.java16 public long getBSSID() { in getBSSID() method in IconEvent
DNetworkDetail.java609 public long getBSSID() { in getBSSID() method in NetworkDetail
728 return getSSID().equals(that.getSSID()) && getBSSID() == that.getBSSID(); in equals()
DPasspointEventHandler.java137 iconEvent.getBSSID(), iconEvent.getFileName(), iconEvent.getData()); in notifyIconDone()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java479 .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()
DWifiScoreReport.java159 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()
DWifiDataStall.java387 || (mLastBssid.equals(wifiInfo.getBSSID()) in checkDataStallAndThroughputSufficiency()
390 mLastBssid = wifiInfo.getBSSID(); in checkDataStallAndThroughputSufficiency()
DClientModeImpl.java2268 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 …]
DWifiScoreCard.java291 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()
DWifiLastResortWatchdog.java413 return mBssidFailureList.contains(wifiInfo.getBSSID()); in checkIfConnectedBssidHasEverFailed()
DWifiConfigManager.java2905 ScanDetail scanDetail = scanDetailCache.getScanDetail(info.getBSSID()); in updateScanDetailCacheFromWifiInfo()
DWifiMetrics.java7078 || (mLastBssid.equals(info.getBSSID())
7080 mLastBssid = info.getBSSID();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java245 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()
DWifiNetworkSelectorTest.java384 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()
DWifiLastResortWatchdogTest.java1570 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()
DClientModeImplTest.java1290 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 …]
DMultiInternetManagerTest.java201 isConnected ? mSecondaryInfo.getBSSID() : null); in fakeSecondaryCmmConnected()
DWifiDataStallTest.java144 when(mWifiInfo.getBSSID()).thenReturn("5G_WiFi"); in setUp()
DWifiMonitorTest.java263 assertEquals(bssid, ((IconEvent) messageCaptor.getValue().obj).getBSSID()); in testBroadcastIconDoneEvent()
DWifiServiceImplTest.java3030 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()
DSupplicantStaIfaceHalAidlImplTest.java906 iconEventCaptor.getValue().getBSSID()); in testIconDoneCallback()
DSupplicantStaIfaceHalHidlImplTest.java1098 iconEventCaptor.getValue().getBSSID()); in testIconDoneCallback()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java182 mBSSID.setText(wifiInfo.getBSSID());
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java909 public String getBSSID() { in getBSSID() method in WifiInfo
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java827 ((WifiInfo) redactedNormal.getTransportInfo()).getBSSID()); in testGetRedactedNetworkCapabilitiesForPackage()
838 assertEquals(bssid, ((WifiInfo) redactedPrivileged.getTransportInfo()).getBSSID()); in testGetRedactedNetworkCapabilitiesForPackage()

12