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.java44 when(mWifiInfo.getSSID()).thenReturn(""); in createFromWifi_emptySsid()
51 when(mWifiInfo.getSSID()).thenReturn(WifiSsid.NONE); in createFromWifi_noneSsid()
58 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_nullBssid()
64 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_emptyBssid()
71 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_invalidBssid()
78 when(mWifiInfo.getSSID()).thenReturn(VALID_SSID); in createFromWifi_validWifiInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java116 ScanResultUtil.createQuotedSSID(bestNetwork.mScanDetail.getSSID()))) { in evaluateNetworks()
146 config.SSID = ScanResultUtil.createQuotedSSID(networkInfo.mScanDetail.getSSID()); in createWifiConfigForProvider()
184 ScanResultUtil.createQuotedSSID(scanDetail.getSSID())); in findBestNetwork()
194 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/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java129 output.getNetworkDetail().getSSID()); in validateScanDetail()
134 assertEquals("getSSID", input.SSID, output.getSSID()); in validateScanDetail()
/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.java129 String ssid = "\"" + scanDetail.getSSID() + "\""; in updateAvailableNetworks()
131 Log.v(TAG, " " + bssid + ": " + scanDetail.getSSID()); in updateAvailableNetworks()
DWifiStateMachine.java2105 if (mWifiInfo.getSSID() != null) in getLogRecString()
2106 if (mWifiInfo.getSSID() != null) in getLogRecString()
2107 sb.append(" ").append(mWifiInfo.getSSID()); in getLogRecString()
4499 if (mWifiInfo != null && !mWifiInfo.getSSID().equals(WifiSsid.NONE)) { in updateCapabilities()
4500 result.setSSID(mWifiInfo.getSSID()); in updateCapabilities()
4721 if (mWifiInfo != null && !mWifiInfo.getSSID().equals(WifiSsid.NONE)) { in enter()
4723 nc.setSSID(mWifiInfo.getSSID()); in enter()
DWifiConnectivityManager.java747 (mWifiInfo.getSSID() + " : " + mWifiInfo.getBSSID()); in connectToNetwork()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java139 name = TextUtils.isEmpty(extraInfo) ? nai.networkCapabilities.getSSID() : extraInfo; in showNotification()
182 WifiInfo.removeDoubleQuotes(nai.networkCapabilities.getSSID())); in showNotification()
/frameworks/base/core/java/android/net/
DNetworkKey.java100 final String ssid = wifiInfo.getSSID(); in createFromWifiInfo()
DNetworkIdentity.java226 networkId = info != null ? info.getSSID() : null; in buildNetworkIdentity()
DNetworkCapabilities.java1181 public String getSSID() { in getSSID() method in NetworkCapabilities
/frameworks/base/tests/net/java/android/net/
DNetworkCapabilitiesTest.java408 assertTrue(TEST_SSID.equals(nc2.getSSID())); in testCombineCapabilities()
495 assertTrue(TEST_SSID.equals(nc2.getSSID())); in testSet()
500 assertTrue(DIFFERENT_TEST_SSID.equals(nc2.getSSID())); in testSet()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java160 when(mWifiInfo.getSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.ssid); in setUp()
712 when(mWifiInfo.getSSID()).thenReturn(null); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_nullSsid()
724 when(mWifiInfo.getSSID()).thenReturn(WifiSsid.NONE); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_noneSsid()
736 when(mWifiInfo.getSSID()).thenReturn(""); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_emptySsid()
772 when(mWifiInfo.getSSID()).thenReturn("\"notInList\""); in testCurrentNetworkScoreCacheFilter_currentNetworkNotInList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java167 String ssid = info.getSSID(); in getValidSsid()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java561 if (nc == null || TextUtils.isEmpty(nc.getSSID()) in getHeaderTitle()
565 return getString(R.string.action_bar_title, WifiInfo.removeDoubleQuotes(nc.getSSID())); in getHeaderTitle()
/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.java237 public String getSSID() { in getSSID() method in WifiInfo
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java121 when(scanDetail.getSSID()).thenReturn(ssid); in generateScanDetail()
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
DSliceCreator.java411 state = wifiManager.getConnectionInfo().getSSID(); in createWifiSlice()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1102 assertEquals(WifiSsid.NONE, connectionInfo.getSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1119 assertEquals(WifiSsid.NONE, connectionInfo.getSSID()); in testConnectedIdsAreHiddenOnSecurityException()
1133 assertEquals(TEST_SSID_WITH_QUOTES, connectionInfo.getSSID()); in testConnectedIdsAreVisibleFromPermittedApp()
DWifiStateMachineTest.java1796 assertEquals(WifiSsid.NONE, wifiInfo.getSSID()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent()
1912 assertEquals(wifiInfo.getSSID(), connectionInfo.getSSID()); in testConnectedIdsAreVisibleFromSystemServer()
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
DSampleSliceProvider.java507 state = wifiManager.getConnectionInfo().getSSID(); in createWifiSlice()

12