Searched refs:argumentCaptor (Results 1 – 6 of 6) sorted by relevance
83 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in controllerAddsPrimaryProfilePreference() local84 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() local95 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() local122 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 …]
120 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in testClickPhotos() local121 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() local139 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() local166 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 …]
91 final ArgumentCaptor<Preference> argumentCaptor = ArgumentCaptor.forClass(Preference.class); in controllerAddsSecondaryUser() local92 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() local104 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() local177 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 …]
80 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in clickingShouldIntentIntoFilesApp() local81 verify(mFragment).startActivity(argumentCaptor.capture()); in clickingShouldIntentIntoFilesApp()82 Intent intent = argumentCaptor.getValue(); in clickingShouldIntentIntoFilesApp()
98 final ArgumentCaptor<Intent> argumentCaptor = ArgumentCaptor.forClass(Intent.class); in clickingShouldIntentIntoFilesApp() local99 verify(mFragment).startActivity(argumentCaptor.capture()); in clickingShouldIntentIntoFilesApp()100 Intent intent = argumentCaptor.getValue(); in clickingShouldIntentIntoFilesApp()
159 ArgumentCaptor<TelephonyConference> argumentCaptor = ArgumentCaptor. in testMergeMultiPartyCalls() local161 verify(mMockTelephonyConnectionServiceProxy).addConference(argumentCaptor.capture()); in testMergeMultiPartyCalls()164 argumentCaptor.getValue().addListener(mMockListener); in testMergeMultiPartyCalls()