Home
last modified time | relevance | path

Searched refs:FLAG_TRUST_ALL (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java139 HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL); in testSetConnectionFlags()
140 assertEquals(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, 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()
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/
DHostAuth.java57 public static final int FLAG_TRUST_ALL = 0x08; // Trust all certificates field in HostAuth
61 public static final int FLAG_TRANSPORTSECURITY_MASK = FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL;
173 case FLAG_SSL | FLAG_TRUST_ALL: in getSchemeString()
179 case FLAG_TLS | FLAG_TRUST_ALL: in getSchemeString()
214 flags |= HostAuth.FLAG_TRUST_ALL; in getSchemeFlags()
373 mFlags &= ~(FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL); in setConnection()
401 return (mFlags & FLAG_TRUST_ALL) != 0; in shouldTrustAllServerCerts()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java185 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated()
189 new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated()
DAccountSetupIncomingFragment.java242 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated()
248 securityTypes.add(new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, in onActivityCreated()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapStore.java48 public static final int FLAG_TRUST_ALL = 0x08; // Trust all certificates field in ImapStore
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DMockTransport.java291 connectionSecurity & (trustAllCertificates ? HostAuth.FLAG_TRUST_ALL : 0xff); in setSecurity()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java94 return (mFlags & ImapStore.FLAG_TRUST_ALL) != 0; in canTrustAllCertificates()
/packages/apps/Email/provider_src/com/android/email/mail/transport/
DMailTransport.java99 return (mHostAuth.mFlags & HostAuth.FLAG_TRUST_ALL) != 0; in canTrustAllCertificates()