Home
last modified time | relevance | path

Searched refs:captor (Results 1 – 25 of 73) sorted by relevance

123

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java116 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = makeNewCaptor(); in testUnmuteOfSecondIncomingCall() local
126 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testUnmuteOfSecondIncomingCall()
137 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()
139 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testUnmuteOfSecondIncomingCall()
140 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()
179 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = makeNewCaptor();
188 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture());
199 assertMessageArgEquality(correctArgs, captor.getValue());
201 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture());
202 assertMessageArgEquality(correctArgs, captor.getValue());
[all …]
DDisconnectedCallNotifierTest.java89 ArgumentCaptor<Notification> captor = ArgumentCaptor.forClass(Notification.class); in testNotificationShownAfterEmergencyCall() local
91 captor.capture(), any(UserHandle.class)); in testNotificationShownAfterEmergencyCall()
92 Notification notification = captor.getValue(); in testNotificationShownAfterEmergencyCall()
112 ArgumentCaptor<Notification> captor = ArgumentCaptor.forClass(Notification.class); in testNotificationShownForDisconnectedEmergencyCall() local
114 captor.capture(), any(UserHandle.class)); in testNotificationShownForDisconnectedEmergencyCall()
115 Notification notification = captor.getValue(); in testNotificationShownForDisconnectedEmergencyCall()
DConnectionServiceFocusManagerTest.java69 ArgumentCaptor<CallsManager.CallsManagerListener> captor = in setUp() local
71 verify(mockCallsManagerRequester).setCallsManagerListener(captor.capture()); in setUp()
72 mCallsManagerListener = captor.getValue(); in setUp()
356 ArgumentCaptor<ConnectionServiceFocusListener> captor = in getConnectionServiceFocusListener() local
358 verify(connSvrFocus).setConnectionServiceFocusListener(captor.capture()); in getConnectionServiceFocusListener()
359 return captor.getValue(); in getConnectionServiceFocusListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java327 ArgumentCaptor<RestrictedLockUtils.EnforcedAdmin> captor = ArgumentCaptor.forClass( in updateUserList_addUserDisallowedByAdmin_shouldShowDisabledAddUser() local
329 verify(mAddUserPreference).setDisabledByAdmin(captor.capture()); in updateUserList_addUserDisallowedByAdmin_shouldShowDisabledAddUser()
330 assertThat(captor.getValue()).isEqualTo(enforcedAdmin); in updateUserList_addUserDisallowedByAdmin_shouldShowDisabledAddUser()
399 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_shouldAddAdminUserPreference() local
400 verify(mFragment.mUserListCategory).addPreference(captor.capture()); in updateUserList_shouldAddAdminUserPreference()
401 UserPreference adminPref = captor.getValue(); in updateUserList_shouldAddAdminUserPreference()
411 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingGuest_shouldAddGuestUserPreference() local
413 .addPreference(captor.capture()); in updateUserList_existingGuest_shouldAddGuestUserPreference()
414 UserPreference guestPref = captor.getAllValues().get(1); in updateUserList_existingGuest_shouldAddGuestUserPreference()
430 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java182 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_onePlan_basic() local
183 verify(mSummaryPreference).setLimitInfo(captor.capture()); in testSummaryUpdate_onePlan_basic()
184 CharSequence value = captor.getValue(); in testSummaryUpdate_onePlan_basic()
207 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noPlan_basic() local
208 verify(mSummaryPreference).setLimitInfo(captor.capture()); in testSummaryUpdate_noPlan_basic()
209 CharSequence value = captor.getValue(); in testSummaryUpdate_noPlan_basic()
234 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noCarrier_basic() local
235 verify(mSummaryPreference).setLimitInfo(captor.capture()); in testSummaryUpdate_noCarrier_basic()
236 CharSequence value = captor.getValue(); in testSummaryUpdate_noCarrier_basic()
262 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noPlanData_basic() local
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherPreferenceControllerTest.java96 ArgumentCaptor<TetheringManager.TetheringEventCallback> captor = in onTetheringSupported_false_isUnsupportedOnDevice() local
99 any(Executor.class), captor.capture()); in onTetheringSupported_false_isUnsupportedOnDevice()
101 captor.getValue().onTetheringSupported(false); in onTetheringSupported_false_isUnsupportedOnDevice()
109 ArgumentCaptor<TetheringManager.TetheringEventCallback> captor = in onTetheringSupported_true_isAvailable() local
112 any(Executor.class), captor.capture()); in onTetheringSupported_true_isAvailable()
113 captor.getValue().onTetheringSupported(false); in onTetheringSupported_true_isAvailable()
115 captor.getValue().onTetheringSupported(true); in onTetheringSupported_true_isAvailable()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListViewHolderTest.java202 ArgumentCaptor<String> captor = ArgumentCaptor.forClass(String.class); in testClickCallActionButton_ContactHasOneNumber_placeCall() local
203 verify(mMockUiCallManager).placeCall(captor.capture()); in testClickCallActionButton_ContactHasOneNumber_placeCall()
204 assertThat(captor.getValue()).isEqualTo(PHONE_NUMBER_1); in testClickCallActionButton_ContactHasOneNumber_placeCall()
244 ArgumentCaptor<String> captor = ArgumentCaptor.forClass(String.class); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber() local
245 verify(mMockUiCallManager).placeCall(captor.capture()); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber()
246 assertThat(captor.getValue()).isEqualTo(PHONE_NUMBER_2); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber()
260 ArgumentCaptor<Contact> captor = ArgumentCaptor.forClass(Contact.class); in testClickShowContactDetailView_hasContactDetail_showContactDetail() local
261 verify(mMockListener).onShowContactDetail(captor.capture()); in testClickShowContactDetailView_hasContactDetail_showContactDetail()
262 assertThat(captor.getValue()).isEqualTo(mMockContact); in testClickShowContactDetailView_hasContactDetail_showContactDetail()
287 ArgumentCaptor<Contact> captor = ArgumentCaptor.forClass(Contact.class); in testClickShowContactDetailView_hasAddressButNoPhoneNumber_dependOnConfig() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DWifiConnectionPreferenceControllerTest.java115 final ArgumentCaptor<WifiEntryPreference> captor = ArgumentCaptor.forClass( in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved() local
117 verify(mPreferenceCategory).addPreference(captor.capture()); in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved()
118 final WifiEntryPreference pref = captor.getValue(); in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved()
137 final ArgumentCaptor<WifiEntryPreference> captor = ArgumentCaptor.forClass( in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced() local
146 verify(mPreferenceCategory, times(2)).addPreference(captor.capture()); in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced()
147 final WifiEntryPreference pref1 = captor.getAllValues().get(0); in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced()
148 final WifiEntryPreference pref2 = captor.getAllValues().get(1); in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced()
DMultiNetworkHeaderControllerTest.java136 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in onChildUpdated_subscriptionsBecameAvailable_categoryIsVisible() local
138 verify(mPreferenceCategory, atLeastOnce()).setVisible(captor.capture()); in onChildUpdated_subscriptionsBecameAvailable_categoryIsVisible()
139 List<Boolean> values = captor.getAllValues(); in onChildUpdated_subscriptionsBecameAvailable_categoryIsVisible()
156 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in onChildUpdated_subscriptionsBecameUnavailable_categoryIsNotVisible() local
158 verify(mPreferenceCategory, atLeastOnce()).setVisible(captor.capture()); in onChildUpdated_subscriptionsBecameUnavailable_categoryIsNotVisible()
159 List<Boolean> values = captor.getAllValues(); in onChildUpdated_subscriptionsBecameUnavailable_categoryIsNotVisible()
DMobileNetworkSummaryControllerTest.java336 final ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in addButton_oneSubscriptionAirplaneModeTurnedOn_addButtonGetsDisabled() local
337 verify(mPreference, atLeastOnce()).setAddWidgetEnabled(captor.capture()); in addButton_oneSubscriptionAirplaneModeTurnedOn_addButtonGetsDisabled()
338 assertThat(captor.getValue()).isFalse(); in addButton_oneSubscriptionAirplaneModeTurnedOn_addButtonGetsDisabled()
351 final ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in onResume_oneSubscriptionAirplaneMode_isDisabled() local
352 verify(mPreference, atLeastOnce()).setAddWidgetEnabled(captor.capture()); in onResume_oneSubscriptionAirplaneMode_isDisabled()
353 assertThat(captor.getValue()).isFalse(); in onResume_oneSubscriptionAirplaneMode_isDisabled()
398 final ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOff_isEnabled() local
400 verify(mPreference, atLeastOnce()).setAddWidgetEnabled(captor.capture()); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOff_isEnabled()
401 assertThat(captor.getValue()).isTrue(); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOff_isEnabled()
DSubscriptionsPreferenceControllerTest.java232 final ArgumentCaptor<Preference> captor = ArgumentCaptor.forClass(Preference.class); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged() local
233 verify(mPreferenceCategory, times(2)).addPreference(captor.capture()); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
234 assertThat(captor.getAllValues().size()).isEqualTo(2); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
235 assertThat(captor.getAllValues().get(0).getTitle()).isEqualTo("sub1"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
236 assertThat(captor.getAllValues().get(1).getTitle()).isEqualTo("sub2"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
246 verify(mPreferenceCategory).removePreference(captor.capture()); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
247 assertThat(captor.getValue().getTitle()).isEqualTo("sub2"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
248 verify(mPreferenceCategory, times(3)).addPreference(captor.capture()); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
249 assertThat(captor.getValue().getTitle()).isEqualTo("sub3"); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeBackendTest.java206 ArgumentCaptor<Policy> captor = ArgumentCaptor.forClass(Policy.class); in saveConversationSenders_importantToNone() local
207 verify(mNotificationManager, times(1)).setNotificationPolicy(captor.capture()); in saveConversationSenders_importantToNone()
215 assertEquals(expected, captor.getValue()); in saveConversationSenders_importantToNone()
230 ArgumentCaptor<Policy> captor = ArgumentCaptor.forClass(Policy.class); in saveConversationSenders_noneToAll() local
231 verify(mNotificationManager, times(1)).setNotificationPolicy(captor.capture()); in saveConversationSenders_noneToAll()
239 assertEquals(expected, captor.getValue()); in saveConversationSenders_noneToAll()
255 ArgumentCaptor<Policy> captor = ArgumentCaptor.forClass(Policy.class); in saveSenders_doesNotChangeConversations() local
256 verify(mNotificationManager, times(1)).setNotificationPolicy(captor.capture()); in saveSenders_doesNotChangeConversations()
264 assertEquals(expected, captor.getValue()); in saveSenders_doesNotChangeConversations()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/autofill/
DAutofillPickerFragmentTest.java85 ArgumentCaptor<Preference> captor = ArgumentCaptor.forClass(Preference.class); in selectedService() local
86 verify(mPreferenceScreen, times(1)).addPreference(captor.capture()); in selectedService()
87 RadioPreference pref = (RadioPreference) captor.getValue(); in selectedService()
100 ArgumentCaptor<Preference> captor = ArgumentCaptor.forClass(Preference.class); in selectedNone() local
101 verify(mPreferenceScreen, times(1)).addPreference(captor.capture()); in selectedNone()
102 RadioPreference pref = (RadioPreference) captor.getValue(); in selectedNone()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DCurrentDreamPreferenceControllerTest.java86 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearShowsIfActiveDreamInfoHasOptions() local
91 verify(mockPref).setOnGearClickListener(captor.capture()); in gearShowsIfActiveDreamInfoHasOptions()
92 captor.getAllValues().forEach(listener -> assertThat(listener).isNotNull()); in gearShowsIfActiveDreamInfoHasOptions()
103 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearHidesIfActiveDreamInfoHasNoOptions() local
108 verify(mockPref).setOnGearClickListener(captor.capture()); in gearHidesIfActiveDreamInfoHasNoOptions()
109 captor.getAllValues().forEach(listener -> assertThat(listener).isNull()); in gearHidesIfActiveDreamInfoHasNoOptions()
DStartNowPreferenceControllerTest.java72 ArgumentCaptor<OnClickListener> captor = in setsOnClickListenerForStartNow() local
76 verify(mButton).setOnClickListener(captor.capture()); in setsOnClickListenerForStartNow()
77 assertThat(captor.getValue()).isNotNull(); in setsOnClickListenerForStartNow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DCarrierPreferenceControllerTest.java133 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceClick_activityFound_openCarrierSettingActivity() local
134 verify(mContext).startActivity(captor.capture()); in handlePreferenceClick_activityFound_openCarrierSettingActivity()
135 final Intent intent = captor.getValue(); in handlePreferenceClick_activityFound_openCarrierSettingActivity()
153 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceClick_activityNotFound_DoNothing() local
154 verify(mContext, never()).startActivity(captor.capture()); in handlePreferenceClick_activityNotFound_DoNothing()
167 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceClick_activityNotConfigured_DoNothing() local
168 verify(mContext, never()).startActivity(captor.capture()); in handlePreferenceClick_activityNotConfigured_DoNothing()
DEuiccPreferenceControllerTest.java70 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in handlePreferenceTreeClick_startActivity() local
71 doNothing().when(mContext).startActivity(captor.capture()); in handlePreferenceTreeClick_startActivity()
75 assertThat(captor.getValue().getAction()).isEqualTo( in handlePreferenceTreeClick_startActivity()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java501 ArgumentCaptor<OnAlarmListener> captor = ArgumentCaptor.forClass(OnAlarmListener.class);
504 contains(tagMatch), captor.capture(), eq(mIpc.getHandler()));
505 return captor.getValue();
793 final ArgumentCaptor<LinkProperties> captor = ArgumentCaptor.forClass(LinkProperties.class);
794 verify(mCb, timeout(TEST_TIMEOUT_MS)).onProvisioningSuccess(captor.capture());
795 LinkProperties lp = captor.getValue();
1162 ArgumentCaptor<LinkProperties> captor = ArgumentCaptor.forClass(LinkProperties.class);
1163 verify(mCb, timeout(TEST_TIMEOUT_MS)).onProvisioningSuccess(captor.capture());
1164 assertEquals(SERVER_ADDR, captor.getValue().getDhcpServerAddress());
1425 ArgumentCaptor<LinkProperties> captor = ArgumentCaptor.forClass(LinkProperties.class);
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DChooseAccountPreferenceControllerTest.java132 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in onPreferenceClick_shouldStartActivity() local
134 verify(mHelper.getMockFragmentController()).startActivityForResult(captor.capture(), in onPreferenceClick_shouldStartActivity()
137 Intent intent = captor.getValue(); in onPreferenceClick_shouldStartActivity()
149 ArgumentCaptor<ActivityResultCallback> captor = ArgumentCaptor.forClass( in onAccountAdded_shouldGoBack() local
153 anyInt(), captor.capture()); in onAccountAdded_shouldGoBack()
155 ActivityResultCallback callback = captor.getValue(); in onAccountAdded_shouldGoBack()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java210 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOff_switchTurnsOff() local
211 when(mContext.registerReceiver(captor.capture(), any(IntentFilter.class))).thenReturn(null); in bluetoothTurnsOff_switchTurnsOff()
219 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOff_switchTurnsOff()
234 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOn_switchTurnsOn() local
235 when(mContext.registerReceiver(captor.capture(), any(IntentFilter.class))).thenReturn(null); in bluetoothTurnsOn_switchTurnsOn()
242 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOn_switchTurnsOn()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java199 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in setUp() local
202 mBundle = captor.getValue().getBundleExtra(EXTRA_SHOW_FRAGMENT_ARGUMENTS); in setUp()
205 doAnswer(callable).when(mActivity).startActivityAsUser(captor.capture(), in setUp()
207 doAnswer(callable).when(mActivity).startActivity(captor.capture()); in setUp()
342 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testStartBatteryDetailPage_noBatteryUsage_hasBasicData() local
346 verify(mActivity).startActivity(captor.capture()); in testStartBatteryDetailPage_noBatteryUsage_hasBasicData()
348 assertThat(captor.getValue().getBundleExtra(EXTRA_SHOW_FRAGMENT_ARGUMENTS) in testStartBatteryDetailPage_noBatteryUsage_hasBasicData()
352 assertThat(captor.getValue().getBundleExtra(EXTRA_SHOW_FRAGMENT_ARGUMENTS) in testStartBatteryDetailPage_noBatteryUsage_hasBasicData()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DRcsFeatureControllerTest.java163 ArgumentCaptor<IImsRegistrationCallback> captor = in testFeatureManagerConnectedHelper() local
165 verify(mFeatureManager).registerImsRegistrationCallback(captor.capture()); in testFeatureManagerConnectedHelper()
166 assertNotNull(captor.getValue()); in testFeatureManagerConnectedHelper()
168 captor.getValue().onDeregistered(REASON_DISCONNECTED); in testFeatureManagerConnectedHelper()
175 captor.getValue().onRegistering(ImsRegistrationImplBase.REGISTRATION_TECH_LTE); in testFeatureManagerConnectedHelper()
183 captor.getValue().onRegistered(ImsRegistrationImplBase.REGISTRATION_TECH_LTE); in testFeatureManagerConnectedHelper()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DConversationPromotePreferenceControllerTest.java120 ArgumentCaptor<NotificationChannel> captor = in testHandlePreferenceClick() local
123 verify(mBackend).updateChannel(eq(null), anyInt(), captor.capture()); in testHandlePreferenceClick()
124 assertFalse(captor.getValue().isDemoted()); in testHandlePreferenceClick()
125 assertFalse(captor.getValue().canBypassDnd()); in testHandlePreferenceClick()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java350 ArgumentCaptor<KeyEvent> captor = ArgumentCaptor.forClass(KeyEvent.class); in dispatchSingleEvent() local
353 verify(mInputListener).onKeyEvent(captor.capture(), eq(DISPLAY)); in dispatchSingleEvent()
355 return captor.getValue(); in dispatchSingleEvent()
370 ArgumentCaptor<KeyEvent> captor = ArgumentCaptor.forClass(KeyEvent.class); in dispatchSingleEventWithIndents() local
374 verify(mInputListener, times(indents)).onKeyEvent(captor.capture(), eq(DISPLAY)); in dispatchSingleEventWithIndents()
376 return captor.getValue(); in dispatchSingleEventWithIndents()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileNetworkListPreferenceControllerTest.java98 ArgumentCaptor<MobileNetworkFragment> captor = ArgumentCaptor.forClass( in onPreferenceClicked_launchesFragment() local
100 verify(mControllerHelper.getMockFragmentController()).launchFragment(captor.capture()); in onPreferenceClicked_launchesFragment()
102 assertThat(captor.getValue().getArguments().getInt(MobileNetworkFragment.ARG_NETWORK_SUB_ID, in onPreferenceClicked_launchesFragment()

123