Merge "WifiManager: Remove unused methods"
This commit is contained in:
@@ -133,14 +133,8 @@ interface IWifiManager
|
||||
|
||||
void setWifiApConfiguration(in WifiConfiguration wifiConfig);
|
||||
|
||||
void addToBlacklist(String bssid);
|
||||
|
||||
void clearBlacklist();
|
||||
|
||||
Messenger getWifiServiceMessenger();
|
||||
|
||||
String getConfigFile();
|
||||
|
||||
void enableTdls(String remoteIPAddress, boolean enable);
|
||||
|
||||
void enableTdlsWithMacAddress(String remoteMacAddress, boolean enable);
|
||||
|
||||
@@ -1615,41 +1615,6 @@ public class WifiManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a bssid to the supplicant blacklist
|
||||
*
|
||||
* This API is used by WifiWatchdogService
|
||||
*
|
||||
* @return {@code true} if the operation succeeds else {@code false}
|
||||
* @hide
|
||||
*/
|
||||
public boolean addToBlacklist(String bssid) {
|
||||
try {
|
||||
mService.addToBlacklist(bssid);
|
||||
return true;
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear the supplicant blacklist
|
||||
*
|
||||
* This API is used by WifiWatchdogService
|
||||
*
|
||||
* @return {@code true} if the operation succeeds else {@code false}
|
||||
* @hide
|
||||
*/
|
||||
public boolean clearBlacklist() {
|
||||
try {
|
||||
mService.clearBlacklist();
|
||||
return true;
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Enable/Disable TDLS on a specific local route.
|
||||
*
|
||||
@@ -2147,18 +2112,6 @@ public class WifiManager {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the file in which IP and proxy configuration data is stored
|
||||
* @hide
|
||||
*/
|
||||
public String getConfigFile() {
|
||||
try {
|
||||
return mService.getConfigFile();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows an application to keep the Wi-Fi radio awake.
|
||||
* Normally the Wi-Fi radio may turn off when the user has not used the device in a while.
|
||||
|
||||
Reference in New Issue
Block a user