Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
63 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyInclude()
85 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
110 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
131 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
156 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
182 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlagAndIngoreGarbage()
208 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyExcludeRequireFlagsNotSupported()
220 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyExclude()
237 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_includeAndExclude()
[all …]
/frameworks/base/core/java/android/app/backup/
DFullBackup.java96 private static final Map<String, BackupScheme> kPackageBackupSchemeMap =
97 new ArrayMap<String, BackupScheme>();
99 static synchronized BackupScheme getBackupScheme(Context context) { in getBackupScheme()
100 BackupScheme backupSchemeForPackage = in getBackupScheme()
103 backupSchemeForPackage = new BackupScheme(context); in getBackupScheme()
109 public static BackupScheme getBackupSchemeForTest(Context context) { in getBackupSchemeForTest()
110 BackupScheme testing = new BackupScheme(context); in getBackupSchemeForTest()
215 public static class BackupScheme { class in FullBackup
354 BackupScheme(Context context) { in BackupScheme() method in FullBackup.BackupScheme
DBackupAgent.java21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
342 FullBackup.BackupScheme backupScheme = FullBackup.getBackupScheme(this); in onFullBackup()
810 FullBackup.BackupScheme bs = FullBackup.getBackupScheme(this); in isFileEligibleForRestore()