Home
last modified time | relevance | path

Searched refs:saveToStore (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java146 verify(mWifiConfigManager, times(2)).saveToStore(false); in addToLockSavesToStore()
249 verify(mWifiConfigManager).saveToStore(eq(false)); in initializeShouldSaveSsidsToStore()
261 verify(mWifiConfigManager, times(2)).saveToStore(eq(false)); in updateShouldOnlySaveIfLockChanges()
271 verify(mWifiConfigManager, times(1)).saveToStore(anyBoolean()); in updateShouldNotSaveIfLockDoesNotChange()
DWakeupOnboardingTest.java212 verify(mWifiConfigManager).saveToStore(false /* forceWrite */); in setOnboardedSavesToStore()
224 verify(mWifiConfigManager).saveToStore(false /* forceWrite */); in incrementingNotificationCountSavesToStore()
DCarrierNetworkNotifierTest.java397 verify(mWifiConfigManager).saveToStore(false /* forceWrite */); in userDismissedNotification_shouldBlacklistNetwork()
423 verify(mWifiConfigManager).saveToStore(false /* forceWrite */); in userConnectedNotification_shouldBlacklistNetwork()
791 verify(mWifiConfigManager, never()).saveToStore(false /* forceWrite */); in removeNetworkFromBlacklist_handlesNull()
800 verify(mWifiConfigManager, never()).saveToStore(false /* forceWrite */); in removeNetworkFromBlacklist_returnsEarlyIfNothingIsRemoved()
813 verify(mWifiConfigManager, times(2)).saveToStore(false /* forceWrite */); in connectToNetwork_shouldRemoveSsidFromBlacklist()
DOpenNetworkNotifierTest.java394 verify(mWifiConfigManager).saveToStore(false /* forceWrite */); in userDismissedNotification_shouldBlacklistNetwork()
420 verify(mWifiConfigManager).saveToStore(false /* forceWrite */); in userConnectedNotification_shouldBlacklistNetwork()
786 verify(mWifiConfigManager, never()).saveToStore(false /* forceWrite */); in removeNetworkFromBlacklist_handlesNull()
795 verify(mWifiConfigManager, never()).saveToStore(false /* forceWrite */); in removeNetworkFromBlacklist_returnsEarlyIfNothingIsRemoved()
808 verify(mWifiConfigManager, times(2)).saveToStore(false /* forceWrite */); in connectToNetwork_shouldRemoveSsidFromBlacklist()
DWifiNetworkSuggestionsManagerTest.java1223 verify(mWifiConfigManager).saveToStore(true); in testAddNetworkSuggestionsConfigStoreWrite()
1268 verify(mWifiConfigManager, times(2)).saveToStore(true); in testRemoveNetworkSuggestionsConfigStoreWrite()
1968 verify(mWifiConfigManager, times(2)).saveToStore(true); in testUserApprovalNotificationClickOnAllowWhenGetScanResult()
2020 verify(mWifiConfigManager, times(2)).saveToStore(true); in testUserApprovalNotificationClickOnDisallowWhenGetScanResult()
2142 verify(mWifiConfigManager, times(2)).saveToStore(true); in testUserApprovalNotificationClickOnAllowDuringAddingSuggestions()
2183 verify(mWifiConfigManager, times(2)).saveToStore(true); in testUserApprovalNotificationClickOnDisallowWhenAddSuggestions()
DWifiConfigManagerTest.java296 assertFalse(mWifiConfigManager.saveToStore(true)); in testSaveToStoreIsRejectedBeforeLoadFromStore()
302 assertTrue(mWifiConfigManager.saveToStore(true)); in testSaveToStoreIsRejectedBeforeLoadFromStore()
DWifiNetworkFactoryTest.java2343 verify(mWifiConfigManager).saveToStore(true); in testNetworkSpecifierUserApprovalConfigStoreSave()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupLock.java82 mWifiConfigManager.saveToStore(false /* forceWrite */); in setLock()
163 mWifiConfigManager.saveToStore(false /* forceWrite */); in addToLock()
209 mWifiConfigManager.saveToStore(false /* forceWrite */); in removeFromLock()
DWakeupOnboarding.java147 mWifiConfigManager.saveToStore(false /* forceWrite */); in incrementTotalNotificationsShown()
186 mWifiConfigManager.saveToStore(false /* forceWrite */); in setOnboarded()
DWifiConfigManager.java1338 saveToStore(true); in addOrUpdateNetwork()
1427 saveToStore(true); in removeNetwork()
1651 saveToStore(false); in setNetworkSelectionStatus()
1742 saveToStore(false); in updateNetworkNotRecommended()
1830 saveToStore(true); in enableNetwork()
1867 saveToStore(true); in disableNetwork()
1920 saveToStore(false); in updateNetworkAfterConnect()
1948 saveToStore(false); in updateNetworkAfterDisconnect()
2081 saveToStore(false); in clearNetworkConnectChoice()
2109 saveToStore(false); in setNetworkConnectChoice()
[all …]
DWifiNetworkSuggestionsManager.java431 private void saveToStore() { in saveToStore() method in WifiNetworkSuggestionsManager
434 if (!mWifiConfigManager.saveToStore(true)) { in saveToStore()
626 saveToStore(); in add()
708 saveToStore(); in remove()
725 saveToStore(); in removeApp()
743 saveToStore(); in clear()
768 saveToStore(); in setHasUserApprovedForApp()
DWifiNetworkFactory.java389 private void saveToStore() { in saveToStore() method in WifiNetworkFactory
392 if (!mWifiConfigManager.saveToStore(true)) { in saveToStore()
1321 saveToStore(); in addNetworkToUserApprovedAccessPointMap()
1404 saveToStore(); in removeUserApprovedAccessPointsForApp()
1413 saveToStore(); in clear()
DAvailableNetworkNotifier.java464 mConfigManager.saveToStore(false /* forceWrite */); in addNetworkToBlacklist()
477 mConfigManager.saveToStore(false /* forceWrite */); in removeNetworkFromBlacklist()
DWakeupController.java186 mWifiConfigManager.saveToStore(false /* forceWrite */); in setActive()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java641 verify(mWifiConfigManager).saveToStore(true); in addRemoveProviderWithValidUserCredential()
659 verify(mWifiConfigManager).saveToStore(true); in addRemoveProviderWithValidUserCredential()
686 verify(mWifiConfigManager).saveToStore(true); in addRemoveProviderWithValidSimCredential()
702 verify(mWifiConfigManager).saveToStore(true); in addRemoveProviderWithValidSimCredential()
731 verify(mWifiConfigManager).saveToStore(true); in addProviderWithExistingConfig()
753 verify(mWifiConfigManager).saveToStore(true); in addProviderWithExistingConfig()
1317 verify(mWifiConfigManager).saveToStore(true); in verifyProviderIndexAfterDataSourceUpdate()
1837 verify(mWifiConfigManager).saveToStore(true); in removeGetProviderWithDifferentUid()
1851 verify(mWifiConfigManager, never()).saveToStore(true); in removeGetProviderWithDifferentUid()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java442 mWifiConfigManager.saveToStore(true /* forceWrite */); in addOrUpdateProvider()
659 mWifiConfigManager.saveToStore(true /* forceWrite */); in installEphemeralPasspointConfigForCarrier()
687 mWifiConfigManager.saveToStore(true /* forceWrite */); in removeProvider()