HomeSort by relevance Sort by last modified time
    Searched refs:accounts (Results 101 - 125 of 364) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPeriodicSync.java 3 import android.accounts.Account;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
PeriodicSyncTest.java 3 import android.accounts.Account;
  /frameworks/base/core/java/android/accounts/
AccountManagerResponse.java 17 package android.accounts;
IAccountManager.aidl 17 package android.accounts;
19 import android.accounts.IAccountManagerResponse;
20 import android.accounts.Account;
21 import android.accounts.AuthenticatorDescription;
68 /* Shared accounts */
ChooseTypeAndAccountActivity.java 16 package android.accounts;
54 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those
60 * A Parcelable ArrayList of String objects that limits the accounts to choose to those
220 // If there are no relevant accounts and only one relevant account type go directly to
448 * @return a value between 0 (inclusive) and accounts.size() (inclusive) or SELECTED_ITEM_NONE.
449 * An index value of accounts.size() indicates 'Add account' option.
451 private int getItemIndexToSelect(ArrayList<Account> accounts, String selectedAccountName,
456 return accounts.size();
459 for (int i = 0; i < accounts.size(); i++) {
460 if (accounts.get(i).name.equals(selectedAccountName))
488 final Account[] accounts = accountManager.getAccountsForPackage(mCallingPackage, local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportRequest.java 18 import android.accounts.Account;
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
AccountTypeManagerTest.java 68 // No invite support, no accounts
75 // No invite support, with accounts
82 // With invite support, no accounts
147 private static Collection<AccountWithDataSet> buildAccounts(AccountWithDataSet... accounts) {
149 for (AccountWithDataSet account : accounts) {
160 Collection<AccountWithDataSet> accounts,
165 AccountTypeManagerImpl.findAllInvitableAccountTypes(getContext(), accounts, types);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
TestUtil.java 19 import android.accounts.Account;
  /cts/tests/tests/content/src/android/content/cts/
MockSyncAdapter.java 19 import android.accounts.Account;
115 public void initialize(android.accounts.Account account, java.lang.String authority)
ContentResolverSyncTestCase.java 19 import android.accounts.Account;
20 import android.accounts.AccountManager;
21 import android.accounts.AccountManagerCallback;
22 import android.accounts.AccountManagerFuture;
23 import android.accounts.AuthenticatorException;
24 import android.accounts.OperationCanceledException;
336 * Test to verify that a SyncAdapter is called on all the accounts accounts
356 requestSync(null /* all accounts */, AUTHORITY, LATCH_TIMEOUT_MS);
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
MockAccountTypeManager.java 39 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) {
41 this.mAccounts = accounts;
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/unit/
PhoneAccountRegistrarTest.java 273 assertEquals(a.accounts.size(), b.accounts.size());
274 for (int i = 0; i < a.accounts.size(); i++) {
275 assertPhoneAccountEquals(a.accounts.get(i), b.accounts.get(i));
281 s.accounts.add(makeQuickAccount("id0", 0));
282 s.accounts.add(makeQuickAccount("id1", 1));
283 s.accounts.add(makeQuickAccount("id2", 2));
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
background.js 6 'request_url' : 'https://www.google.com/accounts/OAuthGetRequestToken',
7 'authorize_url' : 'https://www.google.com/accounts/OAuthAuthorizeToken',
8 'access_url' : 'https://www.google.com/accounts/OAuthGetAccessToken',
  /packages/apps/Settings/src/com/android/settings/accounts/
AddAccountSettings.java 17 package com.android.settings.accounts;
19 import android.accounts.AccountManager;
20 import android.accounts.AccountManagerCallback;
21 import android.accounts.AccountManagerFuture;
22 import android.accounts.AuthenticatorException;
23 import android.accounts.OperationCanceledException;
SyncStateCheckBoxPreference.java 17 package com.android.settings.accounts;
19 import android.accounts.Account;
  /packages/services/Telecomm/src/com/android/server/telecom/
PhoneAccountRegistrar.java 135 // There are no accounts, so there can be no default
141 // There are multiple accounts with no selected default
150 for (int i = 0; i < mState.accounts.size(); i++) {
151 if (mState.accounts.get(i).getAccountHandle().equals(mState.defaultOutgoing)) {
167 for (PhoneAccount m : mState.accounts) {
221 for (int i = 0; i < mState.accounts.size(); i++) {
222 if (mState.accounts.get(i).getAccountHandle().equals(mState.simCallManager)) {
266 for (PhoneAccount m : mState.accounts) {
273 return new ArrayList<>(mState.accounts);
282 return mState.accounts.size()
513 public final List<PhoneAccount> accounts = new ArrayList<>(); field in class:PhoneAccountRegistrar.State
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
Sources.java 24 import android.accounts.Account;
25 import android.accounts.AccountManager;
26 import android.accounts.AuthenticatorDescription;
27 import android.accounts.OnAccountsUpdateListener;
92 // Request updates when packages or accounts change
176 public void onAccountsUpdated(Account[] accounts) {
177 // Refresh to catch any changed accounts
227 Log.w(TAG, "Problem loading accounts: " + e.toString());
251 final Account[] accounts = am.getAccounts(); local
254 for (Account account : accounts) {
    [all...]
  /external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
MockAccountManager.java 7 import android.accounts.Account;
8 import android.accounts.AccountManager;
9 import android.accounts.AccountManagerCallback;
10 import android.accounts.AccountManagerFuture;
11 import android.accounts.AuthenticatorDescription;
12 import android.accounts.AuthenticatorException;
13 import android.accounts.OperationCanceledException;
51 * You should provide a set of accounts as a constructor argument, or use the more direct approach
54 * Currently, this implementation supports adding and removing accounts, handling credentials
87 public MockAccountManager(Context context, Context testContext, Account... accounts) {
122 Account[] accounts = new Account[mAccounts.size()]; local
    [all...]
  /external/chromium_org/chrome/browser/signin/
android_profile_oauth2_token_service.cc 103 std::vector<std::string> accounts; local
108 // TODO(fgorski): We may decide to filter out some of the accounts.
111 &accounts);
112 return accounts;
116 std::vector<std::string> accounts; local
123 &accounts);
124 return accounts;
282 // Currently signed in account does not any longer exist among accounts on
283 // system together with all other accounts.
366 std::vector<std::string> accounts = GetAccounts() local
    [all...]
  /packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java 46 final List<Account> accounts = new ArrayList<Account>(); local
54 "Null cursor returned from query to %s when migrating accounts from %d to %d",
60 accounts.add(Account.builder().buildFrom(accountCursor));
67 migrate(context, oldVersion, newVersion, accounts);
72 final List<Account> accounts) {
92 for (final Account account : accounts) {
  /frameworks/ex/common/java/com/android/common/content/
SyncStateContentProviderHelper.java 19 import android.accounts.Account;
30 * set of accounts.
113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) {
120 if (!contains(accounts, account)) {
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
FromAddressSpinner.java 87 * accounts. Otherwise, show just the account this was launched
94 final List<Account> accounts = AccountUtils.mergeAccountLists(mAccounts, local
97 mAccounts = accounts;
105 for (Account account : accounts) {
119 // If there are not yet any accounts in the cached synced accounts
  /external/chromium_org/chrome/browser/extensions/api/identity/
account_tracker.cc 58 std::vector<AccountIds> accounts; local
69 accounts.insert(accounts.begin(), state.ids);
74 accounts.push_back(state.ids);
77 return accounts;
111 std::vector<std::string> accounts = local
114 for (std::vector<std::string>::const_iterator it = accounts.begin();
115 it != accounts.end();
  /external/chromium_org/chrome/browser/ui/autofill/
account_chooser_model.cc 65 const std::vector<std::string>& accounts,
67 wallet_accounts_ = accounts;
102 // Currently, _any_ (non-sign-in) error disables _all_ Wallet accounts.
140 // Any non-sign-in error disables all Wallet accounts.
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
AndroidProfileOAuth2TokenServiceHelper.java 7 import android.accounts.Account;

Completed in 3178 milliseconds

1 2 3 45 6 7 8 91011>>