Home
last modified time | relevance | path

Searched refs:FLAG_TLS (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java136 ha.setConnection("imap", "server", HostAuth.PORT_UNKNOWN, HostAuth.FLAG_TLS); in testSetConnectionFlags()
137 assertEquals(HostAuth.FLAG_TLS, ha.mFlags); in testSetConnectionFlags()
141 HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL); in testSetConnectionFlags()
142 assertEquals(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, ha.mFlags); in testSetConnectionFlags()
160 ha.setConnection("eas", "server", HostAuth.PORT_UNKNOWN, HostAuth.FLAG_TLS, "client-cert"); in testSetConnectionWithCerts()
161 assertEquals(HostAuth.FLAG_TLS, ha.mFlags); in testSetConnectionWithCerts()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java51 public static final int FLAG_TLS = 0x02; // Use TLS field in HostAuth
124 case FLAG_TLS: in getSchemeString()
127 case FLAG_TLS | FLAG_TRUST_ALL: in getSchemeString()
157 flags |= HostAuth.FLAG_TLS; in getSchemeFlags()
260 mFlags &= ~(FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL); in setConnection()
263 boolean useSecureConnection = (flags & (FLAG_SSL | FLAG_TLS)) != 0; in setConnection()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java117 new SpinnerOption(HostAuth.FLAG_TLS, context.getString( in onCreateView()
119 new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, context.getString( in onCreateView()
DAccountSetupIncomingFragment.java132 new SpinnerOption(HostAuth.FLAG_TLS, context.getString( in onCreateView()
134 new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, context.getString( in onCreateView()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java77 } else if ((sendAuth.mFlags & HostAuth.FLAG_TLS) != 0) { in SmtpSender()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java120 } else if ((recvAuth.mFlags & HostAuth.FLAG_TLS) != 0) { in ImapStore()
DPop3Store.java114 } else if ((recvAuth.mFlags & HostAuth.FLAG_TLS) != 0) { in Pop3Store()