HomeSort by relevance Sort by last modified time
    Searched refs:accounts (Results 151 - 175 of 323) sorted by null

1 2 3 4 5 67 8 91011>>

  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
CustomVCardEntryConstructor.java 18 import android.accounts.Account;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AccountWithDataSet.java 19 import android.accounts.Account;
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticatorActivity.java 23 import android.accounts.Account;
24 import android.accounts.AccountAuthenticatorActivity;
25 import android.accounts.AccountManager;
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactEditorAccountsChangedActivity.java 80 final List<AccountWithDataSet> accounts = AccountTypeManager.getInstance(this). local
82 final int numAccounts = accounts.size();
84 throw new IllegalStateException("Cannot have a negative number of accounts");
88 // When the user has 2+ writable accounts, show a list of accounts so the user can pick
113 final AccountWithDataSet account = accounts.get(0);
132 // If the user has 0 writable accounts, we will just show the user a message with 2
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountWithDataSet.java 19 import android.accounts.Account;
196 public static String stringifyList(List<AccountWithDataSet> accounts) {
199 for (AccountWithDataSet account : accounts) {
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
ProfileOwnerProvisioningService.java 25 import android.accounts.Account;
26 import android.accounts.AccountManager;
27 import android.accounts.AccountManagerFuture;
28 import android.accounts.AuthenticatorException;
29 import android.accounts.OperationCanceledException;
HomeReceiverActivity.java 23 import android.accounts.Account;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
RestrictedProfileDialogFragment.java 19 import android.accounts.Account;
20 import android.accounts.AccountManager;
113 // Add shared accounts
115 Account[] accounts = am.getAccounts();
116 if (accounts != null) {
117 for (Account account : accounts) {
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java 61 * The Mail App provider allows email providers to register "accounts" and the UI has a single
62 * place to query for the list of accounts.
65 * the application. For example, the mock accounts can be enabled/disabled.
66 * In the future, once other processes can add new accounts, this could allow other "mail"
79 * by {@link #getNoAccountsIntent} to return the list of accounts. The data
118 * doesn't return any accounts.
120 * The result from the {@link Activity} activity should include the list of accounts in
123 * @return Intent or null, if the provider doesn't specify a behavior when no accounts are
196 // This content provider currently only supports one query (to return the list of accounts).
209 // The order in which providers respond will affect the order of accounts. Becaus
356 JSONArray accounts = null; local
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/
BrowseInfo.java 19 import android.accounts.Account;
20 import android.accounts.AccountManager;
21 import android.accounts.AuthenticatorDescription;
53 import com.android.tv.settings.accounts.AccountSettingsActivity;
54 import com.android.tv.settings.accounts.AddAccountWithTypeActivity;
55 import com.android.tv.settings.accounts.AuthenticatorHelper;
356 // We don't display the accounts in restricted mode
381 // Add accounts to end of row.
543 Account[] accounts = am.getAccountsByType(authDesc.type); local
544 if (accounts == null || accounts.length == 0)
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
ManageAccountsSettings.java 17 package com.android.settings.accounts;
19 import android.accounts.Account;
20 import android.accounts.AccountManager;
21 import android.accounts.AuthenticatorDescription;
74 "com.android.settings.accounts.LAUNCHING_LOCATION_SETTINGS";
84 // If an account type is set, then show only accounts of that type
248 * Shows the sync state of the accounts. Note: it must be called after the accounts have been
363 Account[] accounts = AccountManager.get(getActivity()).getAccountsAsUser(
368 for (int i = 0, n = accounts.length; i < n; i++)
    [all...]
AccountSettings.java 17 package com.android.settings.accounts;
20 import android.accounts.Account;
21 import android.accounts.AccountManager;
96 * Holds data related to the accounts belonging to one profile.
100 * The preference that displays the accounts.
112 * The {@link AuthenticatorHelper} that holds accounts data for this profile.
371 // Put a label instead of the accounts list
403 final Account[] accounts = AccountManager.get(getActivity()) local
405 final boolean skipToAccount = accounts.length == 1
411 accounts[0])
    [all...]
ChooseAccountActivity.java 17 package com.android.settings.accounts;
19 import android.accounts.AccountManager;
20 import android.accounts.AuthenticatorDescription;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactDirectoryManagerTest.java 19 import android.accounts.Account;
394 // Accounts won't be affected so false should be passed here.
425 Account[] accounts = new Account[]{ local
428 mActor.setAccounts(accounts);
429 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts);
441 accounts = new Account[]{new Account("account-name1", "account-type1")};
442 mActor.setAccounts(accounts);
443 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts);
  /frameworks/base/core/java/android/accounts/
AccountManager.java 17 package android.accounts;
59 * online accounts. The user enters credentials (username and password) once
63 * <p>Different online services have different ways of handling accounts and
85 * <li>List the available accounts using {@link #getAccountsByType} or
87 * be interested in accounts with one particular <em>type</em>, which
93 * <li>Select one or more of the available accounts, possibly by asking the
94 * user for their preference. If no suitable accounts are available,
100 * of accounts returned by {@link #getAccountsByType}. Requesting an auth token
198 public static final String KEY_ACCOUNTS = "accounts";
243 "android.accounts.AccountAuthenticator"
    [all...]
AuthenticatorDescription.java 17 package android.accounts;
  /packages/apps/Email/provider_src/com/android/email/service/
EmailServiceUtils.java 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;
329 android.accounts.Account amAccount, final Map<String, String> protocolMap) {
396 new android.accounts.Account(amName, oldType));
408 new android.accounts.Account(amName, oldType));
452 new android.accounts.Account(amName, accountType),
468 new android.accounts.Account(amName, accountType)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountCreationFragment.java 19 import android.accounts.AccountManagerFuture;
20 import android.accounts.AuthenticatorException;
21 import android.accounts.OperationCanceledException;
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
RawContactUtil.java 19 import android.accounts.Account;
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 19 import android.accounts.Account;
20 import android.accounts.AccountManager;
21 import android.accounts.AuthenticatorDescription;
22 import android.accounts.OnAccountsUpdateListener;
241 * Updates account list spinner when the list of Accounts on the system changes. Satisfies
254 // The user may have multiple accounts with the same name, so we need to construct a
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAccount.java 3 import android.accounts.Account;
  /frameworks/base/core/java/android/content/
PeriodicSync.java 22 import android.accounts.Account;
SyncActivityTooManyDeletes.java 20 import android.accounts.Account;
  /frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
AppLaunch.java 18 import android.accounts.Account;
19 import android.accounts.AccountManager;
249 Account[] accounts = am.getAccounts(); local
250 // use set here in case device has multiple accounts of the same type
252 for (Account account : accounts) {
261 StringBuilder sb = new StringBuilder("Device missing these accounts:");
  /packages/apps/Exchange/src/com/android/exchange/service/
EmailSyncAdapterService.java 83 public void onPerformSync(final android.accounts.Account acct, final Bundle extras,

Completed in 1200 milliseconds

1 2 3 4 5 67 8 91011>>