diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2011-02-21 11:22:35 -0800 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2011-02-21 11:22:35 -0800 |
commit | 645b83f3ec2ead154c2062fd6d4498713d11de7e (patch) | |
tree | c7e20a0ceae88f8a2509ee0c0314670f03681ba0 /wifi | |
parent | 90e711670af9a1d48aec04dda85272d8ec4334dc (diff) | |
download | frameworks_base-645b83f3ec2ead154c2062fd6d4498713d11de7e.zip frameworks_base-645b83f3ec2ead154c2062fd6d4498713d11de7e.tar.gz frameworks_base-645b83f3ec2ead154c2062fd6d4498713d11de7e.tar.bz2 |
Remove some unused code.
Change-Id: Id29bf7d2118065e2e772b22d910bda1c6de2a475
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateTracker.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateTracker.java b/wifi/java/android/net/wifi/WifiStateTracker.java index 2aff7ec..07900ae 100644 --- a/wifi/java/android/net/wifi/WifiStateTracker.java +++ b/wifi/java/android/net/wifi/WifiStateTracker.java @@ -45,7 +45,6 @@ public class WifiStateTracker implements NetworkStateTracker { private AtomicBoolean mTeardownRequested = new AtomicBoolean(false); private AtomicBoolean mPrivateDnsRouteSet = new AtomicBoolean(false); - private AtomicInteger mDefaultGatewayAddr = new AtomicInteger(0); private AtomicBoolean mDefaultRouteSet = new AtomicBoolean(false); private LinkProperties mLinkProperties; @@ -136,40 +135,6 @@ public class WifiStateTracker implements NetworkStateTracker { } /** - * Tells the underlying networking system that the caller wants to - * begin using the named feature. The interpretation of {@code feature} - * is completely up to each networking implementation. - * @param feature the name of the feature to be used - * @param callingPid the process ID of the process that is issuing this request - * @param callingUid the user ID of the process that is issuing this request - * @return an integer value representing the outcome of the request. - * The interpretation of this value is specific to each networking - * implementation+feature combination, except that the value {@code -1} - * always indicates failure. - * TODO: needs to go away - */ - public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { - return -1; - } - - /** - * Tells the underlying networking system that the caller is finished - * using the named feature. The interpretation of {@code feature} - * is completely up to each networking implementation. - * @param feature the name of the feature that is no longer needed. - * @param callingPid the process ID of the process that is issuing this request - * @param callingUid the user ID of the process that is issuing this request - * @return an integer value representing the outcome of the request. - * The interpretation of this value is specific to each networking - * implementation+feature combination, except that the value {@code -1} - * always indicates failure. - * TODO: needs to go away - */ - public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { - return -1; - } - - /** * @param enabled */ public void setDataEnable(boolean enabled) { @@ -215,13 +180,6 @@ public class WifiStateTracker implements NetworkStateTracker { } /** - * Fetch default gateway address for the network - */ - public int getDefaultGatewayAddr() { - return mDefaultGatewayAddr.get(); - } - - /** * Check if default route is set */ public boolean isDefaultRouteSet() { |