Searched refs:FLAG_SSL (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | HostAuthTests.java | 134 ha.setConnection("imap", "server", HostAuth.PORT_UNKNOWN, HostAuth.FLAG_SSL); in testSetConnectionFlags() 135 assertEquals(HostAuth.FLAG_SSL, ha.mFlags); in testSetConnectionFlags() 139 HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL); in testSetConnectionFlags() 140 assertEquals(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, ha.mFlags); in testSetConnectionFlags() 167 ha.setConnection("eas", "server", HostAuth.PORT_UNKNOWN, HostAuth.FLAG_SSL, "client-cert"); in testSetConnectionWithCerts() 168 assertEquals(HostAuth.FLAG_SSL, ha.mFlags); in testSetConnectionWithCerts() 178 HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, "client-cert"); in testSetConnectionWithCerts() 179 assertEquals(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, ha.mFlags); in testSetConnectionWithCerts()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 54 public static final int FLAG_SSL = 0x01; // Use SSL field in HostAuth 61 public static final int FLAG_TRANSPORTSECURITY_MASK = FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL; 170 case FLAG_SSL: in getSchemeString() 173 case FLAG_SSL | FLAG_TRUST_ALL: in getSchemeString() 207 flags |= HostAuth.FLAG_SSL; in getSchemeFlags() 373 mFlags &= ~(FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL); in setConnection() 376 boolean useSecureConnection = (flags & (FLAG_SSL | FLAG_TLS)) != 0; in setConnection() 384 boolean useSSL = ((mFlags & FLAG_SSL) != 0); in setConnection() 396 return (mFlags & FLAG_SSL) != 0; in shouldUseSsl()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupIncomingFragment.java | 239 new SpinnerOption(HostAuth.FLAG_SSL, context.getString( in onActivityCreated() 242 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated() 386 flags |= HostAuth.FLAG_SSL; in loadSettings() 439 return ((securityType & HostAuth.FLAG_SSL) != 0); in getSslSelected()
|
D | AccountSetupOutgoingFragment.java | 183 new SpinnerOption(HostAuth.FLAG_SSL, context.getString( in onActivityCreated() 185 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated() 307 return (securityType & HostAuth.FLAG_SSL) != 0 ? SMTP_PORT_SSL : SMTP_PORT_NORMAL; in getPortFromSecurityType()
|
D | AccountSetupFinal.java | 888 ((recvAuth.mFlags & HostAuth.FLAG_SSL) != 0) ? info.portSsl : info.port; in finishAutoSetup() 969 HostAuth.PORT_UNKNOWN, info.offerTls ? HostAuth.FLAG_TLS : HostAuth.FLAG_SSL); in populateHostAuthsFromSetupData()
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/ |
D | ImapStore.java | 44 public static final int FLAG_SSL = 0x01; // Use SSL field in ImapStore
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
D | MailTransport.java | 84 return (mFlags & ImapStore.FLAG_SSL) != 0; in canTrySslSecurity()
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
D | MailTransport.java | 91 return (mHostAuth.mFlags & HostAuth.FLAG_SSL) != 0; in canTrySslSecurity()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/ |
D | ImapHelper.java | 87 auth = ImapStore.FLAG_SSL; in ImapHelper()
|