• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/org/
History log of /frameworks/base/core/java/org/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ab72367506bdc9ce97db4ce3714ff65cedfa5e05 21-Jan-2016 Sergio Giro <sgiro@google.com> org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser

The name DistinguishedNameParser is used by other libraries having the
same package, and some apps incorrectly include packages that are
present in the boot classpath. This relatively newly introduced
DistinguishedNameParser ends up hiding the ones in the libraries.

Bug: 26647082
Change-Id: I735aef3c1e5dd04e5a8e2eda6da6d9c9179f1c70
pache/http/conn/ssl/AbstractVerifier.java
pache/http/conn/ssl/AndroidDistinguishedNameParser.java
pache/http/conn/ssl/DistinguishedNameParser.java
46972b2d825a2368706e7d2210559ca18fc2b332 23-Nov-2015 Sergio Giro <sgiro@google.com> ssl: make DistinguishedNameParser a package-private class in org.apache.http.conn.ssl

Needed by AbstractVerifier in framework/base

DistinguishedNameParser taken from libcore, commit
b5259fcf87994ee18658f07887156aef3cab3b56

Change-Id: I924dc7cd21262e5e91857edf178e46c9916f3f6b
pache/http/conn/ssl/AbstractVerifier.java
pache/http/conn/ssl/DistinguishedNameParser.java
725a4a71b8f2a5493628d87556c78860f66d2308 13-May-2015 Kenny Root <kroot@google.com> Start handshake before calling hostname verifier, part 2

If the hostname verifier calls SSLSocket#getSession() before the
handshake has been started, it will implicitly start the handshake.
However, it will swallow any errors and return the canonical invalid
SSLSession instead. This makes it extremely difficult to debug issues.

Instead start the handshake before calling into the verifier since we
are guaranteed to be the first caller of #startHandshake() and won't
cause a renegotiation. That will allow us to see the actual
SSLHandshakeException if it occurs.

Follow up for change 317c0a4959df0361431d5fbf7dacc162bfb48cd2

Bug: 21118659
Change-Id: I8c606a78ba8a990b4e0d28880b566867261fefbc
pache/http/conn/ssl/SSLSocketFactory.java
423a47bb025e8e15c9c25c4500315f8013637097 13-May-2015 Kenny Root <kroot@google.com> Start handshake before calling hostname verifier

If the hostname verifier calls SSLSocket#getSession() before the
handshake has been started, it will implicitly start the handshake.
However, it will swallow any errors and return the canonical invalid
SSLSession instead. This makes it extremely difficult to debug issues.

Instead start the handshake before calling into the verifier since we
are guaranteed to be the first caller of #startHandshake() and won't
cause a renegotiation. That will allow us to see the actual
SSLHandshakeException if it occurs.

(cherry picked from commit 317c0a4959df0361431d5fbf7dacc162bfb48cd2 in
external/apache-http)

Bug: 14975169
Bug: 17332309
Bug: 17524215
Bug: 17812533
Bug: 18507278
Bug: 19069992
Bug: 19378885
Bug: 19414083
Bug: 19550311
Bug: 19731556
Bug: 19853723
Bug: 20908941
Bug: 21118659
Change-Id: Ie74ec12c8b131c7bf400a07fc91c78da4d5e470f
pache/http/conn/ssl/SSLSocketFactory.java
3bdd327f8532a79b83f575cc62e8eb09a1f93f3d 27-Nov-2014 Narayan Kamath <narayan@google.com> Move apache specific portions of android.net.http to external/apache-http.

We continue to compile external/apache-http into ext.jar. This contains
a few changes apart fom the classes moving around :

- Makefile changes to build docs and api-stubs for now. A future change
will revert these changes and remove these classes from stubs and
docs.
- Hardcode event IDs in legacyerrorstrings to avoid a dependency between
the frameworks and apache. These strings are on their way out and will
never change anyway.
- Remove imports due to {@link} tags and use {@code} instead.
- Remove an accidental(?) dependency on apache commons code that's a
part of apache-http.

bug: 18027885

Change-Id: I51cd038d846ec7d02c283a4541b10a6a9cf62ecf
pache/http/conn/ConnectTimeoutException.java
pache/http/conn/scheme/HostNameResolver.java
pache/http/conn/scheme/LayeredSocketFactory.java
pache/http/conn/scheme/SocketFactory.java
pache/http/conn/ssl/AbstractVerifier.java
pache/http/conn/ssl/AllowAllHostnameVerifier.java
pache/http/conn/ssl/BrowserCompatHostnameVerifier.java
pache/http/conn/ssl/SSLSocketFactory.java
pache/http/conn/ssl/StrictHostnameVerifier.java
pache/http/conn/ssl/X509HostnameVerifier.java
pache/http/conn/ssl/package.html
pache/http/params/CoreConnectionPNames.java
pache/http/params/HttpConnectionParams.java
pache/http/params/HttpParams.java