Home
last modified time | relevance | path

Searched refs:mHostAuthSend (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java150 public transient HostAuth mHostAuthSend; field in Account
447 if (mHostAuthSend == null) { in getOrCreateHostAuthSend()
449 mHostAuthSend = HostAuth.restoreHostAuthWithId(context, mHostAuthKeySend); in getOrCreateHostAuthSend()
451 mHostAuthSend = new HostAuth(); in getOrCreateHostAuthSend()
454 return mHostAuthSend; in getOrCreateHostAuthSend()
634 if (mHostAuthRecv == null && mHostAuthSend == null && mPolicy != null) { in save()
665 if (mHostAuthSend != null) { in save()
666 if (mHostAuthSend.mCredential != null) { in save()
668 mHostAuthRecv.mCredential.equals(mHostAuthSend.mCredential)) { in save()
673 ops.add(ContentProviderOperation.newInsert(mHostAuthSend.mCredential.mBaseUri) in save()
[all …]
/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java89 account1.mHostAuthSend = account1.mHostAuthRecv; in testSetImapDeletePolicy()
94 account2.mHostAuthSend = setupSimpleHostAuth("smtp"); in testSetImapDeletePolicy()
100 account3.mHostAuthSend = setupSimpleHostAuth("smtp"); in testSetImapDeletePolicy()
105 account4.mHostAuthSend = setupSimpleHostAuth("smtp"); in testSetImapDeletePolicy()
111 account5.mHostAuthSend = setupSimpleHostAuth("smtp"); in testSetImapDeletePolicy()
117 account6.mHostAuthSend = setupSimpleHostAuth("smtp"); in testSetImapDeletePolicy()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java52 assertEquals("send", a.mHostAuthSend.mLogin); in testDeserializeFromJSON()
53 assertEquals("sendpass", a.mHostAuthSend.mPassword); in testDeserializeFromJSON()
106 assertEquals(before.mHostAuthSend, after.mHostAuthSend); in testSerializeAndDeserializeWithJSON()
/packages/apps/Email/tests/src/com/android/email/provider/
DAccountBackupRestoreTests.java87 saved1.mHostAuthSend = in testBackupAndRestore()
94 saved2.mHostAuthSend = in testBackupAndRestore()
136 ProviderTestUtils.assertHostAuthEqual("backup", saved1.mHostAuthSend, send, false); in testBackupAndRestore()
150 ProviderTestUtils.assertHostAuthEqual("backup", saved2.mHostAuthSend, send, false); in testBackupAndRestore()
DProviderTests.java209 account1.mHostAuthSend = in testAccountSaveHostAuth()
226 "testAccountSaveHostAuth-send", account1.mHostAuthSend, hostAuth2get); in testAccountSaveHostAuth()
231 account.mHostAuthSend = in testAccountGetHostAuthSend()
237 authTest = account.mHostAuthSend; in testAccountGetHostAuthSend()
247 account.mHostAuthSend = null; in testAccountGetHostAuthSend()
250 assertNotNull(account.mHostAuthSend); in testAccountGetHostAuthSend()
255 account.mHostAuthSend = null; in testAccountGetHostAuthSend()
259 assertNotNull(account.mHostAuthSend); in testAccountGetHostAuthSend()
329 account1.mHostAuthSend = ProviderTestUtils.setupHostAuth( in testGetProtocol()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java351 final Credential cred = account.mHostAuthSend.mCredential; in saveSettingsAfterEdit()
357 account.mHostAuthSend.mCredentialKey = cred.mId; in saveSettingsAfterEdit()
360 account.mHostAuthSend.update(context, account.mHostAuthSend.toContentValues()); in saveSettingsAfterEdit()
DAccountSettingsFragment.java889 if (mServiceInfo.usesSmtp && mAccount.mHostAuthSend != null) { in loadSettings()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java77 testAccount.mHostAuthSend = mHostAuth; in setUp()