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

1 2 34 5 6

  /packages/apps/Email/tests/src/com/android/email/service/
AttachmentDownloadServiceTests.java 28 import com.android.emailcommon.provider.Account;
46 private Account mAccount;
60 // Set up an account and mailbox
61 mAccount = ProviderTestUtils.setupAccount("account", false, mMockContext);
62 mAccount.mFlags |= Account.FLAGS_BACKGROUND_ATTACHMENTS;
127 // There should also be only one download in progress (testing the per-account limitation)
251 // Now, test per-account storage
267 Account account = ProviderTestUtils.setupAccount("account2", false, mMockContext); local
268 account.mFlags &= ~Account.FLAGS_BACKGROUND_ATTACHMENTS
    [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...]
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectSyncedCalendarsMultiAccountAdapter.java 209 // Collect proper description for account types
263 * Gets the label associated with a particular account type. If none found, return null.
264 * @param accountType the type of account
275 Log.w(TAG, "No label for account type " + ", type " + accountType);
317 String account = cursor.getString(accountColumn); local
320 setText(view, R.id.account, account);
330 String account = groupCursor.getString(accountColumn); local
332 //Get all the calendars for just this account.
333 Cursor childCursor = mChildrenCursors.get(accountType + "#" + account);
334 new RefreshCalendars(groupCursor.getPosition(), account, accountType).run(); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/account/
AccountType.java 17 package com.android.contacts.model.account;
111 * Whether this account type was able to be fully initialized. This may be false if
112 * (for example) the package name associated with the account type could not be found.
144 * Only makes sense for non-embedded account types.
155 * Only makes sense for non-embedded account types.
166 * Only makes sense for non-embedded account types.
239 * external account types. This allows for a primary account type to indicate other packages
241 * separate data set within the account.
302 * Whether or not groups created under this account type have editable membership lists
    [all...]
ExternalAccountType.java 17 package com.android.contacts.model.account;
45 * A general contacts account type descriptor.
70 // The following attributes should only be set in non-sync-adapter account types. They allow
71 // for the account type and resource IDs to be specified without an associated authenticator.
117 // If the package name is not found, we can't initialize this account type.
171 // If we reach this point, the account type has been successfully initialized.
179 * which account type, so this method looks through all services in the package, and just
183 * the account type *will* be initialized with minimal configuration.
186 * in which case the account type will *not* be initialized.
226 * Whether this account type has the android.provider.CONTACTS_STRUCTURE metadata xml
    [all...]
