Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DUserProfileControllerTest.java83 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in controllerAddsPrimaryProfilePreference() local
84 verify(mScreen).addPreference(argumentCaptor.capture()); in controllerAddsPrimaryProfilePreference()
85 Preference preference = argumentCaptor.getValue(); in controllerAddsPrimaryProfilePreference()
94 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in tappingProfilePreferenceSendsToStorageProfileFragment() local
95 verify(mScreen).addPreference(argumentCaptor.capture()); in tappingProfilePreferenceSendsToStorageProfileFragment()
96 Preference preference = argumentCaptor.getValue(); in tappingProfilePreferenceSendsToStorageProfileFragment()
121 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in acceptingResultUpdatesPreferenceSize() local
122 verify(mScreen).addPreference(argumentCaptor.capture()); in acceptingResultUpdatesPreferenceSize()
123 Preference preference = argumentCaptor.getValue(); in acceptingResultUpdatesPreferenceSize()
139 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in iconCallbackChangesPreferenceIcon() local
[all …]
DStorageItemPreferenceControllerTest.java120 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in testClickPhotos() local
121 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickPhotos()
124 Intent intent = argumentCaptor.getValue(); in testClickPhotos()
138 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in testClickAudio() local
139 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickAudio()
141 Intent intent = argumentCaptor.getValue(); in testClickAudio()
165 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in testClickApps() local
166 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickApps()
169 Intent intent = argumentCaptor.getValue(); in testClickApps()
184 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in testClickAppsForWork() local
[all …]
DSecondaryUserControllerTest.java91 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in controllerAddsSecondaryUser() local
92 verify(mGroup).addPreference(argumentCaptor.capture()); in controllerAddsSecondaryUser()
93 Preference preference = argumentCaptor.getValue(); in controllerAddsSecondaryUser()
102 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in controllerUpdatesSummaryOfNewPreference() local
104 verify(mGroup).addPreference(argumentCaptor.capture()); in controllerUpdatesSummaryOfNewPreference()
106 Preference preference = argumentCaptor.getValue(); in controllerUpdatesSummaryOfNewPreference()
176 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in controllerUpdatesPreferenceOnAcceptingResult() local
177 verify(mGroup).addPreference(argumentCaptor.capture()); in controllerUpdatesPreferenceOnAcceptingResult()
178 Preference preference = argumentCaptor.getValue(); in controllerUpdatesPreferenceOnAcceptingResult()
216 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in iconCallbackChangesPreferenceIcon() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DPhotosViewHolderControllerTest.java80 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in clickingShouldIntentIntoFilesApp() local
81 verify(mFragment).startActivity(argumentCaptor.capture()); in clickingShouldIntentIntoFilesApp()
82 Intent intent = argumentCaptor.getValue(); in clickingShouldIntentIntoFilesApp()
DMusicViewHolderControllerTest.java98 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in clickingShouldIntentIntoFilesApp() local
99 verify(mFragment).startActivity(argumentCaptor.capture()); in clickingShouldIntentIntoFilesApp()
100 Intent intent = argumentCaptor.getValue(); in clickingShouldIntentIntoFilesApp()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConferenceControllerTest.java159 ArgumentCaptor<TelephonyConference> argumentCaptor = ArgumentCaptor. in testMergeMultiPartyCalls() local
161 verify(mMockTelephonyConnectionServiceProxy).addConference(argumentCaptor.capture()); in testMergeMultiPartyCalls()
164 argumentCaptor.getValue().addListener(mMockListener); in testMergeMultiPartyCalls()