Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DRestrictedStoragePermissionSharedUidTest.java75 private static class TestApp { class in RestrictedStoragePermissionSharedUidTest
88 TestApp(@NonNull String apk, @NonNull String pkg, boolean isRestricted, in TestApp() method in RestrictedStoragePermissionSharedUidTest.TestApp
154 private static class NoApp extends TestApp {
186 private static final TestApp[] TEST_APPS = new TestApp[]{
187 new TestApp(APK_PATH + "CtsLegacyStorageNotIsolatedWithSharedUid.apk",
189 new TestApp(APK_PATH + "CtsLegacyStorageIsolatedWithSharedUid.apk",
191 new TestApp(APK_PATH + "CtsLegacyStorageRestrictedWithSharedUid.apk",
193 new TestApp(APK_PATH + "CtsLegacyStorageRestrictedSdk28WithSharedUid.apk",
202 public @NonNull TestApp app1;
209 public @NonNull TestApp app2;
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java76 import com.android.cts.install.lib.TestApp;
83 private static final TestApp TEST_APP_WITH_STORAGE_PERMS = new TestApp(
87 private static final TestApp TEST_APP_WITH_MEDIA_PERMS =
88 new TestApp(
94 private static final TestApp TEST_APP_WITH_USER_SELECTED_PERMS =
95 new TestApp(
101 private static final TestApp TEST_APP_WITHOUT_PERMS = new TestApp("TestAppWithoutPerms",
104 private static final TestApp LEGACY_TEST_APP = new TestApp("LegacyTestApp",
108 private static final TestApp LEGACY_TEST_APP_35 = new TestApp("LegacyTestAppWithTargetSdk35",
483 private static void assertReadVideoOnTestApp(TestApp app) throws Exception { in assertReadVideoOnTestApp()
[all …]
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxSmallModuleHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxSmallModuleTestApp.java38 import com.android.cts.install.lib.TestApp;
88 TestApp smallModule = in installSmallModulePendingReboot()
89 new TestApp( in installSmallModulePendingReboot()
100 TestApp fullModule = in installFullModulePendingReboot()
101 new TestApp( in installFullModulePendingReboot()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java36 import com.android.bedstead.testapp.TestApp;
77 TestApp testApp = writeApkToInstall(appToInstallFile); in run_success()
132 TestApp testApp = writeApkToInstall(appToInstallFile); in run_packageAlreadyInstalled_success()
193 private static TestApp writeApkToInstall(File appToInstallFile) throws IOException { in writeApkToInstall()
195 TestApp testApp = testAppProvider in writeApkToInstall()
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
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()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/epg/
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()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaGrantsAppOpStateTest.java44 import com.android.cts.install.lib.TestApp;
57 private static final TestApp TEST_APP_WITH_USER_SELECTED_PERMS =
58 new TestApp(
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
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> {
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DTestAppProxy.java40 import com.android.cts.install.lib.TestApp;
68 public static TestAppProxy forApp(TestApp testApp) { in forApp()
/packages/apps/ManagedProvisioning/tests/instrumentation/
DAndroid.bp45 "TestApp",
/packages/modules/Permission/tests/functional/safetycenter/multiusers/
DAndroid.bp38 "TestApp",
/packages/modules/AppSearch/testing/contactsindexertests/
DAndroid.bp33 "TestApp",