/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardTest.java | 244 String ssid = mWifiInfo.getSSID(); 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() 287 mWifiScoreCard.resetBssidBlocklistStreakForSsid(mWifiInfo.getSSID()); in testClearBssidBlocklistStreakForSsid() 290 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 296 mWifiInfo.getSSID(), mWifiInfo.getBSSID(), TEST_BSSID_FAILURE_REASON)); in testClearBssidBlocklistStreakForSsid() 308 String ssid = mWifiInfo.getSSID(); in testSetBssidConnectionTimestampMs() 391 mWifiScoreCard.noteConnectionAttempt(mWifiInfo, -53, mWifiInfo.getSSID()); in testDurationStatistics() [all …]
|
D | WifiHealthMonitorTest.java | 163 mWifiConfig.SSID = mWifiInfo.getSSID(); in setUp() 168 mWifiConfig.SSID = mWifiInfo.getSSID(); in setUp() 342 mWifiScoreCard.noteConnectionAttempt(mWifiInfo, -53, mWifiInfo.getSSID()); in makeNetworkConnectionExample() 553 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testTwoDailyDetections() 659 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testAfterSwBuildChange() 811 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSavedNetwork() 816 perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSavedNetwork() 827 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSuggestionNetwork() 832 perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSuggestionNetwork() 838 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testAddNetwork() [all …]
|
D | WifiCountryCodeTest.java | 712 when(mNetworkDetail1.getSSID()).thenReturn(SSID1); in setupScanDetails() 713 when(mNetworkDetail2.getSSID()).thenReturn(SSID1); in setupScanDetails() 714 when(mNetworkDetail3.getSSID()).thenReturn(SSID1); in setupScanDetails()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherSSIDPreferenceControllerTest.java | 89 assertThat(mController.getSSID()) in displayPreference_noWifiConfig_shouldDisplayDefaultSSID() 100 assertThat(mController.getSSID()).isEqualTo(config.getSsid()); in displayPreference_hasCustomWifiConfig_shouldDisplayCustomSSID() 107 assertThat(mController.getSSID()).isEqualTo("1"); in changePreference_shouldUpdateValue() 110 assertThat(mController.getSSID()).isEqualTo("0"); in changePreference_shouldUpdateValue() 137 assertThat(mController.getSSID()).isEqualTo("1"); in updateDisplay_shouldUpdateValue() 146 assertThat(mController.getSSID()).isEqualTo(config.getSsid()); in updateDisplay_shouldUpdateValue()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTaskTest.java | 157 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID); in testIsConnectedToSpecifiedWifiTrue() 180 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testNoWifiInfoInProvider() 208 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testFailingAddingNetwork() 238 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testFailingToReconnectAfterAddingNetwork() 274 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testReconnectAfterAddingNetworkSuccess() 290 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID); in testReconnectAfterAddingNetworkSuccess()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | WifiTileTest.java | 75 when(wifiInfo.getSSID()).thenReturn(WifiManager.UNKNOWN_SSID); in getQCItem_wifiNotConnected_returnsTile() 90 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_wifiConnected_returnsTile() 126 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() 162 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_osuWifiConnected_noFriendlyName_returnsTile() 210 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_createsTile_zoneWrite() 226 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_createsTile_zoneRead() 243 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_createsTile_zoneHidden()
|
D | WifiRowTest.java | 86 when(wifiInfo.getSSID()).thenReturn(WifiManager.UNKNOWN_SSID); in getQCItem_wifiNotConnected_returnsRow() 102 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_wifiConnected_returnsRow() 140 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() 178 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_osuWifiConnected_noFriendlyName_returnsRow() 229 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_createsRow_zoneWrite() 248 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_createsRow_zoneRead() 268 when(wifiInfo.getSSID()).thenReturn(testSSID); in getQCItem_createsRow_zoneHidden()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiInfoTest.java | 182 assertEquals("\"" + TEST_SSID + "\"", info.getSSID()); in assertNoRedaction() 259 assertEquals(WifiManager.UNKNOWN_SSID, info.getSSID()); in assertLocationSensitiveRedaction() 322 assertEquals("\"" + TEST_SSID + "\"", info.getSSID()); in assertLocalMacAddressInfoRedaction() 432 assertEquals(WifiManager.UNKNOWN_SSID, info.getSSID()); in assertLocationSensitiveAndLocalMacAddressRedaction() 579 assertEquals(WifiManager.UNKNOWN_SSID, wifiInfo.getSSID()); in testWifiInfoResetValue() 614 assertEquals("\"" + TEST_SSID + "\"", info1.getSSID()); in testWifiInfoBuilder() 627 assertEquals("\"" + TEST_SSID + "\"", info1.getSSID()); in testWifiInfoBuilder() 633 assertEquals("\"" + TEST_SSID + "\"", info2.getSSID()); in testWifiInfoBuilder() 644 assertEquals(WifiManager.UNKNOWN_SSID, builder.build().getSSID()); in testSetSsid() 648 assertEquals(WifiManager.UNKNOWN_SSID, builder.build().getSSID()); in testSetSsid() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | WifiQCUtils.java | 51 wifiName = wifiInfo.getSSID(); in getSubtitle() 54 wifiName = wifiInfo.getSSID(); in getSubtitle()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanDetail.java | 188 public String getSSID() { in getSSID() method in ScanDetail 189 return mNetworkDetail == null ? mScanResult.SSID : mNetworkDetail.getSSID(); in getSSID()
|
D | WifiLastResortWatchdog.java | 254 String ssid = "\"" + scanDetail.getSSID() + "\""; in updateAvailableNetworks() 256 Log.v(TAG, " " + bssid + ": " + scanDetail.getSSID()); in updateAvailableNetworks() 421 if (TextUtils.equals(mSsidLastTrigger, wifiInfo.getSSID())) { in checkIfConnectedBackToSameSsid()
|
D | WifiScoreCard.java | 291 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in getL2KeyAndGroupHint() 363 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in updatePerBssid() 398 updatePerNetwork(Event.SIGNAL_POLL, wifiInfo.getSSID(), wifiInfo.getRssi(), in noteSignalPoll() 430 updatePerNetwork(Event.IP_CONFIGURATION_SUCCESS, wifiInfo.getSSID(), wifiInfo.getRssi(), in noteIpConfiguration() 432 PerNetwork perNetwork = lookupNetwork(wifiInfo.getSSID()); in noteIpConfiguration() 493 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in noteNetworkAgentCreated()
|
D | ClientModeImpl.java | 2263 if (mWifiInfo.getSSID() != null) { in getLogRecString() 2264 if (mWifiInfo.getSSID() != null) { in getLogRecString() 2265 sb.append(" ").append(mWifiInfo.getSSID()); in getLogRecString() 2861 WifiScoreCard.PerNetwork network = mWifiScoreCard.lookupNetwork(mWifiInfo.getSSID()); in updateLinkBandwidthAndCapabilities() 3819 String ssid = mWifiInfo.getSSID(); in reportConnectionAttemptEnd() 3992 mWifiBlocklistMonitor.handleDhcpProvisioningSuccess(mLastBssid, mWifiInfo.getSSID()); in handleIPv4Success() 5245 if (!WifiManager.UNKNOWN_SSID.equals(mWifiInfo.getSSID())) { in getCapabilities() 5246 builder.setSsid(mWifiInfo.getSSID()); in getCapabilities() 5346 WifiScoreCard.PerNetwork network = mWifiScoreCard.lookupNetwork(mWifiInfo.getSSID()); in updateLinkBandwidth() 6483 mWifiBlocklistMonitor.handleBssidConnectionSuccess(mLastBssid, mWifiInfo.getSSID()); in enterImpl() [all …]
|
D | WifiNetworkSelector.java | 971 && Objects.equals(wifiInfo.getSSID(), thatCmmState.wifiInfo.getSSID()) in equals() 978 wifiInfo.getSSID(), wifiInfo.getBSSID(), role); in hashCode()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ActiveNetworkProvider.java | 75 .map(WifiInfo::getSSID) in getSsid()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | NetworkDetail.java | 590 public String getSSID() { in getSSID() method in NetworkDetail 728 return getSSID().equals(that.getSSID()) && getBSSID() == that.getBSSID(); in equals()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/b2b/ |
D | WifiRoamingModeManager.java | 52 String currentSsid = mActiveModeWarden.getConnectionInfo().getSSID(); in checkAndUpdatePolicy()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiStatusTest.java | 197 mSSID.setText(wifiInfo.getSSID()); 301 String summary = AccessPoint.getSummary(this, info.getSSID(), in handleNetworkStateChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiDialogActivityTest.java | 121 assertThat(wifiManager.getConnectionInfo().getSSID()).isEqualTo("\"SSID\""); in onSubmit_shouldConnectToNetwork() 183 assertThat(wifiManager.getConnectionInfo().getSSID()).isEqualTo(WifiManager.UNKNOWN_SSID); in onSubmit_whenConnectForCallerIsFalse_shouldNotConnectToNetwork()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSSIDPreferenceController.java | 116 public String getSSID() { in getSSID() method in WifiTetherSSIDPreferenceController
|
D | WifiTetherSettings.java | 318 configBuilder.setSsid(mSSIDPreferenceController.getSSID()); in buildNewConfig()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/b2b/ |
D | WifiRoamingModeManagerTest.java | 67 when(mWifiInfo.getSSID()).thenReturn(CURRENT_SSID); in setUp()
|
/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanEventListenerTest.java | 150 when(mMockWifiInfo.getSSID()).thenReturn(WIFI_SSID_1); in testWifiApChanged() 154 when(mMockWifiInfo.getSSID()).thenReturn(WIFI_SSID_2); in testWifiApChanged()
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | NetworkUtil.java | 127 name = wifiInfo.getSSID(); in getWifiNetworkName()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTask.java | 211 String connectedSSID = mWifiManager.getConnectionInfo().getSSID(); in isConnectedToSpecifiedWifi()
|