Home
last modified time | relevance | path

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

12

/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTest.java17 package com.android.tests.rollback;
19 import static com.android.tests.rollback.RollbackTestUtils.assertPackageRollbackInfoEquals;
20 import static com.android.tests.rollback.RollbackTestUtils.assertRollbackInfoEquals;
21 import static com.android.tests.rollback.RollbackTestUtils.getUniqueRollbackInfoForPackage;
22 import static com.android.tests.rollback.RollbackTestUtils.processUserData;
35 import android.content.rollback.RollbackInfo;
36 import android.content.rollback.RollbackManager;
110 RollbackInfo rollback = getUniqueRollbackInfoForPackage( in testBasic() local
112 if (rollback != null) { in testBasic()
134 RollbackInfo rollback = getUniqueRollbackInfoForPackage( in testBasic() local
[all …]
DStagedRollbackTest.java17 package com.android.tests.rollback;
19 import static com.android.tests.rollback.RollbackTestUtils.assertRollbackInfoEquals;
20 import static com.android.tests.rollback.RollbackTestUtils.getUniqueRollbackInfoForPackage;
28 import android.content.rollback.RollbackInfo;
29 import android.content.rollback.RollbackManager;
113 RollbackInfo rollback = getUniqueRollbackInfoForPackage( in testBadApkOnlyConfirmEnableRollback() local
115 assertRollbackInfoEquals(TEST_APP_A, 2, 1, rollback); in testBadApkOnlyConfirmEnableRollback()
116 assertTrue(rollback.isStaged()); in testBadApkOnlyConfirmEnableRollback()
160 RollbackInfo rollback = getUniqueRollbackInfoForPackage( in testBadApkOnlyConfirmRollback() local
162 assertRollbackInfoEquals(TEST_APP_A, 2, 1, rollback, new VersionedPackage(TEST_APP_A, 2)); in testBadApkOnlyConfirmRollback()
[all …]
DRollbackTestUtils.java17 package com.android.tests.rollback;
36 import android.content.rollback.PackageRollbackInfo;
37 import android.content.rollback.RollbackInfo;
38 import android.content.rollback.RollbackManager;
147 static void rollback(int rollbackId, VersionedPackage... causePackages) in rollback() method in RollbackTestUtils
337 for (RollbackInfo rollback : rollbacks) { in getUniqueRollbackInfoForPackage()
338 for (PackageRollbackInfo info : rollback.getPackages()) { in getUniqueRollbackInfoForPackage()
341 found = rollback; in getUniqueRollbackInfoForPackage()
DLocalIntentSender.java17 package com.android.tests.rollback;
DRollbackBroadcastReceiver.java17 package com.android.tests.rollback;
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java17 package com.android.server.rollback;
27 import android.content.rollback.PackageRollbackInfo;
28 import android.content.rollback.RollbackInfo;
29 import android.content.rollback.RollbackManager;
112 RollbackInfo rollback = getAvailableRollback(rollbackManager, failedPackage); in execute() local
114 if (rollback == null) { in execute()
127 if (rollback.isStaged()) { in execute()
128 int rollbackId = rollback.getRollbackId(); in execute()
148 rollbackManager.commitRollback(rollback.getRollbackId(), in execute()
191 RollbackInfo rollback = null; in onBootCompleted() local
[all …]
DTEST_MAPPING13 "include-filter": "com.android.server.rollback"
20 "path": "cts/tests/rollback"
23 "path": "cts/hostsidetests/rollback"
DRollbackStore.java17 package com.android.server.rollback;
19 import static com.android.server.rollback.RollbackData.rollbackStateFromString;
20 import static com.android.server.rollback.RollbackData.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 …]
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;
223 for (NewRollback rollback : mNewRollbacks) { in RollbackManagerServiceImpl()
224 if (rollback.hasToken(token)) { in RollbackManagerServiceImpl()
225 rollback.isCancelled = true; in RollbackManagerServiceImpl()
1088 for (NewRollback rollback : mNewRollbacks) { in snapshotUserDataInternal()
1089 info = getPackageRollbackInfo(rollback.data, packageName); in snapshotUserDataInternal()
[all …]
DRollbackData.java17 package com.android.server.rollback;
21 import android.content.rollback.RollbackInfo;
DAppDataRollbackHelper.java17 package com.android.server.rollback;
19 import android.content.rollback.PackageRollbackInfo;
20 import android.content.rollback.PackageRollbackInfo.RestoreInfo;
DRollbackManagerService.java17 package com.android.server.rollback;
DLocalIntentReceiver.java17 package com.android.server.rollback;
/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;
/frameworks/base/tests/RollbackTest/TestApp/src/com/android/tests/rollback/testapp/
DMainActivity.java17 package com.android.tests.rollback.testapp;
DCrashingMainActivity.java17 package com.android.tests.rollback.testapp;
DProcessUserData.java17 package com.android.tests.rollback.testapp;
/frameworks/base/tests/RollbackTest/
DREADME.txt1 This directory contains a test for the rollback manager service.
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java17 package com.android.server.rollback;
32 import android.content.rollback.PackageRollbackInfo;
33 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/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java17 package com.android.tests.rollback.host;

12