Searched refs:FLAG_TLS (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | HostAuthTests.java | 136 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/ |
D | HostAuth.java | 51 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/ |
D | AccountSetupOutgoingFragment.java | 117 new SpinnerOption(HostAuth.FLAG_TLS, context.getString( in onCreateView() 119 new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, context.getString( in onCreateView()
|
D | AccountSetupIncomingFragment.java | 132 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/ |
D | SmtpSender.java | 77 } else if ((sendAuth.mFlags & HostAuth.FLAG_TLS) != 0) { in SmtpSender()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ImapStore.java | 120 } else if ((recvAuth.mFlags & HostAuth.FLAG_TLS) != 0) { in ImapStore()
|
D | Pop3Store.java | 114 } else if ((recvAuth.mFlags & HostAuth.FLAG_TLS) != 0) { in Pop3Store()
|