/frameworks/base/core/java/android/accounts/ |
Account.aidl | 17 package android.accounts;
|
AuthenticatorDescription.aidl | 17 package android.accounts;
|
OnAccountsUpdateListener.java | 17 package android.accounts; 26 * @param accounts the current accounts 28 void onAccountsUpdated(Account[] accounts);
|
AccountManagerCallback.java | 16 package android.accounts;
|
IAccountAuthenticatorResponse.aidl | 17 package android.accounts;
|
IAccountManagerResponse.aidl | 17 package android.accounts;
|
AccountsException.java | 17 package android.accounts;
|
AuthenticatorException.java | 17 package android.accounts;
|
NetworkErrorException.java | 16 package android.accounts;
|
OperationCanceledException.java | 16 package android.accounts;
|
CantAddAccountActivity.java | 16 package android.accounts;
|
/external/chromium_org/google_apis/gaia/ |
gaia_auth_util_unittest.cc | 98 EXPECT_TRUE(IsGaiaSignonRealm(GURL("https://accounts.google.com/"))); 99 EXPECT_FALSE(IsGaiaSignonRealm(GURL("http://accounts.google.com/"))); 112 std::vector<std::string> accounts; local 113 accounts = ParseListAccountsData(""); 114 ASSERT_EQ(0u, accounts.size()); 116 accounts = ParseListAccountsData("1"); 117 ASSERT_EQ(0u, accounts.size()); 119 accounts = ParseListAccountsData("[]"); 120 ASSERT_EQ(0u, accounts.size()); 122 accounts = ParseListAccountsData("[\"foo\", \"bar\"]") [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
AccountSpecifier.java | 19 import android.accounts.Account;
|
/packages/apps/Calendar/src/com/android/calendar/ |
RecipientAdapter.java | 21 import android.accounts.Account; 37 super.setAccount(new android.accounts.Account(account.name, "unknown"));
|
CalendarSettingsActivity.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 46 Account[] accounts = AccountManager.get(this).getAccounts(); local 47 if (accounts != null) { 48 int length = accounts.length; 50 Account acct = accounts[i]; 64 mAccounts = accounts; 124 Account[] accounts = AccountManager.get(CalendarSettingsActivity.this).getAccounts(); 125 if (accounts != null && !accounts.equals(mAccounts)) [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
AccountTestCase.java | 19 import android.accounts.AccountManager; 20 import android.accounts.AccountManagerFuture; 21 import android.accounts.AuthenticatorException; 22 import android.accounts.OperationCanceledException; 37 * Base class for unit tests that use {@link android.accounts.Account}. 50 protected android.accounts.Account[] getExchangeAccounts() { 54 protected android.accounts.Account makeAccountManagerAccount(String username) { 55 return new android.accounts.Account(username, TEST_ACCOUNT_TYPE); 59 final android.accounts.Account account = makeAccountManagerAccount(username); 86 protected void deleteAccountManagerAccount(android.accounts.Account account) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AccountUtils.java | 32 * Merge two lists of accounts into one list of accounts without duplicates. 34 * @param existingList List of accounts. 35 * @param accounts Accounts to merge in. 39 * @return Merged list of accounts. 41 public static List<Account> mergeAccountLists(List<Account> inList, Account[] accounts, 51 // Make sure the accounts are actually synchronized 52 // (we won't be able to save/send for accounts that 54 for (int i = 0; i < accounts.length; i++) 73 final List<Account> accounts = Lists.newArrayList(); local 102 final List<Account> accounts = Lists.newArrayList(); local [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenServiceTest.java | 7 import android.accounts.Account; 38 String[] accounts = OAuth2TokenService.getAccounts(mContext); local 39 assertEquals("There should be no accounts registered", 0, accounts.length); 49 String[] accounts = OAuth2TokenService.getAccounts(mContext); local 50 assertEquals("There should be one registered account", 1, accounts.length); 51 assertEquals("The account should be " + account1, account1.name, accounts[0]); 64 String[] accounts = OAuth2TokenService.getAccounts(mContext); local 65 assertEquals("There should be one registered account", 2, accounts.length); 67 Arrays.asList(accounts).contains(account1.name)) [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
AccountManagerTest.java | 20 import android.accounts.Account; 21 import android.accounts.AccountManager; 22 import android.accounts.AccountManagerFuture;
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerDelegate.java | 7 import android.accounts.Account; 8 import android.accounts.AccountManagerCallback; 9 import android.accounts.AccountManagerFuture; 10 import android.accounts.AuthenticatorDescription; 11 import android.accounts.AuthenticatorException; 12 import android.accounts.OperationCanceledException;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTest.java | 17 package com.android.server.accounts; 19 import android.accounts.Account; 20 import android.accounts.AuthenticatorDescription; 85 Account[] accounts = mAms.getAccounts(null); local 86 Arrays.sort(accounts, new AccountSorter()); 87 assertEquals(6, accounts.length); 88 assertEquals(a11, accounts[0]); 89 assertEquals(a21, accounts[1]); 90 assertEquals(a31, accounts[2]); 91 assertEquals(a12, accounts[3]) [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
MockAccountService.java | 17 package android.accounts.cts;
|
/packages/apps/Exchange/src/com/android/exchange/ |
ExchangeBroadcastReceiver.java | 5 import android.accounts.Account; 6 import android.accounts.AccountManager; 24 final Account[] accounts = AccountManager.get(context) local 26 LogUtils.i(Eas.LOG_TAG, "Accounts changed - requesting FolderSync for unsynced accounts"); 27 for (final Account account : accounts) { 28 // Only do a sync for accounts that are not configured to sync any types, since the
|
/cts/tests/src/android/content/cts/ |
MockAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
StaticAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|