/packages/apps/Email/src/com/android/email/provider/ |
H A D | EmailContent.aidl | 20 parcelable EmailContent.HostAuth;
|
H A D | EmailContent.java | 868 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 D | EmailProvider.java | 26 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 D | AccountSetupNamesTests.java | 21 import com.android.email.provider.EmailContent.HostAuth; 127 HostAuth hostAuth = new HostAuth();
|
H A D | AccountSetupExchangeTests.java | 23 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 D | AccountSetupExchange.java | 25 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 D | AccountSetupNames.java | 26 import com.android.email.provider.EmailContent.HostAuth; 101 HostAuth hostAuth = HostAuth.restoreHostAuthWithId(this, mAccount.mHostAuthKeyRecv);
|
H A D | AccountSettings.java | 27 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 D | GalEmailAddressAdapter.java | 22 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 D | ProviderTestUtils.java | 22 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 D | ProviderTests.java | 25 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 D | EasSyncService.java | 32 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 D | SyncManager.java | 29 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 D | Utility.java | 22 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 D | ControllerProviderOpsTests.java | 23 import com.android.email.provider.EmailContent.HostAuth;
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | UpgradeAccounts.java | 38 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;
|