Home
last modified time | relevance | path

Searched refs:CLOUD (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupAgentTest.java82 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()
DBackupManagerTest.java75 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/
DBackupAnnotations.java50 BackupDestination.CLOUD,
56 int CLOUD = 0; field
DFullBackup.java179 BackupScheme testing = new BackupScheme(context, BackupDestination.CLOUD); in getBackupSchemeForTest()
621 case BackupDestination.CLOUD: in getConfigSectionForBackupDestination()
DBackupAgent.java143 private static final int DEFAULT_BACKUP_DESTINATION = BackupDestination.CLOUD;
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperBackupAgentTest.java134 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/
DBackupEligibilityRulesTest.java90 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/
DBackupEligibilityRules.java108 BackupDestination.CLOUD); in forBackup()
253 case BackupDestination.CLOUD: in isAppBackupAllowed()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java151 BackupAnnotations.BackupDestination.CLOUD); in bindToAgent()
DUserBackupManagerService.java569 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/
DActiveRestoreSession.java309 ? BackupDestination.DEVICE_TRANSFER : BackupDestination.CLOUD; in getBackupEligibilityRules()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java243 BackupDestination.CLOUD)); in handleMessage()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java239 assertThat(backupDestination).isEqualTo(BackupDestination.CLOUD); in testGetBackupDestinationFromTransport_returnsCloudByDefault()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java190 private static final int BACKUP_DESTINATION = BackupAnnotations.BackupDestination.CLOUD;