/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | HiltExt.kt | 27 import com.android.healthconnect.controller.tests.TestActivity in <lambda>() 33 ): ActivityScenario<TestActivity> { 37 ApplicationProvider.getApplicationContext(), TestActivity::class.java)) 42 return ActivityScenario.launch<TestActivity>(startActivityIntent).onActivity { activity -> in activity() 61 ): ActivityScenario<TestActivity> { 65 ApplicationProvider.getApplicationContext(), TestActivity::class.java)) 70 return ActivityScenario.launch<TestActivity>(startActivityIntent).onActivity { activity -> in activity() 85 ): ActivityScenario<TestActivity> { in launchFragment() 89 ApplicationProvider.getApplicationContext(), TestActivity::class.java)) in launchFragment() 93 return ActivityScenario.launch<TestActivity>(startActivityIntent).onActivity { activity -> in launchFragment()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | TestActivity.java | 24 public abstract class TestActivity extends AbstractBase { class 26 public static TestActivity create(TestEnv env) { in create() 27 TestActivity activity = Mockito.mock(TestActivity.class, Mockito.CALLS_REAL_METHODS); in create() 35 abstract class AbstractBase extends com.android.documentsui.TestActivity
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | TestActivity.java | 28 public abstract class TestActivity extends AbstractBase { class 33 public static TestActivity create(TestEnv env) { in create() 34 TestActivity activity = Mockito.mock(TestActivity.class, Mockito.CALLS_REAL_METHODS); in create() 60 abstract class AbstractBase extends com.android.documentsui.TestActivity
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | CategoryMixinTest.java | 47 private ActivityController<TestActivity> mActivityController; 51 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp() 58 final TestActivity activity = mActivityController.get(); in resumeActivity_shouldRegisterReceiver() 66 final TestActivity activity = mActivityController.get(); in pauseActivity_shouldUnregisterReceiver() 82 static class TestActivity extends AppCompatActivity implements CategoryMixin.CategoryHandler { class in CategoryMixinTest
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/app/ |
D | CarTaskViewControllerHostLifecycleFactoryTest.java | 33 private TestActivity mActivity; 36 public ActivityScenarioRule<TestActivity> activityRule = new ActivityScenarioRule<>( 37 TestActivity.class); 104 public static class TestActivity extends Activity { class in CarTaskViewControllerHostLifecycleFactoryTest
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/ |
D | CarLauncherViewModelFactoryTest.java | 37 import com.android.car.carlauncher.CarLauncherViewModelTest.TestActivity; 49 public final ActivityScenarioRule<TestActivity> mActivityRule = 50 new ActivityScenarioRule<>(TestActivity.class); 58 private TestActivity mActivity;
|
D | CarLauncherViewModelTest.java | 49 public final ActivityScenarioRule<TestActivity> mActivityRule = 50 new ActivityScenarioRule<>(TestActivity.class); 56 private TestActivity mActivity; 117 public static class TestActivity extends Activity { class in CarLauncherViewModelTest
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
D | ViewTest.java | 26 public abstract class ViewTest<T extends View> extends BugleActivityUnitTestCase<TestActivity> { 28 super(TestActivity.class); in ViewTest() 41 TestActivity.class); in setUp()
|
D | FragmentTestCase.java | 29 extends BugleActivityInstrumentationTestCase<TestActivity> { 35 super(TestActivity.class); in FragmentTestCase()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentMemtagPreferenceControllerTest.java | 63 public ActivityTestRule<TestActivity> mActivityTestRule = 64 new ActivityTestRule<>(TestActivity.class); 69 private TestActivity mActivity; 83 .add(TestActivity.CONTAINER_VIEW_ID, mMemtagPage) in setUp() 162 private static final class TestActivity extends FragmentActivity { class in DevelopmentMemtagPreferenceControllerTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacySettingsTest.java | 64 private TestActivity mActivity; 74 ActivityController<TestActivity> controller = Robolectric.buildActivity( in setUp() 75 TestActivity.class).create(); in setUp() 81 .add(TestActivity.CONTAINER_VIEW_ID, mSettings) in setUp() 200 private static final class TestActivity extends AppCompatActivity { class in EnterprisePrivacySettingsTest
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/tests/src/com/android/car/portraitlauncher/homeactivities/test/ |
D | ApplicationPanelTapTest.java | 37 public ActivityScenarioRule<TestActivity> mActivityRule = new ActivityScenarioRule<>( 38 TestActivity.class); 39 private ActivityScenario<TestActivity> mScenario;
|
D | TestActivity.java | 31 public class TestActivity extends Activity { class 32 private static final String TAG = TestActivity.class.getSimpleName();
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/ |
D | NotificationAccessConfirmationActivityTest.java | 67 private ActivityScenario<TestActivity> mActivityScenario; 68 private TestActivity mActivity; 96 Intent intent = new Intent(mContext, TestActivity.class); in componentNameEmpty_finishes() 163 Intent intent = new Intent(mContext, TestActivity.class) in launchActivityWithValidIntent() 176 public static final class TestActivity extends NotificationAccessConfirmationActivity { class in NotificationAccessConfirmationActivityTest
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | SdkSandboxControllerTest.java | 62 public final ActivityScenarioRule<TestActivity> activityScenarioRule = 63 new ActivityScenarioRule<>(TestActivity.class); 67 private ActivityScenario<TestActivity> mScenario; 110 Intent intent = new Intent(context, TestActivity.class); in testSdkDetectsAppForegroundState()
|
D | SdkSandboxValidationOverTTests.java | 45 public final ActivityScenarioRule<TestActivity> activityRule = 46 new ActivityScenarioRule<>(TestActivity.class);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestActionHandler.java | 24 import com.android.documentsui.TestActivity; 31 public class TestActionHandler extends AbstractActionHandler<TestActivity> { 47 TestActivity.create(env), in TestActionHandler()
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/disablede2e/ |
D | SdkSandboxManagerDisabledTest.java | 42 public final ActivityScenarioRule<TestActivity> mRule = 43 new ActivityScenarioRule<>(TestActivity.class); 45 private ActivityScenario<TestActivity> mScenario;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | MemtagPreferenceControllerTest.java | 59 public ActivityScenarioRule<TestActivity> mActivityScenario = 60 new ActivityScenarioRule<>(TestActivity.class); 65 private TestActivity mActivity; 78 .add(TestActivity.CONTAINER_VIEW_ID, mMemtagPage) in setUp()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | DragHostTest.java | 32 import com.android.documentsui.files.TestActivity; 53 private TestActivity mActivity; 66 mActivity = TestActivity.create(mEnv); in setUp()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestActivity.java | 61 public abstract class TestActivity extends AbstractBase { class 86 public static TestActivity create(TestEnv env) { in create() 87 TestActivity activity = Mockito.mock(TestActivity.class, Mockito.CALLS_REAL_METHODS); in create()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ui/ |
D | ChannelBannerViewTest.java | 52 private TestActivity testActivity; 58 testActivity = Robolectric.buildActivity(TestActivity.class).create().get(); in setUp() 114 public static class TestActivity extends Activity implements HasSingletons<MySingletons> { class in ChannelBannerViewTest
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | TestActivity.kt | 30 class TestActivity : Activity() { class 61 ComponentName(getApplicationContext(), TestActivity::class.java.name + "Priority") in setAliasEnabledState()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DocumentsAccessTest.java | 46 private TestActivity mActivity; 67 mActivity = TestActivity.create(mEnv); in setUp()
|
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/app/src/com/android/sdksandbox/cts/app/ |
D | CtsSdkSandboxMediaTestApp.java | 48 public final ActivityScenarioRule<TestActivity> activityScenarioRule = 49 new ActivityScenarioRule<>(TestActivity.class);
|