History log of /frameworks/base/core/java/com/android/internal/net/VpnConfig.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b2053114562830369a9d060e79f0c9eff4be27e7 20-Jan-2015 Lorenzo Colitti <lorenzo@google.com> Use the proper IpPrefix and LinkAddress constructors in VPN code.

This simplifies the code, and also makes it possible for
users to point multicast routes at the VPN. The LinkAddress
objects we were previously using to construct the RouteInfo do
not accept these, but IpPrefix objects do.

Bug: 18485968
Change-Id: Ie914a2eb359b78161810ee473df725059f944f4e
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
c2c0beab79a907f63e109eefe2a5aabcf2e3fd8f 12-Nov-2014 Sreeram Ramachandran <sreeram@google.com> Allow VPNs to specify their underlying networks.

These are used when responding to getActiveNetworkInfo() (and cousins)
when an app is subject to the VPN.

Bug: 17460017
Change-Id: Ief7a840c760777a41d3358aa6b8e4cdd99c29f24
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
0784eeab28da094a87437ed454fe3dca01b1f9f2 19-Aug-2014 Paul Jensen <pauljensen@google.com> Implement VpnConfig.addAllowedApplication().

bug:17109588
bug:13651397
Change-Id: Ibb944794627117728373f0105e24f196f3eeb9e9
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
90b1b9f985a91fb54254705515f822b09c68ac26 22-Aug-2014 Jeff Davidson <jpd@google.com> Restore legacy VPN stats dialog.

Was originally removed in ag/522961, but restoring to keep legacy VPN
behavior the same from within VpnSettings. This dialog is only
accesible from VpnSettings and so should only ever be shown for legacy
VPNs.

Bug: 17164793
Change-Id: I06c4e136e1023b8f84edfd15a15264d2e41d325b
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
05542603dd4f1e0ea47a3dca01de3999a9a329a9 11-Aug-2014 Jeff Davidson <jpd@google.com> Less intrusive VPN dialog and other UX tweaks.

-The ability to launch VPNs is now sticky; once approved by the user,
further approvals are not needed UNLESS the connection is revoked in
Quick Settings.

-The old persistent notification has been removed in favor of the new
Quick Settings UI.

-The name of the VPN app is now pulled from the label of the VPN
service rather than the app itself, if one is set.

Bug: 12878887
Bug: 16578022
Change-Id: I102a14c05db26ee3aef030cda971e5165f078a91
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
42065ac64cba166dc0fe602957ea8fe80bf406e2 27-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Prohibit address families by default unless a VPN explicitly allows them.

Bug: 15972465
Change-Id: I3278d94536fefacc86390c1ba4231680f7be8589
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
8cd33ed84e94036a5e1201485af7603dc6fb0d9b 24-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Implement support for bypassable VPNs.

Bypassable VPNs grab all traffic by default (just like secure VPNs), but:
+ They allow all apps to choose other networks using the multinetwork APIs.
If these other networks are insecure ("untrusted"), they will enforce that the
app holds the necessary permissions, such as CHANGE_NETWORK_STATE.
+ They support consistent routing. If an app has an existing connection over
some other network when the bypassable VPN comes up, it's not interrupted.

Bug: 15347374
Change-Id: Iaee9c6f6fa8103215738570d2b65d3fcf10343f3
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
6bbf39cf6b81222f32d2b66b8fa85d562e0ad71c 23-Jul-2014 Jeff Davidson <jpd@google.com> Implement VpnService.setBlocking().

Bug: 12879610
Change-Id: I3a0ad9eae5f7dd9c01f75b9da71810bad38f9fec
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
067351f876e45c7c319af2eb188fc0c3225e7656 06-Jun-2014 Vinod Krishnan <vinodkrishnan@google.com> resolved conflicts for merge of a3d5d3b8 to master

Change-Id: If0fe0cb541adb0eb74f13cf557ee264aa76c650c
b0e5bbb657c59584c37a489c93a3a12d13ca56b7 05-Jun-2014 Vinod Krishnan <vinodkrishnan@google.com> Adding a way to stub Vpn ConfirmDialog

- This is needed to pass CTS tests on the wear devices
- Related CL: http://ar/479486

Bug: 15087985

Change-Id: I56673ff6085618a03ec61031e3af0f6631cb3425
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
bf6ff2c025405a3af496fe558dfc4468a9b45cc8 17-Jul-2013 Chad Brubaker <cbrubaker@google.com> Support multiple Vpn ManageDialogs

