diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl index 3674f0f4baa7c..706b29495c211 100644 --- a/wifi/java/android/net/wifi/IWifiManager.aidl +++ b/wifi/java/android/net/wifi/IWifiManager.aidl @@ -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); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index a37e417a1ac22..ad582470a0405 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -1617,41 +1617,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. * @@ -2149,18 +2114,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.