Home
last modified time | relevance | path

Searched refs:setConnection (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java114 ha.setConnection("imap", "server", 123, 0); in testSetConnectionFlags()
116 ha.setConnection("imap", "server", -1, 0); in testSetConnectionFlags()
120 ha.setConnection("pop3", "server", 123, 0); in testSetConnectionFlags()
122 ha.setConnection("pop3", "server", -1, 0); in testSetConnectionFlags()
124 ha.setConnection("eas", "server", 123, 0); in testSetConnectionFlags()
126 ha.setConnection("eas", "server", -1, 0); in testSetConnectionFlags()
128 ha.setConnection("smtp", "server", 123, 0); in testSetConnectionFlags()
130 ha.setConnection("smtp", "server", -1, 0); in testSetConnectionFlags()
134 ha.setConnection("imap", "server", HostAuth.PORT_UNKNOWN, HostAuth.FLAG_SSL); in testSetConnectionFlags()
138 ha.setConnection("imap", "server", HostAuth.PORT_UNKNOWN, in testSetConnectionFlags()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java354 public void setConnection(String protocol, String address, int port, int flags) { in setConnection() method in HostAuth
355 setConnection(protocol, address, port, flags, null); in setConnection()
368 public void setConnection(String protocol, String address, in setConnection() method in HostAuth
541 setConnection(scheme, uri.getHost(), uri.getPort()); in setHostAuthFromString()
547 public void setConnection(String scheme, String host, int port) { in setConnection() method in HostAuth
562 setConnection(protocol, host, port, flags, clientCertAlias); in setConnection()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupIncomingFragment.java209 recvAuth.setConnection(recvAuth.mProtocol, domain, HostAuth.PORT_UNKNOWN, in onActivityCreated()
539 sendAuth.setConnection(sendAuth.mProtocol, hostName, sendAuth.mPort, sendAuth.mFlags); in saveSettingsAfterSetup()
575 recvAuth.setConnection(mBaseScheme, serverAddress, serverPort, securityType); in collectUserInputInternal()
DAccountSetupOutgoingFragment.java231 sendAuth.setConnection(sendAuth.mProtocol, domain, HostAuth.PORT_UNKNOWN, in loadSettings()
399 sendAuth.setConnection(mBaseScheme, serverAddress, serverPort, securityType); in collectUserInputInternal()
DSetupDataFragment.java206 recvAuth.setConnection(protocol, recvAuth.mAddress, recvAuth.mPort, recvAuth.mFlags); in setIncomingProtocol()
DAccountSetupFinal.java968 recvAuth.setConnection(mSetupData.getIncomingProtocol(), domain, in populateHostAuthsFromSetupData()
977 sendAuth.setConnection(HostAuth.LEGACY_SCHEME_SMTP, domain, in populateHostAuthsFromSetupData()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java76 mHostAuth.setConnection("smtp", "server", 999); in setUp()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java157 testAuth.setConnection("imap", "server", 999); in setUp()
352 testAuth.setConnection("imap", "server", 999); in testImapIdDeviceId()
360 testAuth.setConnection("imap", "server", 999); in testImapIdDeviceId()
368 testAuth.setConnection("imap", "server", 999); in testImapIdDeviceId()
DPop3StoreUnitTests.java76 mHostAuth.setConnection("pop3", "server", 999); in setUp()