Home
last modified time | relevance | path

Searched refs:getNextStartedActivity (Results 1 – 10 of 10) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextWrapper.java29 public Intent getNextStartedActivity() { in getNextStartedActivity() method in ShadowContextWrapper
30 return getShadowInstrumentation().getNextStartedActivity(); in getNextStartedActivity()
DShadowCrossProfileApps.java215 public StartedActivity getNextStartedActivity() { in getNextStartedActivity() method in ShadowCrossProfileApps
DShadowInstrumentation.java402 Intent getNextStartedActivity() {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java81 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()
DShadowContextImplTest.java125 assertThat(shadowOf(context).getNextStartedActivity().getComponent().getClassName()) in startIntentSender_activityIntent()
232 Intent launchedActivityIntent = shadowOf(context).getNextStartedActivity(); in startActivityAsUser()
DShadowActivityTest.java191 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()
DShadowContextWrapperTest.java562 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()
DShadowCrossProfileAppsTest.java316 StartedActivity startedActivity = shadowOf(crossProfileApps).getNextStartedActivity(); in getNextStartedActivity_activityStarted_shouldReturnAndConsumeActivity()
326 assertThat(shadowOf(crossProfileApps).getNextStartedActivity()).isNull(); in getNextStartedActivity_activityNotStarted_shouldReturnNull()
DShadowApplicationTest.java516 assertThat(shadowOf(context).getNextStartedActivity()).isNull(); in startActivity_whenActivityCheckingEnabled_checksPackageManagerResolveInfo()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboMenuTest.java63 Intent startedIntent = ShadowApplication.getInstance().getNextStartedActivity(); in clickWithIntent()