Lines Matching defs:error

130      * this dialog was opened from the SSL-certificate-on-error dialog or
175 // if we came here from the SSL error dialog
177 // go back to the SSL error dialog
191 // if we came here from the SSL error dialog
193 // go back to the SSL error dialog
203 // error
215 // if we came here from the SSL error dialog
217 // go back to the SSL error dialog
271 * Displays the SSL error certificate dialog.
273 * @param handler The SSL error handler responsible for cancelling the
274 * connection that resulted in an SSL error or proceeding per user request.
275 * @param error The SSL error object.
279 final SslError error) {
281 SslCertificate cert = error.getCertificate();
288 mSSLCertificateOnErrorError = error;
289 mSSLCertificateOnErrorDialog = createSslCertificateDialog(cert, error)
300 view, handler, error);
316 error.getUrl());
328 view, handler, error);
335 * Creates an AlertDialog to display the given certificate. If error is
337 * is set accordingly. If error is non-null, it must relate to the supplied
338 * certificate. In this case, error is used to add text describing the
342 SslError error) {
350 if (error == null) {
357 if (error.hasError(SslError.SSL_UNTRUSTED)) {
360 if (error.hasError(SslError.SSL_IDMISMATCH)) {
363 if (error.hasError(SslError.SSL_EXPIRED)) {
366 if (error.hasError(SslError.SSL_NOTYETVALID)) {
369 if (error.hasError(SslError.SSL_DATE_INVALID)) {
372 if (error.hasError(SslError.SSL_INVALID)) {
375 // The SslError should always have at least one type of error and we
376 // should explicitly handle every type of error it supports. We
378 // as as safety net in case a new error type is added to SslError
391 private void addError(LayoutInflater inflater, LinearLayout parent, int error) {
394 textView.setText(error);