Home
last modified time | relevance | path

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

/cts/libs/rollback/src/com/android/cts/rollback/lib/
DUtils.java17 package com.android.cts.rollback.lib;
27 import android.content.rollback.PackageRollbackInfo;
28 import android.content.rollback.RollbackInfo;
29 import android.content.rollback.RollbackManager;
77 for (RollbackInfo rollback : rollbacks) { in getRollback()
78 for (PackageRollbackInfo info : rollback.getPackages()) { in getRollback()
83 found = rollback; in getRollback()
95 for (RollbackInfo rollback :rollbacks) { in getRollbackById()
96 if (rollback.getRollbackId() == rollbackId) { in getRollbackById()
97 return rollback; in getRollbackById()
[all …]
DRollbackInfoSubject.java17 package com.android.cts.rollback.lib;
20 import android.content.rollback.PackageRollbackInfo;
21 import android.content.rollback.RollbackInfo;
38 public static RollbackInfoSubject assertThat(RollbackInfo rollback) { in assertThat() argument
39 return Truth.assert_().about(rollbacks()).that(rollback); in assertThat()
DRollback.java17 package com.android.cts.rollback.lib;
20 import android.content.rollback.PackageRollbackInfo;
DLocalIntentSender.java17 package com.android.cts.rollback.lib;
DTestApp.java17 package com.android.cts.rollback.lib;
DInstall.java17 package com.android.cts.rollback.lib;
/cts/tests/rollback/src/android/server/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;
28 import com.android.cts.rollback.lib.Install;
29 import com.android.cts.rollback.lib.Rollback;
30 import com.android.cts.rollback.lib.TestApp;
31 import com.android.cts.rollback.lib.Utils;
92 Utils.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;
24 import android.content.rollback.RollbackInfo;
28 import com.android.cts.rollback.lib.Install;
29 import com.android.cts.rollback.lib.Rollback;
30 import com.android.cts.rollback.lib.TestApp;
31 import com.android.cts.rollback.lib.Utils;
98 Utils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyCommitRollback()
174 Utils.rollback(available.getRollbackId(), TestApp.Apex3); in testApexOnlyCommitRollback()
253 Utils.rollback(available.getRollbackId(), TestApp.Apex3, TestApp.A2); in testApexAndApkCommitRollback()
/cts/libs/rollback/
DTEST_MAPPING4 "path": "cts/tests/rollback"
7 "path": "cts/hostsidetests/rollback"
DAndroid.bp32 name: "cts-rollback-lib",
/cts/libs/rollback/testapp/src/com/android/cts/rollback/lib/testapp/
DMainActivity.java17 package com.android.cts.rollback.lib.testapp;
/cts/tests/rollback/
DAndroid.bp18 static_libs: ["androidx.test.rules", "cts-rollback-lib"],
/cts/hostsidetests/rollback/
DAndroid.bp27 static_libs: ["androidx.test.rules", "cts-rollback-lib"],
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/
DRollbackManagerHostTest.java17 package com.android.cts.rollback.host;