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.java362 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
363 if (accountType != null) {
364 runAddAccountForAuthenticator(accountType);
372 String accountType = null;
376 accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
379 if (accountName == null || accountType == null) {
388 accountType = account.type;
394 if (accountName != null || accountType != null) {
395 setResultAndFinish(accountName, accountType);
454 private void setResultAndFinish(final String accountName, final String accountType) { argument
[all...]
H A DAccountManager.java161 public static final String KEY_ACCOUNT_TYPE = "accountType";
429 * @param accountType the type of the authenticator. must not be null.
437 final String accountType, final String authTokenType,
439 if (accountType == null) throw new IllegalArgumentException("accountType is null");
443 mService.getAuthTokenLabel(mResponse, accountType, authTokenType);
622 * @param accountType The account type of the auth token to invalidate, must not be null
625 public void invalidateAuthToken(final String accountType, final String authToken) { argument
626 if (accountType == null) throw new IllegalArgumentException("accountType i
436 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument
1100 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1284 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1617 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
1809 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.java306 final String accountType = cursor.getString(1);
309 AuthenticatorDescription.newKey(accountType)) == null) {
311 + accountType + " no longer has a registered authenticator");
314 final Account account = new Account(accountName, accountType);
318 ArrayList<String> accountNames = accountNamesByType.get(accountType);
321 accountNamesByType.put(accountType, accountNames);
328 final String accountType = cur.getKey();
333 accountsForType[i] = new Account(accountName, accountType);
336 accounts.accountCache.put(accountType, accountsForType);
726 public void invalidateAuthToken(String accountType, Strin argument
753 invalidateAuthTokenLocked(UserAccounts accounts, SQLiteDatabase db, String accountType, String authToken) argument
992 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument
1177 getAccountLabel(String accountType) argument
1247 addAcount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument
1359 editProperties(IAccountManagerResponse response, final String accountType, final boolean expectActivityLaunch) argument
1617 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult) argument
2175 hasAuthenticatorUid(String accountType, int callingUid) argument
2362 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
558 params.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE);
578 mAccount.type.equals(params.accountType)) {

Completed in 150 milliseconds