Searched refs:getAvailableRestoreToken (Results 1 – 8 of 8) sorted by relevance
463 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()
1136 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()
1346 return isUserReadyForBackup(userId) ? getAvailableRestoreToken(userId, packageName) : 0; in getAvailableRestoreTokenForUser()1353 public long getAvailableRestoreToken(@UserIdInt int userId, String packageName) { in getAvailableRestoreToken() method in BackupManagerService1359 : userBackupManagerService.getAvailableRestoreToken(packageName); in getAvailableRestoreToken()
1813 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in UserBackupManagerService3888 long restoreSet = getAvailableRestoreToken(packageName); in restoreAtInstall()
381 long token = mBackupManagerService.getAvailableRestoreToken(packageName); in restorePackage()
773 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManager
1739 …equiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
4360 Landroid/app/backup/IBackupManager$Stub$Proxy;->getAvailableRestoreToken(Ljava/lang/String;)J4435 Landroid/app/backup/IBackupManager;->getAvailableRestoreToken(Ljava/lang/String;)J