/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 93 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 …]
|
D | KeyValueAdbBackupEngine.java | 8 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/ |
D | UserBackupManagerServiceTest.java | 160 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/ |
D | BackupManagerServiceTestUtils.java | 42 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/ |
D | RunInitializeReceiver.java | 21 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()
|
D | SetupObserver.java | 21 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()
|
D | ClearDataObserver.java | 21 import com.android.server.backup.UserBackupManagerService; 25 private UserBackupManagerService backupManagerService; 27 public ClearDataObserver(UserBackupManagerService backupManagerService) { in ClearDataObserver()
|
D | RunBackupReceiver.java | 22 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()
|
D | PerformClearTask.java | 26 import com.android.server.backup.UserBackupManagerService; 32 private final UserBackupManagerService mBackupManagerService; 38 PerformClearTask(UserBackupManagerService backupManagerService, in PerformClearTask()
|
D | PerformInitializeTask.java | 34 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/ |
D | AdbRestoreFinishedRunnable.java | 6 import com.android.server.backup.UserBackupManagerService; 16 private final UserBackupManagerService mBackupManagerService; 19 UserBackupManagerService backupManagerService) { in AdbRestoreFinishedRunnable()
|
D | RestoreFileRunnable.java | 24 import com.android.server.backup.UserBackupManagerService; 38 private final UserBackupManagerService mBackupManagerService; 40 RestoreFileRunnable(UserBackupManagerService backupManagerService, IBackupAgent agent, in RestoreFileRunnable()
|
D | AdbRestoreFinishedLatch.java | 27 import com.android.server.backup.UserBackupManagerService; 38 private UserBackupManagerService backupManagerService; 43 public AdbRestoreFinishedLatch(UserBackupManagerService backupManagerService, in AdbRestoreFinishedLatch()
|
D | ActiveRestoreSession.java | 40 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()
|
D | PerformAdbRestoreTask.java | 24 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()
|
D | FullRestoreEngine.java | 22 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/ |
D | FullBackupEngine.java | 22 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()
|
D | FullBackupObbConnection.java | 21 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()
|
D | PerformAdbBackupTask.java | 23 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()
|
D | AppMetadataBackupWriter.java | 5 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/ |
D | ShadowPerformUnifiedRestoreTask.java | 24 import com.android.server.backup.UserBackupManagerService; 50 private UserBackupManagerService mBackupManagerService; 58 UserBackupManagerService backupManagerService, in __constructor__()
|
D | ShadowKeyValueBackupTask.java | 22 import com.android.server.backup.UserBackupManagerService; 57 UserBackupManagerService backupManagerService, in __constructor__()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporterTest.java | 29 import com.android.server.backup.UserBackupManagerService; 44 @Mock private UserBackupManagerService mBackupManagerService;
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriterTest.java | 3 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/ |
D | SetupObserverTest.java | 32 import com.android.server.backup.UserBackupManagerService; 63 private UserBackupManagerService mUserBackupManagerService;
|