Home
last modified time | relevance | path

Searched refs:requestBackup (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java792 () -> backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0)); in testRequestBackup_whenPermissionDenied()
806 () -> backupManagerService.requestBackup(null, mObserver, 0)); in testRequestBackup_whenPackagesNull()
822 () -> backupManagerService.requestBackup(new String[0], mObserver, 0)); in testRequestBackup_whenPackagesEmpty()
836 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenBackupDisabled()
853 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenNotProvisioned()
872 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenTransportNotRegistered()
893 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenAppNotEligibleForBackup()
913 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenPackageIsKeyValue()
937 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenPackageIsFullBackup()
DBackupManagerServiceTest.java970 backupManagerService.requestBackup( in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser()
988 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser()
990 verify(mUserTwoService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser()
1003 backupManagerService.requestBackup(mUserOneId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser()
1005 verify(mUserOneService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser()
1018 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onUnknownUser_doesNotPropagateCall()
1020 verify(mUserOneService, never()).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_onUnknownUser_doesNotPropagateCall()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java736 public int requestBackup(String[] packages, BackupObserver observer) { in requestBackup() method in BackupManager
737 return requestBackup(packages, observer, null, 0); in requestBackup()
760 public int requestBackup(String[] packages, BackupObserver observer, in requestBackup() method in BackupManager
771 return sService.requestBackup(packages, observerWrapper, monitorWrapper, flags); in requestBackup()
DIBackupManager.aidl674 int requestBackup(in String[] packages, IBackupObserver observer, IBackupManagerMonitor monitor, in requestBackup() method
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java1216 assertEquals(BackupManager.ERROR_BACKUP_NOT_ALLOWED, mTrampoline.requestBackup( in requestBackup_calledBeforeInitialize_ignored()
1223 when(mBackupManagerServiceMock.requestBackup(mUserId, PACKAGE_NAMES, in requestBackupForUser_forwarded()
1229 verify(mBackupManagerServiceMock).requestBackup(mUserId, PACKAGE_NAMES, in requestBackupForUser_forwarded()
1236 when(mBackupManagerServiceMock.requestBackup(mUserId, PACKAGE_NAMES, in requestBackup_forwardedToCallingUserId()
1240 assertEquals(456, mTrampoline.requestBackup(PACKAGE_NAMES, in requestBackup_forwardedToCallingUserId()
1242 verify(mBackupManagerServiceMock).requestBackup(mUserId, PACKAGE_NAMES, in requestBackup_forwardedToCallingUserId()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java647 public int requestBackup( in requestBackup() method in BackupManagerService
658 : userBackupManagerService.requestBackup(packages, observer, monitor, flags); in requestBackup()
DTrampoline.java764 return mService.requestBackup(userId, packages, observer, monitor, flags); in requestBackupForUser()
768 public int requestBackup(String[] packages, IBackupObserver observer, in requestBackup() method in Trampoline
DUserBackupManagerService.java1672 public int requestBackup(String[] packages, IBackupObserver observer, int flags) { in requestBackup() method in UserBackupManagerService
1673 return requestBackup(packages, observer, null, flags); in requestBackup()
1680 public int requestBackup(String[] packages, IBackupObserver observer, in requestBackup() method in UserBackupManagerService
/frameworks/base/api/
Dsystem-current.txt784 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
785 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
/frameworks/base/non-updatable-api/
Dsystem-current.txt784 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
785 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
/frameworks/base/services/
Dart-profile4755 PLcom/android/server/backup/BackupManagerService;->requestBackup(I[Ljava/lang/String;Landroid/app/b…
4825 PLcom/android/server/backup/Trampoline;->requestBackup([Ljava/lang/String;Landroid/app/backup/IBack…
4929 PLcom/android/server/backup/UserBackupManagerService;->lambda$requestBackup$1$UserBackupManagerServ…
4942 PLcom/android/server/backup/UserBackupManagerService;->requestBackup([Ljava/lang/String;Landroid/ap…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4380 Landroid/app/backup/IBackupManager$Stub$Proxy;->requestBackup([Ljava/lang/String;Landroid/app/backu…
4449 Landroid/app/backup/IBackupManager;->requestBackup([Ljava/lang/String;Landroid/app/backup/IBackupOb…