Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java56 when(mWifiInfo.getBSSID()).thenReturn(VALID_BSSID); in createFromWifi_nullSsid()
63 when(mWifiInfo.getBSSID()).thenReturn(VALID_BSSID); in createFromWifi_emptySsid()
70 when(mWifiInfo.getBSSID()).thenReturn(VALID_BSSID); in createFromWifi_noneSsid()
83 when(mWifiInfo.getBSSID()).thenReturn(""); in createFromWifi_emptyBssid()
90 when(mWifiInfo.getBSSID()).thenReturn(INVALID_BSSID); in createFromWifi_invalidBssid()
97 when(mWifiInfo.getBSSID()).thenReturn(VALID_BSSID); in createFromWifi_validWifiInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DIconEvent.java16 public long getBSSID() { in getBSSID() method in IconEvent
DNetworkDetail.java386 public long getBSSID() { in getBSSID() method in NetworkDetail
481 return getSSID().equals(that.getSSID()) && getBSSID() == that.getBSSID(); in equals()
DPasspointEventHandler.java126 iconEvent.getBSSID(), iconEvent.getFileName(), iconEvent.getData()); in notifyIconDone()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiDataStall.java148 || (mLastBssid.equals(wifiInfo.getBSSID()) in checkForDataStall()
151 mLastBssid = wifiInfo.getBSSID(); in checkForDataStall()
DWifiScoreCard.java161 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in getL2KeyAndGroupHint()
201 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in update()
280 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in noteNetworkAgentCreated()
DLinkProbeManager.java247 MacAddress.fromString(wifiInfo.getBSSID()), in updateConnectionStats()
DWifiConnectivityManager.java720 || targetBssid.equals(mWifiInfo.getBSSID())) in connectToNetwork()
748 (mWifiInfo.getSSID() + " : " + mWifiInfo.getBSSID()); in connectToNetwork()
DClientModeImpl.java2280 if (mWifiInfo.getBSSID() != null) { in getLogRecString()
2281 sb.append(" ").append(mWifiInfo.getBSSID()); in getLogRecString()
2436 if (mWifiInfo.getBSSID() != null) { in getLogRecString()
2437 sb.append(" ").append(mWifiInfo.getBSSID()); in getLogRecString()
3893 String bssid = mWifiInfo.getBSSID(); in getCurrentScanResult()
5237 if (mLastBssid != null && (mWifiInfo.getBSSID() == null in processMessage()
5238 || !mLastBssid.equals(mWifiInfo.getBSSID()))) { in processMessage()
5816 + " BSSID=" + mWifiInfo.getBSSID() in processMessage()
6476 mWifiNative.probeLink(mInterfaceName, MacAddress.fromString(mWifiInfo.getBSSID()), in probeLink()
DWifiNetworkSelector.java712 String currentBssid = wifiInfo.getBSSID(); in selectNetwork()
/frameworks/base/core/java/android/net/
DNetworkKey.java114 final String bssid = wifiInfo.getBSSID(); in createFromWifiInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java249 when(mWifiInfo.getBSSID()).thenReturn(null); in setupWifiInfo()
431 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in openNetworkIsNotSufficient()
479 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in lowRssi5GNetworkIsNotSufficient()
527 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in noInternetAccessNetworkIsNotSufficient()
640 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in noSelectionWhenCurrentNetworkNotInScanResults()
1167 when(mWifiInfo.getBSSID()).thenReturn(bssids[0]); in testStayOrTryToSwitchImpl()
DClientModeImplTest.java1033 assertEquals(sBSSID, wifiInfo.getBSSID()); in connect()
2138 assertEquals(sBSSID1, wifiInfo.getBSSID()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent()
2147 assertNull(wifiInfo.getBSSID()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent()
2175 assertEquals(sBSSID1, wifiInfo.getBSSID()); in testWifiInfoUpdatedUponAssociatedBSSIDEvent()
2207 assertNull(wifiInfo.getBSSID()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2213 assertEquals(sBSSID, wifiInfo.getBSSID()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2230 assertNull(wifiInfo.getBSSID()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2237 assertNull(wifiInfo.getBSSID()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2257 assertNull(wifiInfo.getBSSID()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2270 assertEquals(sBSSID, wifiInfo.getBSSID()); in testConnectedIdsAreVisibleFromSystemServer()
[all …]
DWifiDataStallTest.java90 when(mWifiInfo.getBSSID()).thenReturn("5G_WiFi"); in setUp()
DWifiMonitorTest.java244 assertEquals(bssid, ((IconEvent) messageCaptor.getValue().obj).getBSSID()); in testBroadcastIconDoneEvent()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java314 assertNotNull("not associated with any AP", mWifiManager.getConnectionInfo().getBSSID()); in testWifiStateChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingActivity.java158 String bssid = wifiInfo.getBSSID(); in onReceive()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java545 public String getBSSID() { in getBSSID() method in AdbDebuggingManager.AdbConnectionInfo
626 String bssid = wifiInfo.getBSSID();
633 if (!bssid.equals(mAdbConnectionInfo.getBSSID())) {
1012 if (!verifyWifiNetwork(currentInfo.getBSSID(), in handleMessage()
1066 if (newInfo == null || !bssid.equals(newInfo.getBSSID())) { in handleMessage()
1321 String bssid = wifiInfo.getBSSID(); in getCurrentWifiApInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java92 bssid = info.getBSSID(); in getVisibilityStatus()
DAccessPoint.java1991 } else if (wifiInfo.getBSSID() != null && TextUtils.equals(bssid, wifiInfo.getBSSID())) { in isSameSsidOrBssid()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java349 public String getBSSID() { in getBSSID() method in WifiInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java160 when(mWifiInfo.getBSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.bssid); in setUp()
747 when(mWifiInfo.getBSSID()).thenReturn(INVALID_BSSID); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_invalidBssid()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java291 && mWifiManager.getConnectionInfo().getBSSID() != null)) { in updateCarrierText()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java356 when(wifiInfo.getBSSID()).thenReturn(""); in mockWifi()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java858 return (mWm.getConnectionInfo().getBSSID() == null) ? false : true;

12