/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 28 import android.app.backup.BackupManager; 205 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask() 220 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask() 235 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask() 316 int backupRunStatus = BackupManager.SUCCESS; in run() 338 backupRunStatus = BackupManager.ERROR_BACKUP_NOT_ALLOWED; in run() 345 backupRunStatus = BackupManager.ERROR_TRANSPORT_ABORTED; in run() 537 BackupManager.ERROR_TRANSPORT_PACKAGE_REJECTED); in run() 554 BackupManager.ERROR_TRANSPORT_QUOTA_EXCEEDED); in run() 565 BackupManager.ERROR_AGENT_FAILURE); in run() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | BackupManagerProxy.java | 19 import android.app.backup.BackupManager; 31 BackupManager.dataChanged("com.android.providers.settings"); in notifyDataChanged()
|
/frameworks/base/services/robotests/src/com/android/server/backup/ |
D | PerformBackupTaskTest.java | 50 import android.app.backup.BackupManager; 267 verify(mObserver).backupFinished(eq(BackupManager.SUCCESS)); in testRunTask_callsListenerAndObserver() 383 verify(mObserver).onResult(eq(PACKAGE_1), eq(BackupManager.ERROR_AGENT_FAILURE)); in testRunTask_whenProhibitedKey_failsAgent() 402 verify(mObserver, times(2)).backupFinished(eq(BackupManager.ERROR_TRANSPORT_ABORTED)); in testRunTask_whenTransportUnavailable() 421 verify(mObserver).onResult(PACKAGE_1, BackupManager.ERROR_TRANSPORT_PACKAGE_REJECTED); in testRunTask_whenTransportRejectsPackage() 422 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenTransportRejectsPackage() 444 verify(mObserver).onResult(PACKAGE_1, BackupManager.ERROR_TRANSPORT_PACKAGE_REJECTED); in testRunTask_whenTransportRejectsFirstPackageButLastSucceeds() 445 verify(mObserver).onResult(PACKAGE_2, BackupManager.SUCCESS); in testRunTask_whenTransportRejectsFirstPackageButLastSucceeds() 446 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenTransportRejectsFirstPackageButLastSucceeds() 468 verify(mObserver).onResult(PACKAGE_1, BackupManager.SUCCESS); in testRunTask_whenTransportRejectsLastPackageButFirstSucceeds() [all …]
|
D | BackupManagerServiceTest.java | 36 import android.app.backup.BackupManager; 304 .thenReturn(BackupManager.SUCCESS); in testSelectBackupTransportAsync() 323 .thenReturn(BackupManager.SUCCESS); in testSelectBackupTransportAsync_whenMandatoryTransport() 342 .thenReturn(BackupManager.SUCCESS); in testSelectBackupTransportAsync_whenOtherThanMandatoryTransport() 350 verify(callback).onFailure(eq(BackupManager.ERROR_BACKUP_NOT_ALLOWED)); in testSelectBackupTransportAsync_whenOtherThanMandatoryTransport() 358 .thenReturn(BackupManager.ERROR_TRANSPORT_UNAVAILABLE); in testSelectBackupTransportAsync_whenRegistrationFails() 375 .thenReturn(BackupManager.SUCCESS); in testSelectBackupTransportAsync_whenTransportGetsUnregistered()
|
D | TransportManagerTest.java | 44 import android.app.backup.BackupManager; 330 assertThat(result).isEqualTo(BackupManager.SUCCESS); in testRegisterAndSelectTransport_whenTransportRegistered() 347 assertThat(result).isEqualTo(BackupManager.SUCCESS); in testRegisterAndSelectTransport_whenTransportNotRegistered()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformBackupTask.java | 35 import android.app.backup.BackupManager; 272 BackupObserverUtils.sendBackupFinished(mObserver, BackupManager.SUCCESS); in beginBackup() 353 BackupManager.ERROR_TRANSPORT_ABORTED); in beginBackup() 396 return BackupManager.ERROR_AGENT_FAILURE; in invokeAgentToObserverError() 398 return BackupManager.ERROR_TRANSPORT_ABORTED; in invokeAgentToObserverError() 443 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in invokeNextAgent() 460 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in invokeNextAgent() 472 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in invokeNextAgent() 525 BackupManager.ERROR_AGENT_FAILURE); in invokeNextAgent() 532 BackupManager.ERROR_PACKAGE_NOT_FOUND); in invokeNextAgent() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | TransportManager.java | 21 import android.app.backup.BackupManager; 496 return BackupManager.SUCCESS; in registerAndSelectTransport() 504 if (result != BackupManager.SUCCESS) { in registerAndSelectTransport() 510 return BackupManager.SUCCESS; in registerAndSelectTransport() 513 return BackupManager.ERROR_TRANSPORT_UNAVAILABLE; in registerAndSelectTransport() 590 return BackupManager.ERROR_TRANSPORT_INVALID; in registerTransport() 607 return BackupManager.ERROR_TRANSPORT_UNAVAILABLE; in registerTransport() 618 result = BackupManager.SUCCESS; in registerTransport() 621 result = BackupManager.ERROR_TRANSPORT_UNAVAILABLE; in registerTransport()
|
D | Trampoline.java | 20 import android.app.backup.BackupManager; 397 listener.onFailure(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in selectBackupTransportAsync() 467 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackup()
|
D | BackupManagerService.java | 41 import android.app.backup.BackupManager; 1601 BackupObserverUtils.sendBackupFinished(observer, BackupManager.ERROR_TRANSPORT_ABORTED); in requestBackup() 1611 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup() 1617 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackup() 1629 BackupObserverUtils.sendBackupFinished(observer, BackupManager.ERROR_TRANSPORT_ABORTED); in requestBackup() 1633 return BackupManager.ERROR_TRANSPORT_ABORTED; in requestBackup() 1652 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup() 1662 BackupManager.ERROR_PACKAGE_NOT_FOUND); in requestBackup() 1673 boolean nonIncrementalBackup = (flags & BackupManager.FLAG_NON_INCREMENTAL_BACKUP) != 0; in requestBackup() 1679 return BackupManager.SUCCESS; in requestBackup() [all …]
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 19 import android.app.backup.BackupManager; 300 if (status == BackupManager.ERROR_BACKUP_CANCELLED) { in backupFinished() 309 case BackupManager.SUCCESS: in convertBackupStatusToString() 311 case BackupManager.ERROR_BACKUP_NOT_ALLOWED: in convertBackupStatusToString() 313 case BackupManager.ERROR_PACKAGE_NOT_FOUND: in convertBackupStatusToString() 315 case BackupManager.ERROR_TRANSPORT_ABORTED: in convertBackupStatusToString() 317 case BackupManager.ERROR_TRANSPORT_PACKAGE_REJECTED: in convertBackupStatusToString() 320 case BackupManager.ERROR_AGENT_FAILURE: in convertBackupStatusToString() 322 case BackupManager.ERROR_TRANSPORT_QUOTA_EXCEEDED: in convertBackupStatusToString() 324 case BackupManager.ERROR_BACKUP_CANCELLED: in convertBackupStatusToString() [all …]
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeBackupActivity.java | 20 import android.app.backup.BackupManager; 63 BackupManager mBackupManager; 82 mBackupManager = new BackupManager(this); in onCreate()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 23 import android.app.backup.BackupManager; 55 BackupManager sBm = new BackupManager(this);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 24 import android.app.backup.BackupManager; 273 BackupManager.dataChanged("com.android.providers.settings");
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManager.java | 66 public class BackupManager { class 212 public BackupManager(Context context) { in BackupManager() method in BackupManager
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | TrampolineTest.java | 31 import android.app.backup.BackupManager; 598 assertEquals(BackupManager.ERROR_BACKUP_NOT_ALLOWED, (int) errorCode); in selectBackupTransportAsync_calledBeforeInitialize_ignored() 766 assertEquals(BackupManager.ERROR_BACKUP_NOT_ALLOWED, mTrampoline.requestBackup( in requestBackup_calledBeforeInitialize_ignored()
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 23 import android.app.backup.BackupManager;
|
/frameworks/base/config/ |
D | dirty-image-objects | 95 android.app.backup.BackupManager
|
D | hiddenapi-public-dex.txt | 2303 Landroid/app/backup/BackupManager; 2304 Landroid/app/backup/BackupManager;-><init>(Landroid/content/Context;)V 2305 Landroid/app/backup/BackupManager;->backupNow()V 2306 Landroid/app/backup/BackupManager;->beginRestoreSession()Landroid/app/backup/RestoreSession; 2307 Landroid/app/backup/BackupManager;->cancelBackups()V 2308 Landroid/app/backup/BackupManager;->dataChanged()V 2309 Landroid/app/backup/BackupManager;->dataChanged(Ljava/lang/String;)V 2310 Landroid/app/backup/BackupManager;->ERROR_AGENT_FAILURE:I 2311 Landroid/app/backup/BackupManager;->ERROR_BACKUP_CANCELLED:I 2312 Landroid/app/backup/BackupManager;->ERROR_BACKUP_NOT_ALLOWED:I [all …]
|
D | preloaded-classes | 486 android.app.backup.BackupManager
|
D | hiddenapi-light-greylist.txt | 484 Landroid/app/backup/BackupManager;->checkServiceBinder()V 485 Landroid/app/backup/BackupManager;->sService:Landroid/app/backup/IBackupManager;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 28 import android.app.backup.BackupManager; 1171 BackupManager.dataChanged("com.android.providers.settings"); in changeLanguage()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 28 import android.app.backup.BackupManager; 2128 private final BackupManager mBackupManager; 2135 mBackupManager = new BackupManager(getContext());
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 22 import android.app.backup.BackupManager; 2334 BackupManager.dataChanged("android"); in queueBackup()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 44 import android.app.backup.BackupManager; 998 BackupManager.dataChanged("com.android.providers.settings"); in setStringUnchecked()
|
/frameworks/base/api/ |
D | test-current.txt | 196 public class BackupManager {
|