/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkKeyTest.java | 44 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/ |
D | PasspointNetworkEvaluator.java | 116 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()
|
D | NetworkDetail.java | 367 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/ |
D | ScanResultUtilTest.java | 129 output.getNetworkDetail().getSSID()); in validateScanDetail() 134 assertEquals("getSSID", input.SSID, output.getSSID()); in validateScanDetail()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanDetail.java | 125 public String getSSID() { in getSSID() method in ScanDetail 126 return mNetworkDetail == null ? mScanResult.SSID : mNetworkDetail.getSSID(); in getSSID()
|
D | WifiLastResortWatchdog.java | 129 String ssid = "\"" + scanDetail.getSSID() + "\""; in updateAvailableNetworks() 131 Log.v(TAG, " " + bssid + ": " + scanDetail.getSSID()); in updateAvailableNetworks()
|
D | WifiStateMachine.java | 2105 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()
|
D | WifiConnectivityManager.java | 747 (mWifiInfo.getSSID() + " : " + mWifiInfo.getBSSID()); in connectToNetwork()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 139 name = TextUtils.isEmpty(extraInfo) ? nai.networkCapabilities.getSSID() : extraInfo; in showNotification() 182 WifiInfo.removeDoubleQuotes(nai.networkCapabilities.getSSID())); in showNotification()
|
/frameworks/base/core/java/android/net/ |
D | NetworkKey.java | 100 final String ssid = wifiInfo.getSSID(); in createFromWifiInfo()
|
D | NetworkIdentity.java | 226 networkId = info != null ? info.getSSID() : null; in buildNetworkIdentity()
|
D | NetworkCapabilities.java | 1181 public String getSSID() { in getSSID() method in NetworkCapabilities
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkCapabilitiesTest.java | 408 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/ |
D | NetworkScoreServiceTest.java | 160 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/ |
D | WifiStatusTracker.java | 167 String ssid = info.getSSID(); in getValidSsid()
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 561 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/ |
D | WifiClientTest.java | 286 String connectedSSID = mWifiManager.getConnectionInfo().getSSID(); in testWifiConfiguredNetworkStatus()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 199 when(wifiInfo.getSSID()).thenReturn(ssid); in setWifiState()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 485 assertEquals("SSID mismatch", config.SSID, mWifiManager.getConnectionInfo().getSSID()); in connectToWifi()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 237 public String getSSID() { in getSSID() method in WifiInfo
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluatorTest.java | 121 when(scanDetail.getSSID()).thenReturn(ssid); in generateScanDetail()
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
D | SliceCreator.java | 411 state = wifiManager.getConnectionInfo().getSSID(); in createWifiSlice()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 1102 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()
|
D | WifiStateMachineTest.java | 1796 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/ |
D | SampleSliceProvider.java | 507 state = wifiManager.getConnectionInfo().getSSID(); in createWifiSlice()
|