/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | HostAuthCompat.java | 31 public HostAuthCompat(HostAuth hostAuth) { in HostAuthCompat() argument 32 mProtocol = hostAuth.mProtocol; in HostAuthCompat() 33 mAddress = hostAuth.mAddress; in HostAuthCompat() 34 mPort = hostAuth.mPort; in HostAuthCompat() 35 mFlags = hostAuth.mFlags; in HostAuthCompat() 36 mLogin = hostAuth.mLogin; in HostAuthCompat() 37 mPassword = hostAuth.mPassword; in HostAuthCompat() 38 mDomain = hostAuth.mDomain; in HostAuthCompat() 39 mClientCertAlias = hostAuth.mClientCertAlias; in HostAuthCompat() 40 mServerCert = hostAuth.mServerCert; in HostAuthCompat() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | EmailClientConnectionManager.java | 64 HostAuth hostAuth) { in newInstance() argument 66 boolean ssl = hostAuth.shouldUseSsl(); in newInstance() 67 int port = hostAuth.mPort; in newInstance() 75 SSLUtils.getHttpSocketFactory(context, hostAuth, keyManager, false), in newInstance() 79 SSLUtils.getHttpSocketFactory(context, hostAuth, keyManager, true), in newInstance() 92 public synchronized void registerClientCert(Context context, HostAuth hostAuth) in registerClientCert() argument 94 if (TextUtils.isEmpty(hostAuth.mClientCertAlias)) { in registerClientCert() 98 String schemeName = makeSchemeForClientCert(hostAuth.mClientCertAlias, in registerClientCert() 99 hostAuth.shouldTrustAllServerCerts()); in registerClientCert() 104 + hostAuth.mClientCertAlias + "]"); in registerClientCert() [all …]
|
D | SSLUtils.java | 73 SameCertificateCheckingTrustManager(Context context, HostAuth hostAuth) { in SameCertificateCheckingTrustManager() argument 75 mHostAuth = hostAuth; in SameCertificateCheckingTrustManager() 79 new String[] {Long.toString(hostAuth.mId)}, null); in SameCertificateCheckingTrustManager() 159 final Context context, final HostAuth hostAuth, final KeyManager keyManager, in getSSLSocketFactory() argument 171 new SameCertificateCheckingTrustManager(context, hostAuth)}; in getSSLSocketFactory() 198 public static SSLSocketFactory getHttpSocketFactory(Context context, HostAuth hostAuth, in getHttpSocketFactory() argument 200 javax.net.ssl.SSLSocketFactory underlying = getSSLSocketFactory(context, hostAuth, in getHttpSocketFactory()
|
/packages/apps/Email/provider_src/com/android/email/mail/ |
D | Store.java | 90 HostAuth hostAuth = account.getOrCreateHostAuthRecv(context); in getInstance() local 92 if (hostAuth == null) return null; in getInstance() 94 Store store = sStores.get(hostAuth); in getInstance() 111 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context); in createInstanceInternal() local 112 Class<? extends Store> klass = sStoreClasses.get(hostAuth.mProtocol); in createInstanceInternal() 128 if (hostAuth.mId != EmailContent.NOT_SAVED && cacheInstance) { in createInstanceInternal() 129 sStores.put(hostAuth, store); in createInstanceInternal()
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
D | AuthenticationCache.java | 98 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context); in getEntry() local 99 final Credential credential = hostAuth.getOrCreateCredential(context); in getEntry() 107 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context); in getEntry() local 108 final Credential credential = hostAuth.getCredential(context); in getEntry() 145 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context); in saveEntry() local 146 final Credential cred = hostAuth.getOrCreateCredential(context); in saveEntry()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTestUtils.java | 93 HostAuth hostAuth = new HostAuth(); in setupHostAuth() local 95 hostAuth.mProtocol = protocol; in setupHostAuth() 96 hostAuth.mAddress = "address-" + name; in setupHostAuth() 97 hostAuth.mPort = 100; in setupHostAuth() 98 hostAuth.mFlags = 200; in setupHostAuth() 99 hostAuth.mLogin = "login-" + name; in setupHostAuth() 100 hostAuth.mPassword = "password-" + name; in setupHostAuth() 101 hostAuth.mDomain = "domain-" + name; in setupHostAuth() 104 hostAuth.save(context); in setupHostAuth() 106 return hostAuth; in setupHostAuth()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupCredentialsFragment.java | 334 public static void populateHostAuthWithResults(final Context context, final HostAuth hostAuth, in populateHostAuthWithResults() argument 341 hostAuth.mPassword = password; in populateHostAuthWithResults() 342 hostAuth.removeCredential(); in populateHostAuthWithResults() 344 Credential cred = hostAuth.getOrCreateCredential(context); in populateHostAuthWithResults() 355 hostAuth.mPassword = null; in populateHostAuthWithResults() 357 hostAuth.mClientCertAlias = results.getString(EXTRA_CLIENT_CERT); in populateHostAuthWithResults()
|
D | AuthenticationView.java | 140 public void setAuthInfo(final boolean offerOAuth, final HostAuth hostAuth) { in setAuthInfo() argument 144 final Credential cred = hostAuth.getCredential(getContext()); in setAuthInfo() 156 mPasswordEdit.setText(hostAuth.mPassword); in setAuthInfo()
|
D | AccountCheckSettingsFragment.java | 293 public AutoDiscoverResults(boolean authenticationError, HostAuth hostAuth) { in AutoDiscoverResults() argument 300 mHostAuth = hostAuth; in AutoDiscoverResults()
|
D | AccountSetupFinal.java | 1128 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(this); in initiateAccountCreation() local 1129 if (hostAuth.mProtocol.equals(getString(R.string.protocol_eas))) { in initiateAccountCreation()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceUtils.java | 311 final boolean contacts, final HostAuth hostAuth, in setupAccountManagerAccount() argument 313 if (hostAuth == null) { in setupAccountManagerAccount() 319 options.putString(EasAuthenticatorService.OPTIONS_PASSWORD, hostAuth.mPassword); in setupAccountManagerAccount() 323 final EmailServiceInfo info = getServiceInfo(context, hostAuth.mProtocol); in setupAccountManagerAccount() 340 final HostAuth hostAuth = in updateAccountManagerType() local 342 if (hostAuth == null) { in updateAccountManagerType() 346 final String newProtocol = protocolMap.get(hostAuth.mProtocol); in updateAccountManagerType() 367 resolver.update(ContentUris.withAppendedId(HostAuth.CONTENT_URI, hostAuth.mId), in updateAccountManagerType() 430 final String accountType = protocolMap.get(hostAuth.mProtocol + "_type"); in updateAccountManagerType()
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | EmailBroadcastProcessorServiceTests.java | 63 HostAuth hostAuth = ProviderTestUtils.setupHostAuth(protocol, "name", false, mContext); in setupSimpleHostAuth() local 64 hostAuth.mProtocol = protocol; in setupSimpleHostAuth() 65 return hostAuth; in setupSimpleHostAuth()
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | MockTransport.java | 100 public MockTransport(Context context, HostAuth hostAuth) { in MockTransport() argument 101 super(context, LOG_TAG, hostAuth); in MockTransport()
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 390 final HostAuth hostAuth = account.mHostAuthRecv; in tryAdvanceSecurity() local 391 if (hostAuth == null) { in tryAdvanceSecurity() 407 hostAuth.mAddress)); in tryAdvanceSecurity()
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
D | MailTransport.java | 65 public MailTransport(Context context, String debugLabel, HostAuth hostAuth) { in MailTransport() argument 69 mHostAuth = hostAuth; in MailTransport()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Account.java | 524 HostAuth hostAuth = getOrCreateHostAuthRecv(context); in getProtocol() local 525 if (hostAuth != null) { in getProtocol() 526 return hostAuth.mProtocol; in getProtocol()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 1587 HostAuth hostAuth = new HostAuth(); in restoreHostAuth() local 1588 hostAuth.restore(c); in restoreHostAuth() 1589 return hostAuth; in restoreHostAuth() 1637 HostAuth hostAuth = restoreHostAuth(fromDatabase, in copyAccountTables() local 1641 if (hostAuth == null) continue; in copyAccountTables() 1643 hostAuth.toContentValues()); in copyAccountTables() 1647 hostAuth = restoreHostAuth(fromDatabase, account.mHostAuthKeySend); in copyAccountTables() 1651 if (hostAuth == null) continue; in copyAccountTables() 1653 HostAuth.TABLE_NAME, null, hostAuth.toContentValues()); in copyAccountTables() 6217 HostAuth hostAuth = in dump() local [all …]
|