Home
last modified time | relevance | path

Searched refs:mBackupManager (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/commands/bmgr/
DBmgrTest.java36 @Mock private IBackupManager mBackupManager; field in BmgrTest
43 mBmgr = new Bmgr(mBackupManager); in setUp()
53 verify(mBackupManager).isBackupServiceActive(UserHandle.USER_SYSTEM); in testRun_whenUserNotSpecified_callsBackupManagerAsSystemUser()
61 verify(mBackupManager).isBackupServiceActive(10); in testRun_whenUserSpecified_callsBackupManagerAsSpecifiedUser()
/frameworks/base/services/robotests/backup/src/com/android/commands/bu/
DAdbBackupTest.java39 @Mock private IBackupManager mBackupManager; field in AdbBackupTest
45 mBackup = new Backup(mBackupManager); in setUp()
52 verify(mBackupManager).isBackupServiceActive(UserHandle.USER_SYSTEM); in testRun_whenUserNotSpecified_callsAdbBackupAsSystemUser()
59 verify(mBackupManager).isBackupServiceActive(10); in testRun_whenUserSpecified_callsBackupManagerAsSpecifiedUser()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DServiceBackupCallback.java31 private final IBackupManager mBackupManager; field in ServiceBackupCallback
35 mBackupManager = backupManager; in ServiceBackupCallback()
41 mBackupManager.opComplete(mToken, result); in operationComplete()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java38 IBackupManager mBackupManager; field in Backup
42 mBackupManager = backupManager; in Backup()
46 mBackupManager = IBackupManager.Stub.asInterface(ServiceManager.getService("backup")); in Backup()
59 if (mBackupManager == null) { in run()
154mBackupManager.adbBackup(userId, fd, saveApks, saveObbs, saveShared, doWidgets, doEverything, in doBackup()
174 mBackupManager.adbRestore(userId, fd); in doRestore()
198 return mBackupManager.isBackupServiceActive(userId); in isBackupActiveForUser()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java63 BackupManager mBackupManager; field in HugeBackupActivity
82 mBackupManager = new BackupManager(this); in onCreate()
123 mBackupManager.dataChanged(); in populateUI()
195 mBackupManager.dataChanged(); in recordNewUIState()
204 mBackupManager.requestRestore( in onRestoreButtonClick()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java68 IBackupManager mBackupManager; field in BackupRestoreConfirmation
146mBackupManager = IBackupManager.Stub.asInterface(ServiceManager.getService(Context.BACKUP_SERVICE)… in onCreate()
304 mBackupManager.acknowledgeFullBackupOrRestore(mToken, in sendAcknowledgement()
331 return mBackupManager.hasBackupPassword(); in haveBackupPassword()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java416 UserBackupManagerService mBackupManager; field in ActiveRestoreSession.EndRestoreRunnable
420 mBackupManager = manager; in EndRestoreRunnable()
432 mBackupManager.clearRestoreSession(mSession); in run()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java191 private FakeIBackupManager mBackupManager; field in KeyValueBackupTaskTest
224 mBackupManager = spy(FakeIBackupManager.class); in setUp()
241 when(mBackupManagerService.getBackupManagerBinder()).thenReturn(mBackupManager); in setUp()
2541 mBackupManager.setUp(mBackupHandler, task); in createKeyValueBackupTask()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2388 private final BackupManager mBackupManager;
2395 mBackupManager = new BackupManager(getContext());
3234 mBackupManager.dataChanged();