Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl401 long getAvailableRestoreToken(String packageName); in getAvailableRestoreToken() method
DBackupManager.java612 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManager
616 return sService.getAvailableRestoreToken(packageName); in getAvailableRestoreToken()
/frameworks/base/services/robotests/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java450 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java736 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()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerServiceInterface.java56 long getAvailableRestoreToken(String packageName); in getAvailableRestoreToken() method
DTrampoline.java445 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in Trampoline
447 return (svc != null) ? svc.getAvailableRestoreToken(packageName) : 0; in getAvailableRestoreToken()
DBackupManagerService.java1572 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManagerService
3289 long restoreSet = getAvailableRestoreToken(packageName); in restoreAtInstall()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java335 long token = mBackupManagerService.getAvailableRestoreToken(packageName); in restorePackage()
/frameworks/base/services/
Dart-profile770 HSPLcom/android/server/backup/BackupManagerServiceInterface;->getAvailableRestoreToken(Ljava/lang/S…
/frameworks/base/api/
Dsystem-current.txt497 method public long getAvailableRestoreToken(java.lang.String);
/frameworks/base/config/
Dhiddenapi-public-dex.txt2320 Landroid/app/backup/BackupManager;->getAvailableRestoreToken(Ljava/lang/String;)J
Dboot-image-profile.txt15926 HSPLandroid/app/backup/IBackupManager;->getAvailableRestoreToken(Ljava/lang/String;)J