Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/android/app/backup/
DForwardingBackupAgent.java33 public class ForwardingBackupAgent extends BackupAgent {
35 public static BackupAgent forward(BackupAgent backupAgent) { in forward()
39 private final BackupAgent mBackupAgent;
41 private ForwardingBackupAgent(BackupAgent backupAgent) { in ForwardingBackupAgent()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java126 public abstract class BackupAgent extends ContextWrapper { class
215 public BackupAgent() { in BackupAgent() method in BackupAgent
987 BackupAgent.this.onBackup(oldState, output, newState); in doBackup()
990 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doBackup()
993 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doBackup()
1032 BackupAgent.this.onRestore(input, appVersionCode, newState); in doRestore()
1034 Log.d(TAG, "onRestore (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doRestore()
1037 Log.d(TAG, "onRestore (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doRestore()
1070 BackupAgent.this.onFullBackup(new FullBackupDataOutput( in doFullBackup()
1073 … 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.java150 if (type == BackupAgent.TYPE_DIRECTORY) { in restoreFile()
602 flags |= BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in getRequiredFlagsFromString()
605 flags |= BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER; in getRequiredFlagsFromString()
608 flags |= BackupAgent.FLAG_FAKE_CLIENT_SIDE_ENCRYPTION_ENABLED; in getRequiredFlagsFromString()
/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;
63 public class PackageManagerBackupAgent extends BackupAgent {
DUserBackupManagerService.java48 import android.app.backup.BackupAgent;
816 public BackupAgent makeMetadataAgent() { in makeMetadataAgent()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java99 BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED, in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
121 BackupAgent.FLAG_FAKE_CLIENT_SIDE_ENCRYPTION_ENABLED, in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
145 BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER, in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
170 BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
171 | BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER, in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
196 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/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java75 import android.app.backup.BackupAgent;
479 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm()
492 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm()
506 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm()
1007 int flags = BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in testRunTask_whenTransportProvidesFlags_passesThemToTheAgent()
1033 int flags = BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll()
1036 BackupAgent agent1 = agentMocks.get(0).agent; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll()
1037 BackupAgent agent2 = agentMocks.get(1).agent; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll()
1051 int flags = BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED; in testRunTask_whenTransportChangeFlagsAfterTaskCreation()
1315 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData()
[all …]
/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/restore/
DPerformAdbRestoreTask.java30 import android.app.backup.BackupAgent;
74 private final BackupAgent mPackageManagerBackupAgent;
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java32 import android.app.backup.BackupAgent;
629 BackupAgent pmAgent = mBackupManagerService.makeMetadataAgent(); in extractPmAgentData()
744 if (resultCode == BackupAgent.RESULT_ERROR) { in checkAgentResult()
748 Preconditions.checkState(resultCode == BackupAgent.RESULT_SUCCESS); in checkAgentResult()
/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/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java19 import android.app.backup.BackupAgent;
160 flags |= BackupAgent.FLAG_FAKE_CLIENT_SIDE_ENCRYPTION_ENABLED; in getTransportFlags()
/frameworks/base/core/java/android/app/
DActivityThread.java38 import android.app.backup.BackupAgent;
347 private final SparseArray<ArrayMap<String, BackupAgent>> mBackupAgentsByUser =
3845 ArrayMap<String, BackupAgent> backupAgents = getBackupAgentsForUser(data.userId); in handleCreateBackupAgent()
3846 BackupAgent agent = backupAgents.get(packageName); in handleCreateBackupAgent()
3858 agent = (BackupAgent) cl.loadClass(classname).newInstance(); in handleCreateBackupAgent()
3899 ArrayMap<String, BackupAgent> backupAgents = getBackupAgentsForUser(data.userId); in handleDestroyBackupAgent()
3900 BackupAgent agent = backupAgents.get(packageName); in handleDestroyBackupAgent()
3914 private ArrayMap<String, BackupAgent> getBackupAgentsForUser(int userId) { in getBackupAgentsForUser()
3915 ArrayMap<String, BackupAgent> backupAgents = mBackupAgentsByUser.get(userId); in getBackupAgentsForUser()
/frameworks/base/config/
Dpreloaded-classes529 android.app.backup.BackupAgent$BackupServiceBinder
530 android.app.backup.BackupAgent$SharedPrefsSynchronizer
531 android.app.backup.BackupAgent
Dboot-image-profile.txt2634 HSPLandroid/app/backup/BackupAgent$BackupServiceBinder;->doBackup(Landroid/os/ParcelFileDescriptor;…
2635 HPLandroid/app/backup/BackupAgent$BackupServiceBinder;->doFullBackup(Landroid/os/ParcelFileDescript…
2636 HPLandroid/app/backup/BackupAgent$BackupServiceBinder;->doMeasureFullBackup(JILandroid/app/backup/I…
2637 HSPLandroid/app/backup/BackupAgent$SharedPrefsSynchronizer;->run()V
2638 HSPLandroid/app/backup/BackupAgent;-><init>()V
2639 HSPLandroid/app/backup/BackupAgent;->attach(Landroid/content/Context;)V
2640 HPLandroid/app/backup/BackupAgent;->fullBackupFile(Ljava/io/File;Landroid/app/backup/FullBackupData…
2641 HSPLandroid/app/backup/BackupAgent;->getHandler()Landroid/os/Handler;
2642 HSPLandroid/app/backup/BackupAgent;->onCreate()V
2643 HSPLandroid/app/backup/BackupAgent;->onCreate(Landroid/os/UserHandle;)V
[all …]
Dhiddenapi-greylist-max-o.txt4429 Landroid/app/backup/BackupAgent$BackupServiceBinder;
4430 Landroid/app/backup/BackupAgent$BackupServiceBinder;-><init>()V
4431 Landroid/app/backup/BackupAgent$BackupServiceBinder;->doBackup(Landroid/os/ParcelFileDescriptor;Lan…
4432 Landroid/app/backup/BackupAgent$BackupServiceBinder;->doFullBackup(Landroid/os/ParcelFileDescriptor…
4433 Landroid/app/backup/BackupAgent$BackupServiceBinder;->doMeasureFullBackup(JILandroid/app/backup/IBa…
4434 Landroid/app/backup/BackupAgent$BackupServiceBinder;->doQuotaExceeded(JJ)V
4435 Landroid/app/backup/BackupAgent$BackupServiceBinder;->doRestore(Landroid/os/ParcelFileDescriptor;JL…
4436 Landroid/app/backup/BackupAgent$BackupServiceBinder;->doRestoreFile(Landroid/os/ParcelFileDescripto…
4437 Landroid/app/backup/BackupAgent$BackupServiceBinder;->doRestoreFinished(ILandroid/app/backup/IBacku…
4438 Landroid/app/backup/BackupAgent$BackupServiceBinder;->fail(Ljava/lang/String;)V
[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.txt7223 public abstract class BackupAgent extends android.content.ContextWrapper {
7224 ctor public BackupAgent();
7241 public class BackupAgentHelper extends android.app.backup.BackupAgent {
/frameworks/base/services/
Dart-profile4933 …ndroid/server/backup/UserBackupManagerService;->makeMetadataAgent()Landroid/app/backup/BackupAgent;