/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/Exchange/src/com/android/exchange/eas/ |
D | EasConnectionCache.java | 88 final HostAuth hostAuth) in createConnectionManager() argument 90 LogUtils.d(Eas.LOG_TAG, "Creating new connection manager for HostAuth %d", hostAuth.mId); in createConnectionManager() 95 EmailClientConnectionManager.newInstance(context, params, hostAuth); in createConnectionManager() 97 mgr.registerClientCert(context, hostAuth); in createConnectionManager() 111 final Context context, final HostAuth hostAuth) in getCachedConnectionManager() argument 113 EmailClientConnectionManager connectionManager = mConnectionMap.get(hostAuth.mId); in getCachedConnectionManager() 116 final long lifetime = now - mConnectionCreationTimes.get(hostAuth.mId); in getCachedConnectionManager() 119 hostAuth.mId); in getCachedConnectionManager() 120 uncacheConnectionManager(hostAuth); in getCachedConnectionManager() 125 connectionManager = createConnectionManager(context, hostAuth); in getCachedConnectionManager() [all …]
|
D | EasAutoDiscover.java | 235 private static void parseServer(final XmlPullParser parser, final HostAuth hostAuth) in parseServer() argument 252 hostAuth.mAddress = Uri.parse(url).getHost(); in parseServer() 266 private static void parseSettings(final XmlPullParser parser, final HostAuth hostAuth) in parseSettings() argument 275 parseServer(parser, hostAuth); in parseSettings() 288 private static void parseAction(final XmlPullParser parser, final HostAuth hostAuth) in parseAction() argument 301 parseSettings(parser, hostAuth); in parseAction() 314 private static void parseUser(final XmlPullParser parser, final HostAuth hostAuth) in parseUser() argument 340 private static void parseResponse(final XmlPullParser parser, final HostAuth hostAuth) in parseResponse() argument 349 parseUser(parser, hostAuth); in parseResponse() 351 parseAction(parser, hostAuth); in parseResponse() [all …]
|
D | EasOperation.java | 193 protected EasOperation(final Context context, final Account account, final HostAuth hostAuth) { in EasOperation() argument 194 this(context, account, new EasServerConnection(context, account, hostAuth)); in EasOperation() 219 protected final void setDummyAccount(final HostAuth hostAuth) { in setDummyAccount() argument 221 mAccount.mEmailAddress = hostAuth.mLogin; in setDummyAccount() 222 mConnection = new EasServerConnection(mContext, mAccount, hostAuth); in setDummyAccount() 252 protected void setAccount(final Account account, final HostAuth hostAuth) { in setAccount() argument 255 mConnection = new EasServerConnection(mContext, mAccount, hostAuth); in setAccount()
|
D | EasFolderSync.java | 94 public EasFolderSync(final Context context, final HostAuth hostAuth) { in EasFolderSync() argument 96 setDummyAccount(hostAuth); in EasFolderSync()
|
/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 | 72 SameCertificateCheckingTrustManager(Context context, HostAuth hostAuth) { in SameCertificateCheckingTrustManager() argument 74 mHostAuth = hostAuth; in SameCertificateCheckingTrustManager() 78 new String[] {Long.toString(hostAuth.mId)}, null); in SameCertificateCheckingTrustManager() 147 HostAuth hostAuth, boolean insecure) { in getSSLSocketFactory() argument 153 new SameCertificateCheckingTrustManager(context, hostAuth)}); in getSSLSocketFactory() 168 public static SSLSocketFactory getHttpSocketFactory(Context context, HostAuth hostAuth, in getHttpSocketFactory() argument 170 SSLCertificateSocketFactory underlying = getSSLSocketFactory(context, hostAuth, insecure); in getHttpSocketFactory()
|
/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/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/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/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/src/com/android/email/activity/setup/ |
D | AccountSetupCredentialsFragment.java | 335 public static void populateHostAuthWithResults(final Context context, final HostAuth hostAuth, in populateHostAuthWithResults() argument 342 hostAuth.mPassword = password; in populateHostAuthWithResults() 343 hostAuth.removeCredential(); in populateHostAuthWithResults() 345 Credential cred = hostAuth.getOrCreateCredential(context); in populateHostAuthWithResults() 356 hostAuth.mPassword = null; in populateHostAuthWithResults() 358 hostAuth.mClientCertAlias = results.getString(EXTRA_CLIENT_CERT); in populateHostAuthWithResults()
|
D | AuthenticationView.java | 145 public void setAuthInfo(final boolean offerOAuth, final HostAuth hostAuth) { in setAuthInfo() argument 149 final Credential cred = hostAuth.getCredential(getContext()); in setAuthInfo() 161 mPasswordEdit.setText(hostAuth.mPassword); in setAuthInfo()
|
D | AccountSecurity.java | 360 final HostAuth hostAuth = account.mHostAuthRecv; in tryAdvanceSecurity() local 361 if (hostAuth == null) { in tryAdvanceSecurity() 377 hostAuth.mAddress)); in tryAdvanceSecurity()
|
D | AccountCheckSettingsFragment.java | 293 public AutoDiscoverResults(boolean authenticationError, HostAuth hostAuth) { in AutoDiscoverResults() argument 300 mHostAuth = hostAuth; in AutoDiscoverResults()
|
D | AccountSetupFinal.java | 1118 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(this); in initiateAccountCreation() local 1119 if (hostAuth.mProtocol.equals(getString(R.string.protocol_eas))) { in initiateAccountCreation()
|
/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/emailcommon/src/com/android/emailcommon/provider/ |
D | Account.java | 518 HostAuth hostAuth = getOrCreateHostAuthRecv(context); in getProtocol() local 519 if (hostAuth != null) { in getProtocol() 520 return hostAuth.mProtocol; in getProtocol()
|
/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/src/com/android/email/mail/transport/ |
D | MailTransport.java | 64 public MailTransport(Context context, String debugLabel, HostAuth hostAuth) { in MailTransport() argument 68 mHostAuth = hostAuth; in MailTransport()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailProvider.java | 1489 HostAuth hostAuth = new HostAuth(); in restoreHostAuth() local 1490 hostAuth.restore(c); in restoreHostAuth() 1491 return hostAuth; in restoreHostAuth() 1539 HostAuth hostAuth = restoreHostAuth(fromDatabase, in copyAccountTables() local 1543 if (hostAuth == null) continue; in copyAccountTables() 1545 hostAuth.toContentValues()); in copyAccountTables() 1549 hostAuth = restoreHostAuth(fromDatabase, account.mHostAuthKeySend); in copyAccountTables() 1553 if (hostAuth == null) continue; in copyAccountTables() 1555 HostAuth.TABLE_NAME, null, hostAuth.toContentValues()); in copyAccountTables() 6075 HostAuth hostAuth = in dump() local [all …]
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
D | EasServerConnection.java | 141 final HostAuth hostAuth) { in EasServerConnection() argument 143 mHostAuth = hostAuth; in EasServerConnection()
|
D | EasService.java | 124 final HostAuth hostAuth = hostAuthCom.toHostAuth(); 125 final EasFolderSync operation = new EasFolderSync(EasService.this, hostAuth);
|