/frameworks/base/services/robotests/backup/src/com/android/commands/bmgr/ |
D | BmgrTest.java | 36 @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/ |
D | AdbBackupTest.java | 39 @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/ |
D | ServiceBackupCallback.java | 31 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/ |
D | Backup.java | 38 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() 154 … mBackupManager.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/ |
D | HugeBackupActivity.java | 63 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/ |
D | BackupRestoreConfirmation.java | 68 IBackupManager mBackupManager; field in BackupRestoreConfirmation 146 …mBackupManager = 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/ |
D | ActiveRestoreSession.java | 416 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/ |
D | KeyValueBackupTaskTest.java | 191 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/ |
D | SettingsProvider.java | 2388 private final BackupManager mBackupManager; 2395 mBackupManager = new BackupManager(getContext()); 3234 mBackupManager.dataChanged();
|