Home
last modified time | relevance | path

Searched refs:optionsCaptor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DDetailDialogTest.kt86 val optionsCaptor = argumentCaptor<ActivityOptions>() in testActivityOptionsAllowBal() constant
89 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()
DPanelTaskViewControllerTest.kt113 val optionsCaptor = argumentCaptor<ActivityOptions>() in testTaskViewOnInitializeStartsActivity() constant
119 capture(optionsCaptor), in testTaskViewOnInitializeStartsActivity()
125 assertThat(optionsCaptor.value.taskAlwaysOnTop).isTrue() in testTaskViewOnInitializeStartsActivity()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java798 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());
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowOrganizerTests.java1721 final ArgumentCaptor<SafeActivityOptions> optionsCaptor = in testStartTasksInTransaction() local
1724 anyInt(), anyInt(), eq(2), optionsCaptor.capture()); in testStartTasksInTransaction()
1725 assertTrue(optionsCaptor.getValue().getOriginalOptions().getTransientLaunch()); in testStartTasksInTransaction()