Home
last modified time | relevance | path

Searched refs:mBackupManager (Results 1 – 5 of 5) 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/hostsidetests/backup/RestoreSessionTest/src/android/cts/backup/restoresessionapp/
DRestoreSessionTest.java65 private BackupManager mBackupManager; field in RestoreSessionTest
131 mBackupManager = new BackupManager(context); in setUp()
137 mRestoreSession = mBackupManager.beginRestoreSession(); in setUp()
242 if (mBackupManager.getAvailableRestoreToken(restorePackage) != restoreToken) { in doesRestoreSetContainAllPackages()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java83 private BackupManager mBackupManager; field in TestResultsProvider
174 mBackupManager = new BackupManager(getContext()); in onCreate()
240 mBackupManager.dataChanged(); in insert()
285 mBackupManager.dataChanged(); in update()
310 mBackupManager.dataChanged(); in delete()
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java135 private BackupManager mBackupManager; field in KeyValueBackupRestoreTest
158 mBackupManager = new BackupManager(mContext); in setUp()
315 int result = mBackupManager.requestBackup( in requestBackupInternal()