/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 17 package com.android.server.rollback; 38 import android.content.rollback.IRollbackManager; 39 import android.content.rollback.PackageRollbackInfo; 40 import android.content.rollback.RollbackInfo; 41 import android.content.rollback.RollbackManager; 151 for (Rollback rollback : mRollbacks) { in RollbackManagerServiceImpl() 152 mAllocatedRollbackIds.put(rollback.info.getRollbackId(), true); in RollbackManagerServiceImpl() 217 for (NewRollback rollback : mNewRollbacks) { in RollbackManagerServiceImpl() 218 if (rollback.hasToken(token)) { in RollbackManagerServiceImpl() 219 rollback.isCancelled = true; in RollbackManagerServiceImpl() [all …]
|
D | RollbackStore.java | 17 package com.android.server.rollback; 19 import static com.android.server.rollback.Rollback.rollbackStateFromString; 20 import static com.android.server.rollback.Rollback.rollbackStateToString; 24 import android.content.rollback.PackageRollbackInfo; 25 import android.content.rollback.PackageRollbackInfo.RestoreInfo; 26 import android.content.rollback.RollbackInfo; 174 private static JSONObject rollbackInfoToJson(RollbackInfo rollback) throws JSONException { in rollbackInfoToJson() argument 176 json.put("rollbackId", rollback.getRollbackId()); in rollbackInfoToJson() 177 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson() 178 json.put("isStaged", rollback.isStaged()); in rollbackInfoToJson() [all …]
|
D | AppDataRollbackHelper.java | 17 package com.android.server.rollback; 19 import android.content.rollback.PackageRollbackInfo; 20 import android.content.rollback.PackageRollbackInfo.RestoreInfo; 171 for (Rollback rollback : rollbacks) { in computePendingBackups() 172 for (PackageRollbackInfo info : rollback.info.getPackages()) { in computePendingBackups() 178 if (rollbacksWithPendingBackups.indexOf(rollback) == -1) { in computePendingBackups() 179 rollbacksWithPendingBackups.add(rollback); in computePendingBackups() 201 for (Rollback rollback : rollbacks) { in computePendingRestores() 202 for (PackageRollbackInfo info : rollback.info.getPackages()) { in computePendingRestores() 206 if (rollbacksWithPendingRestores.indexOf(rollback) == -1) { in computePendingRestores() [all …]
|
D | RollbackPackageHealthObserver.java | 17 package com.android.server.rollback; 34 import android.content.rollback.PackageRollbackInfo; 35 import android.content.rollback.RollbackInfo; 36 import android.content.rollback.RollbackManager; 120 RollbackInfo rollback = getAvailableRollback(rollbackManager, failedPackage); in execute() local 130 if (rollback == null) { in execute() 144 if (rollback.isStaged()) { in execute() 145 int rollbackId = rollback.getRollbackId(); in execute() 167 rollbackManager.commitRollback(rollback.getRollbackId(), in execute() 210 RollbackInfo rollback = null; in onBootCompleted() local [all …]
|
D | TEST_MAPPING | 7 "include-filter": "com.android.server.rollback" 14 "path": "cts/tests/rollback" 17 "path": "cts/hostsidetests/rollback"
|
D | Rollback.java | 17 package com.android.server.rollback; 21 import android.content.rollback.RollbackInfo;
|
D | RollbackManagerService.java | 17 package com.android.server.rollback;
|
D | LocalIntentReceiver.java | 17 package com.android.server.rollback;
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | StagedRollbackTest.java | 17 package com.android.tests.rollback; 19 import static com.android.cts.rollback.lib.RollbackInfoSubject.assertThat; 20 import static com.android.cts.rollback.lib.RollbackUtils.getUniqueRollbackInfoForPackage; 33 import android.content.rollback.RollbackInfo; 34 import android.content.rollback.RollbackManager; 44 import com.android.cts.rollback.lib.Rollback; 45 import com.android.cts.rollback.lib.RollbackUtils; 119 RollbackInfo rollback = getUniqueRollbackInfoForPackage( in testBadApkOnlyConfirmEnableRollback() local 121 assertThat(rollback).isNotNull(); in testBadApkOnlyConfirmEnableRollback() 122 assertThat(rollback).packagesContainsExactly( in testBadApkOnlyConfirmEnableRollback() [all …]
|
D | RollbackTest.java | 17 package com.android.tests.rollback; 20 import static com.android.cts.rollback.lib.RollbackInfoSubject.assertThat; 21 import static com.android.cts.rollback.lib.RollbackUtils.getUniqueRollbackInfoForPackage; 22 import static com.android.cts.rollback.lib.RollbackUtils.waitForAvailableRollback; 23 import static com.android.cts.rollback.lib.RollbackUtils.waitForUnavailableRollback; 34 import android.content.rollback.RollbackInfo; 35 import android.content.rollback.RollbackManager; 45 import com.android.cts.rollback.lib.Rollback; 46 import com.android.cts.rollback.lib.RollbackBroadcastReceiver; 47 import com.android.cts.rollback.lib.RollbackUtils; [all …]
|
D | MultiUserRollbackTest.java | 17 package com.android.tests.rollback; 19 import static com.android.cts.rollback.lib.RollbackInfoSubject.assertThat; 20 import static com.android.cts.rollback.lib.RollbackUtils.getUniqueRollbackInfoForPackage; 25 import android.content.rollback.RollbackInfo; 26 import android.content.rollback.RollbackManager; 31 import com.android.cts.rollback.lib.Rollback; 32 import com.android.cts.rollback.lib.RollbackUtils; 84 RollbackInfo rollback = getUniqueRollbackInfoForPackage( in testMultipleUsersUpgradeToV2() local 86 assertThat(rollback).isNotNull(); in testMultipleUsersUpgradeToV2() 87 assertThat(rollback).packagesContainsExactly( in testMultipleUsersUpgradeToV2()
|
/frameworks/base/core/java/android/content/rollback/ |
D | IRollbackManager.aidl | 17 package android.content.rollback; 20 import android.content.rollback.RollbackInfo;
|
D | PackageRollbackInfo.aidl | 16 package android.content.rollback;
|
D | RollbackInfo.aidl | 16 package android.content.rollback;
|
D | RollbackInfo.java | 17 package android.content.rollback;
|
D | RollbackManager.java | 17 package android.content.rollback;
|
D | PackageRollbackInfo.java | 17 package android.content.rollback;
|
/frameworks/base/tests/RollbackTest/ |
D | README.txt | 1 This directory contains a test for the rollback manager service.
|
D | Android.bp | 19 static_libs: ["androidx.test.rules", "cts-rollback-lib", "cts-install-lib"],
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 17 package com.android.server.rollback; 33 import android.content.rollback.PackageRollbackInfo; 34 import android.content.rollback.PackageRollbackInfo.RestoreInfo;
|
/frameworks/base/core/java/com/android/internal/util/ |
D | JournaledFile.java | 117 public void rollback() { in rollback() method in JournaledFile
|
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
D | MultiUserRollbackTest.java | 17 package com.android.tests.rollback.host;
|
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/ |
D | StagedRollbackTest.java | 17 package com.android.tests.rollback.host;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 67 import android.content.rollback.IRollbackManager; 68 import android.content.rollback.PackageRollbackInfo; 69 import android.content.rollback.RollbackInfo; 70 import android.content.rollback.RollbackManager; 402 RollbackInfo rollback = null; in runRollbackApp() local 406 rollback = r; in runRollbackApp() 412 if (rollback == null) { in runRollbackApp() 417 rm.commitRollback(rollback.getRollbackId(), in runRollbackApp()
|
D | StagingManager.java | 38 import android.content.rollback.IRollbackManager;
|