Searched refs:getAvailableRestoreToken (Results 1 – 9 of 9) sorted by relevance
455 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()
1110 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()
1286 return isUserReadyForBackup(userId) ? getAvailableRestoreToken(userId, packageName) : 0; in getAvailableRestoreTokenForUser()1293 public long getAvailableRestoreToken(@UserIdInt int userId, String packageName) { in getAvailableRestoreToken() method in BackupManagerService1299 : userBackupManagerService.getAvailableRestoreToken(packageName); in getAvailableRestoreToken()
1760 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in UserBackupManagerService3813 long restoreSet = getAvailableRestoreToken(packageName); in restoreAtInstall()
342 long token = mBackupManagerService.getAvailableRestoreToken(packageName); in restorePackage()
686 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManager
894 …equiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
946 …equiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
10737 PLcom/android/server/backup/BackupManagerService;->getAvailableRestoreToken(ILjava/lang/String;)J11006 PLcom/android/server/backup/UserBackupManagerService;->getAvailableRestoreToken(Ljava/lang/String;)J