diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2011-02-21 13:25:14 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-21 13:25:14 -0800 |
commit | e5a3e9790110cb42ff0c4e882eec04e6961ed402 (patch) | |
tree | d6393f48ded8c9c7468c0d99ad92be635a29c348 /wifi/java | |
parent | 8842b5cc1055409896b1c4e2bdae2aa36abcaed4 (diff) | |
parent | 645b83f3ec2ead154c2062fd6d4498713d11de7e (diff) | |
download | frameworks_base-e5a3e9790110cb42ff0c4e882eec04e6961ed402.zip frameworks_base-e5a3e9790110cb42ff0c4e882eec04e6961ed402.tar.gz frameworks_base-e5a3e9790110cb42ff0c4e882eec04e6961ed402.tar.bz2 |
Merge "Remove some unused code."
Diffstat (limited to 'wifi/java')
-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() { |