Move away from storing the configs in the Intent to prevent issues with
PendingIntents and multiple configs.

The Dialog now queries ConnectivityService for the configuration to
display in the management dialog.

Change-Id: I0e0ef52db840152914d117a24f776d8106e836ff
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
4ca19e8377f33e8a80684fb4ee67f5a4bdc9ea76 14-Jun-2013 Chad Brubaker <cbrubaker@google.com> Add per user VPN support

VPNs are now per user instead of global. A VPN set by user A routes only
user A's traffic and no other user can access it.

Change-Id: Ia66463637b6bd088b05768076a1db897fe95c46c
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
899223b97c9b0ae56a8211a46600914c0ecfd854 05-Aug-2012 Jeff Sharkey <jsharkey@android.com> Begin moving VPN to NetworkStateTracker pattern.

Created base tracker that handles common bookkeeping, and move VPN
to become a tracker. VPN status is now reflected in NetworkInfo, and
is mapped to LegacyVpnInfo.

Legacy VPN now "babysits" any init services it starts, watching for
when they stop unexpectedly.

Bug: 5756357
Change-Id: Iba7ec79da69469f6bd9a970cc39cf6b885b4c9c4
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
dadc857d9de364fded10d4f69eb82bc9cd35d4b7 08-Jun-2012 Chia-chi Yeh <chiachi@android.com> VPN: move VpnDialogs away from system uid.

Bug: 6632536
Change-Id: Iece647c077caf5298ccfe7d7aba5f0911a4ed0d1
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
fcc1b41b663c1a0cb551344c4a16a5ad9ce36d60 04-Aug-2011 Chia-chi Yeh <chiachi@android.com> VPN: move away from the VPN permission.

VpnBuilder will be replaced by VpnService in the next change.

Change-Id: I2dea67a1616b74d17b372f7b214d207f1617198e
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
2e46764a707bd14cad22bc179669eeecb2d7c647 04-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: implement status report for legacy VPN.

Change-Id: I81c28dafd9588572df76cbc303b0d6a0f41f9bc6
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
34e7813e962de99df9813014678ef5901227c5f1 03-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: minor refinement.

Change-Id: I2b59cbe8554b6c6f8da48c465252489394f32653
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
e9107901ae264de4ff5603d3cfc63a03ca4117d4 02-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: give legacy VPN a fake package name.

And add more comments.

Change-Id: I0cbc495fcb2c8dd105e16a841619b3b9bd227eae
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
41d1685a22ba8038517d6fdb57006023e03f12e1 01-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: integrate legacy VPN.

Change-Id: I00e77664354c05e0edfcd5fb2e3da2ca434ed521
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
8909b10175303bd5e2ca82b7ba12cd0017050ef3 01-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: Use List<String> instead for dnsServers and searchDomains.

Change-Id: I5d72c182ad47f59121a04b68ec6c2d164e2d00a8
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
5db03df1fff4900eb485304d4fd185110bea1a0c 01-Jul-2011 Chia-chi Yeh <chiachi@android.com> VpnDialogs: prepare for the usages of legacy VPN.

- Use PendingIntent to start activities.
- Handle configs without package names.
- Switch to system UID.

Change-Id: Ia78112a97e3628b603d9e059705e32694ebe142b
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
7b0b834c3d12564c44ac134879a6dbc70e74be6e 17-Jun-2011 Chia-chi Yeh <chiachi@android.com> VPN: move VpnDialogs related methods into VpnConfig.

This might not be the best place for the glue code, but it is
known that choosing VpnBuilder will introduce a dependency
cycle of VpnBuilder, ConnectivityService, and the Vpn class.

Change-Id: I3f03617d1fe1a0b8fb3705c23265676fff51a75c
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java
04ba25c418bc4538e9dc0f047cfb9608d358f679 16-Jun-2011 Chia-chi Yeh <chiachi@android.com> VPN: migrate from generic Bundle to our own Parcelable VpnConfig.

Note that VpnConfig is for internal use only.
Also remove hidden methods from ConnectivityManager.

Change-Id: Ic298c4dc9a2c6c452bd8f4be6fa84e7ac489c0c4
/frameworks/base/core/java/com/android/internal/net/VpnConfig.java