HomeSort by relevance Sort by last modified time
    Searched defs:Account (Results 1 - 18 of 18) sorted by null

  /frameworks/base/core/java/android/accounts/
Account.java 24 * Value type that represents an Account in the {@link AccountManager}. This object is
28 public class Account implements Parcelable {
34 if (!(o instanceof Account)) return false;
35 final Account other = (Account)o;
46 public Account(String name, String type) {
57 public Account(Parcel in) {
71 public static final Creator<Account> CREATOR = new Creator<Account>() {
72 public Account createFromParcel(Parcel source)
    [all...]
  /packages/apps/Email/src/com/android/email/
MessageListContext.java 25 import com.android.emailcommon.provider.Account;
39 * The active account. Changing an account is a destructive enough operation that it warrants
70 long accountId = intent.getLongExtra(EmailActivity.EXTRA_ACCOUNT_ID, Account.NO_ACCOUNT);
79 if (accountId == Account.NO_ACCOUNT) {
80 accountId = Account.getDefaultAccountId(context);
81 if (accountId == Account.NO_ACCOUNT) {
86 mailboxId = (accountId == Account.ACCOUNT_ID_COMBINED_VIEW)
101 Account.isNormalAccount(accountId),
110 Preconditions.checkArgument(accountId != Account.NO_ACCOUNT, "Must specify an account")
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSecurity.java 36 import com.android.emailcommon.provider.Account;
44 * 1. Confirm the account of interest has any security policies defined - exit early if not
66 private Account mAccount;
73 * @param accountId The account of interest
76 * is not clear (e.g. any time after the account has been set up).
77 * @return an Intent which can be used to view that account
117 mAccount = Account.restoreAccountWithId(AccountSecurity.this, accountId);
135 // This account wants to control security
164 * the requisite security settings for the given account.
175 private void tryAdvanceSecurity(Account 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),
258 * In {@link MessageList#onResume()}, we go back to {@link Welcome} if an account
260 * up-to-date account list. Additionally, we detect and do the right thing if all
402 Account account = Account.restoreAccountWithId(EmailActivity.this, accountId) local
    [all...]
ActionBarController.java 39 import com.android.emailcommon.provider.Account;
45 * Manages the account name and the custom view part on the action bar.
70 /** "Folders" label shown with account name on 1-pane mailbox list */
90 /** The current account ID; used to determine if the account has changed. */
91 private long mLastAccountIdForDirtyCheck = Account.NO_ACCOUNT;
111 /** Values for {@link #getTitleMode}. Show only account name */
115 * Show the current account name with "Folders"
116 * The account spinner will be disabled in this mode.
121 * Show the current account name and the current mailbox name
    [all...]
MessageCompose.java 71 import com.android.emailcommon.provider.Account;
155 private Account mAccount;
159 * on the UI. {@link #updateMessage(Message, Account, boolean, boolean)} must be called to sync
236 * the default account will be used; otherwise, the specified account is used.
257 * Compose a new message using the given account. If account is {@link Account#NO_ACCOUNT}
258 * the default account will be used.
275 * Compose a new message using a uri (mailto:) and a given account. If account is -1 th
1060 Account account = Account.restoreAccountWithId(MessageCompose.this, accountId); local
1080 final Account account = (Account) results[2]; local
    [all...]
  /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/Email/tests/src/com/android/email/provider/
ProviderTests.java 41 import com.android.emailcommon.provider.Account;
177 * Test simple account save/retrieve
181 Account account1 = ProviderTestUtils.setupAccount("account-save", true, mMockContext);
184 Account account2 = Account.restoreAccountWithId(mMockContext, account1Id);
190 * Test simple account save/retrieve with predefined hostauth records
194 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext);
196 account1.mHostAuthRecv = ProviderTestUtils.setupHostAuth("account-hostauth-recv", -1, false
219 Account account = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local
254 Account account = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local
586 Account account = ProviderTestUtils.setupAccount("message-snippet", true, mMockContext); local
1619 Account account = ProviderTestUtils.setupAccount("triggers", true, mMockContext); local
1856 Account account = new Account(); local
1867 Account account = ProviderTestUtils.setupAccount("account", false, mMockContext); local
2153 Account account = ProviderTestUtils.setupAccount(name, false, c); local
2320 Account account = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
LockPatternKeyguardView.java 29 import android.accounts.Account;
183 * Unlock by entering an account's login and password.
185 Account,
446 // don't show timeout dialog because we show account unlock screen next
480 private final Account[] mAccounts;
500 // lookup the confirmCredentials intent for the current account
517 // just skip the account if we are unable to query it
519 // just skip the account if we are unable to query it
521 // just skip the account if we are unable to query it
530 // Ask the account manager if we have an account that can be used as
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java 41 public final class Account extends EmailContent implements AccountColumns, Parcelable {
42 public static final String TABLE_NAME = "Account";
44 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/account");
50 Uri.parse(EmailContent.CONTENT_NOTIFIER_URI + "/account");
52 Uri.parse(EmailContent.CONTENT_URI + "/account/default");
54 // Define all pseudo account IDs here to avoid conflict with one another.
56 * Pseudo account ID to represent a "combined account" that includes messages and mailboxes
63 * Pseudo account ID to represent "no account". This may be used any time the account I
483 Account account = Account.restoreAccountWithId(context, accountId); local
587 Account account = Account.restoreAccountWithId(context, accountId); local
695 Account account = Account.restoreAccountWithId(context, accountId); local
    [all...]
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 2205 milliseconds