Lines Matching refs:error

130      * this dialog was opened from the SSL-certificate-on-error dialog or
176 // if we came here from the SSL error dialog
178 // go back to the SSL error dialog
192 // if we came here from the SSL error dialog
194 // go back to the SSL error dialog
204 // error
216 // if we came here from the SSL error dialog
218 // go back to the SSL error dialog
272 * Displays the SSL error certificate dialog.
274 * @param handler The SSL error handler responsible for cancelling the
275 * connection that resulted in an SSL error or proceeding per user request.
276 * @param error The SSL error object.
280 final SslError error) {
282 SslCertificate cert = error.getCertificate();
289 mSSLCertificateOnErrorError = error;
290 mSSLCertificateOnErrorDialog = createSslCertificateDialog(cert, error)
301 onReceivedSslError(view, handler, error);
317 error.getUrl());
329 onReceivedSslError(view, handler, error);
336 * Creates an AlertDialog to display the given certificate. If error is
338 * is set accordingly. If error is non-null, it must relate to the supplied
339 * certificate. In this case, error is used to add text describing the
343 SslError error) {
351 if (error == null) {
358 if (error.hasError(SslError.SSL_UNTRUSTED)) {
361 if (error.hasError(SslError.SSL_IDMISMATCH)) {
364 if (error.hasError(SslError.SSL_EXPIRED)) {
367 if (error.hasError(SslError.SSL_NOTYETVALID)) {
370 if (error.hasError(SslError.SSL_DATE_INVALID)) {
373 if (error.hasError(SslError.SSL_INVALID)) {
376 // The SslError should always have at least one type of error and we
377 // should explicitly handle every type of error it supports. We
379 // as as safety net in case a new error type is added to SslError
392 private void addError(LayoutInflater inflater, LinearLayout parent, int error) {
395 textView.setText(error);