Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java454 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsPackage()
477 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenPackageNullWhenCreated()
495 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionGranted()
513 when(mBackupManagerService.getAvailableRestoreToken(PACKAGE_1)).thenReturn(TOKEN_1); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceTest.java1206 backupManagerService.getAvailableRestoreToken(mUserOneId, TEST_PACKAGE); in testGetAvailableRestoreToken_onRegisteredUser_callsMethodForUser()
1208 verify(mUserOneService).getAvailableRestoreToken(TEST_PACKAGE); in testGetAvailableRestoreToken_onRegisteredUser_callsMethodForUser()
1218 backupManagerService.getAvailableRestoreToken(mUserTwoId, TEST_PACKAGE); in testGetAvailableRestoreToken_onUnknownUser_doesNotPropagateCall()
1220 verify(mUserOneService, never()).getAvailableRestoreToken(TEST_PACKAGE); in testGetAvailableRestoreToken_onUnknownUser_doesNotPropagateCall()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java748 public long getAvailableRestoreToken(@UserIdInt int userId, String packageName) { in getAvailableRestoreToken() method in BackupManagerService
754 : userBackupManagerService.getAvailableRestoreToken(packageName); in getAvailableRestoreToken()
DTrampoline.java742 return isUserReadyForBackup(userId) ? mService.getAvailableRestoreToken(userId, in getAvailableRestoreTokenForUser()
DUserBackupManagerService.java1581 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in UserBackupManagerService
3240 long restoreSet = getAvailableRestoreToken(packageName); in restoreAtInstall()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java343 long token = mBackupManagerService.getAvailableRestoreToken(packageName); in restorePackage()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java684 public long getAvailableRestoreToken(String packageName) { in getAvailableRestoreToken() method in BackupManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java1190 when(mBackupManagerServiceMock.getAvailableRestoreToken(mUserId, PACKAGE_NAME)) in getAvailableRestoreTokenForUser_forwarded()
1195 verify(mBackupManagerServiceMock).getAvailableRestoreToken(mUserId, PACKAGE_NAME); in getAvailableRestoreTokenForUser_forwarded()
/frameworks/base/api/
Dsystem-current.txt747 …equiresPermission(android.Manifest.permission.BACKUP) public long getAvailableRestoreToken(String);
/frameworks/base/services/
Dart-profile4895 PLcom/android/server/backup/UserBackupManagerService;->getAvailableRestoreToken(Ljava/lang/String;)J