diff options
author | Mattias Falk <mattias.falk@sonyericsson.com> | 2011-08-23 14:15:13 +0200 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2013-01-11 15:47:08 -0800 |
commit | f60f94a89e49c125f4aff6496710a0fb66579545 (patch) | |
tree | 2ee2ab3c947e502e2c75a1451ef0c268894b0925 /core/java/android/os | |
parent | a268ba51f77527585363e48aec1be45b9ec97061 (diff) | |
download | frameworks_base-f60f94a89e49c125f4aff6496710a0fb66579545.zip frameworks_base-f60f94a89e49c125f4aff6496710a0fb66579545.tar.gz frameworks_base-f60f94a89e49c125f4aff6496710a0fb66579545.tar.bz2 |
Second pass tying into dns cache per interface
Set dns servers for secondary nets and attach the
processes (pids) that are using the secondary nets
to the secondary nets associated dns cache.
Change-Id: Id865c2c3fdc0ec1c3e30c134e9ea4109f4f2fbeb
bug:5465296
Diffstat (limited to 'core/java/android/os')
-rw-r--r-- | core/java/android/os/INetworkManagementService.aidl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl index 80abd0f..cb0863e 100644 --- a/core/java/android/os/INetworkManagementService.aidl +++ b/core/java/android/os/INetworkManagementService.aidl @@ -369,4 +369,14 @@ interface INetworkManagementService void setFirewallEgressSourceRule(String addr, boolean allow); void setFirewallEgressDestRule(String addr, int port, boolean allow); void setFirewallUidRule(int uid, boolean allow); + + /** + * Set a process (pid) to use the name servers associated with the specified interface. + */ + void setDnsIfaceForPid(String iface, int pid); + + /** + * Clear a process (pid) from being associated with an interface. + */ + void clearDnsIfaceForPid(int pid); } |