Home
last modified time | relevance | path

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

123

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java177 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testDestinationString()
193 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testDestinationString_whenTransportNotRegistered()
209 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testDestinationString_withoutPermission()
225 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testIsAppEligibleForBackup_whenAppNotEligible()
242 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testIsAppEligibleForBackup_whenAppEligible()
261 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testIsAppEligibleForBackup_withoutPermission()
279 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testFilterAppsEligibleForBackup()
298 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testFilterAppsEligibleForBackup_whenNoneIsEligible()
316 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testFilterAppsEligibleForBackup_withoutPermission()
354 UserBackupManagerService backupManagerService = createUserBackupManagerServiceAndRunTasks(); in testSelectBackupTransport()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java144 private final SparseArray<UserBackupManagerService> mUserServices;
387 UserBackupManagerService userBackupManagerService = in startServiceForUser()
388 UserBackupManagerService.createAndInitializeService( in startServiceForUser()
398 void startServiceForUser(int userId, UserBackupManagerService userBackupManagerService) { in startServiceForUser()
409 UserBackupManagerService userBackupManagerService = mUserServices.removeReturnOld(userId); in stopServiceForUser()
428 SparseArray<UserBackupManagerService> getUserServices() { in getUserServices()
448 public UserBackupManagerService getUserService(int userId) { in getUserService()
581 UserBackupManagerService userBackupManagerService = in dataChanged()
604 UserBackupManagerService userBackupManagerService = in initializeTransports()
625 UserBackupManagerService userBackupManagerService = in clearBackupData()
[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()
163 public static UserBackupManagerService.BackupWakeLock createBackupWakeLock( in createBackupWakeLock()
167 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()
DClearDataObserver.java21 import com.android.server.backup.UserBackupManagerService;
25 private UserBackupManagerService backupManagerService;
27 public ClearDataObserver(UserBackupManagerService backupManagerService) { in ClearDataObserver()
DSetupObserver.java21 import static com.android.server.backup.UserBackupManagerService.getSetupCompleteSettingForUser;
29 import com.android.server.backup.UserBackupManagerService;
36 private final UserBackupManagerService mUserBackupManagerService;
40 public SetupObserver(UserBackupManagerService userBackupManagerService, Handler handler) { in SetupObserver()
DPerformClearTask.java25 import com.android.server.backup.UserBackupManagerService;
32 private final UserBackupManagerService mBackupManagerService;
38 PerformClearTask(UserBackupManagerService backupManagerService, in PerformClearTask()
DPerformInitializeTask.java33 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;
39 private UserBackupManagerService backupManagerService;
45 public AdbRestoreFinishedLatch(UserBackupManagerService backupManagerService, in AdbRestoreFinishedLatch()
DActiveRestoreSession.java46 import com.android.server.backup.UserBackupManagerService;
65 private final UserBackupManagerService mBackupManagerService;
74 UserBackupManagerService backupManagerService, in ActiveRestoreSession()
124 UserBackupManagerService.BackupWakeLock wakelock = mBackupManagerService.getWakelock(); in getAvailableRestoreSets()
434 UserBackupManagerService.BackupWakeLock wakelock = mBackupManagerService.getWakelock(); in sendRestoreToHandlerLocked()
455 UserBackupManagerService mBackupManager;
458 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;
36 import com.android.server.backup.UserBackupManagerService;
63 private final UserBackupManagerService mBackupManagerService;
74 UserBackupManagerService backupManagerService, OperationStorage operationStorage, in PerformAdbRestoreTask()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowPerformUnifiedRestoreTask.java25 import com.android.server.backup.UserBackupManagerService;
52 private UserBackupManagerService mBackupManagerService;
60 UserBackupManagerService backupManagerService, in __constructor__()
DShadowKeyValueBackupJob.java24 import com.android.server.backup.UserBackupManagerService;
39 UserBackupManagerService userBackupManagerService) { in schedule()
DShadowKeyValueBackupTask.java23 import com.android.server.backup.UserBackupManagerService;
59 UserBackupManagerService backupManagerService, in __constructor__()
/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.SHARED_BACKUP_AGENT_PACKAGE;
42 import com.android.server.backup.UserBackupManagerService;
58 private UserBackupManagerService backupManagerService;
83 UserBackupManagerService userBackupManagerService, in FullBackupRunner()
189 UserBackupManagerService backupManagerService, in FullBackupEngine()
DFullBackupObbConnection.java36 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;
41 import com.android.server.backup.UserBackupManagerService;
71 private final UserBackupManagerService mUserBackupManagerService;
92 UserBackupManagerService backupManagerService, OperationStorage operationStorage, 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/tests/mockingservicestests/src/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTaskTest.java28 import com.android.server.backup.UserBackupManagerService;
40 UserBackupManagerService mBackupManagerService;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupReporterTest.java29 import com.android.server.backup.UserBackupManagerService;
45 @Mock private UserBackupManagerService mBackupManagerService;
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java21 import static com.android.server.backup.UserBackupManagerService.PACKAGE_MANAGER_SENTINEL;
22 import static com.android.server.backup.UserBackupManagerService.SETTINGS_PACKAGE;
23 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
24 import static com.android.server.backup.UserBackupManagerService.WALLPAPER_PACKAGE;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/
DBackupHandlerTest.java31 import com.android.server.backup.UserBackupManagerService;
48 @Mock private UserBackupManagerService mUserBackupManagerService;
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DServiceBackupCallback.java23 import com.android.server.backup.UserBackupManagerService;

123