Home
last modified time | relevance | path

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

/cts/hostsidetests/backup/ProfileSerialNumberApp/src/android/cts/backup/profileserialnumberapp/
DProfileSerialNumberTest.java43 private BackupManager mBackupManager; field in ProfileSerialNumberTest
47 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()
/cts/hostsidetests/backup/AutoRestoreApp/src/android/cts/backup/autorestoreapp/
DAutoRestoreTest.java48 private BackupManager mBackupManager; field in AutoRestoreTest
54 mBackupManager = new BackupManager(context); in setUp()
86 mBackupManager.setAutoRestore(enabled); in setAutoRestoreEnabled()
/cts/tests/backup/src/android/backup/cts/
DBackupRestoreEventLoggerTest.java56 private BackupManager mBackupManager; field in BackupRestoreEventLoggerTest
69 mBackupManager = new BackupManager(context); in setUp()
97 mBackupManager.requestBackup(new String[] { BACKUP_APP_PACKAGE }, in testBackupRestoreRoundTrip_logsSentToMonitor()
107 mRestoreSession = mBackupManager.beginRestoreSession(); in testBackupRestoreRoundTrip_logsSentToMonitor()
/cts/hostsidetests/backup/RestoreSessionTest/src/android/cts/backup/restoresessionapp/
DRestoreSessionTest.java69 private BackupManager mBackupManager; field in RestoreSessionTest
135 mBackupManager = new BackupManager(context); in setUp()
141 mRestoreSession = mBackupManager.beginRestoreSession(); in setUp()
246 if (mBackupManager.getAvailableRestoreToken(restorePackage) != restoreToken) { in doesRestoreSetContainAllPackages()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java86 private BackupManager mBackupManager; field in TestResultsProvider
207 mBackupManager = new BackupManager(getContext()); in onCreate()
273 mBackupManager.dataChanged(); in insert()
318 mBackupManager.dataChanged(); in update()
343 mBackupManager.dataChanged(); in delete()
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java135 private BackupManager mBackupManager; field in KeyValueBackupRestoreTest
159 mBackupManager = new BackupManager(mContext); in setUp()
316 int result = mBackupManager.requestBackup( in requestBackupInternal()