HomeSort by relevance Sort by last modified time
    Searched defs:account (Results 1 - 25 of 61) sorted by null

1 2 3

  /packages/apps/Gallery3D/src/com/cooliris/picasa/
UserEntry.java 23 @Column("account")
24 public String account; field in class:UserEntry
  /frameworks/base/core/java/android/content/
PeriodicSync.java 22 import android.accounts.Account;
29 /** The account to be synced */
30 public final Account account; field in class:PeriodicSync
39 public PeriodicSync(Account account, String authority, Bundle extras, long period) {
40 this.account = account;
51 account.writeToParcel(dest, flags);
59 return new PeriodicSync(Account.CREATOR.createFromParcel(source)
    [all...]
SyncInfo.java 19 import android.accounts.Account;
31 * The {@link Account} that is currently being synced.
33 public final Account account; field in class:SyncInfo
48 SyncInfo(int authorityId, Account account, String authority,
51 this.account = account;
64 account.writeToParcel(parcel, 0);
72 account = new Account(parcel)
    [all...]
SyncOperation.java 19 import android.accounts.Account;
28 public final Account account; field in class:SyncOperation
37 public SyncOperation(Account account, int source, String authority, Bundle extras,
39 this.account = account;
69 this.account = other.account;
81 sb.append(" account: ").append(account)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSetupAccountTypeUnitTests.java 22 import com.android.email.provider.EmailContent.Account;
42 private static final String EXTRA_ACCOUNT = "account";
46 private HashSet<Account> mAccounts = new HashSet<Account>();
64 for (Account account : mAccounts) {
65 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, account.mId);
77 EmailContent.Account acct1 = createTestAccount("scheme1");
78 EmailContent.Account acct2 = createTestAccount("scheme1")
118 Account account = new Account(); local
    [all...]
AccountSetupOptionsTests.java 37 private static final String EXTRA_ACCOUNT = "account";
55 boolean hasPush = frequencySpinnerHasValue(EmailContent.Account.CHECK_INTERVAL_PUSH);
68 boolean hasPush = frequencySpinnerHasValue(EmailContent.Account.CHECK_INTERVAL_PUSH);
87 boolean hasPush = frequencySpinnerHasValue(EmailContent.Account.CHECK_INTERVAL_PUSH);
115 * Create an intent with the Account in it
118 EmailContent.Account account = new EmailContent.Account(); local
119 account.setSenderName(name);
120 account.setStoreUri(getInstrumentation().getTargetContext(), storeUri)
    [all...]
AccountSetupExchangeTests.java 22 import com.android.email.provider.EmailContent.Account;
38 * Tests of the basic UI logic in the Account Setup Incoming (IMAP / POP3) screen.
147 Account account = local
148 ProviderTestUtils.setupAccount("account", false, mActivity.getBaseContext());
149 account.mHostAuthRecv = ProviderTestUtils.setupHostAuth(
151 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_SSL;
152 account.mHostAuthRecv.mFlags &= ~HostAuth.FLAG_TRUST_ALL_CERTIFICATES;
153 mActivity.loadFields(account);
160 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_TRUST_ALL_CERTIFICATES
225 EmailContent.Account account = new EmailContent.Account(); local
    [all...]
AccountSetupIncomingTests.java 33 * Tests of the basic UI logic in the Account Setup Incoming (IMAP / POP3) screen.
40 private static final String EXTRA_ACCOUNT = "account";
186 * Create an intent with the Account in it
189 EmailContent.Account account = new EmailContent.Account(); local
190 account.setStoreUri(getInstrumentation().getTargetContext(), storeUriString);
192 i.putExtra(EXTRA_ACCOUNT, account);
AccountSetupOutgoingTests.java 33 * Tests of the basic UI logic in the Account Setup Outgoing (SMTP) screen.
180 * Create an intent with the Account in it
183 EmailContent.Account account = new EmailContent.Account(); local
184 account.setSenderUri(this.getInstrumentation().getTargetContext(), senderUriString);
186 i.putExtra("account", account); // AccountSetupNames.EXTRA_ACCOUNT == "account"
  /frameworks/base/core/java/android/accounts/
ChooseAccountActivity.java 52 mAccountNames[i] = ((Account) mAccounts[i]).name;
63 Account account = (Account) mAccounts[position]; local
64 Log.d(TAG, "selected account " + account);
66 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
67 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
  /frameworks/base/test-runner/src/android/test/
SyncBaseInstrumentation.java 24 import android.accounts.Account;
50 Account account = new Account(accountName, "com.google"); local
52 ContentResolver.requestSync(account, authority, extras);
67 if (ContentResolver.isSyncActive(account, authority)) {
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 20 import com.android.email.provider.EmailContent.Account;
40 * Create an account for test purposes
42 public static Account setupAccount(String name, boolean saveIt, Context context) {
43 Account account = new Account(); local
45 account.mDisplayName = name;
46 account.mEmailAddress = name + "@android.com";
47 account.mSyncKey = "sync-key-" + name;
48 account.mSyncLookback = 1
    [all...]
  /packages/apps/Email/tests/src/com/android/exchange/
EasSyncServiceTests.java 20 import com.android.email.provider.EmailContent.Account;
141 // The value will be "0" without an account
147 // With an account, but null security key, the header's value should be "0"
148 Account account = new Account(); local
149 account.mSecuritySyncKey = null;
150 svc.mAccount = account;
156 // With an account and security key, the header's value should be the security key
157 account.mSecuritySyncKey = "key"
    [all...]
  /packages/apps/Email/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java 20 import com.android.email.provider.EmailContent.Account;
40 Account mAccount;
70 Account account = new Account(); local
71 account.mEmailAddress = "__test__@android.com";
72 account.mId = -1;
75 return getTestService(account, mailbox);
78 EasSyncService getTestService(Account account, Mailbox mailbox)
    [all...]
  /frameworks/base/core/java/com/android/internal/content/
SyncStateContentProviderHelper.java 24 import android.accounts.Account;
117 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) {
123 Account account = new Account(accountName, accountType); local
124 if (!ArrayUtils.contains(accounts, account)) {
  /packages/apps/Email/src/com/android/email/activity/
AccountShortcutPicker.java 21 import com.android.email.provider.EmailContent.Account;
39 * This class implements a launcher shortcut for directly accessing a single account.
74 EmailContent.Account.CONTENT_URI,
75 EmailContent.Account.CONTENT_PROJECTION,
95 Account account = new Account().restore(cursor); local
96 setupShortcut(account);
116 int unreadMessageCount = 0; // TODO get unread count from Account
157 private void setupShortcut(Account account)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSecurity.java 21 import com.android.email.provider.EmailContent.Account;
34 * 1. Confirm the account of interest has any security policies defined - exit early if not
51 * @param accountId The account of interest
52 * @return an Intent which can be used to view that account
70 Account account = Account.restoreAccountWithId(this, accountId); local
71 if (account != null) {
72 if (account.mSecurityFlags != 0) {
73 // This account wants to control securit
    [all...]
AccountSettingsUtils.java 37 * Commits the UI-related settings of an account to the provider. This is static so that it
38 * can be used by the various account activities. If the account has never been saved, this
41 * @param account the account whose settings will be committed
43 public static void commitSettings(Context context, EmailContent.Account account) {
44 if (!account.isSaved()) {
45 account.save(context);
48 cv.put(AccountColumns.IS_DEFAULT, account.mIsDefault)
    [all...]
AccountSetupAccountType.java 23 import com.android.email.provider.EmailContent.Account;
37 * Prompts the user to select an account type. The account type, along with the
43 private static final String EXTRA_ACCOUNT = "account";
48 private Account mAccount;
52 public static void actionSelectAccountType(Activity fromActivity, Account account,
55 i.putExtra(EXTRA_ACCOUNT, account);
67 mAccount = (Account) intent.getParcelableExtra(EXTRA_ACCOUNT);
72 // If we're in account setup flow mode, for EAS, skip this screen and "click" EA
198 Account account = EmailContent.getContent(c, Account.class); local
    [all...]
  /packages/apps/Email/src/com/android/email/service/
EasAuthenticatorService.java 23 import android.accounts.Account;
38 * with addAccount, it simply adds the account to AccountManager directly with a username and
58 // app UI; we simply create the account and return the proper bundle
61 final Account account = new Account(options.getString(OPTIONS_USERNAME), local
64 account, options.getString(OPTIONS_PASSWORD), null);
73 ContentResolver.setIsSyncable(account, ContactsContract.AUTHORITY, 1);
74 ContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY,
83 ContentResolver.setIsSyncable(account, Calendar.AUTHORITY, 1)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
AccountTestCase.java 21 import com.android.email.provider.EmailContent.Account;
35 * Base class for unit tests that use {@link android.accounts.Account}.
46 protected android.accounts.Account[] getExchangeAccounts() {
51 protected android.accounts.Account makeAccountManagerAccount(String username) {
52 return new android.accounts.Account(username, Email.EXCHANGE_ACCOUNT_MANAGER_TYPE);
56 final android.accounts.Account account = makeAccountManagerAccount(username); local
57 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null);
60 protected Account setupProviderAndAccountManagerAccount(String username) {
62 // we need to use for the account manage
    [all...]
ControllerProviderOpsTests.java 22 import com.android.email.provider.EmailContent.Account;
105 Account account = ProviderTestUtils.setupAccount("mailboxid", true, mProviderContext); local
106 long accountId = account.mId;
128 Account account = ProviderTestUtils.setupAccount("mailboxid", true, mProviderContext); local
129 long accountId = account.mId;
157 * - message/mailbox/account all exist
161 Account account1 = ProviderTestUtils.setupAccount("message-delete", true, mProviderContext);
200 Account account1
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticatorActivity.java 19 import android.accounts.Account;
69 /** Was the original caller asking for an entirely new account? */
157 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); local
158 mAccountManager.setPassword(account, mPassword);
171 * the authToken in AccountManager for this account.
178 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE) local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/internet/
EmailHtmlUtilTest.java 28 import com.android.email.provider.EmailContent.Account;
46 private EmailContent.Account mAccount;
56 // Force assignment of a default account, and retrieve it
60 // Force assignment of a default account
61 long accountId = Account.getDefaultAccountId(context);
63 Account account = new Account(); local
64 account.mSenderName = "Bob Sender";
65 account.mEmailAddress = "bob@sender.com"
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GlobalSearchSupportTest.java 19 import android.accounts.Account;
44 Account account = new Account("actname", "acttype"); local
45 long rawContactId = createRawContact(account);

Completed in 198 milliseconds

1 2 3