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.java122 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()
/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.java138 final CharSequence providerName = getLabelForType(accountType); in onAuthDescriptionsUpdated()
264 CharSequence getLabelForType(final String accountType) { in getLabelForType() method in ChooseAccountPreferenceController
DAccountSyncSettings.java142 .setSummary(getLabelForType(mAccount.type)) in onActivityCreated()
DAccountPreferenceController.java508 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.java150 CharSequence label = mAccountTypesHelper.getLabelForType(accountType); in getAuthenticatorDescriptionPreferences()
DAccountListPreferenceController.java197 CharSequence label = mAuthenticatorHelper.getLabelForType(getContext(), accountType); in getAccountPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAuthenticationHelper.java55 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.java199 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()
DAccountListPreferenceControllerTest.java272 when(mMockAuthenticatorHelper.getLabelForType(any(), any())).then(invocation -> { in initMocks()