Searched refs:getLabelForType (Results 1 – 11 of 11) sorted by relevance
129 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()154 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()175 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_noProvider_shouldNotAddPreference()204 doReturn("label").when(mController).getLabelForType(anyString()); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()205 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()
139 final CharSequence providerName = getLabelForType(accountType); in onAuthDescriptionsUpdated()271 CharSequence getLabelForType(final String accountType) { in getLabelForType() method in ChooseAccountPreferenceController
145 .setSummary(getLabelForType(mAccount.type)) in onActivityCreated()
602 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()
149 CharSequence label = mAccountTypesHelper.getLabelForType(accountType); in getAuthenticatorDescriptionPreferences()
228 CharSequence label = mAuthenticatorHelper.getLabelForType(getContext(), accountType); in getAccountPreferences()
56 protected CharSequence getLabelForType(Context context, final String accountType) { in getLabelForType() method in ShadowAuthenticationHelper
195 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()
514 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()