Home
last modified time | relevance | path

Searched refs:ERROR_BACKUP_NOT_ALLOWED (Results 1 – 11 of 11) 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/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java838 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
839 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
855 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
856 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
896 verify(mObserver).onResult(PACKAGE_1, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenAppNotEligibleForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java209 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
224 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
239 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
342 backupRunStatus = BackupManager.ERROR_BACKUP_NOT_ALLOWED; in run()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java669 listener.onFailure(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in selectBackupTransportAsyncForUser()
762 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackupForUser()
DBackupManagerService.java657 ? BackupManager.ERROR_BACKUP_NOT_ALLOWED in requestBackup()
DUserBackupManagerService.java1632 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup()
1638 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackup()
1672 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java88 public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; field in BackupManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java992 assertEquals(BackupManager.ERROR_BACKUP_NOT_ALLOWED, (int) errorCode); in selectBackupTransportAsyncForUser_calledBeforeInitialize_ignored()
1216 assertEquals(BackupManager.ERROR_BACKUP_NOT_ALLOWED, mTrampoline.requestBackup( in requestBackup_calledBeforeInitialize_ignored()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java20 import static android.app.backup.BackupManager.ERROR_BACKUP_NOT_ALLOWED;
629 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageNotEligibleForBackup()
658 verify(mObserver).onResult(packageData.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageDoesFullBackup()
686 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageIsStopped()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java382 case BackupManager.ERROR_BACKUP_NOT_ALLOWED: in convertBackupStatusToString()
/frameworks/base/api/
Dsystem-current.txt771 field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f