Home
last modified time | relevance | path

Searched refs:BackupAgent (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DBackupAgent.java125 public abstract class BackupAgent extends ContextWrapper { class
207 public BackupAgent() { in BackupAgent() method in BackupAgent
985 BackupAgent.this.onBackup(oldState, output, newState); in doBackup()
987 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doBackup()
990 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doBackup()
1029 BackupAgent.this.onRestore(input, appVersionCode, newState); in doRestore()
1031 Log.d(TAG, "onRestore (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doRestore()
1034 Log.d(TAG, "onRestore (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doRestore()
1067 BackupAgent.this.onFullBackup(new FullBackupDataOutput( in doFullBackup()
1070 … Log.d(TAG, "onFullBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doFullBackup()
[all …]
DFullBackupAgent.java29 public class FullBackupAgent extends BackupAgent {
DBackupAgentHelper.java55 public class BackupAgentHelper extends BackupAgent {
DFullBackup.java148 if (type == BackupAgent.TYPE_DIRECTORY) { in restoreFile()
600 flags |= BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in getRequiredFlagsFromString()
603 flags |= BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER; in getRequiredFlagsFromString()
606 flags |= BackupAgent.FLAG_FAKE_CLIENT_SIDE_ENCRYPTION_ENABLED; in getRequiredFlagsFromString()
/frameworks/base/services/robotests/src/com/android/server/backup/
DPerformBackupTaskTest.java47 import android.app.backup.BackupAgent;
180 int flags = BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in testRunTask_whenTransportProvidesFlags_passesThemToTheAgent()
216 BackupAgent agent1 = agentMocks.get(0).agent; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll()
217 BackupAgent agent2 = agentMocks.get(1).agent; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll()
218 int flags = BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll()
244 int flags = BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in testRunTask_whenTransportChangeFlagsAfterTaskCreation()
543 BackupAgent backupAgent = spy(BackupAgent.class); in setUpAgent()
606 private static void agentOnBackupDo(BackupAgent agent, BackupAgentOnBackup function) in agentOnBackupDo()
631 private final BackupAgent agent;
633 private AgentMock(IBackupAgent agentBinder, BackupAgent agent) { in AgentMock()
/frameworks/base/services/backup/java/com/android/server/backup/
DFileMetadata.java21 import android.app.backup.BackupAgent;
64 b.append((type == BackupAgent.TYPE_DIRECTORY) ? 'd' : '-'); in dump()
DPackageManagerBackupAgent.java19 import android.app.backup.BackupAgent;
64 public class PackageManagerBackupAgent extends BackupAgent {
/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java98 BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED, in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
120 BackupAgent.FLAG_FAKE_CLIENT_SIDE_ENCRYPTION_ENABLED, in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
144 BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER, in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
169 BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
170 | BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER, in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
195 BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER, in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlagAndIngoreGarbage()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeAgent.java19 import android.app.backup.BackupAgent;
39 public class HugeAgent extends BackupAgent {
/frameworks/multidex/library/jack-meta/
DlegacyMultidexInstallation.jpp29 | class android.app.backup.BackupAgent
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java24 import android.app.backup.BackupAgent;
52 public class WallpaperBackupAgent extends BackupAgent {
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java46 import android.app.backup.BackupAgent;
156 info.type = BackupAgent.TYPE_FILE; in readTarHeaders()
159 info.type = BackupAgent.TYPE_DIRECTORY; in readTarHeaders()
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java19 import android.app.backup.BackupAgent;
158 flags |= BackupAgent.FLAG_FAKE_CLIENT_SIDE_ENCRYPTION_ENABLED; in getTransportFlags()
/frameworks/base/config/
Dpreloaded-classes476 android.app.backup.BackupAgent
477 android.app.backup.BackupAgent$BackupServiceBinder
478 android.app.backup.BackupAgent$SharedPrefsSynchronizer
Dhiddenapi-public-dex.txt2256 Landroid/app/backup/BackupAgent;
2257 Landroid/app/backup/BackupAgent;-><init>()V
2258 Landroid/app/backup/BackupAgent;->FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED:I
2259 Landroid/app/backup/BackupAgent;->FLAG_DEVICE_TO_DEVICE_TRANSFER:I
2260 Landroid/app/backup/BackupAgent;->fullBackupFile(Ljava/io/File;Landroid/app/backup/FullBackupDataOu…
2261 Landroid/app/backup/BackupAgent;->onBackup(Landroid/os/ParcelFileDescriptor;Landroid/app/backup/Bac…
2262 Landroid/app/backup/BackupAgent;->onCreate()V
2263 Landroid/app/backup/BackupAgent;->onDestroy()V
2264 Landroid/app/backup/BackupAgent;->onFullBackup(Landroid/app/backup/FullBackupDataOutput;)V
2265 Landroid/app/backup/BackupAgent;->onQuotaExceeded(JJ)V
[all …]
Dboot-image-profile.txt1022 HPLandroid/app/backup/BackupAgent$BackupServiceBinder;->doFullBackup(Landroid/os/ParcelFileDescript…
1023 HPLandroid/app/backup/BackupAgent$BackupServiceBinder;->doMeasureFullBackup(JILandroid/app/backup/I…
1024 HPLandroid/app/backup/BackupAgent;-><init>()V
1025 HPLandroid/app/backup/BackupAgent;->fullBackupFile(Ljava/io/File;Landroid/app/backup/FullBackupData…
1026 HPLandroid/app/backup/BackupAgent;->onCreate()V
15871 HSPLandroid/app/backup/BackupAgent$BackupServiceBinder;->doBackup(Landroid/os/ParcelFileDescriptor;…
15872 HSPLandroid/app/backup/BackupAgent$SharedPrefsSynchronizer;->run()V
15873 HSPLandroid/app/backup/BackupAgent;->attach(Landroid/content/Context;)V
15874 HSPLandroid/app/backup/BackupAgent;->getHandler()Landroid/os/Handler;
15875 HSPLandroid/app/backup/BackupAgent;->onBackup(Landroid/os/ParcelFileDescriptor;Landroid/app/backup/…
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5449 public abstract class BackupAgent extends android.content.ContextWrapper {
5450 ctor public BackupAgent();
5463 public class BackupAgentHelper extends android.app.backup.BackupAgent {
/frameworks/base/api/
Dcurrent.txt6974 public abstract class BackupAgent extends android.content.ContextWrapper {
6975 ctor public BackupAgent();
6992 public class BackupAgentHelper extends android.app.backup.BackupAgent {