Home
last modified time | relevance | path

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

1234

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DAdbQrCodeTest.java31 assertThat(config.getSsid()).isEqualTo("reallyLONGone"); in testZxParsing_validCode()
36 assertThat(config.getSsid()).isEqualTo("anotherone"); in testZxParsing_validCode()
41 assertThat(config.getSsid()).isEqualTo("xx"); in testZxParsing_validCode()
50 assertThat(config.getSsid()).isEqualTo("reallyLONGone"); in testZxParsing_invalidCodeButShouldWork()
55 assertThat(config.getSsid()).isEqualTo("anotherone"); in testZxParsing_invalidCodeButShouldWork()
60 assertThat(config.getSsid()).isEqualTo("xx"); in testZxParsing_invalidCodeButShouldWork()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogFragmentTest.java93 when(mWifiEntry.getSsid()).thenReturn(KEY_SSID); in setUp()
205 when(wifiEntry1.getSsid()).thenReturn("Test AP 1"); in createWifiEntryList()
210 when(wifiEntry2.getSsid()).thenReturn("Test AP 2"); in createWifiEntryList()
215 when(wifiEntry3.getSsid()).thenReturn("Test AP 3"); in createWifiEntryList()
220 when(wifiEntry4.getSsid()).thenReturn("Test AP 4"); in createWifiEntryList()
225 when(wifiEntry5.getSsid()).thenReturn("Test AP 5"); in createWifiEntryList()
230 when(wifiEntry6.getSsid()).thenReturn("Test AP 6"); in createWifiEntryList()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionController.java100 .setSummaryText(getSsid().toString()) in buildContextualCard()
119 private CharSequence getSsid() { in getSsid() method in HotspotConditionController
125 return softApConfig.getSsid(); in getSsid()
/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/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSSIDPreferenceControllerTest.java100 assertThat(mController.getSSID()).isEqualTo(config.getSsid()); in displayPreference_hasCustomWifiConfig_shouldDisplayCustomSSID()
146 assertThat(mController.getSSID()).isEqualTo(config.getSsid()); in updateDisplay_shouldUpdateValue()
147 assertThat(mPreference.getSummary()).isEqualTo(config.getSsid()); in updateDisplay_shouldUpdateValue()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DNetworkInformationShimImpl.java90 public String getSsid(@Nullable NetworkCapabilities nc) { in getSsid() method in NetworkInformationShimImpl
92 return nc.getSsid(); in getSsid()
/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()
435 mSummary.setText(getString(R.string.wifi_dpp_add_device_to_wifi, getSsid())); in updateSummary()
DWifiDppQrCodeGeneratorFragment.java125 wifiNetworkConfig.getSsid())); in onViewCreated()
130 wifiNetworkConfig.getSsid())); in onViewCreated()
147 String ssid = WifiDppUtils.removeFirstAndLastDoubleQuotes(wifiNetworkConfig.getSsid()); in onViewCreated()
DWifiDppQrCodeScannerFragment.java254 if (!TextUtils.equals(wifiEntry.getSsid(), sanitizeSsid(wifiConfiguration.SSID))) { in isReachableWifiNetwork()
277 if (!TextUtils.equals(wifiEntry.getSsid(), sanitizeSsid(ssid))) continue; in canConnectWifi()
468 wifiNetworkConfig.getSsid())); in onViewCreated()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java575 assertEquals("ap1", softApConfigurationCaptor.getValue().getSsid()); in testStartLohs()
608 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithUntrusted()
627 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithUntrusted()
643 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPaid()
662 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPaid()
678 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPrivate()
697 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithOemPrivate()
712 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithNonPersistentMacRandomization()
724 && (sL.get(0).getSsid().equals("ssid1234")) in testAddSuggestionWithNonPersistentMacRandomization()
DWifiScoreCardProtoTest.java53 assertEquals("FloogleGuest", network.getSsid()); in testBuilder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeScannerFragmentTest.java73 when(mWifiEntry.getSsid()).thenReturn(WIFI_SSID); in setUp()
82 when(mWifiEntry.getSsid()).thenReturn("diff-wifi-ssid"); in canConnectWifi_noAvailableWifiMatch_returnTrue()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DAccessPoint.java219 return mWifiEntry.getSsid(); in getSsidStr()
222 public CharSequence getSsid() { in getSsid() method in AccessPoint
DConnectivityListener.java436 String ssid = getSsid(); in updateConnectivityStatus()
507 public String getSsid() { in getSsid() method in ConnectivityListener
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestDialogFragment.java277 connectedSsid = connectedWifiEntry.getSsid(); in updateWifiEntries()
293 && TextUtils.equals(entry.getSsid(), connectedSsid)) { in isMatchedWifiEntry()
300 if (!TextUtils.equals(entry.getSsid(), wifi.mSsid)) { in isMatchedWifiEntry()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImplTest.java1148 doReturn(mSsidBytes).when(mISupplicantP2pIfaceMock).getSsid(eq(mPeerMacAddressBytes)); in testGetSsid_success()
1151 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_success()
1153 assertEquals(NativeUtil.removeEnclosingQuotes(mSsid), mDut.getSsid(mPeerMacAddress)); in testGetSsid_success()
1162 doReturn(mSsidBytes).when(mISupplicantP2pIfaceMock).getSsid(any(byte[].class)); in testGetSsid_invalidArguments()
1164 assertNull(mDut.getSsid(address)); in testGetSsid_invalidArguments()
1175 doReturn(null).when(mISupplicantP2pIfaceMock).getSsid(any(byte[].class)); in testGetSsid_nullResult()
1176 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_nullResult()
1186 .when(mISupplicantP2pIfaceMock).getSsid(any(byte[].class)); in testGetSsid_failure()
1187 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_failure()
1199 .when(mISupplicantP2pIfaceMock).getSsid(any(byte[].class)); in testGetSsid_exception()
[all …]
DSupplicantP2pIfaceHalHidlImplTest.java1180 }).when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_success()
1185 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_success()
1187 assertEquals(NativeUtil.removeEnclosingQuotes(mSsid), mDut.getSsid(mPeerMacAddress)); in testGetSsid_success()
1201 }).when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_invalidArguments()
1205 assertNull(mDut.getSsid(address)); in testGetSsid_invalidArguments()
1213 }).when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_invalidArguments()
1216 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_invalidArguments()
1230 }).when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_failure()
1233 assertNull(mDut.getSsid(mPeerMacAddress)); in testGetSsid_failure()
1244 doThrow(mRemoteException).when(mISupplicantP2pIfaceMock).getSsid( in testGetSsid_exception()
[all …]
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DNetworkInformationShim.java68 String getSsid(@Nullable NetworkCapabilities nc); in getSsid() method
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherUtil.java67 String subtitle = softApConfig.getSsid(); in getHotspotSubtitle()
DWifiTetherNamePreferenceController.java55 mName = getCarSoftApConfig().getSsid(); in onCreateInternal()
DWifiTetherQrCodePreferenceController.java114 String name = getCarSoftApConfig().getSsid(); in updateQrCode()
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DNetworkInformationShimImpl.java86 public String getSsid(@Nullable NetworkCapabilities nc) { in getSsid() method in NetworkInformationShimImpl
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DActiveNetworkProvider.java69 public String getSsid() { in getSsid() method in ActiveNetworkProvider
DConnectivityListener.java406 String ssid = getSsid(); in updateConnectivityStatus()
503 public String getSsid() { in getSsid() method in ConnectivityListener
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsHeaderPreferenceController.java60 preference.setTitle(getWifiEntry().getSsid()); in updateState()

1234