Home
last modified time | relevance | path

Searched refs:mHostAuthRecv (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java149 public transient HostAuth mHostAuthRecv; field in Account
458 if (mHostAuthRecv == null) { in getOrCreateHostAuthRecv()
460 mHostAuthRecv = HostAuth.restoreHostAuthWithId(context, mHostAuthKeyRecv); in getOrCreateHostAuthRecv()
462 mHostAuthRecv = new HostAuth(); in getOrCreateHostAuthRecv()
465 return mHostAuthRecv; in getOrCreateHostAuthRecv()
634 if (mHostAuthRecv == null && mHostAuthSend == null && mPolicy != null) { in save()
647 if (mHostAuthRecv != null) { in save()
648 if (mHostAuthRecv.mCredential != null) { in save()
650 ops.add(ContentProviderOperation.newInsert(mHostAuthRecv.mCredential.mBaseUri) in save()
651 .withValues(mHostAuthRecv.mCredential.toContentValues()) in save()
[all …]
/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java88 account1.mHostAuthRecv = setupSimpleHostAuth("eas"); in testSetImapDeletePolicy()
89 account1.mHostAuthSend = account1.mHostAuthRecv; in testSetImapDeletePolicy()
93 account2.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testSetImapDeletePolicy()
99 account3.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testSetImapDeletePolicy()
104 account4.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetImapDeletePolicy()
110 account5.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetImapDeletePolicy()
116 account6.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetImapDeletePolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DAccountBackupRestoreTests.java85 saved1.mHostAuthRecv = in testBackupAndRestore()
92 saved2.mHostAuthRecv = in testBackupAndRestore()
135 ProviderTestUtils.assertHostAuthEqual("backup", saved1.mHostAuthRecv, recv, false); in testBackupAndRestore()
149 ProviderTestUtils.assertHostAuthEqual("backup", saved2.mHostAuthRecv, recv, false); in testBackupAndRestore()
DProviderTests.java207 account1.mHostAuthRecv = in testAccountSaveHostAuth()
222 "testAccountSaveHostAuth-recv", account1.mHostAuthRecv, hostAuth1get); in testAccountSaveHostAuth()
265 account.mHostAuthRecv = in testAccountGetHostAuthRecv()
271 authTest = account.mHostAuthRecv; in testAccountGetHostAuthRecv()
281 account.mHostAuthRecv = null; in testAccountGetHostAuthRecv()
284 assertNotNull(account.mHostAuthRecv); in testAccountGetHostAuthRecv()
289 account.mHostAuthRecv = null; in testAccountGetHostAuthRecv()
293 assertNotNull(account.mHostAuthRecv); in testAccountGetHostAuthRecv()
324 account1.mHostAuthRecv = ProviderTestUtils.setupHostAuth( in testGetProtocol()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java333 if (mAccount.mHostAuthRecv != null) { in AccountCheckTask()
334 mStoreHost = mAccount.mHostAuthRecv.mAddress; in AccountCheckTask()
335 mCheckPassword = mAccount.mHostAuthRecv.mPassword; in AccountCheckTask()
393 mAccount.mHostAuthRecv.mAddress = redirectAddress; in doInBackground()
420 if (mAccount.mHostAuthRecv != null) { in doInBackground()
421 final String protocol = mAccount.mHostAuthRecv.mProtocol; in doInBackground()
DAccountSetupIncomingFragment.java325 if (account == null || account.mHostAuthRecv == null) { in configureEditor()
328 account == null, account == null || account.mHostAuthRecv == null); in configureEditor()
331 mBaseScheme = account.mHostAuthRecv.mProtocol; in configureEditor()
511 final Credential cred = account.mHostAuthRecv.mCredential; in saveSettingsAfterEdit()
517 account.mHostAuthRecv.mCredentialKey = cred.mId; in saveSettingsAfterEdit()
520 account.mHostAuthRecv.update(context, account.mHostAuthRecv.toContentValues()); in saveSettingsAfterEdit()
DAccountCreationFragment.java304 .startService(mAppContext, account.mHostAuthRecv.mProtocol);
DAccountSettingsFragment.java459 if (account.mHostAuthRecv == null) { in loadInBackground()
DAccountSetupFinal.java1111 if (account.mHostAuthRecv == null) { in initiateAccountCreation()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java50 assertEquals("receiver", a.mHostAuthRecv.mLogin); in testDeserializeFromJSON()
51 assertEquals("recpass", a.mHostAuthRecv.mPassword); in testDeserializeFromJSON()
94 before.mHostAuthRecv = getHostAuthJSON("receiver", "recpass"); in testSerializeAndDeserializeWithJSON()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java66 testAccount.mHostAuthRecv = testAuth; in testGetInstance()
79 testAccount.mHostAuthRecv = testAuth; in testGetInstance()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java158 testAccount.mHostAuthRecv = testAuth; in setUp()
354 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
362 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
370 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
DPop3StoreUnitTests.java77 testAccount.mHostAuthRecv = mHostAuth; in setUp()
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSecurity.java390 final HostAuth hostAuth = account.mHostAuthRecv; in tryAdvanceSecurity()