Home
last modified time | relevance | path

Searched refs:backupHandler (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java431 Handler backupHandler = mBackupManagerService.getBackupHandler(); in sendRestoreToHandlerLocked() local
432 backupHandler.removeMessages(MSG_RESTORE_SESSION_TIMEOUT); in sendRestoreToHandlerLocked()
446 Message msg = backupHandler.obtainMessage(MSG_RUN_RESTORE); in sendRestoreToHandlerLocked()
448 backupHandler.sendMessage(msg); in sendRestoreToHandlerLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DPerformUnifiedRestoreTaskTest.java375 BackupHandler backupHandler = Mockito.mock(BackupHandler.class); in setupForRestoreKeyValueState() local
376 when(backupHandler.obtainMessage(anyInt(), any())).thenReturn(new Message()); in setupForRestoreKeyValueState()
377 when(backupHandler.sendMessage(any())).thenReturn(true); in setupForRestoreKeyValueState()
381 when(mBackupManagerService.getBackupHandler()).thenReturn(backupHandler); in setupForRestoreKeyValueState()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java115 Handler backupHandler, in setUpBackupManagerServiceBasics() argument
122 when(backupManagerService.getBackupHandler()).thenReturn(backupHandler); in setUpBackupManagerServiceBasics()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java321 BackupHandler backupHandler) { in TestBackupService() argument
322 super(context, packageManager, operationStorage, transportManager, backupHandler, in TestBackupService()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java139 BackupHandler backupHandler = in setUp() local
150 backupHandler, in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java523 BackupHandler backupHandler, BackupManagerConstants backupManagerConstants) { in UserBackupManagerService() argument
532 mBackupHandler = backupHandler; in UserBackupManagerService()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java3035 private void setUp(Handler backupHandler, BackupRestoreTask task) { in setUp() argument
3036 mBackupHandler = backupHandler; in setUp()