Searched defs:accountType (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/
H A DSyncAdapterType.java29 public final String accountType; field in class:SyncAdapterType
37 public SyncAdapterType(String authority, String accountType, boolean userVisible, argument
42 if (TextUtils.isEmpty(accountType)) {
43 throw new IllegalArgumentException("the accountType must not be empty: " + accountType);
46 this.accountType = accountType;
56 public SyncAdapterType(String authority, String accountType, boolean userVisible, argument
64 if (TextUtils.isEmpty(accountType)) {
65 throw new IllegalArgumentException("the accountType mus
77 SyncAdapterType(String authority, String accountType) argument
151 newKey(String authority, String accountType) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java48 * android:accountType="typeOfAuthenticator"
55 * Replace the icons and labels with your own resources. The <code>android:accountType</code>
118 public void addAccount(IAccountAuthenticatorResponse response, String accountType, argument
122 Log.v(TAG, "addAccount: accountType " + accountType
130 accountType, authTokenType, features, options);
139 handleException(response, "addAccount", accountType, e);
238 String accountType) throws RemoteException {
242 new AccountAuthenticatorResponse(response), accountType);
247 handleException(response, "editProperties", accountType,
237 editProperties(IAccountAuthenticatorResponse response, String accountType) argument
335 editProperties(AccountAuthenticatorResponse response, String accountType) argument
358 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
[all...]
H A DChooseAccountActivity.java97 private Drawable getDrawableForType(String accountType) { argument
99 if(mTypeToAuthDescription.containsKey(accountType)) {
101 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
107 Log.w(TAG, "No icon name for account type " + accountType);
112 Log.w(TAG, "No icon resource for account type " + accountType);
H A DChooseTypeAndAccountActivity.java281 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
282 if (accountType != null) {
283 runAddAccountForAuthenticator(accountType);
291 String accountType = null;
295 accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
298 if (accountName == null || accountType == null) {
307 accountType = account.type;
313 if (accountName != null || accountType != null) {
314 setResultAndFinish(accountName, accountType);
373 private void setResultAndFinish(final String accountName, final String accountType) { argument
[all...]
H A DAccountManager.java162 public static final String KEY_ACCOUNT_TYPE = "accountType";
435 * @param accountType the type of the authenticator. must not be null.
443 final String accountType, final String authTokenType,
445 if (accountType == null) throw new IllegalArgumentException("accountType is null");
449 mService.getAuthTokenLabel(mResponse, accountType, authTokenType);
628 * @param accountType The account type of the auth token to invalidate, must not be null
631 public void invalidateAuthToken(final String accountType, final String authToken) { argument
632 if (accountType == null) throw new IllegalArgumentException("accountType i
442 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument
1106 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1306 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1639 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
1831 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
[all...]
H A DAccountManagerService.java344 final String accountType = cursor.getString(1);
347 if (!knownAuth.contains(AuthenticatorDescription.newKey(accountType))) {
349 + accountType + " no longer has a registered authenticator");
352 final Account account = new Account(accountName, accountType);
356 ArrayList<String> accountNames = accountNamesByType.get(accountType);
359 accountNamesByType.put(accountType, accountNames);
366 final String accountType = cur.getKey();
371 accountsForType[i] = new Account(accountName, accountType);
374 accounts.accountCache.put(accountType, accountsForType);
751 public void invalidateAuthToken(String accountType, Strin argument
778 invalidateAuthTokenLocked(UserAccounts accounts, SQLiteDatabase db, String accountType, String authToken) argument
1018 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument
1254 addAcount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument
1375 editProperties(IAccountManagerResponse response, final String accountType, final boolean expectActivityLaunch) argument
1666 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult) argument
2237 hasAuthenticatorUid(String accountType, int callingUid) argument
2427 getAccountsFromCacheLocked(UserAccounts userAccounts, String accountType) argument
[all...]
/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java103 public String accountType; field in class:BaseEmailAddressAdapter.DirectoryPartition
131 private static final String DIRECTORY_ACCOUNT_TYPE = "accountType";
385 partition.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE);
407 mAccount.type.equals(partition.accountType)) {
/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java108 public String accountType; field in class:BaseRecipientAdapter.DirectorySearchParams
578 params.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE);
598 mAccount.type.equals(params.accountType)) {

Completed in 115 milliseconds