Home
last modified time | relevance | path

Searched refs:ERROR_BACKUP_NOT_ALLOWED (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java141 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageNotEligibleForBackup()
149 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageEligibleForFullBackup()
154 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageStopped()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java228 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
243 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
258 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
365 backupRunStatus = BackupManager.ERROR_BACKUP_NOT_ALLOWED; in run()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java892 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
893 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
909 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
910 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
950 verify(mObserver).onResult(PACKAGE_1, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenAppNotEligibleForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1170 listener.onFailure(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in selectBackupTransportAsyncForUser()
1399 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackupForUser()
1426 ? BackupManager.ERROR_BACKUP_NOT_ALLOWED in requestBackup()
DUserBackupManagerService.java1871 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup()
1877 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackup()
1928 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in getRequestBackupParams()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java95 public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; field in BackupManager
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DBackupManagerServiceTest.java559 assertEquals(BackupManager.ERROR_BACKUP_NOT_ALLOWED, (int) future.get(5, TimeUnit.SECONDS)); in selectBackupTransportAsyncForUser_beforeUserUnlocked_notifiesBackupNotAllowed()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java20 import static android.app.backup.BackupManager.ERROR_BACKUP_NOT_ALLOWED;
652 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageNotEligibleForBackup()
681 verify(mObserver).onResult(packageData.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageDoesFullBackup()
709 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageIsStopped()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java435 case BackupManager.ERROR_BACKUP_NOT_ALLOWED: in convertBackupStatusToString()
/frameworks/base/core/api/
Dsystem-current.txt1767 field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f