90760c8fa36574d6cc9224046758317ca6f640bf |
|
15-Oct-2013 |
Jason Monk <jmonk@google.com> |
Fix error when PAC set rapidly Stop the broadcast from being accidentally sent when PAC is in the process of downloading / binding local proxy. Only send broadcast when valid port is contained (i.e. sent by PacManager). Bug: 11168706 Change-Id: I998711fcf0a6bd82bdef413726ec41317752a57b
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
decd295b1371238c97c170226c6145948492eda1 |
|
10-Oct-2013 |
Jason Monk <jmonk@google.com> |
getProxy in ConnectivityService returns port w/PAC Changes the PacManager to report message back to ConnectivityService to send a broadcast once the download has completed. This allows the ConnectivityService to store the correct proxy info for getProxy(). This made the problem arise that ProxyProperties was not handling port while it had PAC. Added small fix for equals() and parcelization. The combination of these fixes seems to resolve Bug: 11028616. Bug: 11168706 Change-Id: I92d1343a8e804391ab77596b8167a2ef8d76b378
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
d443479a45279f8f52daf4034698f2ab3c3e62f1 |
|
23-Sep-2013 |
Jason Monk <jmonk@google.com> |
Fix Sending PAC Broadcast before downloaded The PacManager now waits until the local proxy is bound and the PAC file is downloaded before sending out the proxy broadcast. Bug: 10895515 Change-Id: Iaa7fc0989b52453aeeb720b44df0fca0fcb959ca
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
bc018d89c27cdd93d1c0222a6e27965455974b9e |
|
17-Sep-2013 |
Jason Monk <jmonk@google.com> |
Fix PacManager to not unbind when no connection PacManager previously would unbind service even when there was no connection. This means that multiple set proxies of no PAC after a PAC was present would cause the framework to crash. Bug: 10801296 Change-Id: I4387b50b6510cea3ee73425c8a0a837f816b0ce1
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
6f8a68f49a7e8cf86104e721a1e8be7568b5f730 |
|
24-Aug-2013 |
Jason Monk <jmonk@google.com> |
Guarantee that PAC Local Proxy owns Port This changes the PAC support to not broadcast the Proxy information until the Local Proxy has started up and successfully bound to a port so that the local proxy information can be guaranteed to be owned by the proxy. Bug: 10459877 Change-Id: I175cd3388c758c55e341115e4a8241884b90d633
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
da205a749fadb3a87357d9bd607f094c7717764a |
|
21-Aug-2013 |
Jason Monk <jmonk@google.com> |
System binds PAC Local Proxy instead of self start The PAC Local Proxy priviously caught proxy broadcasts and started itself when needed. Now it is bound by the system the same way the pac processing service is started. Bug: 10425091 Change-Id: I746daa21645a11aa18ef464f00c8cb5536d8c86f
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
9ced3cd9d6ea414523051ec872fffc68f5fdbf08 |
|
12-Aug-2013 |
Jason Monk <jmonk@google.com> |
Change PacProcessor to Android Service This switches the PacProcessor over to an Android Service. The service is bound and unbound by the PacManager, which also adds it to the ServiceManager, allowing for Context-Free access by the PacProxySelector in all DVMs. bug:10182711 Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
a48ad8bd858d6ffe77838a282dbf71e01967957c |
|
10-Aug-2013 |
Wink Saville <wink@google.com> |
PROXY_SERVICE may be missing and its reference null. Protect ourselves from when PROXY_SERVICE is missing and mProxyService is null. Bug: 10267814 Change-Id: Ia329376218e246cdde3d70b578c18466d48a6383
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|
602b232a06ede86999aa362a12eb28cbc782dc1d |
|
03-Jul-2013 |
Jason Monk <jmonk@google.com> |
Add PAC File support for proxy configuration PAC (Proxy auto-config) files contain a single javascript function, FindProxyForURL(url, host). It gets called to determine what proxy should be used for a specific request. This adds PAC support to the system. The ProxyProperties has been modified to hold the PAC file when one is present. The Proxy method setHttpProxySystemProperty has been modified to insert a PacProxySelector as the default ProxySelector when it is required. This new ProxySelector makes calls to the ConnectivityService to parse the PAC file. The ConnectivityService and the WifiConfigStore have been modified to support saving the extra PAC file data. The ConnectivityService now has a class attached (PacProxyNative) that interfaces to the native calls for PAC files. The parsing of the PAC file is handled by libpac (which is being added to external/) which utilizes libv8 to parse the javascript. As a fallback to applications that don't use the java ProxySelector, the proxy is setup to point to a local proxy server that will handle the pac parsing. bug:10182711 Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401
/frameworks/base/services/java/com/android/server/connectivity/PacManager.java
|