Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionsPreferenceControllerTest.java473 final ArgumentCaptor<Boolean> cutOutCaptor = ArgumentCaptor.forClass(Boolean.class); in onMobileDataEnabledChange_mobileDataTurnedOff_bothSubsHaveCutOut() local
475 eq(NUM_SIGNAL_STRENGTH_BINS), cutOutCaptor.capture()); in onMobileDataEnabledChange_mobileDataTurnedOff_bothSubsHaveCutOut()
476 assertThat(cutOutCaptor.getAllValues().get(0)).isEqualTo(false); // sub1, first time in onMobileDataEnabledChange_mobileDataTurnedOff_bothSubsHaveCutOut()
477 assertThat(cutOutCaptor.getAllValues().get(1)).isEqualTo(true); in onMobileDataEnabledChange_mobileDataTurnedOff_bothSubsHaveCutOut()
478 assertThat(cutOutCaptor.getAllValues().get(2)).isEqualTo(true); // sub1, second time in onMobileDataEnabledChange_mobileDataTurnedOff_bothSubsHaveCutOut()
479 assertThat(cutOutCaptor.getAllValues().get(3)).isEqualTo(true); in onMobileDataEnabledChange_mobileDataTurnedOff_bothSubsHaveCutOut()