Home
last modified time | relevance | path

Searched refs:shadowActivity (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/
DRoboMonitoringInstrumentation.java76 ShadowActivity shadowActivity = extract(target); in execStartActivity() local
77 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()
95 ShadowActivity shadowActivity = extract(target); in execStartActivity() local
96 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()
115 ShadowActivity shadowActivity = extract(target); in execStartActivity() local
116 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()
136 ShadowActivity shadowActivity = extract(target); in execStartActivity() local
137 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java246 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportStartActivityForResult() local
248 assertThat(shadowActivity.getNextStartedActivity()).isNull(); in shouldSupportStartActivityForResult()
252 Intent startedIntent = shadowActivity.getNextStartedActivity(); in shouldSupportStartActivityForResult()
260 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportGetStartedActivitiesForResult() local
265 … ShadowActivity.IntentForResult intentForResult = shadowActivity.getNextStartedActivityForResult(); in shouldSupportGetStartedActivitiesForResult()
267 assertThat(shadowActivity.getNextStartedActivityForResult()).isNull(); in shouldSupportGetStartedActivitiesForResult()
276 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportPeekStartedActivitiesForResult() local
281 …ShadowActivity.IntentForResult intentForResult = shadowActivity.peekNextStartedActivityForResult(); in shouldSupportPeekStartedActivitiesForResult()
283 assertThat(shadowActivity.peekNextStartedActivityForResult()).isSameInstanceAs(intentForResult); in shouldSupportPeekStartedActivitiesForResult()
905 ShadowActivity shadowActivity = shadowOf(activity); in getCallingActivity_returnsSetValue() local
[all …]
DShadowPendingIntentTest.java180 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldNotReusePreviouslyFilledInIntentData() local
181 shadowActivity.clearNextStartedActivities(); in send_shouldNotReusePreviouslyFilledInIntentData()
186 Intent i = shadowActivity.getNextStartedActivity(); in send_shouldNotReusePreviouslyFilledInIntentData()
204 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldFillInLastIntentData() local
205 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()
210 Intent first = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()
228 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldNotUsePreviouslyFilledInLastIntentData() local
229 shadowActivity.clearNextStartedActivities(); in send_shouldNotUsePreviouslyFilledInLastIntentData()
235 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldNotUsePreviouslyFilledInLastIntentData()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java60 ShadowActivity shadowActivity = Shadow.extract(controller.get()); in getActivityResult() local
61 return new ActivityResult(shadowActivity.getResultCode(), shadowActivity.getResultIntent()); in getActivityResult()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java54 ShadowActivity shadowActivity = Shadow.extract(component); in attach() local
55 shadowActivity.callAttach(getIntent()); in attach()
347 ShadowActivity shadowActivity = Shadow.extract(recreatedActivity); in configurationChange()
348 shadowActivity.setLastNonConfigurationInstance(activityConfigInstance); in configurationChange()