Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java455 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsPackage()
478 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenPackageNullWhenCreated()
496 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionGranted()
514 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceRoboTest.java1110 backupManagerService.getAvailableRestoreToken(mUserOneId, TEST_PACKAGE); in testGetAvailableRestoreToken_onRegisteredUser_callsMethodForUser()
1112 verify(mUserOneService).getAvailableRestoreToken(TEST_PACKAGE); in testGetAvailableRestoreToken_onRegisteredUser_callsMethodForUser()
1122 backupManagerService.getAvailableRestoreToken(mUserTwoId, TEST_PACKAGE); in testGetAvailableRestoreToken_onUnknownUser_doesNotPropagateCall()
1124 verify(mUserOneService, never()).getAvailableRestoreToken(TEST_PACKAGE); in testGetAvailableRestoreToken_onUnknownUser_doesNotPropagateCall()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1286 return isUserReadyForBackup(userId) ? getAvailableRestoreToken(userId, packageName) : 0; in getAvailableRestoreTokenForUser()
1293 public long getAvailableRestoreToken(@UserIdInt int userId, String packageName) { in getAvailableRestoreToken() method in BackupManagerService
1299 : userBackupManagerService.getAvailableRestoreToken(packageName); in getAvailableRestoreToken()
DUserBackupManagerService.java1760 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in UserBackupManagerService
3813 long restoreSet = getAvailableRestoreToken(packageName); in restoreAtInstall()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java342 long token = mBackupManagerService.getAvailableRestoreToken(packageName); in restorePackage()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java686 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManager
/frameworks/base/non-updatable-api/
Dsystem-current.txt894 …equiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
/frameworks/base/api/
Dsystem-current.txt946 …equiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
/frameworks/base/services/
Dart-profile10737 PLcom/android/server/backup/BackupManagerService;->getAvailableRestoreToken(ILjava/lang/String;)J
11006 PLcom/android/server/backup/UserBackupManagerService;->getAvailableRestoreToken(Ljava/lang/String;)J