HomeSort by relevance Sort by last modified time
    Searched refs:ACCOUNT (Results 1 - 11 of 11) 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 */);
72 private void addAccountExplicitly(Account account, String password, Bundle userdata) {
73 assertTrue(sAccountManager.addAccountExplicitly(account, password, userdata));
76 private boolean removeAccount(AccountManager am, Account account
    [all...]
ContentResolverTest.java 27 import android.accounts.Account;
55 private static final Account ACCOUNT = new Account("cts", "cts");
745 ContentResolver.requestSync(ACCOUNT, AUTHORITY, extras);
748 ContentResolver.cancelSync(ACCOUNT, AUTHORITY);
  /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 48 import com.android.emailcommon.provider.Account;
122 new ContentCache("Account", Account.CONTENT_PROJECTION, MAX_CACHED_ACCOUNTS);
152 // Version 19: Add Policy table; add policyKey to Account table and trigger to delete an
153 // Account's policy when the Account is deleted
162 // Version 28: Add notifiedMessageId and notifiedMessageCount to Account
175 private static final int ACCOUNT = ACCOUNT_BASE;
232 Account.TABLE_NAME,
260 Account.CONTENT_PROJECTION
1987 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...]
PeopleActivity.java     [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 634 public void onAccountChosen(AccountWithDataSet account, int tag) {
638 intent.putExtra(Insert.ACCOUNT, account);
639 intent.putExtra(Insert.DATA_SET, account.dataSet);
646 intent.putExtra(Insert.ACCOUNT, account);
647 intent.putExtra(Insert.DATA_SET, account.dataSet);
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java 39 import android.accounts.Account;
368 final Account account = mIntentExtras == null ? null : local
369 (Account) mIntentExtras.getParcelable(Intents.Insert.ACCOUNT);
373 if (account != null) {
374 // Account specified in Intent
375 createContact(new AccountWithDataSet(account.name, account.type, dataSet));
377 // No Account specified. Let the user choos
811 AccountWithDataSet account = (name == null || type == null) ? null : local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupEditorFragment.java 34 import android.accounts.Account;
163 SELECTING_ACCOUNT, // Account select dialog is showing
231 // Account select dialog is showing. Don't setup the editor yet.
240 final Account account = mIntentExtras == null ? null : local
241 (Account) mIntentExtras.getParcelable(Intents.Insert.ACCOUNT);
245 if (account != null) {
246 // Account specified in Intent - no data set can be specified in this manner.
247 mAccountName = account.name
    [all...]
  /frameworks/base/core/java/android/provider/
ContactsContract.java 19 import android.accounts.Account;
72 * person and associated with a single account (for example, one of the user's
146 * A query parameter specifing a primary account. This parameter should be used with
150 * For example, in an email composition screen, its implementation can specify an account when
151 * obtaining possible recipients, letting the provider know which account is selected during
152 * the composition. The provider may use the "primary account" information to optimize
158 * A query parameter specifing a primary account. This parameter should be used with
409 * (for instance when the user adds a new Directory account), the directory provider
415 * A directory row can be optionally associated with an existing account
416 * (see {@link android.accounts.AccountManager}). If the account is later removed
    [all...]

Completed in 1225 milliseconds