summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/settings/vpn2/VpnTests.java
Commit message (Collapse)AuthorAgeFilesLines
* Match getLegacyVpn calls to changed interfaceRobin Lee2015-07-071-5/+7
| | | | | | The userId argument is now explicit. Pre-requisite for bug 21499103 Change-Id: Ib83e9615326ea484ef6d63fb1a1d9c1659999dab
* VPN: UI for forgetting disconnected VPNsRobin Lee2015-05-181-1/+2
| | | | | | | | | Made possible by expanded internal VPN APIs. Bug: 20872408 Bug: 20692490 Bug: 20747154 Change-Id: Idc87084a130afa18b27c85cc9d4b5033dcedaabe
* Make Settings app not use cleartext network traffic.Alex Klyubin2015-04-021-0/+9
| | | | | | | | | | | | | | | | | | This CL switches the only two places which use cleartext HTTP in this app to HTTPS. It also declares in the AndroidManifest.xml that this app does not use cleartext network traffic, thus asking the platform and tools to block any such traffic from this app on best effort basis. NOTE: The only test that uses cleartext HTTP traffic is in VpnTests. This test makes cleartext HTTP requests to a third-party service which does not appear to support HTTPS. Thus, this CL temporarily relaxes the cleartext traffic policy during this test to keep it working. The correct longer-term fix for this test is to use a service that offers HTTPS. Bug: 19215516 Change-Id: Idf1ff8c66d43d77ef2114b2f1b676927844150e5
* Stop using apache-http in settings.Narayan Kamath2014-12-151-13/+20
| | | | | | | | | | | Most of this usage is from crufty "test" code, and is trivially replacable. bug: 18027885 (cherry picked from commit f25627c0c960cd31e069a0aed62798dd3a6416aa) Change-Id: I62b0c4e79812ae69767d778eb9e866cbba1d50e0
* Allow VPN to stay connected for some time before disconnecting it.Xia Wang2014-04-041-0/+7
| | | | Change-Id: I25994b8329514a32b5b6f383abef231d3decb4ec
* Add legacy VPN test framework and test casesXia Wang2014-04-011-0/+420
- VpnProfileParser can parse VPN profiles from an xml file - CertInstallerHelper installs keys and certificates to keystore - VpnTests includes all test cases Change-Id: Ib5ce33e770ee4f82bea153f9b5c5cf3802f95b0c