/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/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | CarUiSmoothScrollerTest.java | 25 import com.android.car.ui.TestActivity; 37 public ActivityScenarioRule<TestActivity> mActivityRule = 38 new ActivityScenarioRule<>(TestActivity.class); 40 private ActivityScenario<TestActivity> mScenario; 42 private TestActivity mActivity;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | CategoryMixinTest.java | 48 private ActivityController<TestActivity> mActivityController; 52 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp() 59 final TestActivity activity = mActivityController.get(); in resumeActivity_shouldRegisterReceiver() 67 final TestActivity activity = mActivityController.get(); in pauseActivity_shouldUnregisterReceiver() 83 static class TestActivity extends AppCompatActivity implements CategoryMixin.CategoryHandler { class in CategoryMixinTest
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/search/ |
D | WidgetsSearchBarControllerTest.java | 30 import com.android.launcher3.testing.TestActivity; 51 private ActivityController<TestActivity> mActivityController; 62 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp() 63 TestActivity testActivity = mActivityController.setup().get(); in setUp()
|
/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/Car/Dialer/tests/unittests/src/com/android/car/dialer/livedata/ |
D | HeartBeatLiveDataTest.java | 29 import com.android.car.dialer.testing.TestActivity; 52 ActivityScenario<TestActivity> activityScenario = ActivityScenario.launch( in active_onLifecycleStart() 53 TestActivity.class); in active_onLifecycleStart()
|
/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/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/widget/ |
D | CarUiTextViewTest.java | 37 import com.android.car.ui.TestActivity; 65 public ActivityScenarioRule<TestActivity> mActivityRule = 66 new ActivityScenarioRule<>(TestActivity.class); 68 private TestActivity mActivity;
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/ |
D | WidgetsListHeaderViewHolderBinderTest.java | 42 import com.android.launcher3.testing.TestActivity; 74 private ActivityController<TestActivity> mActivityController; 75 private TestActivity mTestActivity; 94 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp()
|
D | WidgetsListSearchHeaderViewHolderBinderTest.java | 42 import com.android.launcher3.testing.TestActivity; 74 private ActivityController<TestActivity> mActivityController; 75 private TestActivity mTestActivity; 94 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp()
|
D | WidgetsListTableViewHolderBinderTest.java | 46 import com.android.launcher3.testing.TestActivity; 79 private ActivityController<TestActivity> mActivityController; 80 private TestActivity mTestActivity; 101 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp()
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/ |
D | IncomingCallFragmentTest.java | 37 import com.android.car.dialer.testing.TestActivity; 80 ActivityScenario<TestActivity> activityScenario = ActivityScenario.launch( in startFragment() 81 TestActivity.class); in startFragment()
|
D | RingingCallControllerBarFragmentTest.java | 41 import com.android.car.dialer.testing.TestActivity; 59 ActivityScenario<TestActivity> activityScenario = ActivityScenario.launch( in setUp() 60 TestActivity.class); in setUp()
|
D | OngoingCallFragmentTest.java | 39 import com.android.car.dialer.testing.TestActivity; 60 private ActivityScenario<TestActivity> mActivityScenario; 101 mActivityScenario = ActivityScenario.launch(TestActivity.class); in startFragment()
|
D | OnGoingCallControllerBarFragmentTest.java | 52 import com.android.car.dialer.testing.TestActivity; 202 ActivityScenario<TestActivity> activityScenario = ActivityScenario.launch( in addFragment() 203 TestActivity.class); in addFragment()
|
/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/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/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/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteFragmentTest.java | 40 import com.android.car.dialer.testing.TestActivity; 68 ActivityScenario<TestActivity> mActivityScenario; 81 mActivityScenario = ActivityScenario.launch(TestActivity.class); in startActivity()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/appstyledview/ |
D | AppStyledDialogControllerTest.java | 37 import com.android.car.ui.TestActivity; 59 public ActivityTestRule<TestActivity> mActivityRule = 60 new ActivityTestRule<>(TestActivity.class);
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/uxr/ |
D | DrawableStateViewTest.java | 30 import com.android.car.ui.TestActivity; 72 public final ActivityScenarioRule<TestActivity> mScenarioRule = 73 new ActivityScenarioRule<>(TestActivity.class);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DocumentsAccessTest.java | 39 private TestActivity mActivity; 47 mActivity = TestActivity.create(mEnv); in setUp()
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsFragmentTest.java | 58 import com.android.car.dialer.testing.TestActivity; 144 ActivityScenario<TestActivity> activityScenario = ActivityScenario.launch( in setUpFragment() 145 TestActivity.class); in setUpFragment()
|