Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java86 account1.mHostAuthRecv = setupSimpleHostAuth("eas"); in testSetImapDeletePolicy()
87 account1.mHostAuthSend = account1.mHostAuthRecv; in testSetImapDeletePolicy()
91 account2.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testSetImapDeletePolicy()
97 account3.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testSetImapDeletePolicy()
102 account4.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetImapDeletePolicy()
108 account5.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetImapDeletePolicy()
114 account6.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetImapDeletePolicy()
DMailServiceTests.java241 easAccount.mHostAuthRecv = setupSimpleHostAuth("eas"); in testSetupSyncReportsLocked()
242 easAccount.mHostAuthSend = easAccount.mHostAuthRecv; in testSetupSyncReportsLocked()
246 imapAccount.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetupSyncReportsLocked()
251 pop3Account.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testSetupSyncReportsLocked()
300 account1.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetupSyncReportsWithBadAccounts()
307 account2.mHostAuthRecv = null; in testSetupSyncReportsWithBadAccounts()
313 account3.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetupSyncReportsWithBadAccounts()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java136 public transient HostAuth mHostAuthRecv; field in Account
447 if (mHostAuthRecv == null) { in getOrCreateHostAuthRecv()
449 mHostAuthRecv = HostAuth.restoreHostAuthWithId(context, mHostAuthKeyRecv); in getOrCreateHostAuthRecv()
451 mHostAuthRecv = new HostAuth(); in getOrCreateHostAuthRecv()
454 return mHostAuthRecv; in getOrCreateHostAuthRecv()
759 if (mHostAuthRecv == null && mHostAuthSend == null && mIsDefault == false && in save()
771 if (mHostAuthRecv != null) { in save()
773 ops.add(ContentProviderOperation.newInsert(mHostAuthRecv.mBaseUri) in save()
774 .withValues(mHostAuthRecv.toContentValues()) in save()
819 mHostAuthRecv.mId = newId; in save()
[all …]
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupExchangeTests.java182 account.mHostAuthRecv = ProviderTestUtils.setupHostAuth( in testLoadSettings()
184 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_SSL; in testLoadSettings()
185 account.mHostAuthRecv.mFlags &= ~HostAuth.FLAG_TRUST_ALL; in testLoadSettings()
195 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_TRUST_ALL; in testLoadSettings()
204 account.mHostAuthRecv.mPassword = ""; in testLoadSettings()
/packages/apps/Email/tests/src/com/android/email/provider/
DAccountBackupRestoreTests.java87 saved1.mHostAuthRecv = in testBackupAndRestore()
95 saved2.mHostAuthRecv = in testBackupAndRestore()
139 ProviderTestUtils.assertHostAuthEqual("backup", saved1.mHostAuthRecv, recv, false); in testBackupAndRestore()
153 ProviderTestUtils.assertHostAuthEqual("backup", saved2.mHostAuthRecv, recv, false); in testBackupAndRestore()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java303 account1.mHostAuthRecv in testReadUnread()
335 account1.mHostAuthRecv in testFavorites()
494 account1.mHostAuthRecv = setupSimpleHostAuth("eas"); in testIsMessagingController()
499 account2.mHostAuthRecv = setupSimpleHostAuth("imap"); in testIsMessagingController()
504 account3.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testIsMessagingController()
509 account4.mHostAuthRecv = setupSimpleHostAuth("smtp"); in testIsMessagingController()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java236 mAccount.mHostAuthRecv = in onResume()
243 if (refreshedAccount == null || mAccount.mHostAuthRecv == null in onResume()
324 account.mHostAuthRecv = in doInBackground()
328 if (account.mHostAuthRecv == null || account.mHostAuthSend == null) { in doInBackground()
480 if (HostAuth.SCHEME_POP3.equals(mAccount.mHostAuthRecv.mProtocol)) { in loadSettings()
581 if (mAccount.mHostAuthRecv.mProtocol.equals(HostAuth.SCHEME_EAS)) { in loadSettings()
667 if (mAccount.mHostAuthRecv.mProtocol.equals("eas")) { in saveSettings()
DAccountSetupExchange.java150 String username = account.mHostAuthRecv.mLogin; in startAutoDiscover()
151 String password = account.mHostAuthRecv.mPassword; in startAutoDiscover()
DAccountSetupAccountType.java86 HostAuth hostAuth = account.mHostAuthRecv; in onPop()
103 HostAuth hostAuth = account.mHostAuthRecv; in onImap()
DAccountSetupExchangeFragment.java281 HostAuth hostAuth = account.mHostAuthRecv; in loadSettings()
385 account.mHostAuthRecv.update(mContext, account.mHostAuthRecv.toContentValues()); in saveSettingsAfterEdit()
410 account.mHostAuthRecv = newHostAuth; in setHostAuthFromAutodiscover()
DAccountSetupIncomingFragment.java293 if (account == null || account.mHostAuthRecv == null) { in configureEditor()
297 mBaseScheme = account.mHostAuthRecv.mProtocol; in configureEditor()
420 account.mHostAuthRecv.update(mContext, account.mHostAuthRecv.toContentValues()); in saveSettingsAfterEdit()
DAccountSetupNames.java97 if (account.mHostAuthRecv == null) { in onCreate()
112 mEasAccount = HostAuth.SCHEME_EAS.equals(account.mHostAuthRecv.mProtocol); in onCreate()
DAccountCheckSettingsFragment.java425 mStoreHost = checkAccount.mHostAuthRecv.mAddress; in AccountCheckTask()
427 mCheckPassword = checkAccount.mHostAuthRecv.mPassword; in AccountCheckTask()
DAccountSetupOptions.java233 if (account.mHostAuthRecv == null) { in onDone()
DAccountSetupBasics.java621 String protocol = account.mHostAuthRecv.mProtocol; in populateSetupData()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java61 testAccount.mHostAuthRecv = testAuth; in testGetInstance()
74 testAccount.mHostAuthRecv = testAuth; in testGetInstance()
/packages/apps/Email/tests/src/com/android/email/activity/
DMessagesAdapterTests.java46 acct.mHostAuthRecv = in createAccount()
48 acct.mHostAuthKeyRecv = acct.mHostAuthRecv.mId; in createAccount()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityMediumTests.java63 account1.mHostAuthRecv = ProviderTestUtils.setupHostAuth("ha1", -1, false, mMockContext); in testFindExistingAccount()
67 account2.mHostAuthRecv = ProviderTestUtils.setupHostAuth("ha2", -1, false, mMockContext); in testFindExistingAccount()
86 account3.mHostAuthRecv = ProviderTestUtils.setupHostAuth("foo_ba", -1, false, mMockContext); in testFindExistingAccount()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java156 testAccount.mHostAuthRecv = testAuth; in setUp()
352 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
360 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
368 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
DPop3StoreUnitTests.java78 testAccount.mHostAuthRecv = testAuth; in setUp()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java564 account.mHostAuthRecv = ha; in collectEasAccounts()
828 account.mHostAuthRecv = ha; in onAccountChanged()