/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiEntryListPreferenceControllerTest.java | 149 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/ |
D | WifiDetailsActionButtonsPreferenceControllerTest.java | 95 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/ |
D | LongPressWifiEntryPreferenceTest.java | 65 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()
|
D | WifiConfigControllerTest.java | 193 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()
|
D | WifiConfigController2Test.java | 247 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/ |
D | WifiMeteredPreferenceController2.java | 60 if (mWifiEntry.isSaved() || mWifiEntry.isSubscription()) { in onPreferenceChange() 72 if (mWifiEntry.isSaved() || mWifiEntry.isSubscription()) { in getMeteredOverride()
|
D | WifiDetailPreferenceController2.java | 277 if (!mWifiEntry.isSaved() && network.equals(mNetwork)) { 886 return mWifiEntry.isSaved() in canModifyNetwork()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController2.java | 336 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 …]
|
D | WifiConfigController.java | 322 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 …]
|
D | LongPressWifiEntryPreference.java | 64 if (!enabled && (wifiEntry.canDisconnect() || wifiEntry.isSaved())) { in shouldEnabled()
|
D | WifiDialogActivity.java | 261 if (!accessPoint.isSaved()) { in onForget() 313 if (accessPoint != null && accessPoint.isSaved()) { in onSubmit()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | AccessPoint.java | 248 public boolean isSaved() { in isSaved() method in AccessPoint 249 return mWifiEntry.isSaved(); in isSaved()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | NetworkProviderSettingsTest.java | 343 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/ |
D | WifiConnectionActivity.java | 179 wifiEntry.isSaved() in onCreate() 187 } else if (wifiEntry.isSaved()) { in onCreate()
|
D | WifiUtils.java | 39 } else if (wifiEntry.isSaved()) { in getConnectionStatus()
|
D | NetworkFragment.java | 420 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/ |
D | WifiNetworkDetailsFragmentTest.java | 117 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/ |
D | WifiDetailPreferenceController2Test.java | 769 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/ |
D | CarWifiManager.java | 158 ? reachable && wifiEntry.isSaved() in shouldIncludeWifiEntry()
|
D | WifiEntryListPreferenceController.java | 190 if (wifiEntry.isSaved()) { in createWifiEntryPreference()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | NetworkProviderSettings.java | 670 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/ |
D | WifiNetworkDetailsFragment.java | 360 return wifiEntry.isSaved(); in isEditable()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 4246 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/ |
D | WifiMetricsTest.java | 634 boolean isSaved, boolean isProvider, boolean isWeakRssi) { in buildMockScanDetail() argument 645 if (isSaved) { in buildMockScanDetail()
|
/packages/apps/TvSettings/ |
D | two-panel-baseline-profile.txt | 4595 SPLcom/android/wifitrackerlib/StandardWifiEntry;->isSaved()Z
|