Searched refs:peekNextStartedActivity (Results 1 – 5 of 5) sorted by relevance
157 StartedActivity startedActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startMainActivity_launcherActivityInManifest_shouldSucceed()173 StartedActivity startedActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startMainActivity_launcherActivityInManifest_withoutCrossProfilePermission_shouldSucceed()228 StartedActivity startedMainActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startActivity_launcherActivityInManifest_shouldSucceed()244 StartedActivity startedMainActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in startActivity_nonLauncherActivityInManifest_shouldSucceed()296 StartedActivity startedActivity = shadowOf(crossProfileApps).peekNextStartedActivity(); in peekNextStartedActivity_activityStarted_shouldReturnAndNotConsumeActivity()299 …assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isSameInstanceAs(startedActivity); in peekNextStartedActivity_activityStarted_shouldReturnAndNotConsumeActivity()306 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in peekNextStartedActivity_activityNotStarted_shouldReturnNull()319 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in getNextStartedActivity_activityStarted_shouldReturnAndConsumeActivity()339 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in clearNextStartedActivities_activityStarted_shouldClearReferencesToStartedActivities()348 assertThat(shadowOf(crossProfileApps).peekNextStartedActivity()).isNull(); in clearNextStartedActivities_activityNotStarted_shouldBeNoOp()
73 assertThat(shadowOf(activity).peekNextStartedActivity()).isNotNull(); in startActivity()74 assertThat(shadowOf(activity).peekNextStartedActivity().getAction()) in startActivity()
39 public Intent peekNextStartedActivity() { in peekNextStartedActivity() method in ShadowContextWrapper40 return getShadowInstrumentation().peekNextStartedActivity(); in peekNextStartedActivity()
200 public StartedActivity peekNextStartedActivity() { in peekNextStartedActivity() method in ShadowCrossProfileApps
410 Intent peekNextStartedActivity() {