Home
last modified time | relevance | path

Searched refs:authDescs (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
H A DAccountPreferenceControllerTest.java352 AuthenticatorDescription[] authDescs = { in onResume_twoAccountsOfSameType_shouldAddThreePreferences() local
356 when(mAccountManager.getAuthenticatorTypesAsUser(anyInt())).thenReturn(authDescs); in onResume_twoAccountsOfSameType_shouldAddThreePreferences()
389 final AuthenticatorDescription[] authDescs = { in onResume_twoAccountsOfSameName_shouldAddFivePreferences() local
401 when(mAccountManager.getAuthenticatorTypesAsUser(anyInt())).thenReturn(authDescs); in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
430 AuthenticatorDescription[] authDescs = { in onResume_noAccountChange_shouldNotAddAccountPreference() local
434 when(mAccountManager.getAuthenticatorTypesAsUser(anyInt())).thenReturn(authDescs); in onResume_noAccountChange_shouldNotAddAccountPreference()
465 AuthenticatorDescription[] authDescs = { in onResume_oneNewAccount_shouldAddOneAccountPreference() local
469 when(mAccountManager.getAuthenticatorTypesAsUser(anyInt())).thenReturn(authDescs); in onResume_oneNewAccount_shouldAddOneAccountPreference()
517 AuthenticatorDescription[] authDescs = { in onResume_oneNewAccountType_shouldAddOneAccountPreference() local
546 AuthenticatorDescription[] authDescs = { in onResume_oneAccountRemoved_shouldRemoveOneAccountPreference() local
[all …]
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
H A DAuthenticatorHelper.java178 AuthenticatorDescription[] authDescs = AccountManager.get(context) in updateAuthDescriptions() local
180 for (int i = 0; i < authDescs.length; i++) { in updateAuthDescriptions()
181 mTypeToAuthDescription.put(authDescs[i].type, authDescs[i]); in updateAuthDescriptions()