BaseAccountType.java 17 package com.android.contacts.model.account;
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
EmailActivity.java 40 import com.android.emailcommon.provider.Account;
78 /** Id of the account that had a messaging exception most recently. */
82 * Create an intent to launch and open account's inbox.
84 * @param accountId If -1, default account will be used.
135 * @param accountId ID of the account for the mailbox. Must not be {@link Account#NO_ACCOUNT}.
142 Preconditions.checkArgument(Account.isNormalAccount(accountId),
267 * In {@link MessageList#onResume()}, we go back to {@link Welcome} if an account
269 * up-to-date account list. Additionally, we detect and do the right thing if all
411 Account account = Account.restoreAccountWithId(EmailActivity.this, accountId) local
    [all...]
MessagesAdapter.java 36 import com.android.emailcommon.provider.Account;
111 /** {@link Account} that owns the mailbox. Null for combined mailboxes. */
112 public final Account mAccount;
115 /** {@code true} if the account is an EAS account */
123 boolean found, Account account, Mailbox mailbox, boolean isEasAccount,
127 mAccount = account;
315 Account account = null 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...]
MessageViewFragment.java 39 import com.android.emailcommon.provider.Account;
297 Account account = Account.restoreAccountWithId(mContext, getAccountId()); local
298 boolean supportsMove = account.supportsMoveMessages(mContext)
  /packages/apps/Email/tests/src/com/android/email/
ControllerProviderOpsTests.java 26 import com.android.emailcommon.provider.Account;
150 Account account = ProviderTestUtils.setupAccount("mailboxid", true, mProviderContext); local
151 long accountId = account.mId;
181 Account account1 = ProviderTestUtils.setupAccount("message-move", true, mProviderContext);
209 * - message/mailbox/account all exist
213 Account account1 = ProviderTestUtils.setupAccount("message-delete", true, mProviderContext);
231 // Case 1: Message in a regular mailbox, account known.
273 Account account1 =
302 Account account1 = ProviderTestUtils.setupAccount("read-unread", false, mProviderContext)
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountSyncSettings.java 19 import android.accounts.Account;
65 public static final String ACCOUNT_KEY = "account";
76 private Account mAccount;
79 private Account[] mAccounts;
179 mAccount = (Account) arguments.getParcelable(ACCOUNT_KEY);
181 if (Log.isLoggable(TAG, Log.VERBOSE)) Log.v(TAG, "Got account: " + mAccount);
203 private void addSyncStateCheckBox(Account account, String authority) {
205 new SyncStateCheckBoxPreference(getActivity(), account, authority);
274 Account account = syncPref.getAccount() local
375 Account account = syncPref.getAccount(); local
468 final Account account = accounts[i]; local
    [all...]
ManageAccountsSettings.java 19 import android.accounts.Account;
63 private static final String ACCOUNT_KEY = "account"; // to pass to auth settings
76 // If an account type is set, then show only accounts of that type
79 private Account mFirstAccount;
191 // For each account
195 Account account = ((AccountPreference) pref).getAccount(); local
196 // For all available sync authorities, sync those that are enabled for the account
200 && ContentResolver.getSyncAutomatically(account, sa.authority)) {
202 ContentResolver.requestSync(account, sa.authority, extras)
239 Account account = accountPref.getAccount(); local
308 final Account account = accounts[i]; local
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 19 import android.accounts.Account;
348 * Returns the default account on the device.
352 Account[] accounts = mAccountManager.getAccountsByType("com.google");
356 Account account = accounts[accounts.length - 1]; local
357 Log.v(TAG, "Found " + accounts.length + " accounts; using the last one, " + account.name);
358 return account.name;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PicasaSource.java 58 private static final String PICASA_ACCOUNT = "account";
318 String account = accounts.get(user); local
319 if (account == null) {
320 account = resolveAccount(user);
321 accounts.put(user, account);
340 data.account = account;
  /packages/apps/Contacts/src/com/android/contacts/list/
CustomContactListFilterActivity.java 60 import com.android.contacts.model.account.AccountType;
61 import com.android.contacts.model.account.AccountWithDataSet;
62 import com.android.contacts.model.account.GoogleAccountType;
132 for (AccountWithDataSet account : accountTypes.getAccounts(false)) {
133 final AccountType accountType = accountTypes.getAccountTypeForAccount(account);
134 if (accountType.isExtension() && !account.hasData(context)) {
140 new AccountDisplay(resolver, account.name, account.type, account.dataSet);
143 .appendQueryParameter(Groups.ACCOUNT_NAME, account.name
581 final AccountDisplay account = (AccountDisplay)this.getGroup(groupPosition); local
605 final AccountDisplay account = mAccounts.get(groupPosition); local
628 final AccountDisplay account = mAccounts.get(groupPosition); local
709 final AccountDisplay account = (AccountDisplay)mAdapter.getGroup(groupPosition); local
    [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...]
  /frameworks/base/core/java/android/content/
ContentResolver.java 21 import android.accounts.Account;
70 * {@link #requestSync(android.accounts.Account, String, android.os.Bundle)}
73 public static final String SYNC_EXTRAS_ACCOUNT = "account";
112 * the given account/authority pair. One required initialization step is to
113 * ensure that {@link #setIsSyncable(android.accounts.Account, String, int)} has been
1325 Account account = null; local
    [all...]
  /packages/apps/Email/src/com/android/email/
Controller.java 42 import com.android.emailcommon.provider.Account;
87 // Note that 0 is a syntactically valid account key; however there can never be an account
88 // with id = 0, so attempts to restore the account will return null. Null values are
270 * Returns the search mailbox for the specified account, creating one if necessary
271 * @return the search mailbox for the passed in account
340 * Request a remote update of mailboxes for an account.
417 Account account =
418 Account.restoreAccountWithId(mProviderContext, accountId)
598 final Account account = local
782 Account account = Account.getAccountForMessageId(mProviderContext, messageId); local
    [all...]
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...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupBasics.java 52 import com.android.emailcommon.provider.Account;
65 * Prompts the user for the email address and password. Also prompts for "Use this account as
66 * default" if this is the 2nd+ account being set up.
68 * If the domain is well-known, the account is configured fully and checked immediately
72 * AccountSetupAccountType activity where the user can begin to manually configure the account.
78 * an intent which contains all necessary information to create the account. No connection
79 * checking is done, so the account may or may not actually work. Here is a sample command, for a
80 * gmail account "test_account" with a password of "test_password".
84 * -e USER "Test Account Name" \
97 * Direct access for forcing account creatio
208 Account account = SetupData.getAccount(); local
443 Account account = SetupData.getAccount(); local
489 Account account = Utility.findExistingAccount(mContext, -1, local
567 Account account = SetupData.getAccount(); local
594 Account account = SetupData.getAccount(); local
614 Account account = SetupData.getAccount(); local
    [all...]
  /packages/apps/Email/src/com/android/email/service/
MailService.java 44 import com.android.emailcommon.provider.Account;
75 private static final String EXTRA_ACCOUNT = "com.android.email.intent.extra.ACCOUNT";
127 * @param accountId the account whose pending mail should be sent
165 // If we have the data, restore the last-sync-times for each account
169 // Sync a specific account if given
177 // Start sync if account is given && auto-sync is allowed
195 // Prevent runaway on the current account by pretending it updated
199 // Find next account to sync, and reschedule
221 Cursor c = mContentResolver.query(Account.CONTENT_URI, Account.ID_PROJECTION
515 Account account = Account.getContent(c, Account.class); local
674 Account account = Account.restoreAccountWithId(context, accountId); local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/
MessageComposeTests.java 39 import com.android.emailcommon.provider.Account;
69 private static final String ACCOUNT = "account@android.com";
131 * are configured on the device and a default account has been specified,
139 // Force assignment of a default account
140 long accountId = Account.getDefaultAccountId(mContext);
142 Account account = new Account(); local
143 account.mSenderName = "Bob Sender"
150 Account account = Account.restoreAccountWithId(mContext, accountId); local
207 final Account account = new Account(); local
251 final Account account = new Account(); local
294 final Account account = new Account(); local
326 final Account account = new Account(); local
347 final Account account = new Account(); local
382 final Account account = new Account(); local
555 final Account account = new Account(); local
591 final Account account = new Account(); local
628 final Account account = new Account(); local
666 final Account account = new Account(); local
964 final Account account = new Account(); local
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityUnitTests.java 23 import com.android.emailcommon.provider.Account;
293 Account account = ProviderTestUtils.setupAccount("account", true, providerContext); local
294 Mailbox mailbox = ProviderTestUtils.setupMailbox("box", account.mId, true, providerContext);
300 Uri uri = AttachmentUtilities.getAttachmentUri(account.mId, attachmentId);
306 Uri notExistUri = AttachmentUtilities.getAttachmentUri(account.mId, 123456789);
320 // Setup account & message stuff
321 Account account1 = ProviderTestUtils.setupAccount("account1", true, mockContext);
322 Account account2 = ProviderTestUtils.setupAccount("account2", true, mockContext)
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 28 import com.android.emailcommon.provider.Account;
285 // Create a dummy account for the attendee
286 Account account = new Account(); local
287 account.mEmailAddress = ATTENDEE;
294 Message.FLAG_OUTGOING_MEETING_ACCEPT, uid, account);
331 // Create a dummy account for the attendee
332 Account account = new Account() local
394 Account account = new Account(); local
460 Account account = new Account(); local
541 Account account = new Account(); local
    [all...]

Completed in 1844 milliseconds

1 2 34 5 6