Searched refs:optionsCaptor (Results 1 – 4 of 4) sorted by relevance
86 val optionsCaptor = argumentCaptor<ActivityOptions>() in testActivityOptionsAllowBal() constant89 verify(taskView).startActivity(any(), any(), capture(optionsCaptor), any()) in testActivityOptionsAllowBal()91 assertThat(optionsCaptor.value.pendingIntentBackgroundActivityStartMode) in testActivityOptionsAllowBal()93 assertThat(optionsCaptor.value.isPendingIntentBackgroundActivityLaunchAllowedByPermission) in testActivityOptionsAllowBal()95 assertThat(optionsCaptor.value.taskAlwaysOnTop).isTrue() in testActivityOptionsAllowBal()
113 val optionsCaptor = argumentCaptor<ActivityOptions>() in testTaskViewOnInitializeStartsActivity() constant119 capture(optionsCaptor), in testTaskViewOnInitializeStartsActivity()125 assertThat(optionsCaptor.value.taskAlwaysOnTop).isTrue() in testTaskViewOnInitializeStartsActivity()
798 final ArgumentCaptor<Bundle> optionsCaptor = ArgumentCaptor.forClass(Bundle.class);801 optionsCaptor.capture());802 final BroadcastOptions options = new BroadcastOptions(optionsCaptor.getValue());1263 final ArgumentCaptor<Bundle> optionsCaptor = ArgumentCaptor.forClass(Bundle.class);1265 isNull(), optionsCaptor.capture());1266 verifyTimeTickBroadcastOptions(optionsCaptor.getValue());1276 final ArgumentCaptor<Bundle> optionsCaptor = ArgumentCaptor.forClass(Bundle.class);1278 isNull(), optionsCaptor.capture());1279 verifyTimeTickBroadcastOptions(optionsCaptor.getValue());
1721 final ArgumentCaptor<SafeActivityOptions> optionsCaptor = in testStartTasksInTransaction() local1724 anyInt(), anyInt(), eq(2), optionsCaptor.capture()); in testStartTasksInTransaction()1725 assertTrue(optionsCaptor.getValue().getOriginalOptions().getTransientLaunch()); in testStartTasksInTransaction()