HomeSort by relevance Sort by last modified time
    Searched refs:ACCOUNT (Results 1 - 10 of 10) sorted by null

  /cts/tests/tests/content/src/android/content/cts/
ContentResolverSyncTestCase.java 19 import android.accounts.Account;
39 private static final Account ACCOUNT = new Account(MockAccountAuthenticator.ACCOUNT_NAME,
57 // Need to clean up created account
58 removeAccount(sAccountManager, ACCOUNT, null /* callback */);
75 private void addAccountExplicitly(Account account, String password, Bundle userdata) {
76 assertTrue(sAccountManager.addAccountExplicitly(account, password, userdata));
79 private boolean removeAccount(AccountManager am, Account account
    [all...]
ContentResolverTest.java 22 import android.accounts.Account;
69 private static final Account ACCOUNT = new Account("cts", "cts");
    [all...]
  /cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java 19 import android.accounts.Account;
48 public static final String ACCOUNT_NAME = "android.accounts.cts.account.name";
49 public static final String ACCOUNT_NAME_OTHER = "android.accounts.cts.account.name.other";
51 public static final String ACCOUNT_TYPE = "android.accounts.cts.account.type";
52 public static final String ACCOUNT_TYPE_OTHER = "android.accounts.cts.account.type.other";
54 public static final String ACCOUNT_PASSWORD = "android.accounts.cts.account.password";
82 public static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE);
83 public static final Account ACCOUNT_SAME_TYPE = new Account(ACCOUNT_NAME_OTHER, ACCOUNT_TYPE)
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
EmailProvider.java 43 import com.android.emailcommon.provider.Account;
131 new ContentCache("Account", Account.CONTENT_PROJECTION, MAX_CACHED_ACCOUNTS);
143 private static final int ACCOUNT = ACCOUNT_BASE;
224 Account.TABLE_NAME,
254 Account.CONTENT_PROJECTION,
307 matcher.addURI(EmailContent.AUTHORITY, "account", ACCOUNT);
308 // A specific account
309 // insert into this URI causes a mailbox to be added to the account
1332 Account account = new Account(); 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/Contacts/src/com/android/contacts/activities/
ContactEditorAccountsChangedActivity.java 42 * which account the contact will be saved in. There is also an option to add an account at
44 * {@link #Intents.Insert.ACCOUNT} that contains the {@link AccountWithDataSet} to create
46 * account for this contact.
89 // which account to create a contact in.
105 // If the user has 1 writable account we will just show the user a message with 2
113 final AccountWithDataSet account = accounts.get(0); local
115 account.name));
117 // This button allows the user to add a new account to the device and return to
123 // account
172 AccountWithDataSet account = mEditorUtils.getCreatedAccount(resultCode, data); local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 22 import android.accounts.Account;
656 public void onAccountChosen(Account account, String dataSet, int tag) {
660 intent.putExtra(Insert.ACCOUNT, account);
668 intent.putExtra(Insert.ACCOUNT, account);
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java 42 import android.accounts.Account;
367 final Account account = mIntentExtras == null ? null : local
368 (Account) mIntentExtras.getParcelable(Intents.Insert.ACCOUNT);
372 if (account != null) {
373 // Account specified in Intent
374 createContact(new AccountWithDataSet(account.name, account.type, dataSet));
376 // No Account specified. Let the user choos
861 AccountWithDataSet account = (name == null || type == null) ? null : local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupEditorFragment.java 35 import android.accounts.Account;
162 SELECTING_ACCOUNT, // Account select dialog is showing
230 // Account select dialog is showing. Don't setup the editor yet.
239 final Account account = mIntentExtras == null ? null : local
240 (Account) mIntentExtras.getParcelable(Intents.Insert.ACCOUNT);
244 if (account != null) {
245 // Account specified in Intent - no data set can be specified in this manner.
246 mAccountName = account.name
    [all...]
  /frameworks/base/core/java/android/provider/
ContactsContract.java 19 import android.accounts.Account;
73 * person and associated with a single account (for example, one of the user's
147 * A query parameter specifing a primary account. This parameter should be used with
151 * For example, in an email composition screen, its implementation can specify an account when
152 * obtaining possible recipients, letting the provider know which account is selected during
153 * the composition. The provider may use the "primary account" information to optimize
159 * A query parameter specifing a primary account. This parameter should be used with
420 * (for instance when the user adds a new Directory account), the directory provider
426 * A directory row can be optionally associated with an existing account
427 * (see {@link android.accounts.AccountManager}). If the account is later removed
    [all...]

Completed in 1704 milliseconds