Searched refs:getNextStartedActivity (Results 1 – 10 of 10) sorted by relevance
29 public Intent getNextStartedActivity() { in getNextStartedActivity() method in ShadowContextWrapper30 return getShadowInstrumentation().getNextStartedActivity(); in getNextStartedActivity()
215 public StartedActivity getNextStartedActivity() { in getNextStartedActivity() method in ShadowCrossProfileApps
402 Intent getNextStartedActivity() {
81 assertThat(application.getNextStartedActivity()).isEqualTo(intents[1]); in getActivities_shouldCreateIntentForBroadcast()82 assertThat(application.getNextStartedActivity()).isEqualTo(intents[0]); in getActivities_shouldCreateIntentForBroadcast()97 assertThat(application.getNextStartedActivity()).isEqualTo(intents[1]); in getActivities_withBundle_shouldCreateIntentForBroadcast()98 assertThat(application.getNextStartedActivity()).isEqualTo(intents[0]); in getActivities_withBundle_shouldCreateIntentForBroadcast()164 Intent i = shadowOf(otherContext).getNextStartedActivity(); in send_shouldFillInIntentData()186 Intent i = shadowActivity.getNextStartedActivity(); in send_shouldNotReusePreviouslyFilledInIntentData()205 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()210 Intent first = shadowActivity.getNextStartedActivity(); in send_shouldFillInLastIntentData()235 Intent second = shadowActivity.getNextStartedActivity(); in send_shouldNotUsePreviouslyFilledInLastIntentData()252 Intent i = shadowOf(otherContext).getNextStartedActivity(); in send_shouldNotFillIn_whenPendingIntentIsImmutable()
125 assertThat(shadowOf(context).getNextStartedActivity().getComponent().getClassName()) in startIntentSender_activityIntent()232 Intent launchedActivityIntent = shadowOf(context).getNextStartedActivity(); in startActivityAsUser()
191 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(pick); in startActivities_shouldStartAllActivities()192 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(view); in startActivities_shouldStartAllActivities()203 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(pick); in startActivities_withBundle_shouldStartAllActivities()204 assertThat(shadowOf(activity).getNextStartedActivity()).isEqualTo(view); in startActivities_withBundle_shouldStartAllActivities()248 assertThat(shadowActivity.getNextStartedActivity()).isNull(); in shouldSupportStartActivityForResult()252 Intent startedIntent = shadowActivity.getNextStartedActivity(); in shouldSupportStartActivityForResult()
562 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(pick); in startActivities_shouldStartAllActivities()563 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(view); in startActivities_shouldStartAllActivities()572 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(pick); in startActivities_withBundle_shouldStartAllActivities()573 assertThat(ShadowApplication.getInstance().getNextStartedActivity()).isEqualTo(view); in startActivities_withBundle_shouldStartAllActivities()
316 StartedActivity startedActivity = shadowOf(crossProfileApps).getNextStartedActivity(); in getNextStartedActivity_activityStarted_shouldReturnAndConsumeActivity()326 assertThat(shadowOf(crossProfileApps).getNextStartedActivity()).isNull(); in getNextStartedActivity_activityNotStarted_shouldReturnNull()
516 assertThat(shadowOf(context).getNextStartedActivity()).isNull(); in startActivity_whenActivityCheckingEnabled_checksPackageManagerResolveInfo()
63 Intent startedIntent = ShadowApplication.getInstance().getNextStartedActivity(); in clickWithIntent()