Searched refs:getLabelForType (Results 1 – 11 of 11) sorted by relevance
122 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()147 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()168 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_noProvider_shouldNotAddPreference()197 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()198 doReturn("label2").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
127 protected CharSequence getLabelForType(final String accountType) { in getLabelForType() method in AccountPreferenceBase128 return mAuthenticatorHelper.getLabelForType(getActivity(), accountType); in getLabelForType()
138 final CharSequence providerName = getLabelForType(accountType); in onAuthDescriptionsUpdated()264 CharSequence getLabelForType(final String accountType) { in getLabelForType() method in ChooseAccountPreferenceController
142 .setSummary(getLabelForType(mAccount.type)) in onActivityCreated()
508 final CharSequence label = helper.getLabelForType(mContext, accountType); in getAccountTypePreferences()
167 public CharSequence getLabelForType(String accountType) { in getLabelForType() method in AccountTypesHelper168 return mAuthenticatorHelper.getLabelForType(mContext, accountType); in getLabelForType()
150 CharSequence label = mAccountTypesHelper.getLabelForType(accountType); in getAuthenticatorDescriptionPreferences()
197 CharSequence label = mAuthenticatorHelper.getLabelForType(getContext(), accountType); in getAccountPreferences()
55 protected CharSequence getLabelForType(Context context, final String accountType) { in getLabelForType() method in ShadowAuthenticationHelper
199 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()
272 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()