Searched refs:HostAuth (Results 1 - 16 of 16) sorted by relevance

/packages/apps/Email/src/com/android/email/provider/
H A DEmailContent.aidl20 parcelable EmailContent.HostAuth;
H A DEmailContent.java868 public transient HostAuth mHostAuthRecv;
869 public transient HostAuth mHostAuthSend;
1162 mHostAuthRecv = HostAuth.restoreHostAuthWithId(context, mHostAuthKeyRecv);
1182 mHostAuthSend = HostAuth.restoreHostAuthWithId(context, mHostAuthKeySend);
1205 mHostAuthRecv = HostAuth.restoreHostAuthWithId(context, mHostAuthKeyRecv);
1207 mHostAuthRecv = new EmailContent.HostAuth();
1227 mHostAuthSend = HostAuth.restoreHostAuthWithId(context, mHostAuthKeySend);
1229 mHostAuthSend = new EmailContent.HostAuth();
1399 * Override this so that we can store the HostAuth's first and link them to the Account
1597 mHostAuthRecv = new EmailContent.HostAuth(i
2144 public static final class HostAuth extends EmailContent implements HostAuthColumns, Parcelable { class in class:EmailContent
2182 public HostAuth() { method in class:EmailContent.HostAuth
2405 public HostAuth(Parcel in) { method in class:EmailContent.HostAuth
[all...]
H A DEmailProvider.java26 import com.android.email.provider.EmailContent.HostAuth;
151 EmailContent.HostAuth.TABLE_NAME,
423 // Deleting an account deletes associated Mailboxes and HostAuth's
427 "; delete from " + HostAuth.TABLE_NAME +
429 "; delete from " + HostAuth.TABLE_NAME +
453 db.execSQL("create table " + HostAuth.TABLE_NAME + s);
458 db.execSQL("drop table " + HostAuth.TABLE_NAME);
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSetupNamesTests.java21 import com.android.email.provider.EmailContent.HostAuth;
127 HostAuth hostAuth = new HostAuth();
H A DAccountSetupExchangeTests.java23 import com.android.email.provider.EmailContent.HostAuth;
147 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_SSL;
148 account.mHostAuthRecv.mFlags &= ~HostAuth.FLAG_TRUST_ALL_CERTIFICATES;
156 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_TRUST_ALL_CERTIFICATES;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupExchange.java25 import com.android.email.provider.EmailContent.HostAuth;
269 HostAuth hostAuth = account.mHostAuthRecv;
294 boolean ssl = 0 != (hostAuth.mFlags & HostAuth.FLAG_SSL);
295 boolean trustCertificates = 0 != (hostAuth.mFlags & HostAuth.FLAG_TRUST_ALL_CERTIFICATES);
355 // Account.update will NOT save the HostAuth's
371 // Account.save will save the HostAuth's
406 Parcelable p = data.getParcelableExtra("HostAuth");
408 HostAuth hostAuth = (HostAuth)p;
H A DAccountSetupNames.java26 import com.android.email.provider.EmailContent.HostAuth;
101 HostAuth hostAuth = HostAuth.restoreHostAuthWithId(this, mAccount.mHostAuthKeyRecv);
H A DAccountSettings.java27 import com.android.email.provider.EmailContent.HostAuth;
126 mAccount.mHostAuthRecv = HostAuth.restoreHostAuthWithId(this, mAccount.mHostAuthKeyRecv);
127 mAccount.mHostAuthSend = HostAuth.restoreHostAuthWithId(this, mAccount.mHostAuthKeySend);
128 // Or if HostAuth's have been deleted
301 // Find a HostAuth using eas and whose login is klthe name of the AccountManager account
330 HostAuth.restoreHostAuthWithId(this, mAccount.mHostAuthKeyRecv);
332 HostAuth.restoreHostAuthWithId(this, mAccount.mHostAuthKeySend);
/packages/apps/Email/src/com/android/exchange/provider/
H A DGalEmailAddressAdapter.java22 import com.android.email.provider.EmailContent.HostAuth;
82 HostAuth ha = HostAuth.restoreHostAuthWithId(mActivity, account.mHostAuthKeyRecv);
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java22 import com.android.email.provider.EmailContent.HostAuth;
71 public static HostAuth setupHostAuth(String name, long accountId, boolean saveIt,
79 public static HostAuth setupHostAuth(String protocol, String name, long accountId,
81 HostAuth hostAuth = new HostAuth();
262 public static void assertHostAuthEqual(String caller, HostAuth expect, HostAuth actual) {
H A DProviderTests.java25 import com.android.email.provider.EmailContent.HostAuth;
107 HostAuth hostAuth1get = EmailContent.HostAuth.restoreHostAuthWithId(mMockContext,
111 HostAuth hostAuth2get = EmailContent.HostAuth.restoreHostAuthWithId(mMockContext,
213 * TODO: HostAuth tests
221 HostAuth ha = ProviderTestUtils.setupHostAuth("uri-security", 1, false, mMockContext);
224 HostAuth.FLAG_SSL | HostAuth.FLAG_TLS | HostAuth
[all...]
/packages/apps/Email/src/com/android/exchange/
H A DEasSyncService.java32 import com.android.email.provider.EmailContent.HostAuth;
230 HostAuth ha = HostAuth.restoreHostAuthWithId(_context, mAccount.mHostAuthKeyRecv);
235 mSsl = (ha.mFlags & HostAuth.FLAG_SSL) != 0;
236 mTrustSsl = (ha.mFlags & HostAuth.FLAG_TRUST_ALL_CERTIFICATES) != 0;
545 * @return a HostAuth ready to be saved in an Account or null (failure)
550 HostAuth hostAuth = new HostAuth();
628 hostAuth = new HostAuth();
632 // Fill in the rest of the HostAuth
[all...]
H A DSyncManager.java29 import com.android.email.provider.EmailContent.HostAuth;
575 // Don't forget to cache the HostAuth
576 HostAuth ha = HostAuth.restoreHostAuthWithId(getContext(),
614 HostAuth ha = HostAuth.restoreHostAuthWithId(context, hostAuthId);
617 // Cache the HostAuth
1158 if (EmailContent.count(this, HostAuth.CONTENT_URI, WHERE_PROTOCOL_EAS, null) > 0) {
/packages/apps/Email/src/com/android/email/
H A DUtility.java22 import com.android.email.provider.EmailContent.HostAuth;
390 Cursor c = resolver.query(HostAuth.CONTENT_URI, HostAuth.ID_PROJECTION,
394 long hostAuthId = c.getLong(HostAuth.ID_PROJECTION_COLUMN);
/packages/apps/Email/tests/src/com/android/email/
H A DControllerProviderOpsTests.java23 import com.android.email.provider.EmailContent.HostAuth;
/packages/apps/Email/src/com/android/email/activity/
H A DUpgradeAccounts.java38 import com.android.email.provider.EmailContent.HostAuth;
803 newAccount.mHostAuthRecv.mFlags |= HostAuth.FLAG_TRUST_ALL_CERTIFICATES;
814 newAccount.mHostAuthSend.mFlags |= HostAuth.FLAG_TRUST_ALL_CERTIFICATES;

Completed in 55 milliseconds