Home
last modified time | relevance | path

Searched refs:UserBackupManagerService (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java93 private final SparseArray<UserBackupManagerService> mServiceUsers = new SparseArray<>();
170 UserBackupManagerService userBackupManagerService = in startServiceForUser()
171 UserBackupManagerService.createAndInitializeService( in startServiceForUser()
180 void startServiceForUser(int userId, UserBackupManagerService userBackupManagerService) { in startServiceForUser()
191 UserBackupManagerService userBackupManagerService = mServiceUsers.removeReturnOld(userId); in stopServiceForUser()
206 public SparseArray<UserBackupManagerService> getServiceUsers() { in getServiceUsers()
223 UserBackupManagerService getServiceForUserIfCallerHasPermission( in getServiceForUserIfCallerHasPermission()
226 UserBackupManagerService userBackupManagerService = mServiceUsers.get(userId); in getServiceForUserIfCallerHasPermission()
250 UserBackupManagerService userBackupManagerService = in dataChanged()
263 UserBackupManagerService userBackupManagerService = in agentConnected()
[all …]
DKeyValueAdbBackupEngine.java8 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_FILENAME;
9 import static com.android.server.backup.UserBackupManagerService.OP_TYPE_BACKUP_WAIT;
54 private UserBackupManagerService mBackupManagerService;
70 UserBackupManagerService backupManagerService, PackageManager packageManager, in KeyValueAdbBackupEngine()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java160 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testDestinationString()
176 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testDestinationString_whenTransportNotRegistered()
192 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testDestinationString_withoutPermission()
208 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testIsAppEligibleForBackup_whenAppNotEligible()
225 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testIsAppEligibleForBackup_whenAppEligible()
244 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testIsAppEligibleForBackup_withoutPermission()
262 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testFilterAppsEligibleForBackup()
281 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testFilterAppsEligibleForBackup_whenNoneIsEligible()
299 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testFilterAppsEligibleForBackup_withoutPermission()
337 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testSelectBackupTransport()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java42 import com.android.server.backup.UserBackupManagerService;
64 public static UserBackupManagerService createUserBackupManagerServiceAndRunTasks( in createUserBackupManagerServiceAndRunTasks()
81 public static UserBackupManagerService createUserBackupManagerServiceAndRunTasks( in createUserBackupManagerServiceAndRunTasks()
88 UserBackupManagerService backupManagerService = in createUserBackupManagerServiceAndRunTasks()
89 UserBackupManagerService.createAndInitializeService( in createUserBackupManagerServiceAndRunTasks()
111 UserBackupManagerService backupManagerService, in setUpBackupManagerServiceBasics()
116 UserBackupManagerService.BackupWakeLock wakeLock, in setUpBackupManagerServiceBasics()
164 public static UserBackupManagerService.BackupWakeLock createBackupWakeLock( in createBackupWakeLock()
168 return new UserBackupManagerService.BackupWakeLock( in createBackupWakeLock()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DRunInitializeReceiver.java21 import static com.android.server.backup.UserBackupManagerService.RUN_INITIALIZE_ACTION;
28 import com.android.server.backup.UserBackupManagerService;
37 private final UserBackupManagerService mUserBackupManagerService;
39 public RunInitializeReceiver(UserBackupManagerService userBackupManagerService) { in RunInitializeReceiver()
59 UserBackupManagerService.BackupWakeLock wakelock = in onReceive()
DSetupObserver.java21 import static com.android.server.backup.UserBackupManagerService.getSetupCompleteSettingForUser;
30 import com.android.server.backup.UserBackupManagerService;
37 private final UserBackupManagerService mUserBackupManagerService;
41 public SetupObserver(UserBackupManagerService userBackupManagerService, Handler handler) { in SetupObserver()
DClearDataObserver.java21 import com.android.server.backup.UserBackupManagerService;
25 private UserBackupManagerService backupManagerService;
27 public ClearDataObserver(UserBackupManagerService backupManagerService) { in ClearDataObserver()
DRunBackupReceiver.java22 import static com.android.server.backup.UserBackupManagerService.RUN_BACKUP_ACTION;
33 import com.android.server.backup.UserBackupManagerService;
40 private final UserBackupManagerService mUserBackupManagerService;
42 public RunBackupReceiver(UserBackupManagerService userBackupManagerService) { in RunBackupReceiver()
DPerformClearTask.java26 import com.android.server.backup.UserBackupManagerService;
32 private final UserBackupManagerService mBackupManagerService;
38 PerformClearTask(UserBackupManagerService backupManagerService, in PerformClearTask()
DPerformInitializeTask.java34 import com.android.server.backup.UserBackupManagerService;
52 private final UserBackupManagerService mBackupManagerService;
60 UserBackupManagerService backupManagerService, in PerformInitializeTask()
75 UserBackupManagerService backupManagerService, in PerformInitializeTask()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DAdbRestoreFinishedRunnable.java6 import com.android.server.backup.UserBackupManagerService;
16 private final UserBackupManagerService mBackupManagerService;
19 UserBackupManagerService backupManagerService) { in AdbRestoreFinishedRunnable()
DRestoreFileRunnable.java24 import com.android.server.backup.UserBackupManagerService;
38 private final UserBackupManagerService mBackupManagerService;
40 RestoreFileRunnable(UserBackupManagerService backupManagerService, IBackupAgent agent, in RestoreFileRunnable()
DAdbRestoreFinishedLatch.java27 import com.android.server.backup.UserBackupManagerService;
38 private UserBackupManagerService backupManagerService;
43 public AdbRestoreFinishedLatch(UserBackupManagerService backupManagerService, in AdbRestoreFinishedLatch()
DActiveRestoreSession.java40 import com.android.server.backup.UserBackupManagerService;
56 private final UserBackupManagerService mBackupManagerService;
64 UserBackupManagerService backupManagerService, in ActiveRestoreSession()
112 UserBackupManagerService.BackupWakeLock wakelock = mBackupManagerService.getWakelock(); in getAvailableRestoreSets()
394 UserBackupManagerService.BackupWakeLock wakelock = mBackupManagerService.getWakelock(); in sendRestoreToHandlerLocked()
415 UserBackupManagerService mBackupManager;
418 public EndRestoreRunnable(UserBackupManagerService manager, ActiveRestoreSession session) { in EndRestoreRunnable()
DPerformAdbRestoreTask.java24 import static com.android.server.backup.UserBackupManagerService.BACKUP_FILE_HEADER_MAGIC;
25 import static com.android.server.backup.UserBackupManagerService.BACKUP_FILE_VERSION;
26 import static com.android.server.backup.UserBackupManagerService.SETTINGS_PACKAGE;
27 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
41 import com.android.server.backup.UserBackupManagerService;
69 private final UserBackupManagerService mBackupManagerService;
103 public PerformAdbRestoreTask(UserBackupManagerService backupManagerService, in PerformAdbRestoreTask()
DFullRestoreEngine.java22 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_FILENAME;
23 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_FILENAME;
24 import static com.android.server.backup.UserBackupManagerService.OP_TYPE_RESTORE_WAIT;
25 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
51 import com.android.server.backup.UserBackupManagerService;
71 private final UserBackupManagerService mBackupManagerService;
137 public FullRestoreEngine(UserBackupManagerService backupManagerService, in FullRestoreEngine()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java22 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_FILENAME;
23 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_FILENAME;
24 import static com.android.server.backup.UserBackupManagerService.OP_TYPE_BACKUP_WAIT;
25 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
43 import com.android.server.backup.UserBackupManagerService;
56 private UserBackupManagerService backupManagerService;
79 UserBackupManagerService userBackupManagerService, in FullBackupRunner()
185 UserBackupManagerService backupManagerService, in FullBackupEngine()
DFullBackupObbConnection.java21 import static com.android.server.backup.UserBackupManagerService.OP_TYPE_BACKUP_WAIT;
37 import com.android.server.backup.UserBackupManagerService;
48 private UserBackupManagerService backupManagerService;
52 public FullBackupObbConnection(UserBackupManagerService backupManagerService) { in FullBackupObbConnection()
DPerformAdbBackupTask.java23 import static com.android.server.backup.UserBackupManagerService.BACKUP_FILE_HEADER_MAGIC;
24 import static com.android.server.backup.UserBackupManagerService.BACKUP_FILE_VERSION;
25 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
40 import com.android.server.backup.UserBackupManagerService;
69 private final UserBackupManagerService mUserBackupManagerService;
87 public PerformAdbBackupTask(UserBackupManagerService backupManagerService, in PerformAdbBackupTask()
DAppMetadataBackupWriter.java5 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_VERSION;
6 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_VERSION;
7 import static com.android.server.backup.UserBackupManagerService.BACKUP_WIDGET_METADATA_TOKEN;
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowPerformUnifiedRestoreTask.java24 import com.android.server.backup.UserBackupManagerService;
50 private UserBackupManagerService mBackupManagerService;
58 UserBackupManagerService backupManagerService, in __constructor__()
DShadowKeyValueBackupTask.java22 import com.android.server.backup.UserBackupManagerService;
57 UserBackupManagerService backupManagerService, in __constructor__()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupReporterTest.java29 import com.android.server.backup.UserBackupManagerService;
44 @Mock private UserBackupManagerService mBackupManagerService;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java3 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_FILENAME;
4 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_VERSION;
5 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_FILENAME;
6 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_VERSION;
7 import static com.android.server.backup.UserBackupManagerService.BACKUP_WIDGET_METADATA_TOKEN;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DSetupObserverTest.java32 import com.android.server.backup.UserBackupManagerService;
63 private UserBackupManagerService mUserBackupManagerService;

12