Searched refs:RollbackTestUtils (Results 1 – 3 of 3) sorted by relevance
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;91 RollbackTestUtils.adoptShellPermissionIdentity( in testBasic()100 RollbackManager rm = RollbackTestUtils.getRollbackManager(); in testBasic()103 RollbackTestUtils.uninstall(TEST_APP_A); in testBasic()104 assertEquals(-1, RollbackTestUtils.getInstalledVersion(TEST_APP_A)); in testBasic()126 RollbackTestUtils.install("RollbackTestAppAv1.apk", false); in testBasic()127 assertEquals(1, RollbackTestUtils.getInstalledVersion(TEST_APP_A)); in testBasic()[all …]
19 import static com.android.tests.rollback.RollbackTestUtils.assertRollbackInfoEquals;20 import static com.android.tests.rollback.RollbackTestUtils.getUniqueRollbackInfoForPackage;69 RollbackTestUtils.adoptShellPermissionIdentity( in adoptShellPermissions()81 RollbackTestUtils.dropShellPermissionIdentity(); in dropShellPermissions()90 RollbackTestUtils.uninstall(TEST_APP_A); in testBadApkOnlyEnableRollback()91 assertEquals(-1, RollbackTestUtils.getInstalledVersion(TEST_APP_A)); in testBadApkOnlyEnableRollback()93 RollbackTestUtils.install(TEST_APP_A_V1, false); in testBadApkOnlyEnableRollback()94 assertEquals(1, RollbackTestUtils.getInstalledVersion(TEST_APP_A)); in testBadApkOnlyEnableRollback()95 RollbackTestUtils.processUserData(TEST_APP_A); in testBadApkOnlyEnableRollback()97 RollbackTestUtils.installStaged(true, TEST_APP_A_CRASHING_V2); in testBadApkOnlyEnableRollback()[all …]
57 class RollbackTestUtils { class