/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTest.java | 17 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 …]
|
D | StagedRollbackTest.java | 17 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 …]
|
D | RollbackTestUtils.java | 17 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()
|
D | LocalIntentSender.java | 17 package com.android.tests.rollback;
|
D | RollbackBroadcastReceiver.java | 17 package com.android.tests.rollback;
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 17 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 …]
|
D | TEST_MAPPING | 13 "include-filter": "com.android.server.rollback" 20 "path": "cts/tests/rollback" 23 "path": "cts/hostsidetests/rollback"
|
D | RollbackStore.java | 17 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 …]
|
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; 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 …]
|
D | RollbackData.java | 17 package com.android.server.rollback; 21 import android.content.rollback.RollbackInfo;
|
D | AppDataRollbackHelper.java | 17 package com.android.server.rollback; 19 import android.content.rollback.PackageRollbackInfo; 20 import android.content.rollback.PackageRollbackInfo.RestoreInfo;
|
D | RollbackManagerService.java | 17 package com.android.server.rollback;
|
D | LocalIntentReceiver.java | 17 package com.android.server.rollback;
|
/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;
|
/frameworks/base/tests/RollbackTest/TestApp/src/com/android/tests/rollback/testapp/ |
D | MainActivity.java | 17 package com.android.tests.rollback.testapp;
|
D | CrashingMainActivity.java | 17 package com.android.tests.rollback.testapp;
|
D | ProcessUserData.java | 17 package com.android.tests.rollback.testapp;
|
/frameworks/base/tests/RollbackTest/ |
D | README.txt | 1 This directory contains a test for the rollback manager service.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 17 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/ |
D | JournaledFile.java | 117 public void rollback() { in rollback() method in JournaledFile
|
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/ |
D | StagedRollbackTest.java | 17 package com.android.tests.rollback.host;
|