Home
last modified time | relevance | path

Searched refs:getSsid (Results 1 – 25 of 83) sorted by relevance

1234

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApStoreDataTest.java384 assertEquals(softApConfig.getSsid(), TEST_SSID); in deserializeSoftAp()
427 assertEquals(softApConfig.getSsid(), TEST_SSID); in deserializeOldSoftApXMLWhichShutdownTimeoutIsInt()
455 assertEquals(softApConfig.getSsid(), TEST_SSID); in deserializeOldBandSoftAp()
477 assertEquals(softApConfig.getSsid(), TEST_SSID); in deserializeNewBandSoftApButNoNewConfig()
510 assertEquals(softApConfig.getSsid(), softApConfigDeserialized.getSsid()); in serializeDeserializeSoftAp()
547 assertEquals(softApConfig.getSsid(), softApConfigDeserialized.getSsid()); in serializeDeserializeSoftApWpa3Sae()
584 assertEquals(softApConfig.getSsid(), softApConfigDeserialized.getSsid()); in serializeDeserializeSoftApWpa3SaeTransition()
613 assertEquals(softApConfig.getSsid(), TEST_SSID); in deserializeSoftApWithNoAutoShutdownTag()
623 assertEquals(softApConfig.getSsid(), TEST_SSID); in deserializeSoftApWithNoAutoShutdownTag()
642 assertEquals(softApConfig.getSsid(), TEST_SSID); in deserializeSoftApWithNoBssidTag()
[all …]
DWifiShellCommandTest.java546 assertEquals("ap1", softApConfigurationCaptor.getValue().getSsid()); in testStartSoftAp()
579 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithUntrusted()
598 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithUntrusted()
614 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPaid()
633 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPaid()
649 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPrivate()
668 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPrivate()
683 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithEnhancedMacRandomization()
695 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithEnhancedMacRandomization()
DSoftApBackupRestoreTest.java96 assertEquals(backup.SSID, restore.getSsid()); in assertWifiConfigurationEqualSoftApConfiguration()
351 BackupUtils.writeString(out, config.getSsid()); in retrieveVersion5BackupDataFromSoftApConfiguration()
429 BackupUtils.writeString(out, config.getSsid()); in retrieveVersion6BackupDataFromSoftApConfiguration()
455 BackupUtils.writeString(out, config.getSsid()); in retrieveVersion7BackupDataFromSoftApConfiguration()
DWifiScoreCardProtoTest.java53 assertEquals("FloogleGuest", network.getSsid()); in testBuilder()
DWifiApConfigStoreTest.java185 assertEquals(config1.getSsid(), config2.getSsid()); in verifyApConfig()
201 String[] splitSsid = config.getSsid().split("_"); in verifyDefaultApConfig()
244 String[] splitSsid = config.getSsid().split("_"); in verifyDefaultLocalOnlyApConfig()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogFragmentTest.java169 when(wifiEntry1.getSsid()).thenReturn("Test AP 1"); in createWifiEntryList()
174 when(wifiEntry2.getSsid()).thenReturn("Test AP 2"); in createWifiEntryList()
179 when(wifiEntry3.getSsid()).thenReturn("Test AP 3"); in createWifiEntryList()
184 when(wifiEntry4.getSsid()).thenReturn("Test AP 4"); in createWifiEntryList()
189 when(wifiEntry5.getSsid()).thenReturn("Test AP 5"); in createWifiEntryList()
194 when(wifiEntry6.getSsid()).thenReturn("Test AP 6"); in createWifiEntryList()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java183 private String getSsid(@NonNull TrackedNetworkStatus status) { in getSsid() method in NetworkStackNotifier
184 return mInfoShim.getSsid(status.mNetworkCapabilities); in getSsid()
200 final boolean hasSsid = !TextUtils.isEmpty(getSsid(networkStatus)); in updateNotifications()
242 ? getSsid(networkStatus) : friendlyName; in updateNotifications()
255 getSsid(networkStatus)) in updateNotifications()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionController.java100 .setSummaryText(getSsid().toString()) in buildContextualCard()
116 private CharSequence getSsid() { in getSsid() method in HotspotConditionController
122 return softApConfig.getSsid(); in getSsid()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSSIDPreferenceControllerTest.java96 assertThat(mController.getSSID()).isEqualTo(config.getSsid()); in displayPreference_hasCustomWifiConfig_shouldDisplayCustomSSID()
142 assertThat(mController.getSSID()).isEqualTo(config.getSsid()); in updateDisplay_shouldUpdateValue()
143 assertThat(mPreference.getSummary()).isEqualTo(config.getSsid()); in updateDisplay_shouldUpdateValue()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppAddDeviceFragment.java219 R.string.wifi_dpp_failure_not_supported, getSsid()); in showErrorUi()
381 private String getSsid() { in getSsid() method in WifiDppAddDeviceFragment
387 return wifiNetworkConfig.getSsid(); in getSsid()
434 mSummary.setText(getString(R.string.wifi_dpp_add_device_to_wifi, getSsid())); in updateSummary()
DWifiDppQrCodeGeneratorFragment.java124 wifiNetworkConfig.getSsid())); in onViewCreated()
129 wifiNetworkConfig.getSsid())); in onViewCreated()
146 String ssid = WifiDppUtils.removeFirstAndLastDoubleQuotes(wifiNetworkConfig.getSsid()); in onViewCreated()
DAdbQrCode.java45 if (TextUtils.isEmpty(mAdbConfig.getSsid())) { in AdbQrCode()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DNetworkInformationShimImpl.java95 public String getSsid(@Nullable NetworkCapabilities nc) { in getSsid() method in NetworkInformationShimImpl
97 return nc.getSsid(); in getSsid()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java1150 .when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_success()
1155 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_success()
1157 assertEquals(NativeUtil.removeEnclosingQuotes(mSsid), mDut.getSsid(mPeerMacAddress)); in testGetSsid_success()
1172 .when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_invalidArguments()
1176 assertNull(mDut.getSsid(address)); in testGetSsid_invalidArguments()
1185 .when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_invalidArguments()
1188 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_invalidArguments()
1203 .when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_failure()
1206 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_failure()
1218 .when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_exception()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java409 if (customConfig == null || customConfig.getSsid() == null) { in generateLocalOnlyHotspotConfig()
447 MacAddress macAddress = mMacAddressUtil.calculatePersistentMac(config.getSsid(), in randomizeBssidIfUnset()
519 if (!validateApConfigSsid(apConfig.getSsid())) { in validateApWifiConfiguration()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java385 String ssid = getSsid(); in updateConnectivityStatus()
455 public String getSsid() { in getSsid() method in ConnectivityListener
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DNetworkInformationShim.java66 String getSsid(@Nullable NetworkCapabilities nc); in getSsid() method
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherNamePreferenceController.java55 mName = getCarSoftApConfig().getSsid(); in onCreateInternal()
DWifiEntryPreference.java79 setTitle(mWifiEntry.getSsid()); in refresh()
DWifiPasswordDialog.java62 mDialogTitle = mWifiEntry.getSsid(); in onCreate()
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DNetworkInformationShimImpl.java100 public String getSsid(@Nullable NetworkCapabilities nc) { in getSsid() method in NetworkInformationShimImpl
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsHeaderPreferenceController.java60 preference.setTitle(getWifiEntry().getSsid()); in updateState()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java608 assertTrue(TEST_SSID.equals(nc2.getSsid())); in testCombineCapabilities()
805 assertTrue(TEST_SSID.equals(nc2.getSsid())); in testSet()
812 assertTrue(DIFFERENT_TEST_SSID.equals(nc2.getSsid())); in testSet()
1143 assertEquals(ssid, nc.getSsid()); in testBuilder()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java143 mText = wifiEntry.getSsid(); in updateWifiEntrySsid()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiUtilsTest.java98 when(wifiEntry.getSsid()).thenReturn(testSSID); in getWifiConfigByWifiEntry_shouldReturnCorrectConfig()

1234