Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java824 () -> backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0)); in testRequestBackup_whenPermissionDenied()
838 () -> backupManagerService.requestBackup(null, mObserver, 0)); in testRequestBackup_whenPackagesNull()
854 () -> backupManagerService.requestBackup(new String[0], mObserver, 0)); in testRequestBackup_whenPackagesEmpty()
868 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenBackupDisabled()
885 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenNotProvisioned()
904 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenTransportNotRegistered()
925 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenAppNotEligibleForBackup()
945 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenPackageIsKeyValue()
969 int result = backupManagerService.requestBackup(new String[] {PACKAGE_1}, mObserver, 0); in testRequestBackup_whenPackageIsFullBackup()
DBackupManagerServiceRoboTest.java873 backupManagerService.requestBackup( in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser()
892 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser()
894 verify(mUserTwoService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser()
907 backupManagerService.requestBackup(mUserOneId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser()
909 verify(mUserOneService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser()
922 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onUnknownUser_doesNotPropagateCall()
924 verify(mUserOneService, never()).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_onUnknownUser_doesNotPropagateCall()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java738 public int requestBackup(String[] packages, BackupObserver observer) { in requestBackup() method in BackupManager
739 return requestBackup(packages, observer, null, 0); in requestBackup()
762 public int requestBackup(String[] packages, BackupObserver observer, in requestBackup() method in BackupManager
773 return sService.requestBackup(packages, observerWrapper, monitorWrapper, flags); in requestBackup()
DIBackupManager.aidl680 int requestBackup(in String[] packages, IBackupObserver observer, IBackupManagerMonitor monitor, in requestBackup() method
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1341 return requestBackup(userId, packages, observer, monitor, flags); in requestBackupForUser()
1345 public int requestBackup(String[] packages, IBackupObserver observer, in requestBackup() method in BackupManagerService
1355 public int requestBackup( in requestBackup() method in BackupManagerService
1366 : userBackupManagerService.requestBackup(packages, observer, monitor, flags); in requestBackup()
DUserBackupManagerService.java1787 public int requestBackup(String[] packages, IBackupObserver observer, int flags) { in requestBackup() method in UserBackupManagerService
1788 return requestBackup(packages, observer, null, flags); in requestBackup()
1795 public int requestBackup(String[] packages, IBackupObserver observer, in requestBackup() method in UserBackupManagerService
/frameworks/base/non-updatable-api/
Dsystem-current.txt906 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
907 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
/frameworks/base/api/
Dsystem-current.txt958 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
959 …method @RequiresPermission(android.Manifest.permission.BACKUP) public int requestBackup(String[], …
/frameworks/base/services/
Dart-profile10771 HPLcom/android/server/backup/BackupManagerService;->requestBackup(I[Ljava/lang/String;Landroid/app/…
10772 HPLcom/android/server/backup/BackupManagerService;->requestBackup([Ljava/lang/String;Landroid/app/b…
11049 PLcom/android/server/backup/UserBackupManagerService;->lambda$requestBackup$1$UserBackupManagerServ…
11067 HPLcom/android/server/backup/UserBackupManagerService;->requestBackup([Ljava/lang/String;Landroid/a…