Searched refs:FLAG_TLS (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | HostAuthTests.java | 143 ha.setConnection("imap", "server", HostAuth.PORT_UNKNOWN, HostAuth.FLAG_TLS); in testSetConnectionFlags() 144 assertEquals(HostAuth.FLAG_TLS, ha.mFlags); in testSetConnectionFlags() 148 HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL); in testSetConnectionFlags() 149 assertEquals(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, ha.mFlags); in testSetConnectionFlags() 171 ha.setConnection("eas", "server", HostAuth.PORT_UNKNOWN, HostAuth.FLAG_TLS, "client-cert"); in testSetConnectionWithCerts() 172 assertEquals(HostAuth.FLAG_TLS, ha.mFlags); in testSetConnectionWithCerts()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 55 public static final int FLAG_TLS = 0x02; // Use TLS field in HostAuth 61 public static final int FLAG_TRANSPORTSECURITY_MASK = FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL; 176 case FLAG_TLS: in getSchemeString() 179 case FLAG_TLS | FLAG_TRUST_ALL: in getSchemeString() 209 flags |= HostAuth.FLAG_TLS; in getSchemeFlags() 373 mFlags &= ~(FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL); in setConnection() 376 boolean useSecureConnection = (flags & (FLAG_SSL | FLAG_TLS)) != 0; in setConnection()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupOutgoingFragment.java | 187 new SpinnerOption(HostAuth.FLAG_TLS, context.getString( in onActivityCreated() 189 new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated()
|
D | AccountSetupIncomingFragment.java | 246 new SpinnerOption(HostAuth.FLAG_TLS, context.getString( in onActivityCreated() 248 securityTypes.add(new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, in onActivityCreated()
|
D | AccountSetupFinal.java | 969 HostAuth.PORT_UNKNOWN, info.offerTls ? HostAuth.FLAG_TLS : HostAuth.FLAG_SSL); in populateHostAuthsFromSetupData() 978 HostAuth.PORT_UNKNOWN, HostAuth.FLAG_TLS); in populateHostAuthsFromSetupData()
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/ |
D | ImapStore.java | 46 public static final int FLAG_TLS = 0x02; // Use TLS field in ImapStore
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
D | MailTransport.java | 95 return (mHostAuth.mFlags & HostAuth.FLAG_TLS) != 0; in canTryTlsSecurity()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 209 MockTransport mockTransport = openAndInjectMockTransport(HostAuth.FLAG_TLS, in testTlsOpen()
|