Home
last modified time | relevance | path

Searched refs:rollback (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java17 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 …]
DRollbackStore.java17 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 …]
DAppDataRollbackHelper.java17 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 …]
DRollbackPackageHealthObserver.java17 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 …]
DTEST_MAPPING7 "include-filter": "com.android.server.rollback"
14 "path": "cts/tests/rollback"
17 "path": "cts/hostsidetests/rollback"
DRollback.java17 package com.android.server.rollback;
21 import android.content.rollback.RollbackInfo;
DRollbackManagerService.java17 package com.android.server.rollback;
DLocalIntentReceiver.java17 package com.android.server.rollback;
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java17 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 …]
DRollbackTest.java17 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 …]
DMultiUserRollbackTest.java17 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/
DIRollbackManager.aidl17 package android.content.rollback;
20 import android.content.rollback.RollbackInfo;
DPackageRollbackInfo.aidl16 package android.content.rollback;
DRollbackInfo.aidl16 package android.content.rollback;
DRollbackInfo.java17 package android.content.rollback;
DRollbackManager.java17 package android.content.rollback;
DPackageRollbackInfo.java17 package android.content.rollback;
/frameworks/base/tests/RollbackTest/
DREADME.txt1 This directory contains a test for the rollback manager service.
DAndroid.bp19 static_libs: ["androidx.test.rules", "cts-rollback-lib", "cts-install-lib"],
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java17 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/
DJournaledFile.java117 public void rollback() { in rollback() method in JournaledFile
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java17 package com.android.tests.rollback.host;
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java17 package com.android.tests.rollback.host;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java67 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()
DStagingManager.java38 import android.content.rollback.IRollbackManager;

12