Searched refs:setBackupEnabled (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | BackupManagerServiceRoboTest.java | 657 () -> backupManagerService.setBackupEnabled(mUserTwoId, true)); in testSetBackupEnabled_withoutPermission_throwsSecurityExceptionForNonCallingUser() 672 backupManagerService.setBackupEnabled(mUserTwoId, true); in testSetBackupEnabled_withPermission_propagatesForNonCallingUser() 674 verify(mUserTwoService).setBackupEnabled(true); in testSetBackupEnabled_withPermission_propagatesForNonCallingUser() 684 backupManagerService.setBackupEnabled(mUserOneId, true); in testSetBackupEnabled_onRegisteredUser_callsMethodForUser() 686 verify(mUserOneService).setBackupEnabled(true); in testSetBackupEnabled_onRegisteredUser_callsMethodForUser() 696 backupManagerService.setBackupEnabled(mUserTwoId, true); in testSetBackupEnabled_onUnknownUser_doesNotPropagateCall() 698 verify(mUserOneService, never()).setBackupEnabled(true); in testSetBackupEnabled_onUnknownUser_doesNotPropagateCall()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 131 doAnswer(backupEnabled.setter).when(backupManagerService).setBackupEnabled(anyBoolean()); in setUpBackupManagerServiceBasics()
|
/frameworks/base/core/java/android/app/backup/ |
D | IBackupManager.aidl | 161 void setBackupEnabled(boolean isEnabled); in setBackupEnabled() method
|
D | BackupManager.java | 386 public void setBackupEnabled(boolean isEnabled) { in setBackupEnabled() method in BackupManager 390 sService.setBackupEnabled(isEnabled); in setBackupEnabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 85 mService.setBackupEnabled(true); in updateBackupEnableState_writesStateToDisk()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 680 setBackupEnabled(userId, isEnabled); in setBackupEnabledForUser() 685 public void setBackupEnabled(boolean isEnabled) throws RemoteException { in setBackupEnabled() method in BackupManagerService 690 public void setBackupEnabled(@UserIdInt int userId, boolean enable) { in setBackupEnabled() method in BackupManagerService 695 userBackupManagerService.setBackupEnabled(enable); in setBackupEnabled()
|
D | UserBackupManagerService.java | 704 setBackupEnabled(isEnabled, /* persistToDisk */ false); in initializeBackupEnableState() 3341 public void setBackupEnabled(boolean enable) { in setBackupEnabled() method in UserBackupManagerService 3342 setBackupEnabled(enable, /* persistToDisk */ true); in setBackupEnabled() 3345 private void setBackupEnabled(boolean enable, boolean persistToDisk) { in setBackupEnabled() method in UserBackupManagerService
|
/frameworks/base/core/api/ |
D | system-current.txt | 1047 …method @RequiresPermission(android.Manifest.permission.BACKUP) public void setBackupEnabled(boolea…
|
/frameworks/base/services/ |
D | art-profile | 12830 PLcom/android/server/backup/BackupManagerService;->setBackupEnabled(IZ)V 12831 PLcom/android/server/backup/BackupManagerService;->setBackupEnabled(Z)V 13147 PLcom/android/server/backup/UserBackupManagerService;->setBackupEnabled(Z)V 13148 PLcom/android/server/backup/UserBackupManagerService;->setBackupEnabled(ZZ)V
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 4382 Landroid/app/backup/IBackupManager$Stub$Proxy;->setBackupEnabled(Z)V
|