Home
last modified time | relevance | path

Searched refs:backup (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java17 package com.android.server.backup.internal;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
21 import static com.android.server.backup.BackupManagerService.TAG;
23 import android.app.backup.BackupManager.OperationType;
24 import android.app.backup.RestoreSet;
35 import com.android.server.backup.BackupAgentTimeoutParameters;
36 import com.android.server.backup.BackupRestoreTask;
37 import com.android.server.backup.DataChangedJournal;
38 import com.android.server.backup.OperationStorage;
[all …]
DSetupObserver.java17 package com.android.server.backup.internal;
19 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
20 import static com.android.server.backup.BackupManagerService.TAG;
21 import static com.android.server.backup.UserBackupManagerService.getSetupCompleteSettingForUser;
29 import com.android.server.backup.KeyValueBackupJob;
30 import com.android.server.backup.UserBackupManagerService;
DPerformClearTask.java17 package com.android.server.backup.internal;
19 import static com.android.server.backup.BackupManagerService.TAG;
24 import com.android.server.backup.TransportManager;
25 import com.android.server.backup.UserBackupManagerService;
26 import com.android.server.backup.transport.BackupTransportClient;
27 import com.android.server.backup.transport.TransportConnection;
DRunInitializeReceiver.java17 package com.android.server.backup.internal;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.TAG;
21 import static com.android.server.backup.UserBackupManagerService.RUN_INITIALIZE_ACTION;
28 import com.android.server.backup.UserBackupManagerService;
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java21 import com.android.server.backup.DataChangedJournal;
22 import com.android.server.backup.OperationStorage;
23 import com.android.server.backup.UserBackupManagerService;
24 import com.android.server.backup.internal.OnTaskFinishedListener;
25 import com.android.server.backup.keyvalue.KeyValueBackupReporter;
26 import com.android.server.backup.keyvalue.KeyValueBackupTask;
27 import com.android.server.backup.transport.TransportConnection;
28 import com.android.server.backup.utils.BackupEligibilityRules;
DShadowPerformUnifiedRestoreTask.java20 import android.app.backup.IBackupManagerMonitor;
21 import android.app.backup.IRestoreObserver;
24 import com.android.server.backup.OperationStorage;
25 import com.android.server.backup.UserBackupManagerService;
26 import com.android.server.backup.internal.OnTaskFinishedListener;
27 import com.android.server.backup.restore.PerformUnifiedRestoreTask;
28 import com.android.server.backup.transport.TransportConnection;
29 import com.android.server.backup.utils.BackupEligibilityRules;
/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreGetSetsParams.java17 package com.android.server.backup.params;
19 import android.app.backup.IBackupManagerMonitor;
20 import android.app.backup.IRestoreObserver;
22 import com.android.server.backup.internal.OnTaskFinishedListener;
23 import com.android.server.backup.restore.ActiveRestoreSession;
24 import com.android.server.backup.transport.TransportConnection;
DBackupParams.java17 package com.android.server.backup.params;
19 import android.app.backup.IBackupManagerMonitor;
20 import android.app.backup.IBackupObserver;
22 import com.android.server.backup.internal.OnTaskFinishedListener;
23 import com.android.server.backup.transport.TransportConnection;
24 import com.android.server.backup.utils.BackupEligibilityRules;
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DBackupStreamEncrypter.java17 package com.android.server.backup.encryption.tasks;
21 import com.android.server.backup.encryption.chunk.ChunkHash;
22 import com.android.server.backup.encryption.chunking.ChunkEncryptor;
23 import com.android.server.backup.encryption.chunking.ChunkHasher;
24 import com.android.server.backup.encryption.chunking.EncryptedChunk;
25 import com.android.server.backup.encryption.chunking.cdc.ContentDefinedChunker;
26 import com.android.server.backup.encryption.chunking.cdc.FingerprintMixer;
27 import com.android.server.backup.encryption.chunking.cdc.IsChunkBreakpoint;
28 import com.android.server.backup.encryption.chunking.cdc.RabinFingerprint64;
78 public Result backup( in backup() method in BackupStreamEncrypter
DEncryptedKvRestoreTask.java17 package com.android.server.backup.encryption.tasks;
21 import android.app.backup.BackupDataOutput;
26 import com.android.server.backup.encryption.FullRestoreDownloader;
27 import com.android.server.backup.encryption.chunking.ChunkHasher;
28 import com.android.server.backup.encryption.keys.RecoverableKeyStoreSecondaryKeyManager;
29 import com.android.server.backup.encryption.keys.RestoreKeyFetcher;
30 import com.android.server.backup.encryption.kv.DecryptedChunkKvOutput;
31 import com.android.server.backup.encryption.protos.nano.KeyValuePairProto;
32 import com.android.server.backup.encryption.protos.nano.WrappedKeyProto;
DEncryptedFullBackupTask.java17 package com.android.server.backup.encryption.tasks;
23 import com.android.server.backup.encryption.StreamUtils;
24 import com.android.server.backup.encryption.chunking.ProtoStore;
25 import com.android.server.backup.encryption.chunking.cdc.FingerprintMixer;
26 import com.android.server.backup.encryption.client.CryptoBackupServer;
27 import com.android.server.backup.encryption.keys.RecoverableKeyStoreSecondaryKey;
28 import com.android.server.backup.encryption.keys.TertiaryKeyManager;
29 import com.android.server.backup.encryption.keys.TertiaryKeyRotationScheduler;
30 import com.android.server.backup.encryption.protos.nano.ChunksMetadataProto.ChunkListing;
31 import com.android.server.backup.encryption.protos.nano.WrappedKeyProto;
DKvBackupEncrypter.java17 package com.android.server.backup.encryption.tasks;
22 import android.app.backup.BackupDataInput;
24 import com.android.server.backup.encryption.chunk.ChunkHash;
25 import com.android.server.backup.encryption.chunking.ChunkEncryptor;
26 import com.android.server.backup.encryption.chunking.ChunkHasher;
27 import com.android.server.backup.encryption.chunking.EncryptedChunk;
28 import com.android.server.backup.encryption.kv.KeyValueListingBuilder;
29 import com.android.server.backup.encryption.protos.nano.KeyValueListingProto;
30 import com.android.server.backup.encryption.protos.nano.KeyValuePairProto;
85 public Result backup( in backup() method in KvBackupEncrypter
DClearCryptoStateTask.java17 package com.android.server.backup.encryption.tasks;
22 import com.android.server.backup.encryption.CryptoSettings;
23 import com.android.server.backup.encryption.chunking.ProtoStore;
24 import com.android.server.backup.encryption.storage.BackupEncryptionDb;
25 import com.android.server.backup.encryption.storage.EncryptionDbException;
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DAdbRestoreFinishedLatch.java17 package com.android.server.backup.restore;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
24 import com.android.server.backup.BackupAgentTimeoutParameters;
25 import com.android.server.backup.BackupRestoreTask;
26 import com.android.server.backup.OperationStorage;
27 import com.android.server.backup.UserBackupManagerService;
DFullRestoreEngine.java17 package com.android.server.backup.restore;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
21 import static com.android.server.backup.BackupManagerService.TAG;
22 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_FILENAME;
23 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_FILENAME;
24 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
25 import static com.android.server.backup.internal.BackupHandler.MSG_RESTORE_OPERATION_TIMEOUT;
29 import android.app.backup.BackupManager;
30 import android.app.backup.FullBackup;
[all …]
DActiveRestoreSession.java17 package com.android.server.backup.restore;
19 import static android.app.backup.BackupManager.OperationType;
21 import static com.android.server.backup.BackupManagerService.DEBUG;
22 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
23 import static com.android.server.backup.internal.BackupHandler.MSG_RESTORE_SESSION_TIMEOUT;
24 import static com.android.server.backup.internal.BackupHandler.MSG_RUN_GET_RESTORE_SETS;
25 import static com.android.server.backup.internal.BackupHandler.MSG_RUN_RESTORE;
29 import android.app.backup.IBackupManagerMonitor;
30 import android.app.backup.IRestoreObserver;
31 import android.app.backup.IRestoreSession;
[all …]
DPerformAdbRestoreTask.java17 package com.android.server.backup.restore;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
21 import static com.android.server.backup.BackupManagerService.TAG;
22 import static com.android.server.backup.BackupPasswordManager.PBKDF_CURRENT;
23 import static com.android.server.backup.BackupPasswordManager.PBKDF_FALLBACK;
24 import static com.android.server.backup.UserBackupManagerService.BACKUP_FILE_HEADER_MAGIC;
25 import static com.android.server.backup.UserBackupManagerService.BACKUP_FILE_VERSION;
27 import android.app.backup.BackupManager;
28 import android.app.backup.IFullBackupRestoreObserver;
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java17 package com.android.server.backup.fullbackup;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
21 import static com.android.server.backup.BackupManagerService.TAG;
22 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_FILENAME;
23 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_FILENAME;
24 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
29 import android.app.backup.BackupTransport;
30 import android.app.backup.FullBackupDataOutput;
39 import com.android.server.backup.BackupAgentTimeoutParameters;
[all …]
DFullBackupObbConnection.java17 package com.android.server.backup.fullbackup;
19 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
20 import static com.android.server.backup.BackupManagerService.TAG;
22 import android.app.backup.IBackupManager;
33 import com.android.internal.backup.IObbBackupService;
34 import com.android.server.backup.BackupAgentTimeoutParameters;
35 import com.android.server.backup.OperationStorage.OpType;
36 import com.android.server.backup.UserBackupManagerService;
37 import com.android.server.backup.utils.FullBackupUtils;
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java17 package com.android.server.backup.utils;
19 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_NAME;
20 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_VERSION;
21 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_MANIFEST_PACKAGE_NAME;
22 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_OLD_VERSION;
23 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_POLICY_ALLOW_APKS;
24 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_CATEGORY_AGENT;
25 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY;
26 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_APK_NOT_INSTALLED;
27 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK;
[all …]
DBackupObserverUtils.java17 package com.android.server.backup.utils;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.TAG;
22 import android.app.backup.BackupProgress;
23 import android.app.backup.IBackupObserver;
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DClearCryptoStateTaskTest.java17 package com.android.server.backup.encryption.tasks;
28 import com.android.server.backup.encryption.CryptoSettings;
29 import com.android.server.backup.encryption.chunking.ProtoStore;
30 import com.android.server.backup.encryption.protos.nano.ChunksMetadataProto.ChunkListing;
31 import com.android.server.backup.encryption.protos.nano.KeyValueListingProto.KeyValueListing;
32 import com.android.server.backup.encryption.storage.BackupEncryptionDb;
33 import com.android.server.backup.encryption.storage.TertiaryKey;
34 import com.android.server.backup.encryption.storage.TertiaryKeysTable;
DEncryptedBackupTaskTest.java17 package com.android.server.backup.encryption.tasks;
19 import static com.android.server.backup.encryption.protos.nano.ChunksMetadataProto.AES_256_GCM;
20 import static com.android.server.backup.encryption.protos.nano.ChunksMetadataProto.CHUNK_ORDERING_T…
21 import static com.android.server.backup.encryption.protos.nano.ChunksMetadataProto.SHA_256;
34 import com.android.server.backup.encryption.chunk.ChunkHash;
35 import com.android.server.backup.encryption.chunking.BackupFileBuilder;
36 import com.android.server.backup.encryption.chunking.EncryptedChunk;
37 import com.android.server.backup.encryption.chunking.EncryptedChunkEncoder;
38 import com.android.server.backup.encryption.chunking.LengthlessEncryptedChunkEncoder;
39 import com.android.server.backup.encryption.client.CryptoBackupServer;
[all …]
/frameworks/native/cmds/installd/
Drestorable_file.cpp86 std::string backup = GetBackupFilePath(path()); in CreateBackupFile() local
87 UnlinkPossiblyNonExistingFile(backup); in CreateBackupFile()
88 if (rename(path().c_str(), backup.c_str()) < 0) { in CreateBackupFile()
89 PLOG(ERROR) << "Cannot rename " << path() << " to " << backup; in CreateBackupFile()
113 std::string backup = GetBackupFilePath(path()); in RestoreBackupFile() local
114 if (path().empty() || !FileExists(backup)) { in RestoreBackupFile()
118 if (rename(backup.c_str(), path().c_str()) < 0) { in RestoreBackupFile()
119 PLOG(ERROR) << "Cannot rename " << backup << " to " << path(); in RestoreBackupFile()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupReporterTest.java17 package com.android.server.backup.keyvalue;
19 import static com.android.server.backup.keyvalue.KeyValueBackupReporter.TAG;
20 import static com.android.server.backup.testing.TestUtils.assertLogcat;
24 import android.app.backup.IBackupManagerMonitor;
25 import android.app.backup.IBackupObserver;
29 import com.android.server.backup.UserBackupManagerService;

12345678910>>...20