Searched defs:accounts (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/accounts/
H A DOnAccountsUpdateListener.java17 package android.accounts;
26 * @param accounts the current accounts
28 void onAccountsUpdated(Account[] accounts); argument
H A DAccountManagerCallback.java16 package android.accounts;
H A DAccountsException.java17 package android.accounts;
H A DAuthenticatorException.java17 package android.accounts;
H A DNetworkErrorException.java16 package android.accounts;
H A DOperationCanceledException.java16 package android.accounts;
H A DAccountAndUser.java17 package android.accounts;
H A DAccountAuthenticatorActivity.java17 package android.accounts;
H A DAccountManagerFuture.java16 package android.accounts;
89 * @throws android.accounts.OperationCanceledException if the request was canceled for any
91 * @throws android.accounts.AuthenticatorException if there was an error communicating with
108 * @throws android.accounts.OperationCanceledException if the request was canceled for any
110 * @throws android.accounts.AuthenticatorException if there was an error communicating with
H A DAccount.java17 package android.accounts;
H A DAccountAuthenticatorCache.java17 package android.accounts;
H A DAccountManagerResponse.java17 package android.accounts;
H A DIAccountAuthenticatorCache.java17 package android.accounts;
35 * matched the specified {@link android.accounts.AuthenticatorDescription} or null
H A DAccountAuthenticatorResponse.java17 package android.accounts;
H A DAuthenticatorDescription.java17 package android.accounts;
H A DChooseAccountTypeActivity.java16 package android.accounts;
H A DGrantCredentialsPermissionActivity.java16 package android.accounts;
H A DAbstractAccountAuthenticator.java17 package android.accounts;
40 * <action android:name="android.accounts.AccountAuthenticator" />
42 * <meta-data android:name="android.accounts.AccountAuthenticator"
58 * corresponds to {@link Account#type} for your accounts. One user of the android:icon is the
H A DChooseAccountActivity.java16 package android.accounts;
H A DChooseTypeAndAccountActivity.java16 package android.accounts;
49 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those
55 * A Parcelable ArrayList of String objects that limits the accounts to choose to those
179 // If there are no relevant accounts and only one relevant account type go directly to
404 * @return a value between 0 (inclusive) and accounts.size() (inclusive) or SELECTED_ITEM_NONE.
405 * An index value of accounts.size() indicates 'Add account' option.
407 private int getItemIndexToSelect(ArrayList<Account> accounts, String selectedAccountName, argument
412 return accounts.size();
415 for (int i = 0; i < accounts.size(); i++) {
416 if (accounts
424 getListOfDisplayableOptions(ArrayList<Account> accounts) argument
[all...]
H A DAccountManager.java17 package android.accounts;
51 * online accounts. The user enters credentials (username and password) once
55 * <p>Different online services have different ways of handling accounts and
77 * <li>List the available accounts using {@link #getAccountsByType} or
79 * be interested in accounts with one particular <em>type</em>, which
85 * <li>Select one or more of the available accounts, possibly by asking the
86 * user for their preference. If no suitable accounts are available,
92 * of accounts returned by {@link #getAccountsByType}. Requesting an auth token
184 public static final String KEY_ACCOUNTS = "accounts";
221 "android.accounts
1340 postToHandler(Handler handler, final OnAccountsUpdateListener listener, final Account[] accounts) argument
[all...]
H A DAccountManagerService.java17 package android.accounts;
82 * accounts on the device. Some of these calls are implemented with the help of the corresponding
94 private static final String DATABASE_NAME = "accounts.db";
110 private static final String TABLE_ACCOUNTS = "accounts";
151 AUTHTOKENS_ACCOUNTS_ID + "=(select _id FROM accounts WHERE name=? AND type=?)";
156 EXTRAS_ACCOUNTS_ID + "=(select _id FROM accounts WHERE name=? AND type=?)";
261 UserAccounts accounts = mUsers.get(userId);
262 if (accounts == null) {
263 accounts = new UserAccounts(mContext, userId);
264 mUsers.append(userId, accounts);
280 purgeOldGrants(UserAccounts accounts) argument
320 validateAccountsInternal( UserAccounts accounts, boolean invalidateAuthenticatorCache) argument
446 readPasswordInternal(UserAccounts accounts, Account account) argument
530 addAccountInternal(UserAccounts accounts, Account account, String password, Bundle extras) argument
612 TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, Account account, String[] features) argument
694 RemoveAccountSession(UserAccounts accounts, IAccountManagerResponse response, Account account) argument
741 removeAccountInternal(UserAccounts accounts, Account account) argument
778 invalidateAuthTokenLocked(UserAccounts accounts, SQLiteDatabase db, String accountType, String authToken) argument
808 saveAuthTokenToDatabase(UserAccounts accounts, Account account, String type, String authToken) argument
897 setPasswordInternal(UserAccounts accounts, Account account, String password) argument
964 setUserdataInternal(UserAccounts accounts, Account account, String key, String value) argument
1242 getSigninRequiredNotificationId(UserAccounts accounts, Account account) argument
1411 GetAccountsByTypeAndFeatureSession(UserAccounts accounts, IAccountManagerResponse response, String type, String[] features) argument
1666 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult) argument
2130 doNotification(UserAccounts accounts, Account account, CharSequence message, Intent intent, int userId) argument
2392 removeAccountFromCacheLocked(UserAccounts accounts, Account account) argument
2416 insertAccountIntoCacheLocked(UserAccounts accounts, Account account) argument
2454 writeUserDataIntoCacheLocked(UserAccounts accounts, final SQLiteDatabase db, Account account, String key, String value) argument
2468 writeAuthTokenIntoCacheLocked(UserAccounts accounts, final SQLiteDatabase db, Account account, String key, String value) argument
2482 readAuthTokenInternal(UserAccounts accounts, Account account, String authTokenType) argument
2496 readUserDataInternal(UserAccounts accounts, Account account, String key) argument
[all...]
/frameworks/ex/common/java/com/android/common/content/
H A DSyncStateContentProviderHelper.java19 import android.accounts.Account;
30 * set of accounts.
113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { argument
120 if (!contains(accounts, account)) {
/frameworks/base/core/tests/coretests/src/android/accounts/
H A DAccountManagerServiceTest.java17 package android.accounts;
83 Account[] accounts = mAms.getAccounts(null);
84 Arrays.sort(accounts, new AccountSorter());
85 assertEquals(6, accounts.length);
86 assertEquals(a11, accounts[0]);
87 assertEquals(a21, accounts[1]);
88 assertEquals(a31, accounts[2]);
89 assertEquals(a12, accounts[3]);
90 assertEquals(a22, accounts[4]);
91 assertEquals(a32, accounts[
[all...]
/frameworks/base/core/java/android/content/
H A DSyncManager.java19 import android.accounts.Account;
20 import android.accounts.AccountAndUser;
21 import android.accounts.AccountManager;
22 import android.accounts.AccountManagerService;
233 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { argument
235 for (int i = 0; i < accounts.length; i++) {
236 if (accounts[i].userId == userId
237 && accounts[i].account.equals(account)) {
263 // the accounts are not set yet
497 * @param requestedAccount the account to sync, may be null to signify all accounts
[all...]

Completed in 142 milliseconds

12