HomeSort by relevance Sort by last modified time
    Searched refs:account (Results 76 - 100 of 312) sorted by null

1 2 34 5 6 7 8 91011>>

  /packages/apps/Email/src/com/android/email/
NotificationController.java 50 import com.android.emailcommon.provider.Account;
81 Account.FLAGS + "&" + Account.FLAGS_NOTIFY_NEW_MAIL + " != 0";
92 // TODO We're maintaining all of our structures based upon the account ID. This is fine
93 // for now since the assumption is that we only ever look for changes in an account's
95 /** Maps account id to the message data */
99 * Suspend notifications for this account. If {@link Account#NO_ACCOUNT}, no
100 * account notifications are suspended. If {@link Account#ACCOUNT_ID_COMBINED_VIEW}
435 final Account account = Account.restoreAccountWithId(mContext, accountId); local
692 final Account account = Account.restoreAccountWithId(mContext, attachment.mAccountKey); local
715 final Account account = Account.restoreAccountWithId(mContext, accountId); local
740 Account account = Account.restoreAccountWithId(mContext, accountId); local
760 Account account = Account.restoreAccountWithId(mContext, accountId); local
837 Account account = Account.restoreAccountWithId(mContext, mAccountId); local
    [all...]
EmailAddressAdapter.java 20 import com.android.emailcommon.provider.Account;
72 * Set the account when known. Causes the search to prioritize contacts
73 * from that account.
75 public void setAccount(Account account) {
76 if (account != null) {
77 // TODO: figure out how to infer the contacts account type from the email account
78 super.setAccount(new android.accounts.Account(account.mEmailAddress, "unknown"))
    [all...]
MessagingController.java 49 import com.android.emailcommon.provider.Account;
116 * Cache search results by account; this allows for "load more" support without having to
141 * Simple cache for last search result mailbox by account and serverId, since the most common
144 private long mLastSearchAccountKey = Account.NO_ACCOUNT;
244 * @param accountId ID of the account for which to list the folders
248 final Account account = Account.restoreAccountWithId(mContext, accountId); local
249 if (account == null) {
250 Log.i(Logging.LOG_TAG, "Could not load account id " + accountI
617 final Account account = Account.restoreAccountWithId(mContext, accountId); local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
MockAccountTypeManager.java 19 import com.android.contacts.model.account.AccountType;
20 import com.android.contacts.model.account.AccountTypeWithDataSet;
21 import com.android.contacts.model.account.AccountWithDataSet;
  /packages/apps/Email/src/com/android/email/activity/
MessageList.java 20 import com.android.emailcommon.provider.Account;
32 * A dummy activity to support old-style (pre-honeycomb) account shortcuts.
53 if ((accountId == null) || (accountId == Account.NO_ACCOUNT)) {
54 // Account deleted?
75 return Account.NO_ACCOUNT;
77 return Account.getAccountIdFromShortcutSafeUri(context, uri);
81 * Create a froyo/gingerbread style account shortcut intent. Used by unit tests and
85 static Intent createFroyoIntent(Context context, Account account) {
88 intent.putExtra(EXTRA_ACCOUNT_ID, account.mId)
    [all...]
NfcHandler.java 26 import com.android.emailcommon.provider.Account;
33 * active account to another device using NFC. NFC sharing is only
63 final Account account = Account.restoreAccountWithId(mActivity, accountId); local
64 if (account == null) return;
65 mCurrentEmail = account.mEmailAddress;
InsertQuickResponseDialog.java 22 import com.android.emailcommon.provider.Account;
38 * Dialog which lists QuickResponses for the specified account. On user selection, will call
46 // Key for the Account object in the arguments bundle
47 private static final String ACCOUNT_KEY = "account";
66 newInstance(Fragment callbackFragment, Account account) {
82 args.putParcelable(ACCOUNT_KEY, account);
106 Account account = (Account) getArguments().getParcelable(ACCOUNT_KEY) local
    [all...]
ShortcutPickerFragment.java 20 import com.android.emailcommon.provider.Account;
57 /** Builds a mailbox filter for the given account. See MailboxShortcutPickerFragment. */
58 public Integer buildFilter(Account account);
59 /** Invoked when an account and mailbox have been selected. */
60 public void onSelected(Account account, long mailboxId);
61 /** Required data is missing; either the account and/or mailbox */
67 @Override public Integer buildFilter(Account account) { return null;
144 Account account = new Account(); local
219 Account account = new Account(); local
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AccountWithDataSet.java 19 import android.accounts.Account;
25 * Account information that includes the data set, if any.
48 public static AccountWithDataSet get(Account account, String dataSet) {
49 return new AccountWithDataSet(account.name, account.type, null);
94 * @return {@code true} if the owning {@link Account} is in the passed array.
96 public boolean inSystemAccounts(Account[] systemAccounts) {
97 // Note we don't want to create a new Account object from this instance, as it may contain
98 // null account name/type, which Account wouldn't accept. So we need to compare field b
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
ExchangeService.java 53 import com.android.emailcommon.provider.Account;
369 Account acct = Account.restoreAccountWithId(exchangeService, m.mAccountKey);
372 // try again (the hold might have been specific to this account and released already)
376 log("User requested sync of account in sync disabled hold; releasing");
380 log("User requested sync of account in security hold; releasing");
448 // If it's for the account whose host has changed, clear the error
500 * Delete PIM (calendar, contacts) data for the specified account
502 * @param accountId the account whose data should be deleted
516 // Make sure the account mailbox is held due to securit
561 Account account = new Account(); local
2290 Account account = getAccountById(c.getInt(Mailbox.CONTENT_ACCOUNT_KEY_COLUMN)); local
2602 Account account = Account.restoreAccountWithId(exchangeService, accountId); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
SelectAccountDialogFragment.java 27 import com.android.contacts.model.account.AccountWithDataSet;
32 * Shows a dialog asking the user which account to chose.
52 * @param accountListFilter account filter.
109 private void onAccountSelected(AccountWithDataSet account) {
113 target.onAccountChosen(account, getArguments().getBundle(KEY_EXTRA_ARGS));
118 void onAccountChosen(AccountWithDataSet account, Bundle extraArgs);
  /packages/apps/Contacts/src/com/android/contacts/list/
AccountFilterActivity.java 40 import com.android.contacts.model.account.AccountType;
41 import com.android.contacts.model.account.AccountWithDataSet;
48 * Shows a list of all available accounts, letting the user select under which account to view
119 for (AccountWithDataSet account : accounts) {
120 AccountType accountType = accountTypes.getAccountType(account.type, account.dataSet);
121 if (accountType.isExtension() && !account.hasData(context)) {
127 account.type, account.name, account.dataSet, icon))
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
SelectAccountDialogFragment.java 19 import android.accounts.Account;
33 * Shows a dialog asking the user which account to chose.
47 Account[] accounts = accountManager.getAccounts();
52 final ArrayAdapter<Account> accountAdapter =
53 new ArrayAdapter<Account>(builder.getContext(),
64 final Account account = getItem(position);
66 text1.setText("Name: " + account.name);
67 text2.setText("Type: " + account.type);
86 builder.setTitle("Choose account to send to editor")
    [all...]
  /packages/apps/Email/src/com/android/email/service/
PopImapSyncAdapterService.java 19 import android.accounts.Account;
56 public void onPerformSync(Account account, Bundle extras,
59 PopImapSyncAdapterService.performSync(mContext, account, extras,
84 private static void performSync(Context context, Account account, Bundle extras,
88 String emailAddress = account.name;
89 // Find an EmailProvider account with the Account's email address
91 com.android.emailcommon.provider.Account.CONTENT_URI
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSetupOptionsTests.java 29 import com.android.emailcommon.provider.Account;
61 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH);
75 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH);
89 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH);
163 * Create an intent with the Account in it
167 Account account = new Account(); local
168 account.setSenderName(name);
170 HostAuth auth = account.getOrCreateHostAuthRecv(context)
    [all...]
  /development/apps/Development/src/com/android/development/
AccountsTester.java 19 import android.accounts.Account;
62 private Account mLongPressedAccount = null;
99 private class AccountArrayAdapter extends ArrayAdapter<Account> {
102 public AccountArrayAdapter(Context context, Account[] accounts) {
110 Account account; field in class:AccountsTester.AccountArrayAdapter.ViewHolder
140 final Account account = getItem(position); local
141 holder.account = account;
269 final Account account = mLongPressedAccount; local
281 final Account account = mLongPressedAccount; local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettings.java 46 import com.android.emailcommon.provider.Account;
53 * Handles account preferences, using multi-pane arrangement when possible.
57 * Account{Incoming/Outgoing/Exchange}Fragment
62 * TODO: Delete account - on single-pane view (phone UX) the account list doesn't update properly
63 * TODO: Handle dynamic changes to the account list (exit if necessary). It probably makes
69 * Intent to open account settings for account=1
80 private static final String QUICK_RESPONSE_ACCOUNT_KEY = "account";
112 * Display (and edit) settings for a specific account, or -1 for any/all account
    [all...]
AccountSetupExchange.java 22 import com.android.emailcommon.provider.Account;
45 * Load existing values from account into fields
47 * Confirm not a duplicate account
58 * write server's account details into account
59 * Load values from account into fields
60 * Confirm not a duplicate account
79 public static void actionIncomingSettings(Activity fromActivity, int mode, Account account) {
81 SetupData.setAccount(account);
148 Account account = SetupData.getAccount(); local
    [all...]
  /frameworks/base/core/java/android/accounts/
ChooseTypeAndAccountActivity.java 49 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those
57 * used to filter the allowable account types if add account is selected.
81 * If set then the specified account is already "selected".
86 * If true then display the account selection list even if there is just
87 * one account to choose from. boolean.
110 private Set<Account> mSetOfAllowableAccounts;
117 private ArrayList<Account> mAccounts;
148 // If the selected account as specified in the intent matches one in the list we will
150 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT)
192 Account account = mAccounts.get(0); local
    [all...]
  /external/valgrind/main/drd/scripts/
measurement-functions 63 if [ -e /var/log/account/pacct ]; then
64 pacct=/var/log/account/pacct
65 elif [ -e /var/account/pacct ]; then
66 pacct=/var/account/pacct
  /frameworks/base/core/java/android/provider/
BrowserContract.java 19 import android.accounts.Account;
109 * account, including sync information that an account may need.
114 * The name of the account instance to which this row belongs, which when paired with
115 * {@link #ACCOUNT_TYPE} identifies a specific account.
121 * The type of account to which this row belongs, which when paired with
122 * {@link #ACCOUNT_NAME} identifies a specific account.
128 * String that uniquely identifies this row to its source account.
142 * to be synchronized by its owning account.
307 * Query parameter used to specify an account nam
    [all...]
  /frameworks/support/volley/src/com/android/volley/toolbox/
AndroidAuthenticator.java 21 import android.accounts.Account;
30 * tokens of a specified type for a specified account.
34 private final Account mAccount;
40 * @param account Account to authenticate as
43 public AndroidAuthenticator(Context context, Account account, String authTokenType) {
45 mAccount = account;
50 * Returns the Account being used by this authenticator.
52 public Account getAccount()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/account/
AccountWithDataSet.java 17 package com.android.contacts.model.account;
19 import android.accounts.Account;
37 * Wrapper for an account that includes a data set (which may be null).
39 public class AccountWithDataSet extends Account {
90 * Return {@code true} if this account has any contacts in the database.
133 private static StringBuilder addStringified(StringBuilder sb, AccountWithDataSet account) {
134 sb.append(account.name);
136 sb.append(account.type);
138 if (!TextUtils.isEmpty(account.dataSet)) sb.append(account.dataSet)
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
ServiceStore.java 25 import com.android.emailcommon.provider.Account;
39 * Creates a new store for the given account.
41 public ServiceStore(Account account, Context context) throws MessagingException {
43 mHostAuth = account.getOrCreateHostAuthRecv(mContext);
50 * @throws MessagingException if we can't authenticate the account
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
AccountTypeManagerTest.java 23 import com.android.contacts.model.account.AccountType;
24 import com.android.contacts.model.account.AccountTypeWithDataSet;
25 import com.android.contacts.model.account.AccountWithDataSet;
45 // Define account types.
89 // With invite support, 1 account
96 // With invite support, 2 account
149 for (AccountWithDataSet account : accounts) {
150 result.add(account);

Completed in 333 milliseconds

1 2 34 5 6 7 8 91011>>