Home
last modified time | relevance | path

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

/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java17 package com.android.cts.rollback.lib;
28 import android.content.rollback.PackageRollbackInfo;
29 import android.content.rollback.RollbackInfo;
30 import android.content.rollback.RollbackManager;
80 for (RollbackInfo rollback :rollbacks) { in getRollbackById()
81 if (rollback.getRollbackId() == rollbackId) { in getRollbackById()
82 return rollback; in getRollbackById()
121 public static void rollback(int rollbackId, TestApp... causePackages) in rollback() method in RollbackUtils
155 for (RollbackInfo rollback : rollbacks) { in getUniqueRollbackInfoForPackage()
156 for (PackageRollbackInfo info : rollback.getPackages()) { in getUniqueRollbackInfoForPackage()
[all …]
DRollbackInfoSubject.java17 package com.android.cts.rollback.lib;
20 import android.content.rollback.PackageRollbackInfo;
21 import android.content.rollback.RollbackInfo;
39 public static RollbackInfoSubject assertThat(RollbackInfo rollback) { in assertThat() argument
40 return Truth.assert_().about(rollbacks()).that(rollback); in assertThat()
DRollback.java17 package com.android.cts.rollback.lib;
20 import android.content.rollback.PackageRollbackInfo;
DRollbackBroadcastReceiver.java17 package com.android.cts.rollback.lib;
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java17 package com.android.cts.rollback;
19 import static com.android.cts.rollback.lib.RollbackInfoSubject.assertThat;
24 import android.content.rollback.RollbackInfo;
32 import com.android.cts.rollback.lib.Rollback;
33 import com.android.cts.rollback.lib.RollbackUtils;
94 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testBasic()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java17 package com.android.cts.rollback.host.app;
19 import static com.android.cts.rollback.lib.RollbackInfoSubject.assertThat;
26 import android.content.rollback.RollbackInfo;
36 import com.android.cts.rollback.lib.Rollback;
37 import com.android.cts.rollback.lib.RollbackUtils;
131 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyCommitRollback()
197 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyMultipleStagedRollback_Phase2()
217 RollbackUtils.rollback(available.getRollbackId(), TestApp.B2); in testApkOnlyMultipleStagedRollback_Phase2()
287 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyMultipleStagedPartialRollback_Phase2()
360 RollbackUtils.rollback(available.getRollbackId(), TestApp.Apex3); in testApexOnlyCommitRollback()
[all …]
/cts/libs/rollback/
DTEST_MAPPING4 "path": "cts/tests/rollback"
7 "path": "cts/hostsidetests/rollback"
DAndroid.bp16 name: "cts-rollback-lib",
/cts/tests/rollback/
DAndroid.bp18 static_libs: ["androidx.test.rules", "cts-rollback-lib", "cts-install-lib"],
/cts/hostsidetests/rollback/
DAndroid.bp27 static_libs: ["androidx.test.rules", "cts-rollback-lib", "cts-install-lib"],
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/
DRollbackManagerHostTest.java17 package com.android.cts.rollback.host;