Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java244 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 …]
DWifiHealthMonitorTest.java163 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 …]
DWifiCountryCodeTest.java712 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/
DWifiTetherSSIDPreferenceControllerTest.java89 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/
DAddWifiNetworkTaskTest.java157 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/
DWifiTileTest.java75 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()
DWifiRowTest.java86 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/
DWifiInfoTest.java182 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/
DWifiQCUtils.java51 wifiName = wifiInfo.getSSID(); in getSubtitle()
54 wifiName = wifiInfo.getSSID(); in getSubtitle()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanDetail.java188 public String getSSID() { in getSSID() method in ScanDetail
189 return mNetworkDetail == null ? mScanResult.SSID : mNetworkDetail.getSSID(); in getSSID()
DWifiLastResortWatchdog.java254 String ssid = "\"" + scanDetail.getSSID() + "\""; in updateAvailableNetworks()
256 Log.v(TAG, " " + bssid + ": " + scanDetail.getSSID()); in updateAvailableNetworks()
421 if (TextUtils.equals(mSsidLastTrigger, wifiInfo.getSSID())) { in checkIfConnectedBackToSameSsid()
DWifiScoreCard.java291 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()
DClientModeImpl.java2263 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 …]
DWifiNetworkSelector.java971 && 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/
DActiveNetworkProvider.java75 .map(WifiInfo::getSSID) in getSsid()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DNetworkDetail.java590 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/
DWifiRoamingModeManager.java52 String currentSsid = mActiveModeWarden.getConnectionInfo().getSSID(); in checkAndUpdatePolicy()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java197 mSSID.setText(wifiInfo.getSSID());
301 String summary = AccessPoint.getSummary(this, info.getSSID(), in handleNetworkStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiDialogActivityTest.java121 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/
DWifiTetherSSIDPreferenceController.java116 public String getSSID() { in getSSID() method in WifiTetherSSIDPreferenceController
DWifiTetherSettings.java318 configBuilder.setSsid(mSSIDPreferenceController.getSSID()); in buildNewConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/b2b/
DWifiRoamingModeManagerTest.java67 when(mWifiInfo.getSSID()).thenReturn(CURRENT_SSID); in setUp()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanEventListenerTest.java150 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/
DNetworkUtil.java127 name = wifiInfo.getSSID(); in getWifiNetworkName()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java211 String connectedSSID = mWifiManager.getConnectionInfo().getSSID(); in isConnectedToSpecifiedWifi()

12