Home
last modified time | relevance | path

Searched refs:FullBackup (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DBackupAgent.java274 fullBackupFileTree(packageName, FullBackup.ROOT_TREE_TOKEN, rootDir, filterSet, data); in onFullBackup()
279 fullBackupFileTree(packageName, FullBackup.DATA_TREE_TOKEN, filesDir, filterSet, data); in onFullBackup()
283 … fullBackupFileTree(packageName, FullBackup.DATABASE_TREE_TOKEN, databaseDir, filterSet, data); in onFullBackup()
287 …fullBackupFileTree(packageName, FullBackup.SHAREDPREFS_TREE_TOKEN, sharedPrefsDir, filterSet, data… in onFullBackup()
299 fullBackupFileTree(packageName, FullBackup.MANAGED_EXTERNAL_TREE_TOKEN, in onFullBackup()
362 domain = FullBackup.DATABASE_TREE_TOKEN; in fullBackupFile()
365 domain = FullBackup.SHAREDPREFS_TREE_TOKEN; in fullBackupFile()
368 domain = FullBackup.DATA_TREE_TOKEN; in fullBackupFile()
371 domain = FullBackup.ROOT_TREE_TOKEN; in fullBackupFile()
374 domain = FullBackup.MANAGED_EXTERNAL_TREE_TOKEN; in fullBackupFile()
[all …]
DFullBackup.java40 public class FullBackup { class
/frameworks/base/services/java/com/android/server/
DSystemBackupAgent.java23 import android.app.backup.FullBackup;
92 FullBackup.backupToTar(getPackageName(), FullBackup.ROOT_TREE_TOKEN, null, in fullWallpaperBackup()
94 FullBackup.backupToTar(getPackageName(), FullBackup.ROOT_TREE_TOKEN, null, in fullWallpaperBackup()
135 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) { in onRestoreFile()
149 FullBackup.restoreFile(data, size, type, mode, mtime, outFile); in onRestoreFile()
DBackupManagerService.java28 import android.app.backup.FullBackup;
2653 FullBackup.backupToTar(mPackage.packageName, null, null, in run()
3038 FullBackup.backupToTar(pkg.packageName, FullBackup.APK_TREE_TOKEN, null, in writeApkToBackup()
3054 FullBackup.backupToTar(pkg.packageName, FullBackup.OBB_TREE_TOKEN, null, in writeApkToBackup()
3538 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile()
3561 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile()
3647 if (info.domain.equals(FullBackup.OBB_TREE_TOKEN)) { in restoreOneFile()
4210 if (FullBackup.SHARED_PREFIX.regionMatches(0, in readTarHeaders()
4211 info.path, 0, FullBackup.SHARED_PREFIX.length())) { in readTarHeaders()
4213 info.path = info.path.substring(FullBackup.SHARED_PREFIX.length()); in readTarHeaders()
[all …]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java21 import android.app.backup.FullBackup;
76 FullBackup.backupToTar(packageName, FullBackup.OBB_TREE_TOKEN, null,
117 FullBackup.restoreFile(data, fileSize, type, -1, mtime, outFile);
DSharedStorageAgent.java4 import android.app.backup.FullBackup;
55 String domain = FullBackup.SHARED_PREFIX + i; in onFullBackup()
93 FullBackup.restoreFile(data, size, type, -1, mtime, outFile); in onRestoreFile()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java20 import android.app.backup.FullBackup;
139 if (action.equals(FullBackup.FULL_BACKUP_INTENT_ACTION)) { in onCreate()
142 } else if (action.equals(FullBackup.FULL_RESTORE_INTENT_ACTION)) { in onCreate()
151 mToken = intent.getIntExtra(FullBackup.CONF_TOKEN_INTENT_EXTRA, -1); in onCreate()
/frameworks/base/
Dpreloaded-classes218 android.app.backup.FullBackup