/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupAgentTest.java | 82 BackupAgent backupAgent = getAgentForBackupDestination(BackupDestination.CLOUD); in testGetIncludeExcludeRules_isNotMigration_returnsRules() 100 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in getBackupRestoreEventLogger_afterOnCreateForBackup_initializedForBackup() 109 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.RESTORE); in getBackupRestoreEventLogger_afterOnCreateForRestore_initializedForRestore() 119 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in getBackupRestoreEventLogger_afterBackup_containsLogsLoggedByAgent() 131 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in testClearLogger_clearsPendingLogs() 142 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in testClearLoggerBetweenBackups_restartsSuccessCount() 157 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.RESTORE); in doRestoreFile_agentOverrideIgnoresFile_consumesAllBytesInBuffer()
|
D | BackupManagerTest.java | 75 agent.onCreate(UserHandle.SYSTEM, BackupDestination.CLOUD, in testGetBackupRestoreEventLogger_returnsBackupLoggerForBackup() 86 agent.onCreate(UserHandle.SYSTEM, BackupDestination.CLOUD, in testGetBackupRestoreEventLogger_returnsRestoreLoggerForRestore()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAnnotations.java | 50 BackupDestination.CLOUD, 56 int CLOUD = 0; field
|
D | FullBackup.java | 179 BackupScheme testing = new BackupScheme(context, BackupDestination.CLOUD); in getBackupSchemeForTest() 621 case BackupDestination.CLOUD: in getConfigSectionForBackupDestination()
|
D | BackupAgent.java | 143 private static final int DEFAULT_BACKUP_DESTINATION = BackupDestination.CLOUD;
|
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgentTest.java | 134 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in setUp() 622 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testOnRestore_wallpaperImgSuccess_logsSuccess() 643 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testOnRestore_lockWallpaperImgSuccess_logsSuccess() 658 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testOnRestore_systemWallpaperImgMissingAndNoLive_logsFailure() 674 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testOnRestore_wallpaperImgMissingAndNoLive_logsFailure() 691 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testOnRestore_wallpaperInfoMissing_logsFailure() 706 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testOnRestore_imgMissingButWallpaperInfoHasLive_doesNotLogImg() 730 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testOnRestore_throwsException_logsErrors() 847 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in testParseCropHints() 975 mWallpaperBackupAgent.onCreate(USER_HANDLE, BackupAnnotations.BackupDestination.CLOUD, in markAgentAsOverQuota()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | BackupEligibilityRulesTest.java | 90 mBackupEligibilityRules = getBackupEligibilityRules(BackupDestination.CLOUD); in setUp() 870 mMockPackageManagerInternal, mUserId, mContext, BackupDestination.CLOUD, in isAppEligibleForRestore_hasBeenLaunched_returnsFalse() 885 mMockPackageManagerInternal, mUserId, mContext, BackupDestination.CLOUD, in isAppEligibleForRestore_hasNotBeenLaunched_returnsTrue() 900 mMockPackageManagerInternal, mUserId, mContext, BackupDestination.CLOUD, in isAppEligibleForRestore_launchedButHasBackupAgent_returnsTrue() 915 mMockPackageManagerInternal, mUserId, mContext, BackupDestination.CLOUD, in isAppEligibleForRestore_doNotSkipRestoreForLaunched_returnsTrue() 953 mBackupEligibilityRules = getBackupEligibilityRules(BackupDestination.CLOUD); in setUpForNonSystemUser() 959 mBackupEligibilityRules = getBackupEligibilityRules(BackupDestination.CLOUD); in setUpForProfileUser()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 108 BackupDestination.CLOUD); in forBackup() 253 case BackupDestination.CLOUD: in isAppBackupAllowed()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbBackupEngine.java | 151 BackupAnnotations.BackupDestination.CLOUD); in bindToAgent()
|
D | UserBackupManagerService.java | 569 BackupDestination.CLOUD); in UserBackupManagerService() 2403 getEligibilityRulesForOperation(BackupDestination.CLOUD)); in beginFullBackup() 2956 getEligibilityRulesForOperation(BackupDestination.CLOUD)); in fullTransportBackup() 4386 return BackupDestination.CLOUD; in getBackupDestinationFromTransport() 4396 return BackupDestination.CLOUD; in getBackupDestinationFromTransport()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | ActiveRestoreSession.java | 309 ? BackupDestination.DEVICE_TRANSFER : BackupDestination.CLOUD; in getBackupEligibilityRules()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | BackupHandler.java | 243 BackupDestination.CLOUD)); in handleMessage()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 239 assertThat(backupDestination).isEqualTo(BackupDestination.CLOUD); in testGetBackupDestinationFromTransport_returnsCloudByDefault()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 190 private static final int BACKUP_DESTINATION = BackupAnnotations.BackupDestination.CLOUD;
|