shadows/framework/src/main/java/org/robolectric/shadows/ShadowBackupManager.java
public void addAvailableRestoreSets(long restoreToken, List<String> packages) {
    serviceState.restoreData.put(restoreToken, packages);
  }
public void addAvailableRestoreSets(long restoreToken, List<String> packages) {
    serviceState.restoreData.put(restoreToken, packages);
  }
Adds a restore set available to be restored.