Home
last modified time | relevance | path

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

/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java26 import com.android.email.mail.Transport;
46 private Transport mTransport;
81 int connectionSecurity = Transport.CONNECTION_SECURITY_NONE; in SmtpSender()
85 connectionSecurity = Transport.CONNECTION_SECURITY_SSL; in SmtpSender()
88 connectionSecurity = Transport.CONNECTION_SECURITY_TLS; in SmtpSender()
110 /* package */ void setTransport(Transport testTransport) { in setTransport()
DMailTransport.java22 import com.android.email.mail.Transport;
49 public class MailTransport implements Transport {
82 public Transport newInstanceWithConfiguration() { in newInstanceWithConfiguration()
136 return mConnectionSecurity == Transport.CONNECTION_SECURITY_TLS; in canTryTlsSecurity()
/packages/apps/Email/src/com/android/email/mail/
DTransport.java38 public interface Transport { interface
52 public Transport newInstanceWithConfiguration(); in newInstanceWithConfiguration()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DMockTransport.java19 import com.android.email.mail.Transport;
33 public class MockTransport implements Transport {
136 return (mConnectionSecurity == Transport.CONNECTION_SECURITY_TLS); in canTryTlsSecurity()
180 public Transport newInstanceWithConfiguration() { in newInstanceWithConfiguration()
DSmtpSenderUnitTests.java21 import com.android.email.mail.Transport;
374 mockTransport.setSecurity(Transport.CONNECTION_SECURITY_NONE, false); in openAndInjectMockTransport()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java29 import com.android.email.mail.Transport;
55 private Transport mTransport;
115 int connectionSecurity = Transport.CONNECTION_SECURITY_NONE; in Pop3Store()
119 connectionSecurity = Transport.CONNECTION_SECURITY_SSL; in Pop3Store()
122 connectionSecurity = Transport.CONNECTION_SECURITY_TLS; in Pop3Store()
144 /* package */ void setTransport(Transport testTransport) { in setTransport()
DImapStore.java31 import com.android.email.mail.Transport;
84 private Transport mRootTransport;
137 int connectionSecurity = Transport.CONNECTION_SECURITY_NONE; in ImapStore()
141 connectionSecurity = Transport.CONNECTION_SECURITY_SSL; in ImapStore()
144 connectionSecurity = Transport.CONNECTION_SECURITY_TLS; in ImapStore()
177 /* package */ void setTransport(Transport testTransport) { in setTransport()
1128 private Transport mTransport;
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java25 import com.android.email.mail.Transport;
183 mockTransport.setSecurity(Transport.CONNECTION_SECURITY_NONE, false); in openAndInjectMockTransport()
DPop3StoreUnitTests.java25 import com.android.email.mail.Transport;
800 mockTransport.setSecurity(Transport.CONNECTION_SECURITY_NONE, false); in openAndInjectMockTransport()