Searched defs:accountType (Results 1 - 8 of 8) sorted by last modified time

/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java108 public String accountType; field in class:BaseRecipientAdapter.DirectorySearchParams
549 params.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE);
569 mAccount.type.equals(params.accountType)) {
/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/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 DAccountManager.java161 public static final String KEY_ACCOUNT_TYPE = "accountType";
573 * @param accountType The account type of the auth token to invalidate, must not be null
576 public void invalidateAuthToken(final String accountType, final String authToken) { argument
577 if (accountType == null) throw new IllegalArgumentException("accountType is null");
580 mService.invalidateAuthToken(accountType, authToken);
1015 * @param accountType The type of account to add; must not be null
1051 public AccountManagerFuture<Bundle> addAccount(final String accountType, argument
1055 if (accountType == null) throw new IllegalArgumentException("accountType i
1235 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1568 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
1760 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.java258 final String accountType = cursor.getString(1);
261 AuthenticatorDescription.newKey(accountType)) == null) {
263 + accountType + " no longer has a registered authenticator");
266 final Account account = new Account(accountName, accountType);
270 ArrayList<String> accountNames = accountNamesByType.get(accountType);
273 accountNamesByType.put(accountType, accountNames);
280 final String accountType = cur.getKey();
285 accountsForType[i] = new Account(accountName, accountType);
288 mAccountCache.put(accountType, accountsForType);
612 public void invalidateAuthToken(String accountType, Strin argument
638 invalidateAuthTokenLocked(SQLiteDatabase db, String accountType, String authToken) argument
1048 getAccountLabel(String accountType) argument
1117 addAcount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument
1226 editProperties(IAccountManagerResponse response, final String accountType, final boolean expectActivityLaunch) argument
1438 Session(IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult) argument
1974 hasAuthenticatorUid(String accountType, int callingUid) argument
2142 getAccountsFromCacheLocked(String accountType) 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.java274 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
275 if (accountType != null) {
276 runAddAccountForAuthenticator(accountType);
284 String accountType = null;
288 accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
291 if (accountName == null || accountType == null) {
300 accountType = account.type;
306 if (accountName != null || accountType != null) {
307 setResultAndFinish(accountName, accountType);
362 String accountType) {
360 getDrawableForType( final HashMap<String, AuthenticatorDescription> typeToAuthDescription, String accountType) argument
390 setResultAndFinish(final String accountName, final String accountType) argument
[all...]
/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...]

Completed in 59 milliseconds