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

  /packages/apps/Email/src/com/android/email/
LegacyConversions.java 590 * @param fromAccount the provider account to be backed up (including transient hostauth's)
594 EmailContent.Account fromAccount) {
597 result.setDescription(fromAccount.getDisplayName());
598 result.setEmail(fromAccount.getEmailAddress());
599 // fromAccount.mSyncKey - assume lost if restoring
600 result.setSyncWindow(fromAccount.getSyncLookback());
601 result.setAutomaticCheckIntervalMinutes(fromAccount.getSyncInterval());
602 // fromAccount.mHostAuthKeyRecv - id not saved; will be reassigned when restoring
603 // fromAccount.mHostAuthKeySend - id not saved; will be reassigned when restoring
613 (fromAccount.getFlags() & EmailContent.Account.FLAGS_NOTIFY_NEW_MAIL))
    [all...]
AccountBackupRestore.java 103 EmailContent.Account fromAccount =
106 Log.v(Email.LOG_TAG, "Backing up account:" + fromAccount.getDisplayName());
108 Account toAccount = LegacyConversions.makeLegacyAccount(context, fromAccount);
111 if (fromAccount.mHostAuthRecv.mProtocol.equals("eas")) {
113 fromAccount.mEmailAddress, Email.EXCHANGE_ACCOUNT_MANAGER_TYPE);
127 if (fromAccount.mId == defaultAccountId) {
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 616 EmailContent.Account fromAccount = ProviderTestUtils.setupAccount("convert-to-legacy",
618 fromAccount.mHostAuthRecv =
620 fromAccount.mHostAuthSend =
622 fromAccount.save(mProviderContext);
624 Account toAccount = LegacyConversions.makeLegacyAccount(mProviderContext, fromAccount);
625 checkLegacyAccount("testMakeLegacyAccount", fromAccount, toAccount);
    [all...]

Completed in 15 milliseconds