HomeSort by relevance Sort by last modified time
    Searched refs:ActivityController (Results 1 - 14 of 14) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
ActivityController.java 28 public class ActivityController<T extends Activity> extends ComponentController<ActivityController<T>, T> {
30 public static <T extends Activity> ActivityController<T> of(T activity, Intent intent) {
31 return new ActivityController<>(activity, intent).attach();
34 public static <T extends Activity> ActivityController<T> of(T activity) {
35 return new ActivityController<>(activity, null).attach();
38 private ActivityController(T activity, Intent intent) {
42 private ActivityController<T> attach() {
68 public ActivityController<T> create(final Bundle bundle) {
73 @Override public ActivityController<T> create()
    [all...]
FragmentController.java 11 * Controller class for driving fragment lifecycles, similar to {@link ActivityController}.
15 private final ActivityController<? extends Activity> activityController;
66 this.activityController = ActivityController.of(ReflectionHelpers.callConstructor(activityClass), intent);
76 activityController.create(bundle).get().getFragmentManager().beginTransaction().add(contentViewId, fragment).commit();
99 activityController.destroy();
109 activityController.start();
119 activityController.resume();
129 activityController.pause()
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowICUTest.java 16 import org.robolectric.android.controller.ActivityController;
45 ActivityController<DatePickerActivity> activityController = Robolectric.buildActivity(DatePickerActivity.class);
46 activityController.setup();
ShadowWindowTest.java 21 import org.robolectric.android.controller.ActivityController;
84 ActivityController<TestActivity> testActivityActivityController = Robolectric.buildActivity(TestActivity.class);
ShadowActivityTest.java 61 import org.robolectric.android.controller.ActivityController;
93 ActivityController<Activity> controller = Robolectric.buildActivity(Activity.class);
107 ActivityController<Activity> controller = Robolectric.buildActivity(Activity.class);
125 ActivityController<DialogCreatingActivity> controller = Robolectric.buildActivity(DialogCreatingActivity.class);
136 ActivityController<DialogCreatingActivity> controller = Robolectric.buildActivity(DialogCreatingActivity.class);
146 ActivityController<DialogCreatingActivity> controller = Robolectric.buildActivity(DialogCreatingActivity.class);
847 final ActivityController<Activity> controller = buildActivity(Activity.class);
    [all...]
ShadowThemeTest.java 25 import org.robolectric.android.controller.ActivityController;
51 ActivityController<TestActivityWithAnotherTheme> activityController = buildActivity(TestActivityWithAnotherTheme.class);
52 TestActivity activity = activityController.get();
54 activityController.create();
ShadowTextViewTest.java 49 import org.robolectric.android.controller.ActivityController;
58 private ActivityController<Activity> activityController;
62 activityController = buildActivity(Activity.class);
63 Activity activity = activityController.create().get();
66 activityController.start().resume().visible();
138 Activity activity = activityController.get();
156 Activity activity = activityController.get();
ShadowViewTest.java 56 import org.robolectric.android.controller.ActivityController;
935 final ActivityController<Activity> activityController = Robolectric.buildActivity(Activity.class);
936 final Activity activity = activityController.get();
939 activityController.setup();
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
Robolectric.java 19 import org.robolectric.android.controller.ActivityController;
67 public static <T extends Activity> ActivityController<T> buildActivity(Class<T> activityClass) {
71 public static <T extends Activity> ActivityController<T> buildActivity(Class<T> activityClass, Intent intent) {
72 return ActivityController.of(ReflectionHelpers.callConstructor(activityClass), intent);
  /external/robolectric-shadows/shadows/androidx/fragment/src/main/java/org/robolectric/shadows/androidx/fragment/
FragmentController.java 8 import org.robolectric.android.controller.ActivityController;
17 private final ActivityController<? extends FragmentActivity> activityController;
43 this.activityController =
44 ActivityController.of(ReflectionHelpers.callConstructor(activityClass), intent);
214 activityController
249 activityController.start();
261 activityController.resume();
273 activityController.pause();
285 activityController.stop()
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
ActivityControllerTest.java 38 private final ActivityController<MyActivity> controller = Robolectric.buildActivity(MyActivity.class);
102 ActivityController<MyActivity> activityController = ActivityController.of(new MyActivity()).create();
103 assertThat(activityController.get().getIntent()).isNotNull();
243 ActivityController<ConfigAwareActivity> configController =
259 ActivityController<ConfigAwareActivity> configController =
271 ActivityController<ConfigAwareActivity> configController =
303 ActivityController<NonConfigStateActivity> configController =
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
LocalActivityInvoker.java 19 import org.robolectric.android.controller.ActivityController;
30 @Nullable private ActivityController<? extends Activity> controller;
  /external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
SupportFragmentController.java 9 import org.robolectric.android.controller.ActivityController;
16 private final ActivityController<? extends FragmentActivity> activityController;
26 this.activityController = Robolectric.buildActivity(activityClass, intent);
110 activityController
139 activityController.postCreate(bundle);
150 activityController.destroy();
160 activityController.start();
170 activityController.resume();
180 activityController.pause()
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
Monkey.java 118 * This is set by the ActivityController thread to request collection of ANR
124 * This is set by the ActivityController thread to request a
130 * This is set by the ActivityController thread to request a
136 * This is set by the ActivityController thread to request a
142 * Synchronization for the ActivityController callback to block
148 * This is set by the ActivityController thread to request a
168 * This is set by the ActivityController thread to request a "procrank"
265 private class ActivityController extends IActivityController.Stub {
462 * NOTE: You cannot perform a dumpsys call from the ActivityController
    [all...]

Completed in 1159 milliseconds