Lines Matching defs:accountType

62         ProviderEntry(CharSequence providerName, String accountType) {
64 type = accountType;
90 for (String accountType : accountTypesFilter) {
91 mAccountTypesFilter.add(accountType);
113 String accountType = mAuthDescs[i].type;
114 CharSequence providerName = getLabelForType(accountType);
118 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType);
130 && !mAccountTypesFilter.contains(accountType)) {
134 mProviderList.add(new ProviderEntry(providerName, accountType));
174 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType);
177 mAccountTypeToAuthorities.put(sa.accountType, authorities);
180 Log.d(TAG, "added authority " + sa.authority + " to accountType "
181 + sa.accountType);
191 * @param accountType the type of account
194 protected Drawable getDrawableForType(final String accountType) {
196 if (mTypeToAuthDescription.containsKey(accountType)) {
198 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
203 Log.w(TAG, "No icon name for account type " + accountType);
206 Log.w(TAG, "No icon resource for account type " + accountType);
214 * @param accountType the type of account
217 protected CharSequence getLabelForType(final String accountType) {
219 if (mTypeToAuthDescription.containsKey(accountType)) {
221 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
225 Log.w(TAG, "No label name for account type " + accountType);
227 Log.w(TAG, "No label resource for account type " + accountType);
245 private void finishWithAccountType(String accountType) {
247 intent.putExtra(AddAccountSettings.EXTRA_SELECTED_ACCOUNT, accountType);