Home
last modified time | relevance | path

Searched refs:BackupScheme (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
64 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyInclude()
86 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
111 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
132 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
157 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
183 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlagAndIngoreGarbage()
209 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyExcludeRequireFlagsNotSupported()
221 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyExclude()
238 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_includeAndExclude()
[all …]
/frameworks/base/core/java/android/app/backup/
DFullBackup.java98 private static final Map<String, BackupScheme> kPackageBackupSchemeMap =
99 new ArrayMap<String, BackupScheme>();
101 static synchronized BackupScheme getBackupScheme(Context context) { in getBackupScheme()
102 BackupScheme backupSchemeForPackage = in getBackupScheme()
105 backupSchemeForPackage = new BackupScheme(context); in getBackupScheme()
111 public static BackupScheme getBackupSchemeForTest(Context context) { in getBackupSchemeForTest()
112 BackupScheme testing = new BackupScheme(context); in getBackupSchemeForTest()
217 public static class BackupScheme { class in FullBackup
356 BackupScheme(Context context) { in BackupScheme() method in FullBackup.BackupScheme
DBackupUtils.java19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
DBackupAgent.java22 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
388 FullBackup.BackupScheme backupScheme = FullBackup.getBackupScheme(this); in onFullBackup()
860 FullBackup.BackupScheme bs = FullBackup.getBackupScheme(this); in isFileEligibleForRestore()
/frameworks/base/services/robotests/backup/src/android/app/backup/
DBackupUtilsTest.java21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;