Lines Matching refs:accountType

194     public static final String KEY_ACCOUNT_TYPE = "accountType";
718 * @param accountType the type of the authenticator. must not be null.
726 final String accountType, final String authTokenType,
728 if (accountType == null) throw new IllegalArgumentException("accountType is null");
733 mService.getAuthTokenLabel(mResponse, accountType, authTokenType);
952 * accountType. It is a helper method which combines calls to {@link #getAccountsByType} by
958 * @param accountType {@link Account} type
964 String accountType) {
968 .getAccountsAndVisibilityForPackage(packageName, accountType);
1315 * @param accountType The account type of the auth token to invalidate, must not be null
1318 public void invalidateAuthToken(final String accountType, final String authToken) {
1319 if (accountType == null) throw new IllegalArgumentException("accountType is null");
1322 mService.invalidateAuthToken(accountType, authToken);
1776 * @param accountType The type of account to add; must not be null
1813 public AccountManagerFuture<Bundle> addAccount(final String accountType,
1817 if (accountType == null) throw new IllegalArgumentException("accountType is null");
1827 mService.addAccount(mResponse, accountType, authTokenType,
1837 public AccountManagerFuture<Bundle> addAccountAsUser(final String accountType,
1841 if (accountType == null) throw new IllegalArgumentException("accountType is null");
1852 mService.addAccountAsUser(mResponse, accountType, authTokenType,
2111 * @param accountType The account type associated with the authenticator
2137 public AccountManagerFuture<Bundle> editProperties(final String accountType,
2140 if (accountType == null) throw new IllegalArgumentException("accountType is null");
2144 mService.editProperties(mResponse, accountType, activity != null);
2526 private void getAccountByTypeAndFeatures(String accountType, String[] features,
2531 mService.getAccountByTypeAndFeatures(mResponse, accountType, features,
2540 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType,
2545 if (accountType == null) throw new IllegalArgumentException("account type is null");
2546 mAccountType = accountType;
2569 String accountType = null;
2573 accountType = result.getString(AccountManager.KEY_ACCOUNT_TYPE);
2607 Account account = new Account(accountName, accountType);
2626 final String accountType = result.getString(KEY_ACCOUNT_TYPE);
2627 if (TextUtils.isEmpty(accountName) || TextUtils.isEmpty(accountType)) {
2632 final Account account = new Account(accountName, accountType, accessId);
2669 * @param accountType The account type required (see {@link #getAccountsByType}), must not be
2703 final String accountType, final String authTokenType, final String[] features,
2707 if (accountType == null) throw new IllegalArgumentException("account type is null");
2710 new GetAuthTokenByTypeAndFeaturesTask(accountType, authTokenType, features,
2997 * @param accountType The type of account to add; must not be null
3044 final String accountType,
3051 if (accountType == null) throw new IllegalArgumentException("accountType is null");
3063 accountType,