Home
last modified time | relevance | path

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

12

/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DProfileManager.java142 mHandler.post(() -> mUwbConfigStore.saveToStore(true)); in addServiceProfile()
167 mHandler.post(() -> mUwbConfigStore.saveToStore(true)); in removeServiceProfile()
197 mHandler.post(() -> mUwbConfigStore.saveToStore(/* forceWrite= */ true)); in provisioningAdf()
212 mHandler.post(() -> mUwbConfigStore.saveToStore(/* forceWrite= */ true)); in provisioningAdf()
225 mHandler.post(() -> mUwbConfigStore.saveToStore(/* forceWrite= */ true)); in provisioningAdf()
234 mHandler.post(() -> mUwbConfigStore.saveToStore(/* forceWrite= */ true)); in provisioningAdf()
290 mHandler.post(() -> mUwbConfigStore.saveToStore(/* forceWrite= */ true)); in deleteAdf()
304 () -> mUwbConfigStore.saveToStore(/* forceWrite= */ true)); in deleteAdf()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java152 verify(mWifiConfigManager, times(2)).saveToStore(); in addToLockSavesToStore()
255 verify(mWifiConfigManager).saveToStore(); in initializeShouldSaveSsidsToStore()
267 verify(mWifiConfigManager, times(2)).saveToStore(); in updateShouldOnlySaveIfLockChanges()
277 verify(mWifiConfigManager, times(1)).saveToStore(); in updateShouldNotSaveIfLockDoesNotChange()
DWifiApConfigStoreTest.java331 verify(mWifiConfigManager).saveToStore(); in initWithDefaultConfiguration()
360 verify(mWifiConfigManager).saveToStore(); in setNullApConfiguration()
379 verify(mWifiConfigManager).saveToStore(); in updateApConfiguration()
396 verify(mWifiConfigManager, times(2)).saveToStore(); in updateApConfiguration()
412 verify(mWifiConfigManager).saveToStore(); in convertDevice5GhzToAny()
435 verify(mWifiConfigManager, times(2)).saveToStore(); in convertDevice5GhzToAny()
450 verify(mWifiConfigManager).saveToStore(); in deviceAnyNotConverted()
464 verify(mWifiConfigManager, times(2)).saveToStore(); in deviceAnyNotConverted()
478 verify(mWifiConfigManager).saveToStore(); in deviceWithChannelNotConverted()
492 verify(mWifiConfigManager, times(2)).saveToStore(); in deviceWithChannelNotConverted()
[all …]
DWifiRoamingConfigStoreTest.java93 verify(mWifiConfigManager, times(2)).saveToStore(); in testRoamingModeByDeviceAdmin()
110 verify(mWifiConfigManager, times(2)).saveToStore(); in testRoamingModeByNonAdmin()
DWifiSettingsConfigStoreTest.java100 verify(mWifiConfigManager).saveToStore(); in testSetterGetter()
155 verify(mWifiConfigManager).saveToStore(); in testLoadFromMigration()
DWakeupOnboardingTest.java207 verify(mWifiConfigManager).saveToStore(); in setOnboardedSavesToStore()
219 verify(mWifiConfigManager).saveToStore(); in incrementingNotificationCountSavesToStore()
DOpenNetworkNotifierTest.java412 verify(mWifiConfigManager).saveToStore(); in userDismissedNotification_shouldBlacklistNetwork()
438 verify(mWifiConfigManager).saveToStore(); in userConnectedNotification_shouldBlacklistNetwork()
858 verify(mWifiConfigManager, never()).saveToStore(); in removeNetworkFromBlacklist_handlesNull()
867 verify(mWifiConfigManager, never()).saveToStore(); in removeNetworkFromBlacklist_returnsEarlyIfNothingIsRemoved()
880 verify(mWifiConfigManager, times(2)).saveToStore(); in connectToNetwork_shouldRemoveSsidFromBlacklist()
DWifiCarrierInfoManagerTest.java449 verify(mWifiConfigManager).saveToStore(); in restoreAutoJoinForOobPseudonymEnabled()
487 verify(mWifiConfigManager).saveToStore(); in restoreAutoJoinForOobPseudonymDisabled()
1861 inOrder.verify(mWifiConfigManager).saveToStore(); in testCheckSetClearImsiProtectionExemption()
1865 inOrder.verify(mWifiConfigManager).saveToStore(); in testCheckSetClearImsiProtectionExemption()
1891 verify(mWifiConfigManager).saveToStore(); in testSendImsiProtectionExemptionNotificationWithUserAllowed()
1921 verify(mWifiConfigManager).saveToStore(); in testSendImsiProtectionExemptionNotificationWithUserDisallowed()
1965 verify(mWifiConfigManager, never()).saveToStore(); in testSendImsiProtectionExemptionNotificationWithUserDismissal()
2003 verify(mWifiConfigManager).saveToStore(); in testSendImsiProtectionExemptionConfirmationDialogWithUserDisallowed()
2052 verify(mWifiConfigManager, never()).saveToStore(); in testSendImsiProtectionExemptionConfirmationDialogWithUserDismissal()
2092 verify(mWifiConfigManager).saveToStore(); in testSendImsiProtectionExemptionDialogWithUserAllowed()
[all …]
DWifiNetworkSuggestionsManagerTest.java1998 verify(mWifiConfigManager).saveToStore(); in testAddNetworkSuggestionsConfigStoreWrite()
2028 when(mWifiConfigManager.saveToStore()).thenThrow(new OutOfMemoryError()) in testAddNetworkSuggestionsConfigStoreWriteFailedByOOM()
2043 verify(mWifiConfigManager, times(2)).saveToStore(); in testAddNetworkSuggestionsConfigStoreWriteFailedByOOM()
2076 verify(mWifiConfigManager, times(2)).saveToStore(); in testRemoveNetworkSuggestionsConfigStoreWrite()
2772 verify(mWifiConfigManager, times(2)).saveToStore(); in testUserApprovalNotificationClickOnAllowWhenGetScanResult()
2834 verify(mWifiConfigManager, times(2)).saveToStore(); in testUserApprovalNotificationClickOnDisallowWhenGetScanResult()
3026 verify(mWifiConfigManager, times(2)).saveToStore(); in testUserApprovalDialogClickOnAllowDuringAddingSuggestionsFromFgApp()
3071 verify(mWifiConfigManager, times(2)).saveToStore(); in testUserApprovalDialogClickOnDisallowWhenAddSuggestionsFromFgApp()
3130 verify(mWifiConfigManager).saveToStore(); // 1 already done for add in testUserApprovalDialiogDismissDuringAddingSuggestionsFromFgApp()
3166 verify(mWifiConfigManager, times(2)).saveToStore(); in testUserApprovalNotificationClickOnAllowDuringAddingSuggestionsFromNonFgApp()
[all …]
DClientModeImplTest.java9311 when(mWifiConfigManager.saveToStore()).thenReturn(true); in testNetworkValidationUpdatesLinkedNetworks()
9380 when(mWifiConfigManager.saveToStore()).thenReturn(true); in testNonPskNetworkDoesNotUpdateLinkedNetworks()
9433 when(mWifiConfigManager.saveToStore()).thenReturn(true); in testInvalidScanResultDoesNotUpdateLinkedNetworks()
9513 when(mWifiConfigManager.saveToStore()).thenReturn(true); in testLinkedNetworksFiltersOutAutojoinDisabledNetworks()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWakeupLock.java82 mWifiConfigManager.saveToStore(); in setLock()
163 mWifiConfigManager.saveToStore(); in addToLock()
209 mWifiConfigManager.saveToStore(); in removeFromLock()
DWakeupOnboarding.java149 mWifiConfigManager.saveToStore(); in incrementTotalNotificationsShown()
188 mWifiConfigManager.saveToStore(); in setOnboarded()
DWifiNetworkSuggestionsManager.java710 private void saveToStore() { in saveToStore() method in WifiNetworkSuggestionsManager
713 if (!mWifiConfigManager.saveToStore()) { in saveToStore()
1065 saveToStore(); in add()
1434 saveToStore(); in remove()
1454 saveToStore(); in removeApp()
1499 saveToStore(); in clear()
1526 saveToStore(); in setHasUserApprovedForApp()
1565 saveToStore(); in restoreInitialAutojoinForCarrierId()
2430 saveToStore(); in updateCarrierPrivilegedApps()
2482 saveToStore(); in updateCarrierPrivilegedApps()
[all …]
DWifiCarrierInfoManager.java1930 saveToStore(); in clearImsiPrivacyExemptionForCarrier()
1956 saveToStore(); in setHasUserApprovedImsiPrivacyExemptionForCarrier()
2140 saveToStore(); in setCarrierNetworkOffloadEnabled()
2181 private void saveToStore() { in saveToStore() method in WifiCarrierInfoManager
2185 if (!mWifiInjector.getWifiConfigManager().saveToStore()) { in saveToStore()
2214 saveToStore(); in clear()
2401 saveToStore(); in disableFlipOnAutoJoinForOobPseudonym()
2406 saveToStore(); in enableFlipOnAutoJoinForOobPseudonym()
DWifiConfigManager.java1731 saveToStore(); in addOrUpdateNetwork()
1782 saveToStore(); in incrementNumRebootsSinceLastUse()
1986 saveToStore(); in removeNetwork()
2205 saveToStore(); in updateNetworkSelectionStatus()
2312 saveToStore(); in enableNetwork()
2351 saveToStore(); in disableNetwork()
2381 saveToStore(); in allowAutojoin()
2452 saveToStore(); in updateNetworkAfterConnect()
2496 saveToStore(); in updateNetworkAfterDisconnect()
2657 saveToStore(); in setNetworkValidatedInternetAccess()
[all …]
DWifiSettingsConfigStore.java290 mWifiConfigManager.saveToStore(); in triggerSaveToStoreAndInvokeAllListeners()
302 mWifiConfigManager.saveToStore(); in triggerSaveToStoreAndInvokeListeners()
DAvailableNetworkNotifier.java487 mConfigManager.saveToStore(); in addNetworkToBlocklist()
500 mConfigManager.saveToStore(); in removeNetworkFromBlocklist()
DWifiRoamingConfigStore.java68 mWifiConfigManager.saveToStore(); in triggerSaveToStore()
DWifiNetworkFactory.java632 private void saveToStore() { in saveToStore() method in WifiNetworkFactory
635 if (!mWifiConfigManager.saveToStore()) { in saveToStore()
1930 saveToStore(); in addNetworkToUserApprovedAccessPointMap()
2085 saveToStore(); in removeApp()
2179 saveToStore(); in clear()
DWakeupController.java214 mWifiConfigManager.saveToStore(); in setActive()
DWifiApConfigStore.java415 mHandler.post(() -> mWifiConfigManager.saveToStore()); in persistConfigAndTriggerBackupManagerProxy()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java309 mWifiConfigManager.saveToStore(); in onUserConnectChoiceRemove()
325 mWifiConfigManager.saveToStore(); in onUserConnectChoiceSet()
584 mWifiConfigManager.saveToStore(); in addOrUpdateProvider()
635 mWifiConfigManager.saveToStore(); in removeProviderInternal()
731 mWifiConfigManager.saveToStore(); in enableAutojoin()
755 mWifiConfigManager.saveToStore(); in enableAutojoin()
786 mWifiConfigManager.saveToStore(); in enableMacRandomization()
814 mWifiConfigManager.saveToStore(); in setMeteredOverride()
956 mWifiConfigManager.saveToStore(); in getAllMatchedProviders()
1647 mWifiConfigManager.saveToStore(); in setAnonymousIdentity()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigStore.java306 saveToStore(true); in handleUserUnlockOrSwitch()
368 saveToStore(true); in handleUserSwitch()
401 public boolean saveToStore(boolean forceWrite) { in saveToStore() method in UwbConfigStore
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java683 verify(mWifiConfigManager, times(7)).saveToStore(); in addRemoveSavedProviderWithValidUserCredential()
805 verify(mWifiConfigManager).saveToStore(); in addRemoveSavedProviderWithValidSimCredential()
823 verify(mWifiConfigManager).saveToStore(); in addRemoveSavedProviderWithValidSimCredential()
892 verify(mWifiConfigManager).saveToStore(); in addSavedProviderWithExistingConfig()
926 verify(mWifiConfigManager).saveToStore(); in addSavedProviderWithExistingConfig()
955 verify(mWifiConfigManager).saveToStore(); in addSavedProviderWithExistingConfig()
1212 verify(mWifiConfigManager).saveToStore(); in getAllMatchingProvidersUpdatedConfigWithFullImsiSimCredential()
2034 verify(mWifiConfigManager).saveToStore(); in removeGetProviderWithDifferentUid()
2048 verify(mWifiConfigManager, never()).saveToStore(); in removeGetProviderWithDifferentUid()
2120 verify(mWifiConfigManager, never()).saveToStore(); in addRemoveSuggestionProvider()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbConfigStoreTest.java100 mUwbConfigStore.saveToStore(true); in testLoadFromStore()

12