Searched refs:mBackupManager (Results 1 – 5 of 5) sorted by relevance
43 private BackupManager mBackupManager; field in ProfileSerialNumberTest47 mBackupManager = new BackupManager(getInstrumentation().getTargetContext()); in setUp()53 mBackupManager.setAncestralSerialNumber(USER_SERIAL_NUMBER); in testSetAndGetAncestralSerialNumber()57 mBackupManager.getUserForAncestralSerialNumber(USER_SERIAL_NUMBER)); in testSetAndGetAncestralSerialNumber()62 assertNull(mBackupManager.getUserForAncestralSerialNumber(INVALID_USER_SERIAL_NUMBER)); in testGetUserForAncestralSerialNumber_returnsNull_whenNoUserHasGivenSerialNumber()
48 private BackupManager mBackupManager; field in AutoRestoreTest54 mBackupManager = new BackupManager(context); in setUp()86 mBackupManager.setAutoRestore(enabled); in setAutoRestoreEnabled()
65 private BackupManager mBackupManager; field in RestoreSessionTest131 mBackupManager = new BackupManager(context); in setUp()137 mRestoreSession = mBackupManager.beginRestoreSession(); in setUp()242 if (mBackupManager.getAvailableRestoreToken(restorePackage) != restoreToken) { in doesRestoreSetContainAllPackages()
83 private BackupManager mBackupManager; field in TestResultsProvider174 mBackupManager = new BackupManager(getContext()); in onCreate()240 mBackupManager.dataChanged(); in insert()285 mBackupManager.dataChanged(); in update()310 mBackupManager.dataChanged(); in delete()
135 private BackupManager mBackupManager; field in KeyValueBackupRestoreTest158 mBackupManager = new BackupManager(mContext); in setUp()315 int result = mBackupManager.requestBackup( in requestBackupInternal()