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/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java210 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
225 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
240 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask()
346 backupRunStatus = BackupManager.ERROR_BACKUP_NOT_ALLOWED; in run()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java870 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
871 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
887 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
888 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
928 verify(mObserver).onResult(PACKAGE_1, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenAppNotEligibleForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1110 listener.onFailure(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in selectBackupTransportAsyncForUser()
1339 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackupForUser()
1365 ? BackupManager.ERROR_BACKUP_NOT_ALLOWED in requestBackup()
DUserBackupManagerService.java1816 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup()
1822 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackup()
1856 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java90 public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; field in BackupManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupManagerServiceTest.java479 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;
630 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageNotEligibleForBackup()
659 verify(mObserver).onResult(packageData.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageDoesFullBackup()
687 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageIsStopped()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java409 case BackupManager.ERROR_BACKUP_NOT_ALLOWED: in convertBackupStatusToString()
/frameworks/base/non-updatable-api/
Dsystem-current.txt918 field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f
/frameworks/base/api/
Dsystem-current.txt970 field public static final int ERROR_BACKUP_NOT_ALLOWED = -2001; // 0xfffff82f