/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 19 import android.content.rollback.PackageRollbackInfo; 20 import android.content.rollback.PackageRollbackInfo.RestoreInfo; 58 public void snapshotAppData(int snapshotId, PackageRollbackInfo packageRollbackInfo) { in snapshotAppData() 93 public boolean restoreAppData(int rollbackId, PackageRollbackInfo packageRollbackInfo, in restoreAppData() 136 public void destroyAppDataSnapshot(int rollbackId, PackageRollbackInfo packageRollbackInfo, in destroyAppDataSnapshot() 165 Map<String, PackageRollbackInfo> pendingBackupPackages, in computePendingBackups() 170 for (PackageRollbackInfo info : data.info.getPackages()) { in computePendingBackups() 195 Map<String, PackageRollbackInfo> pendingRestorePackages, in computePendingRestores() 200 for (PackageRollbackInfo info : data.info.getPackages()) { in computePendingRestores() 224 final Map<String, PackageRollbackInfo> pendingBackupPackages = new HashMap<>(); in commitPendingBackupAndRestoreForUser() [all …]
|
D | RollbackStore.java | 24 import android.content.rollback.PackageRollbackInfo; 25 import android.content.rollback.PackageRollbackInfo.RestoreInfo; 245 for (PackageRollbackInfo info : data.info.getPackages()) { in deletePackageCodePaths() 315 private static JSONObject toJson(PackageRollbackInfo info) throws JSONException { in toJson() 334 private static PackageRollbackInfo packageRollbackInfoFromJson(JSONObject json) in packageRollbackInfoFromJson() 352 return new PackageRollbackInfo(versionRolledBackFrom, versionRolledBackTo, in packageRollbackInfoFromJson() 374 private static JSONArray toJson(List<PackageRollbackInfo> infos) throws JSONException { in toJson() 376 for (PackageRollbackInfo info : infos) { in toJson() 382 private static List<PackageRollbackInfo> packageRollbackInfosFromJson(JSONArray json) in packageRollbackInfosFromJson() 384 List<PackageRollbackInfo> infos = new ArrayList<>(); in packageRollbackInfosFromJson()
|
D | RollbackManagerServiceImpl.java | 39 import android.content.rollback.PackageRollbackInfo; 430 for (PackageRollbackInfo info : data.info.getPackages()) { in commitRollbackInternal() 567 for (PackageRollbackInfo info : data.info.getPackages()) { in expireRollbackForPackage() 625 for (PackageRollbackInfo info : data.info.getPackages()) { in onBootCompleted() 732 for (PackageRollbackInfo info : data.info.getPackages()) { in onPackageReplaced() 937 for (PackageRollbackInfo info : rd.info.getPackages()) { in enableRollback() 1026 PackageRollbackInfo packageRollbackInfo = new PackageRollbackInfo( in enableRollbackForPackageSession() 1078 for (PackageRollbackInfo info : data.info.getPackages()) { in snapshotUserDataInternal() 1087 PackageRollbackInfo info; in snapshotUserDataInternal() 1101 PackageRollbackInfo info = null; in restoreUserDataInternal() [all …]
|
D | RollbackPackageHealthObserver.java | 27 import android.content.rollback.PackageRollbackInfo; 207 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in onBootCompleted() 234 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in getAvailableRollback()
|
/frameworks/base/core/java/android/content/rollback/ |
D | PackageRollbackInfo.java | 36 public final class PackageRollbackInfo implements Parcelable { class 179 public PackageRollbackInfo(VersionedPackage packageRolledBackFrom, in PackageRollbackInfo() method in PackageRollbackInfo 193 private PackageRollbackInfo(Parcel in) { in PackageRollbackInfo() method in PackageRollbackInfo 215 public static final @NonNull Parcelable.Creator<PackageRollbackInfo> CREATOR = 216 new Parcelable.Creator<PackageRollbackInfo>() { 217 public PackageRollbackInfo createFromParcel(Parcel in) { 218 return new PackageRollbackInfo(in); 221 public PackageRollbackInfo[] newArray(int size) { 222 return new PackageRollbackInfo[size];
|
D | RollbackInfo.java | 42 private final List<PackageRollbackInfo> mPackages; 50 public RollbackInfo(int rollbackId, List<PackageRollbackInfo> packages, boolean isStaged, in RollbackInfo() 61 mPackages = in.createTypedArrayList(PackageRollbackInfo.CREATOR); in RollbackInfo() 78 public List<PackageRollbackInfo> getPackages() { in getPackages()
|
D | PackageRollbackInfo.aidl | 18 parcelable PackageRollbackInfo;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 32 import android.content.rollback.PackageRollbackInfo; 33 import android.content.rollback.PackageRollbackInfo.RestoreInfo; 61 PackageRollbackInfo info = createPackageRollbackInfo("com.foo.bar", new int[]{10, 11}); in testSnapshotAppData() 82 PackageRollbackInfo info2 = createPackageRollbackInfo("com.foo.bar", new int[]{10, 11}); in testSnapshotAppData() 99 private static PackageRollbackInfo createPackageRollbackInfo(String packageName, in createPackageRollbackInfo() 101 return new PackageRollbackInfo( in createPackageRollbackInfo() 107 private static PackageRollbackInfo createPackageRollbackInfo(String packageName) { in createPackageRollbackInfo() 116 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_pendingBackupForUser() 142 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 166 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() [all …]
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTestUtils.java | 36 import android.content.rollback.PackageRollbackInfo; 338 for (PackageRollbackInfo info : rollback.getPackages()) { in getUniqueRollbackInfoForPackage() 355 PackageRollbackInfo info) { in assertPackageRollbackInfoEquals() 374 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in assertRollbackInfoEquals()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 68 import android.content.rollback.PackageRollbackInfo; 423 for (PackageRollbackInfo info : r.getPackages()) { in runRollbackApp()
|
/frameworks/base/api/ |
D | test-current.txt | 771 public final class PackageRollbackInfo implements android.os.Parcelable { 777 …c static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR; 784 … method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages();
|
D | system-current.txt | 1821 public final class PackageRollbackInfo implements android.os.Parcelable { 1827 …c static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR; 1834 … method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages();
|
/frameworks/base/services/ |
D | art-profile | 12838 …k/AppDataRollbackHelper;->destroyAppDataSnapshot(ILandroid/content/rollback/PackageRollbackInfo;I)V 12890 …;->packageRollbackInfoFromJson(Lorg/json/JSONObject;)Landroid/content/rollback/PackageRollbackInfo; 12894 …d/server/rollback/RollbackStore;->toJson(Landroid/content/rollback/PackageRollbackInfo;)Lorg/json/…
|