Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java132 HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL); in testSetConnectionFlags()
133 assertEquals(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, 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()
167 HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, "client-cert"); in testSetConnectionWithCerts()
168 assertEquals(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, ha.mFlags); in testSetConnectionWithCerts()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java53 public static final int FLAG_TRUST_ALL = 0x08; // Trust all certificates field in HostAuth
121 case FLAG_SSL | FLAG_TRUST_ALL: in getSchemeString()
127 case FLAG_TLS | FLAG_TRUST_ALL: in getSchemeString()
162 flags |= HostAuth.FLAG_TRUST_ALL; in getSchemeFlags()
260 mFlags &= ~(FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL); in setConnection()
304 return (mFlags & FLAG_TRUST_ALL) != 0; in shouldTrustAllServerCerts()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupExchangeTests.java185 account.mHostAuthRecv.mFlags &= ~HostAuth.FLAG_TRUST_ALL; in testLoadSettings()
195 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_TRUST_ALL; in testLoadSettings()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java115 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, context.getString( in onCreateView()
119 new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, context.getString( in onCreateView()
DAccountSetupExchangeFragment.java311 boolean trustCertificates = 0 != (hostAuth.mFlags & HostAuth.FLAG_TRUST_ALL); in loadSettings()
443 flags |= HostAuth.FLAG_TRUST_ALL; in onNext()
DAccountSetupIncomingFragment.java130 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, 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.java80 boolean trustCertificates = ((sendAuth.mFlags & HostAuth.FLAG_TRUST_ALL) != 0); in SmtpSender()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java123 boolean trustCertificates = ((recvAuth.mFlags & HostAuth.FLAG_TRUST_ALL) != 0); in ImapStore()
DPop3Store.java117 boolean trustCertificates = ((recvAuth.mFlags & HostAuth.FLAG_TRUST_ALL) != 0); in Pop3Store()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasSyncService.java191 mTrustSsl = (ha.mFlags & HostAuth.FLAG_TRUST_ALL) != 0; in EasSyncService()