Searched refs:getAvailableRestoreToken (Results 1 – 12 of 12) sorted by relevance
401 long getAvailableRestoreToken(String packageName); in getAvailableRestoreToken() method
612 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManager616 return sService.getAvailableRestoreToken(packageName); in getAvailableRestoreToken()
450 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsPackage()473 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenPackageNullWhenCreated()488 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionGranted()503 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()
736 assertEquals(0, mTrampoline.getAvailableRestoreToken(PACKAGE_NAME)); in getAvailableRestoreToken_calledBeforeInitialize_ignored()742 when(mBackupManagerServiceMock.getAvailableRestoreToken(PACKAGE_NAME)).thenReturn(123L); in getAvailableRestoreToken_forwarded()745 assertEquals(123, mTrampoline.getAvailableRestoreToken(PACKAGE_NAME)); in getAvailableRestoreToken_forwarded()746 verify(mBackupManagerServiceMock).getAvailableRestoreToken(PACKAGE_NAME); in getAvailableRestoreToken_forwarded()
56 long getAvailableRestoreToken(String packageName); in getAvailableRestoreToken() method
445 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in Trampoline447 return (svc != null) ? svc.getAvailableRestoreToken(packageName) : 0; in getAvailableRestoreToken()
1572 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManagerService3289 long restoreSet = getAvailableRestoreToken(packageName); in restoreAtInstall()
335 long token = mBackupManagerService.getAvailableRestoreToken(packageName); in restorePackage()
770 HSPLcom/android/server/backup/BackupManagerServiceInterface;->getAvailableRestoreToken(Ljava/lang/S…
497 method public long getAvailableRestoreToken(java.lang.String);
2320 Landroid/app/backup/BackupManager;->getAvailableRestoreToken(Ljava/lang/String;)J
15926 HSPLandroid/app/backup/IBackupManager;->getAvailableRestoreToken(Ljava/lang/String;)J