Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceControllerTest.java149 when(mMockWifiEntry1.isSaved()).thenReturn(false); in refreshUi_notSavedWifiEntry_noForgetButton()
179 when(mMockWifiEntry1.isSaved()).thenReturn(false); in performClick_noSecurityNotConnectedWifiEntry_connect()
192 when(mMockWifiEntry1.isSaved()).thenReturn(false); in performClick_shouldEditBeforeConnect_launchDialog()
232 when(mMockWifiEntry1.isSaved()).thenReturn(true); in performClick_savedWifiEntry_connect()
251 when(mMockWifiEntry1.isSaved()).thenReturn(true); in performButtonClick_savedWifiEntry_forgetsNetwork()
272 when(mMockWifiEntry1.isSaved()).thenReturn(false); in callChangeListener_newSecureWifiEntry_wifiConnected()
291 when(mMockWifiEntry1.isSaved()).thenReturn(false); in fetchWifiEntries_getSavedWifiEntries()
318 when(mMockWifiEntry1.isSaved()).thenReturn(false); in fetchWifiEntries_getAllWifiEntries()
341 when(mMockWifiEntry1.isSaved()).thenReturn(false); in fetchWifiEntries_restrictionByDpm_returnsNoEntries()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiDetailsActionButtonsPreferenceControllerTest.java95 when(mMockWifiEntry.isSaved()).thenReturn(true); in updateState_connectNotNeeded_disconnectButtonShown()
107 when(mMockWifiEntry.isSaved()).thenReturn(true); in updateState_needConnect_connectButtonShown()
119 when(mMockWifiEntry.isSaved()).thenReturn(true); in updateState_canForget_forgetButtonShown()
128 when(mMockWifiEntry.isSaved()).thenReturn(true); in updateState_canNotForget_forgetButtonHidden()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DLongPressWifiEntryPreferenceTest.java65 when(mWifiEntry.isSaved()).thenReturn(false); in setUp()
99 when(mWifiEntry.isSaved()).thenReturn(true); in shouldEnabled_canNotConnectButIsSaved_returnTrue()
109 when(mWifiEntry.isSaved()).thenReturn(true); in shouldEnabled_canNotConnectButCanDisconnectAndIsSaved_returnTrue()
DWifiConfigControllerTest.java193 when(mAccessPoint.isSaved()).thenReturn(true); in isSubmittable_savedConfigZeroLengthPassword_shouldReturnTrue()
213 when(mAccessPoint.isSaved()).thenReturn(true); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
226 when(mAccessPoint.isSaved()).thenReturn(true); in isSubmittable_EapWithAkaMethod_shouldReturnTrue()
424 when(mAccessPoint.isSaved()).thenReturn(true); in checkSavedMacRandomizedValue()
466 when(mAccessPoint.isSaved()).thenReturn(true); in checkSavedDhcpValue()
568 when(mAccessPoint.isSaved()).thenReturn(true); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
DWifiConfigController2Test.java247 when(mWifiEntry.isSaved()).thenReturn(true); in isSubmittable_savedConfigZeroLengthPassword_shouldReturnTrue()
265 when(mWifiEntry.isSaved()).thenReturn(true); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
279 when(mWifiEntry.isSaved()).thenReturn(true); in isSubmittable_EapWithAkaMethod_shouldReturnTrue()
480 when(mWifiEntry.isSaved()).thenReturn(true); in checkSavedMacRandomizedValue()
528 when(mWifiEntry.isSaved()).thenReturn(true); in checkSavedDhcpValue()
869 when(mWifiEntry.isSaved()).thenReturn(true); in setUpModifyingSavedPeapConfigController()
1058 when(mWifiEntry.isSaved()).thenReturn(true); in setUpModifyingSavedCertificateConfigController()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiMeteredPreferenceController2.java60 if (mWifiEntry.isSaved() || mWifiEntry.isSubscription()) { in onPreferenceChange()
72 if (mWifiEntry.isSaved() || mWifiEntry.isSubscription()) { in getMeteredOverride()
DWifiDetailPreferenceController2.java277 if (!mWifiEntry.isSaved() && network.equals(mNetwork)) {
886 return mWifiEntry.isSaved() in canModifyNetwork()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java336 if (mWifiEntry.isSaved()) { in initWifiConfigController2()
394 if ((!mWifiEntry.isSaved() in initWifiConfigController2()
460 if (mWifiEntry.isSaved() in initWifiConfigController2()
549 || ((mWifiEntry == null || !mWifiEntry.isSaved()) && passwordInvalid in isSubmittable()
552 || mWifiEntry != null && mWifiEntry.isSaved() && passwordInvalid in isSubmittable()
634 } else if (mWifiEntry.isSaved()) { in getConfig()
645 if (mWifiEntry == null || !mWifiEntry.isSaved()) { in getConfig()
651 if (mWifiEntry == null || !mWifiEntry.isSaved()) { in getConfig()
668 if (mWifiEntry == null || !mWifiEntry.isSaved()) { in getConfig()
684 if (mWifiEntry == null || !mWifiEntry.isSaved()) { in getConfig()
[all …]
DWifiConfigController.java322 if (mAccessPoint.isSaved()) { in initWifiConfigController()
375 if ((!mAccessPoint.isSaved() && !mAccessPoint.isActive() in initWifiConfigController()
460 if (mAccessPoint.isSaved() || mAccessPoint.isActive() in initWifiConfigController()
550 || ((mAccessPoint == null || !mAccessPoint.isSaved()) && passwordInvalid in isSubmittable()
553 || mAccessPoint != null && mAccessPoint.isSaved() && passwordInvalid in isSubmittable()
633 } else if (!mAccessPoint.isSaved()) { in getConfig()
753 if (!mAccessPoint.isSaved()) { in getConfig()
1030 if (mAccessPoint != null && mAccessPoint.isSaved()) { in showSecurityFields()
1109 if (initiateEnterpriseNetworkUi && mAccessPoint != null && mAccessPoint.isSaved()) { in showSecurityFields()
1397 if (mAccessPoint != null && mAccessPoint.isSaved()) { in showIpConfigFields()
[all …]
DLongPressWifiEntryPreference.java64 if (!enabled && (wifiEntry.canDisconnect() || wifiEntry.isSaved())) { in shouldEnabled()
DWifiDialogActivity.java261 if (!accessPoint.isSaved()) { in onForget()
313 if (accessPoint != null && accessPoint.isSaved()) { in onSubmit()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DAccessPoint.java248 public boolean isSaved() { in isSaved() method in AccessPoint
249 return mWifiEntry.isSaved(); in isSaved()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkProviderSettingsTest.java343 when(mWifiEntry.isSaved()).thenReturn(true); in onCreateContextMenu_shouldHaveForgetAndDisconnectMenuForConnectedWifiEntry()
366 when(mWifiEntry.isSaved()).thenReturn(true); in onCreateContextMenu_canShare_shouldHaveShareMenuForConnectedWifiEntry()
388 when(mWifiEntry.isSaved()).thenReturn(true); in onCreateContextMenu_canNotShare_shouldDisappearShareMenuForConnectedWifiEntry()
733 when(mWifiEntry.isSaved()).thenReturn(true); in onSelectedWifiPreferenceClick_isSaved_launchNetworkDetailsFragment()
801 when(mWifiEntry.isSaved()).thenReturn(true); in addModifyMenuIfSuitable_isAdmin_addMenu()
812 when(mWifiEntry.isSaved()).thenReturn(true); in addModifyMenuIfSuitable_isNotAdmin_notAddMenu()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConnectionActivity.java179 wifiEntry.isSaved() in onCreate()
187 } else if (wifiEntry.isSaved()) { in onCreate()
DWifiUtils.java39 } else if (wifiEntry.isSaved()) { in getConnectionStatus()
DNetworkFragment.java420 restrictedPref.setApSaved(accessPoint.isSaved()); in updateWifiList()
422 restrictedPref.setApSaved(accessPoint.isSaved()); in updateWifiList()
451 || accessPoint.isSaved()); in updateWifiList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragmentTest.java117 doReturn(true).when(mWifiEntry).isSaved(); in setUp()
167 doReturn(false).when(mWifiEntry).isSaved(); in onCreateOptionsMenu_isNotSavedNetwork_shouldNotAddEditMenu()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java769 when(mMockWifiEntry.isSaved()).thenReturn(true); in macAddressPref_shouldVisibleForConnectedNetwork()
784 when(mMockWifiEntry.isSaved()).thenReturn(true); in macAddressPref_shouldVisibleAsRandomizedForConnectedNetwork()
799 when(mMockWifiEntry.isSaved()).thenReturn(true); in macAddressPref_shouldVisibleAsRandomizedForDisconnectedNetwork()
814 when(mMockWifiEntry.isSaved()).thenReturn(true); in macAddressPref_shouldVisibleAsFactoryForDisconnectedNetwork()
1140 when(mMockWifiEntry.isSaved()).thenReturn(false); in canForgetNetwork_shouldInvisibleIfWithoutConfiguration()
1176 when(mMockWifiEntry.isSaved()).thenReturn(false); in canShareNetwork_shouldInvisibleIfWithoutConfiguration()
1187 when(mMockWifiEntry.isSaved()).thenReturn(true); in canModifyNetwork_savedNetwork_returnTrue()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java158 ? reachable && wifiEntry.isSaved() in shouldIncludeWifiEntry()
DWifiEntryListPreferenceController.java190 if (wifiEntry.isSaved()) { in createWifiEntryPreference()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java670 if (mIsAdmin && wifiEntry.isSaved() in addModifyMenuIfSuitable()
743 if (selectedEntry.isSaved()) { in onSelectedWifiPreferenceClick()
925 .filter(wifiEntry -> !wifiEntry.isSaved() in onWifiEntriesChanged()
1254 wifiEntry.isSaved()); in connect()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragment.java360 return wifiEntry.isSaved(); in isEditable()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java4246 boolean isSaved = (config != null) && !config.isEphemeral() in incrementAvailableNetworksHistograms()
4252 if (isSaved) { in incrementAvailableNetworksHistograms()
4256 if (isOpen || isSaved) { in incrementAvailableNetworksHistograms()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java634 boolean isSaved, boolean isProvider, boolean isWeakRssi) { in buildMockScanDetail() argument
645 if (isSaved) { in buildMockScanDetail()
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt4595 SPLcom/android/wifitrackerlib/StandardWifiEntry;->isSaved()Z