Home
last modified time | relevance | path

Searched refs:authDesc (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsFragment.java119 for (AuthenticatorDescription authDesc : authTypes) { in updateAccounts()
120 Context targetContext = getTargetContext(getContext(), authDesc); in updateAccounts()
125 String authTitle = getAuthTitle(targetContext, authDesc); in updateAccounts()
128 Account[] accounts = am.getAccountsByType(authDesc.type); in updateAccounts()
133 Drawable authImage = getAuthImage(targetContext, authDesc); in updateAccounts()
210 for (AuthenticatorDescription authDesc : authTypes) { in setUpAddAccountPrefIntent()
211 final Context targetContext = getTargetContext(context, authDesc); in setUpAddAccountPrefIntent()
215 String authTitle = getAuthTitle(targetContext, authDesc); in setUpAddAccountPrefIntent()
216 if (authTitle != null || authDesc.iconId != 0) { in setUpAddAccountPrefIntent()
217 allowableAccountTypes.add(authDesc.type); in setUpAddAccountPrefIntent()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java115 final AuthenticatorDescription authDesc = new AuthenticatorDescription("com.acct1", in updateAuthDescriptions_oneProvider_shouldNotAddPreference() local
118 mAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()
140 final AuthenticatorDescription authDesc = new AuthenticatorDescription("com.acct1", in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference() local
143 mAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()
165 final AuthenticatorDescription authDesc = new AuthenticatorDescription("com.acct1", in updateAuthDescriptions_noProvider_shouldNotAddPreference() local
168 mAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_noProvider_shouldNotAddPreference()
188 final AuthenticatorDescription authDesc = new AuthenticatorDescription("com.acct1", in updateAuthDescriptions_twoProvider_shouldAddTwoPreference() local
194 mAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountTypePreferenceLoader.java250 AuthenticatorDescription authDesc = in isSafeIntent() local
260 ApplicationInfo authenticatorAppInf = pm.getApplicationInfo(authDesc.packageName, 0); in isSafeIntent()