Home
last modified time | relevance | path

Searched refs:TestApp (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
H A DRollbackTest.java166 Rollback.from(TestApp.A2).to(TestApp.A1)); in testBasic()
196 Rollback.from(TestApp.A2).to(TestApp.A1)); in testBasic()
276 Uninstall.packages(TestApp.A, TestApp.B); in testAvailableMultiPackageRollbackPersistence()
277 Install.multi(TestApp.A1, TestApp.B1).commit(); in testAvailableMultiPackageRollbackPersistence()
287 Rollback.from(TestApp.A2).to(TestApp.A1), in testAvailableMultiPackageRollbackPersistence()
865 Uninstall.packages(TestApp.A, TestApp.B); in testMultiPackage()
922 Uninstall.packages(TestApp.A, TestApp.B); in testMultiPackageEnableFail()
993 Uninstall.packages(TestApp.A, TestApp.B); in testBadUpdateRollback()
1135 Uninstall.packages(TestApp.A, TestApp.B); in testEnableRollbackTimeoutFailsRollback_MultiPackage()
1196 Uninstall.packages(TestApp.A, TestApp.B, TestApp.C); in testRollbackDataPolicy()
[all …]
H A DStagedRollbackTest.java114 Rollback.from(TestApp.A2).to(TestApp.A1)); in testBadApkOnly_Phase2_VerifyInstall()
139 Rollback.from(TestApp.A2).to(TestApp.A1)); in testBadApkOnly_Phase3_VerifyRollback()
285 TestApp app = new TestApp("ModuleMetadata", pkgName, -1, false, new File(filePath)); in testRollbackAllowlistedApp_Phase1_Install()
297 Install.multi(TestApp.A1, TestApp.B1, TestApp.C1).commit(); in testRollbackDataPolicy_Phase1_Install()
354 private static final TestApp TEST_APEX_WITH_APK_V1 = new TestApp("TestApexWithApkV1",
356 private static final TestApp TEST_APEX_WITH_APK_V2 = new TestApp("TestApexWithApkV2",
358 private static final TestApp TEST_APEX_WITH_APK_V2_CRASHING = new TestApp(
382 Rollback.from(TestApp.A, 0).to(TestApp.A1)); in testRollbackApexWithApk_Phase2_Rollback()
390 Rollback.from(TestApp.A, 0).to(TestApp.A1)); in testRollbackApexWithApk_Phase2_Rollback()
430 Rollback.from(TestApp.A, 0).to(TestApp.A1)); in testRollbackApexWithApkCrashing_Phase2_Crash()
[all …]
H A DMultiUserRollbackTest.java29 import com.android.cts.install.lib.TestApp;
84 Install.single(TestApp.A1).commit(); in testMultipleUsersInstallV1()
85 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testMultipleUsersInstallV1()
86 InstallUtils.processUserData(TestApp.A); in testMultipleUsersInstallV1()
95 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testMultipleUsersUpgradeToV2()
96 Install.single(TestApp.A2).setEnableRollback().commit(); in testMultipleUsersUpgradeToV2()
100 Rollback.from(TestApp.A2).to(TestApp.A1)); in testMultipleUsersUpgradeToV2()
110 InstallUtils.processUserData(TestApp.A); in testMultipleUsersUpdateUserData()
121 InstallUtils.processUserData(TestApp.A); in testMultipleUsersVerifyUserdataRollback()
127 Install.single(TestApp.A1).setStaged().commit(); in testStagedRollback_Phase1()
[all …]
H A DNetworkStagedRollbackTest.java36 import com.android.cts.install.lib.TestApp;
61 private static final TestApp NETWORK_STACK = new TestApp("NetworkStack",
/aosp12/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
H A DStagedInstallInternalTest.java55 private static final TestApp TEST_APEX_WITH_APK_V2 = new TestApp("TestApexWithApkV2",
57 private static final TestApp APEX_WRONG_SHA_V2 = new TestApp(
60 private static final TestApp APEX_V2 = new TestApp(
170 Install.multi(TestApp.AIncompleteSplit, TestApp.B1, TestApp.Apex1).setStaged()); in testStagedInstallationShouldCleanUpOnValidationFailureMultiPackage()
175 int sessionId = Install.multi(TestApp.A1, TestApp.Apex1).setStaged().commit(); in testFailStagedSessionIfStagingDirectoryDeleted_Commit()
268 TestApp apex = new TestApp("apex", "test.apex.rebootless", 2, in testApexNotInAllowListCanNotInstall_staged()
280 TestApp apex = new TestApp("apex", "test.apex.rebootless", 2, in testApexNotInAllowListCanNotInstall_nonStaged()
292 TestApp apex = new TestApp("apex", "test.apex.rebootless", 2, in testVendorApexWrongInstaller_staged()
304 TestApp apex = new TestApp("apex", "test.apex.rebootless", 2, in testVendorApexWrongInstaller_nonStaged()
316 TestApp apex = new TestApp("apex", "test.apex.rebootless", 2, in testVendorApexCorrectInstaller_staged()
[all …]
/aosp12/system/apex/tests/app/src/com/android/tests/apex/app/
H A DApexCompressionTests.java32 import com.android.cts.install.lib.TestApp;
47 private static final TestApp UNCOMPRESSED_APEX_V1 = new TestApp(
50 private static final TestApp UNCOMPRESSED_APEX_V2 = new TestApp(
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
H A DInstallPackageTaskTest.java36 import com.android.bedstead.testapp.TestApp;
77 TestApp testApp = writeApkToInstall(appToInstallFile); in run_success()
129 TestApp testApp = writeApkToInstall(appToInstallFile); in run_packageAlreadyInstalled_success()
188 private static TestApp writeApkToInstall(File appToInstallFile) throws IOException { in writeApkToInstall()
190 TestApp testApp = testAppProvider in writeApkToInstall()
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
H A DProgramItemViewTest.java30 import com.android.tv.guide.ProgramItemViewTest.TestApp;
64 @Config(sdk = ConfigConstants.SDK, application = TestApp.class)
68 public static class TestApp extends TestSingletonApp implements HasAndroidInjector { class in ProgramItemViewTest
92 interface TestAppComponent extends AndroidInjector<TestApp> {}
104 private final TestApp myTestApp;
106 TestModule(TestApp test) { in TestModule()
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/data/epg/
H A DEpgFetcherImplTest.java78 @Config(sdk = ConfigConstants.SDK, application = EpgFetcherImplTest.TestApp.class)
82 public static class TestApp extends TestSingletonApp implements HasAndroidInjector { class in EpgFetcherImplTest
107 interface TestAppComponent extends AndroidInjector<TestApp> {}
135 private TestApp mTestApp;
141 mTestApp = (TestApp) RuntimeEnvironment.application; in setup()
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
H A DPermissionUtilsTest.java71 import com.android.cts.install.lib.TestApp;
82 private static final TestApp TEST_APP_WITH_STORAGE_PERMS = new TestApp(
86 private static final TestApp TEST_APP_WITHOUT_PERMS = new TestApp("TestAppWithoutPerms",
89 private static final TestApp LEGACY_TEST_APP = new TestApp("LegacyTestApp",
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/search/
H A DLocalSearchProviderTest.java68 @Config(sdk = ConfigConstants.SDK, application = LocalSearchProviderTest.TestApp.class)
72 public static class TestApp extends TestSingletonApp implements HasAndroidInjector { class in LocalSearchProviderTest
98 interface TestAppComponent extends AndroidInjector<TestApp> {
/aosp12/frameworks/base/tests/RollbackTest/
H A DREADME.txt11 TestApp
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/
H A DAndroid.bp28 "TestApp",
/aosp12/packages/providers/MediaProvider/tests/transcode/src/com/android/providers/media/transcode/
H A DTranscodeTest.java43 import com.android.cts.install.lib.TestApp;
79 private static final TestApp TEST_APP_HEVC = new TestApp("TestAppHevc",
83 private static final TestApp TEST_APP_SLOW_MOTION = new TestApp("TestAppSlowMotion",
/aosp12/build/soong/java/
H A Dapp_test.go44 func TestApp(t *testing.T) { func