Home
last modified time | relevance | path

Searched refs:backupManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DServiceBackupCallbackTest.java34 IBackupManager backupManager = mock(IBackupManager.class); in testOperationComplete_callsBackupManagerOpComplete() local
35 ServiceBackupCallback callback = new ServiceBackupCallback(backupManager, 0x68e); in testOperationComplete_callsBackupManagerOpComplete()
39 verify(backupManager).opComplete(0x68e, 7); in testOperationComplete_callsBackupManagerOpComplete()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DServiceBackupCallback.java34 public ServiceBackupCallback(IBackupManager backupManager, int token) { in ServiceBackupCallback() argument
35 mBackupManager = backupManager; in ServiceBackupCallback()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepositoryImplTest.kt78 @Mock private lateinit var backupManager: BackupManager variable in com.android.systemui.communal.data.repository.CommunalWidgetRepositoryImplTest
121 backupManager, in setUp()
147 verify(backupManager, never()).dataChanged() in communalWidgets_queryWidgetsFromDb()
269 verify(backupManager).dataChanged() in addWidget_allocateId_bindWidget_andAddToDb()
296 verify(backupManager, never()).dataChanged() in addWidget_configurationFails_doNotAddWidgetToDb()
325 verify(backupManager, never()).dataChanged() in addWidget_configurationThrowsError_doNotAddWidgetToDb()
351 verify(backupManager).dataChanged() in addWidget_configurationNotRequired_doesNotConfigure_addWidgetToDb()
366 verify(backupManager).dataChanged() in deleteWidget_deleteFromDbTrue_alsoDeleteFromHost()
381 verify(backupManager, never()).dataChanged() in deleteWidget_deleteFromDbFalse_doesNotDeleteFromHost()
394 verify(backupManager).dataChanged() in reorderWidgets_queryDb()
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreStorageManagerTest.kt182 val backupManager = in notifyBackupManager() constant
184 backupManager?.apply { in notifyBackupManager()
194 backupManager?.apply { in notifyBackupManager()
203 backupManager?.apply { in notifyBackupManager()
215 backupManager?.apply { in notifyBackupManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsFavoritePersistenceWrapper.kt45 private var backupManager: BackupManager? = null in <lambda>() variable in com.android.systemui.controls.controller.ControlsFavoritePersistenceWrapper
74 backupManager = newBackupManager in <lambda>()
144 if (dataWritten) backupManager?.dataChanged() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepository.kt98 private val backupManager: BackupManager, constant
189 backupManager.dataChanged() in addWidget()
202 backupManager.dataChanged() in deleteWidget()
213 backupManager.dataChanged() in updateWidgetOrder()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperEventLogger.java73 WallpaperEventLogger(BackupManager backupManager, WallpaperBackupAgent wallpaperAgent) { in WallpaperEventLogger() argument
74 mLogger = backupManager.getBackupRestoreEventLogger(/* backupAgent */ wallpaperAgent); in WallpaperEventLogger()
DWallpaperBackupAgent.java1146 void setBackupManagerForTesting(BackupManager backupManager) {
1147 mBackupManager = backupManager;
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java41 Backup(IBackupManager backupManager) { in Backup() argument
42 mBackupManager = backupManager; in Backup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java102 int appWidgetId, Uri contactUri, BackupManager backupManager) { in setSharedPreferencesStorageForTile() argument
123 backupManager.dataChanged(); in setSharedPreferencesStorageForTile()
236 Optional<Integer> appWidgetId, BackupManager backupManager) { in augmentTileFromNotification() argument
252 contactUri, backupManager); in augmentTileFromNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java272 Optional<Bubbles> bubblesOptional, UserManager userManager, BackupManager backupManager, in PeopleSpaceWidgetManager() argument
284 mBackupManager = backupManager; in PeopleSpaceWidgetManager()