Searched refs:shadowActivity (Results 1 – 5 of 5) sorted by relevance
76 ShadowActivity shadowActivity = extract(target); in execStartActivity() local77 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()95 ShadowActivity shadowActivity = extract(target); in execStartActivity() local96 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()115 ShadowActivity shadowActivity = extract(target); in execStartActivity() local116 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()136 ShadowActivity shadowActivity = extract(target); in execStartActivity() local137 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity()
246 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportStartActivityForResult() local248 assertThat(shadowActivity.getNextStartedActivity()).isNull(); in shouldSupportStartActivityForResult()252 Intent startedIntent = shadowActivity.getNextStartedActivity(); in shouldSupportStartActivityForResult()260 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportGetStartedActivitiesForResult() local265 … ShadowActivity.IntentForResult intentForResult = shadowActivity.getNextStartedActivityForResult(); in shouldSupportGetStartedActivitiesForResult()267 assertThat(shadowActivity.getNextStartedActivityForResult()).isNull(); in shouldSupportGetStartedActivitiesForResult()276 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportPeekStartedActivitiesForResult() local281 …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 …]
180 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldNotReusePreviouslyFilledInIntentData() local181 shadowActivity.clearNextStartedActivities(); in send_shouldNotReusePreviouslyFilledInIntentData()186 Intent i = shadowActivity.getNextStartedActivity(); in send_shouldNotReusePreviouslyFilledInIntentData()204 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldFillInLastIntentData() local205 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()210 Intent first = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()228 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldNotUsePreviouslyFilledInLastIntentData() local229 shadowActivity.clearNextStartedActivities(); in send_shouldNotUsePreviouslyFilledInLastIntentData()235 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldNotUsePreviouslyFilledInLastIntentData()
60 ShadowActivity shadowActivity = Shadow.extract(controller.get()); in getActivityResult() local61 return new ActivityResult(shadowActivity.getResultCode(), shadowActivity.getResultIntent()); in getActivityResult()
54 ShadowActivity shadowActivity = Shadow.extract(component); in attach() local55 shadowActivity.callAttach(getIntent()); in attach()347 ShadowActivity shadowActivity = Shadow.extract(recreatedActivity); in configurationChange()348 shadowActivity.setLastNonConfigurationInstance(activityConfigInstance); in configurationChange()