Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java463 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsPackage()
486 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenPackageNullWhenCreated()
504 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionGranted()
522 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceRoboTest.java1136 backupManagerService.getAvailableRestoreToken(mUserOneId, TEST_PACKAGE); in testGetAvailableRestoreToken_onRegisteredUser_callsMethodForUser()
1138 verify(mUserOneService).getAvailableRestoreToken(TEST_PACKAGE); in testGetAvailableRestoreToken_onRegisteredUser_callsMethodForUser()
1148 backupManagerService.getAvailableRestoreToken(mUserTwoId, TEST_PACKAGE); in testGetAvailableRestoreToken_onUnknownUser_doesNotPropagateCall()
1150 verify(mUserOneService, never()).getAvailableRestoreToken(TEST_PACKAGE); in testGetAvailableRestoreToken_onUnknownUser_doesNotPropagateCall()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1346 return isUserReadyForBackup(userId) ? getAvailableRestoreToken(userId, packageName) : 0; in getAvailableRestoreTokenForUser()
1353 public long getAvailableRestoreToken(@UserIdInt int userId, String packageName) { in getAvailableRestoreToken() method in BackupManagerService
1359 : userBackupManagerService.getAvailableRestoreToken(packageName); in getAvailableRestoreToken()
DUserBackupManagerService.java1813 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in UserBackupManagerService
3888 long restoreSet = getAvailableRestoreToken(packageName); in restoreAtInstall()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java381 long token = mBackupManagerService.getAvailableRestoreToken(packageName); in restorePackage()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java773 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManager
/frameworks/base/core/api/
Dsystem-current.txt1739 …equiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4360 Landroid/app/backup/IBackupManager$Stub$Proxy;->getAvailableRestoreToken(Ljava/lang/String;)J
4435 Landroid/app/backup/IBackupManager;->getAvailableRestoreToken(Ljava/lang/String;)J