Searched refs:mBackupManager (Results 1 – 6 of 6) 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()
56 private BackupManager mBackupManager; field in BackupRestoreEventLoggerTest69 mBackupManager = new BackupManager(context); in setUp()97 mBackupManager.requestBackup(new String[] { BACKUP_APP_PACKAGE }, in testBackupRestoreRoundTrip_logsSentToMonitor()107 mRestoreSession = mBackupManager.beginRestoreSession(); in testBackupRestoreRoundTrip_logsSentToMonitor()
69 private BackupManager mBackupManager; field in RestoreSessionTest135 mBackupManager = new BackupManager(context); in setUp()141 mRestoreSession = mBackupManager.beginRestoreSession(); in setUp()246 if (mBackupManager.getAvailableRestoreToken(restorePackage) != restoreToken) { in doesRestoreSetContainAllPackages()
86 private BackupManager mBackupManager; field in TestResultsProvider207 mBackupManager = new BackupManager(getContext()); in onCreate()273 mBackupManager.dataChanged(); in insert()318 mBackupManager.dataChanged(); in update()343 mBackupManager.dataChanged(); in delete()
135 private BackupManager mBackupManager; field in KeyValueBackupRestoreTest159 mBackupManager = new BackupManager(mContext); in setUp()316 int result = mBackupManager.requestBackup( in requestBackupInternal()