summaryrefslogtreecommitdiffstats
path: root/core/java/android/os
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2013-07-15 16:34:04 -0700
committerChad Brubaker <cbrubaker@google.com>2013-07-19 15:57:05 -0700
commitf336d722c773855402d91a227fc290eafca23335 (patch)
treea8c479c48dd5878cab8c2990eef1fefad5c3f4bd /core/java/android/os
parenta5bc070e9e7c802b32f0230c670838536a1612f4 (diff)
downloadframeworks_base-f336d722c773855402d91a227fc290eafca23335.zip
frameworks_base-f336d722c773855402d91a227fc290eafca23335.tar.gz
frameworks_base-f336d722c773855402d91a227fc290eafca23335.tar.bz2
Fix supplimentary network connections with VPNs
Enables the use of supplimentary mobile networks like MMS, and HIPRI while VPNs are running. Change-Id: I313f57a905b4e16bd4322c68687cbff1cfbe9d3e
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/INetworkManagementService.aidl12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl
index 51c367a..ed9620f 100644
--- a/core/java/android/os/INetworkManagementService.aidl
+++ b/core/java/android/os/INetworkManagementService.aidl
@@ -19,6 +19,7 @@ package android.os;
import android.net.InterfaceConfiguration;
import android.net.INetworkManagementEventObserver;
+import android.net.LinkAddress;
import android.net.NetworkStats;
import android.net.RouteInfo;
import android.net.wifi.WifiConfiguration;
@@ -388,6 +389,17 @@ interface INetworkManagementService
void clearMarkedForwardingRoute(String iface, in RouteInfo route);
/**
+ * Exempts {@code host} from the routing set up by {@link setMarkedForwardingRoute}
+ * All connects to {@code host} will use the global routing table
+ */
+ void setHostExemption(in LinkAddress host);
+
+ /**
+ * Clears an exemption set by {@link setHostExemption}
+ */
+ void clearHostExemption(in LinkAddress host);
+
+ /**
* Set a process (pid) to use the name servers associated with the specified interface.
*/
void setDnsInterfaceForPid(String iface, int pid);