Home
last modified time | relevance | path

Searched refs:setBackupEnabled (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceRoboTest.java655 () -> backupManagerService.setBackupEnabled(mUserTwoId, true)); in testSetBackupEnabled_withoutPermission_throwsSecurityExceptionForNonCallingUser()
670 backupManagerService.setBackupEnabled(mUserTwoId, true); in testSetBackupEnabled_withPermission_propagatesForNonCallingUser()
672 verify(mUserTwoService).setBackupEnabled(true); in testSetBackupEnabled_withPermission_propagatesForNonCallingUser()
682 backupManagerService.setBackupEnabled(mUserOneId, true); in testSetBackupEnabled_onRegisteredUser_callsMethodForUser()
684 verify(mUserOneService).setBackupEnabled(true); in testSetBackupEnabled_onRegisteredUser_callsMethodForUser()
694 backupManagerService.setBackupEnabled(mUserTwoId, true); in testSetBackupEnabled_onUnknownUser_doesNotPropagateCall()
696 verify(mUserOneService, never()).setBackupEnabled(true); in testSetBackupEnabled_onUnknownUser_doesNotPropagateCall()
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl161 void setBackupEnabled(boolean isEnabled); in setBackupEnabled() method
DBackupManager.java364 public void setBackupEnabled(boolean isEnabled) { in setBackupEnabled() method in BackupManager
368 sService.setBackupEnabled(isEnabled); in setBackupEnabled()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java131 doAnswer(backupEnabled.setter).when(backupManagerService).setBackupEnabled(anyBoolean()); in setUpBackupManagerServiceBasics()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java671 setBackupEnabled(userId, isEnabled); in setBackupEnabledForUser()
676 public void setBackupEnabled(boolean isEnabled) throws RemoteException { in setBackupEnabled() method in BackupManagerService
681 public void setBackupEnabled(@UserIdInt int userId, boolean enable) { in setBackupEnabled() method in BackupManagerService
686 userBackupManagerService.setBackupEnabled(enable); in setBackupEnabled()
DUserBackupManagerService.java663 setBackupEnabled(isEnabled); in initializeBackupEnableState()
3243 public void setBackupEnabled(boolean enable) { in setBackupEnabled() method in UserBackupManagerService
/frameworks/base/non-updatable-api/
Dsystem-current.txt913 …method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolea…
/frameworks/base/api/
Dsystem-current.txt965 …method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolea…
/frameworks/base/services/
Dart-profile10781 PLcom/android/server/backup/BackupManagerService;->setBackupEnabled(IZ)V
10782 PLcom/android/server/backup/BackupManagerService;->setBackupEnabled(Z)V
11052 PLcom/android/server/backup/UserBackupManagerService;->lambda$setBackupEnabled$4$UserBackupManagerS…
11073 PLcom/android/server/backup/UserBackupManagerService;->setBackupEnabled(Z)V