Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java62 when(mWifiInfo.getSSID()).thenReturn(""); in createFromWifi_emptySsid()
69 when(mWifiInfo.getSSID()).thenReturn(WifiManager.UNKNOWN_SSID); in createFromWifi_noneSsid()
76 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_nullBssid()
82 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_emptyBssid()
89 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_invalidBssid()
96 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_validWifiInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java160 ScanResultUtil.createQuotedSSID(bestNetwork.mScanDetail.getSSID()))) { in evaluateNetworks()
224 config.SSID = ScanResultUtil.createQuotedSSID(networkInfo.mScanDetail.getSSID()); in createWifiConfigForProvider()
275 ScanResultUtil.createQuotedSSID(scanDetail.getSSID())); in findBestNetwork()
285 localLog("Best Passpoint network " + bestCandidate.mScanDetail.getSSID() + " provided by " in findBestNetwork()
DNetworkDetail.java367 public String getSSID() { in getSSID() method in NetworkDetail
481 return getSSID().equals(that.getSSID()) && getBSSID() == that.getBSSID(); in equals()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java125 public String getSSID() { in getSSID() method in ScanDetail
126 return mNetworkDetail == null ? mScanResult.SSID : mNetworkDetail.getSSID(); in getSSID()
DWifiLastResortWatchdog.java222 String ssid = "\"" + scanDetail.getSSID() + "\""; in updateAvailableNetworks()
224 Log.v(TAG, " " + bssid + ": " + scanDetail.getSSID()); in updateAvailableNetworks()
373 if (TextUtils.equals(mSsidLastTrigger, mClientModeImpl.getWifiInfo().getSSID())) { in checkIfConnectedBackToSameSsid()
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()
DWifiNetworkSelector.java227 localLog("Current connected network: " + wifiInfo.getSSID() in isCurrentNetworkSufficient()
DClientModeImpl.java2275 if (mWifiInfo.getSSID() != null) { in getLogRecString()
2276 if (mWifiInfo.getSSID() != null) { in getLogRecString()
2277 sb.append(" ").append(mWifiInfo.getSSID()); in getLogRecString()
4700 if (!mWifiInfo.getSSID().equals(WifiSsid.NONE)) { in getCapabilities()
4701 result.setSSID(mWifiInfo.getSSID()); in getCapabilities()
DWifiConnectivityManager.java748 (mWifiInfo.getSSID() + " : " + mWifiInfo.getBSSID()); in connectToNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkEvaluatorTest.java236 mScanDetailCaptor.getAllValues().get(0).getSSID()); in testSelectOneFromMultiple()
238 mScanDetailCaptor.getAllValues().get(1).getSSID()); in testSelectOneFromMultiple()
240 mScanDetailCaptor.getAllValues().get(2).getSSID()); in testSelectOneFromMultiple()
242 mScanDetailCaptor.getAllValues().get(3).getSSID()); in testSelectOneFromMultiple()
DNetworkSuggestionEvaluatorTest.java790 assertEquals("\"" + candidate.first.getSSID() + "\"", candidate.second.SSID); in validateConnectableNetworks()
792 assertTrue(expectedSsidSet.remove(candidate.first.getSSID())); in validateConnectableNetworks()
DWifiLastResortWatchdogTest.java86 when(mWifiInfo.getSSID()).thenReturn(TEST_NETWORK_SSID); in setUp()
1524 when(mWifiInfo.getSSID()).thenReturn(ssids[0]); in testMetricsCollection()
1863 when(mWifiInfo.getSSID()).thenReturn(ssids[0]); in testWatchdogAssumesSuccessOnlyIfFirstConnectionAfterRestartSucceeds()
2149 when(mWifiInfo.getSSID()).thenReturn(ssids[0]); in testWatchdogAssumesSuccessOnlyIfConnectedOnSameSsid()
DWifiScoreCardTest.java342 mWifiInfo.getSSID(), in testDeserialization()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java206 output.getNetworkDetail().getSSID()); in validateScanDetail()
211 assertEquals("getSSID", input.SSID, output.getSSID()); in validateScanDetail()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java159 when(mWifiInfo.getSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.ssid); in setUp()
711 when(mWifiInfo.getSSID()).thenReturn(null); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_nullSsid()
723 when(mWifiInfo.getSSID()).thenReturn(WifiManager.UNKNOWN_SSID); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_noneSsid()
735 when(mWifiInfo.getSSID()).thenReturn(""); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_emptySsid()
771 when(mWifiInfo.getSSID()).thenReturn("\"notInList\""); in testCurrentNetworkScoreCacheFilter_currentNetworkNotInList()
/frameworks/base/core/java/android/net/
DNetworkKey.java113 final String ssid = wifiInfo.getSSID(); in createFromWifiInfo()
DNetworkIdentity.java215 networkId = info != null ? info.getSSID() : null; in buildNetworkIdentity()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java191 String ssid = info.getSSID(); in getValidSsid()
DAccessPoint.java1310 return TextUtils.equals(removeDoubleQuotes(info.getSSID()), ssid); in isInfoForThisAccessPoint()
1989 if (TextUtils.equals(ssid, removeDoubleQuotes(wifiInfo.getSSID()))) { in isSameSsidOrBssid()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java286 String connectedSSID = mWifiManager.getConnectionInfo().getSSID(); in testWifiConfiguredNetworkStatus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java199 when(wifiInfo.getSSID()).thenReturn(ssid); in setWifiState()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java485 assertEquals("SSID mismatch", config.SSID, mWifiManager.getConnectionInfo().getSSID()); in connectToWifi()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java313 public String getSSID() { in getSSID() method in WifiInfo
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java549 public String getSSID() { in getSSID() method in AdbDebuggingManager.AdbConnectionInfo
1013 currentInfo.getSSID())) { in handleMessage()
1304 ssid = wifiInfo.getSSID(); in getCurrentWifiApInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java140 when(scanDetail.getSSID()).thenReturn(ssid); in generateScanDetail()

12