Lines Matching defs:accountType
243 final String accountType = cursor.getString(1);
245 if (mAuthenticatorCache.getServiceInfo(AuthenticatorDescription.newKey(accountType))
248 + accountType + " no longer has a registered authenticator");
270 final String accountType = cursor.getString(1);
273 + accountType + " no longer has a registered authenticator");
368 public Account[] getAccountsByType(String accountType) {
371 final String selection = accountType == null ? null : (ACCOUNTS_TYPE + "=?");
372 final String[] selectionArgs = accountType == null ? null : new String[]{accountType};
589 public void invalidateAuthToken(String accountType, String authToken) {
590 if (accountType == null) throw new IllegalArgumentException("accountType is null");
598 invalidateAuthToken(db, accountType, authToken);
608 private void invalidateAuthToken(SQLiteDatabase db, String accountType, String authToken) {
609 if (authToken == null || accountType == null) {
622 new String[]{authToken, accountType});
998 String getAccountLabel(String accountType) {
1001 AuthenticatorDescription.newKey(accountType));
1003 throw new IllegalArgumentException("unknown account type: " + accountType);
1011 throw new IllegalArgumentException("unknown account type: " + accountType);
1064 public void addAcount(final IAccountManagerResponse response, final String accountType,
1068 if (accountType == null) throw new IllegalArgumentException("accountType is null");
1072 new Session(response, accountType, expectActivityLaunch,
1081 + ", accountType " + accountType
1142 public void editProperties(IAccountManagerResponse response, final String accountType,
1145 if (accountType == null) throw new IllegalArgumentException("accountType is null");
1149 new Session(response, accountType, expectActivityLaunch,
1156 + ", accountType " + accountType;
1264 if (type == null) throw new IllegalArgumentException("accountType is null");
1334 public Session(IAccountManagerResponse response, String accountType,
1338 if (accountType == null) throw new IllegalArgumentException("accountType is null");
1341 mAccountType = accountType;
1459 String accountType = result.getString(AccountManager.KEY_ACCOUNT_TYPE);
1460 if (!TextUtils.isEmpty(accountName) && !TextUtils.isEmpty(accountType)) {
1461 Account account = new Account(accountName, accountType);
1842 private boolean hasAuthenticatorUid(String accountType, int callingUid) {
1845 if (serviceInfo.type.type.equals(accountType)) {