Lines Matching defs:backup
1 package com.android.server.backup;
8 import static com.android.server.backup.BackupManagerService.OP_TYPE_BACKUP_WAIT;
12 import android.app.backup.FullBackup;
13 import android.app.backup.FullBackupDataOutput;
23 import com.android.server.backup.utils.FullBackupUtils;
34 * Used by BackupManagerService to perform adb backup for key-value packages. At the moment this
38 * TODO: We should create unified backup/restore engines that can be used for both transport and
39 * adb backup/restore, and for fullbackup and key-value backup.
106 // We are bound to agent, initiate backup.
113 // Backup finished successfully. Copy the backup data to the output stream.
126 // We pass a blank state to make sure we are getting the complete backup, not just an
153 // Return true on backup success, false otherwise
161 // Start backup and wait for BackupManagerService to get callback for success or timeout
166 Slog.e(TAG, "Key-value backup failed on package " + packageName);
170 Slog.i(TAG, "Key-value backup success for package " + packageName);
174 Slog.e(TAG, "Error invoking agent for backup on " + packageName + ". " + e);
222 Slog.e(TAG, "Unable to finalize backup stream!");
232 Slog.e(TAG, "Error running full backup for " + mPackage.packageName + ". " + e);
250 // We will have to create a runnable that will read the manifest and backup data we
266 Slog.e(TAG, "Full backup failed on package " + mCurrentPackage.packageName);
269 Slog.d(TAG, "Full package backup success: " + mCurrentPackage.packageName);