Home
last modified time | relevance | path

Searched refs:getLabelForType (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java129 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()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceBase.java127 protected CharSequence getLabelForType(final String accountType) { in getLabelForType() method in AccountPreferenceBase
128 return mAuthenticatorHelper.getLabelForType(getActivity(), accountType); in getLabelForType()
DChooseAccountPreferenceController.java139 final CharSequence providerName = getLabelForType(accountType); in onAuthDescriptionsUpdated()
271 CharSequence getLabelForType(final String accountType) { in getLabelForType() method in ChooseAccountPreferenceController
DAccountSyncSettings.java145 .setSummary(getLabelForType(mAccount.type)) in onActivityCreated()
DAccountPreferenceController.java602 final CharSequence label = helper.getLabelForType(mContext, accountType); in getAccountTypePreferences()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountTypesHelper.java167 public CharSequence getLabelForType(String accountType) { in getLabelForType() method in AccountTypesHelper
168 return mAuthenticatorHelper.getLabelForType(mContext, accountType); in getLabelForType()
DChooseAccountPreferenceController.java149 CharSequence label = mAccountTypesHelper.getLabelForType(accountType); in getAuthenticatorDescriptionPreferences()
DAccountListPreferenceController.java228 CharSequence label = mAuthenticatorHelper.getLabelForType(getContext(), accountType); in getAccountPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAuthenticationHelper.java56 protected CharSequence getLabelForType(Context context, final String accountType) { in getLabelForType() method in ShadowAuthenticationHelper
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DChooseAccountPreferenceControllerTest.java195 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()
DAccountListPreferenceControllerTest.java514 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()