diff options
| author | 2016-11-15 23:50:16 +0000 | |
|---|---|---|
| committer | 2016-11-15 23:50:18 +0000 | |
| commit | 41fd0f1faf68acff5928d133aabb55bfb019a873 (patch) | |
| tree | 74962c73d1ab5454e9f27d9b0e44518bab6b6d77 | |
| parent | 8631e19d3883ce6887c09f72eb394f2e22c9cb64 (diff) | |
| parent | 1c3054ea8740f29af7d8285c4d86a1ca375b4b77 (diff) | |
Merge changes from topic 'HS2 API Cleanup'
* changes:
wifi: remove unused hidden Hotspot 2.0 Release 1 API
wifi: remove hidden unused Hotspot 2.0 Release 2 APIs
| -rw-r--r-- | wifi/java/android/net/wifi/IWifiManager.aidl | 7 | ||||
| -rw-r--r-- | wifi/java/android/net/wifi/WifiManager.java | 44 |
2 files changed, 0 insertions, 51 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl index bc382848a59b..9e897bff1122 100644 --- a/wifi/java/android/net/wifi/IWifiManager.aidl +++ b/wifi/java/android/net/wifi/IWifiManager.aidl @@ -59,11 +59,6 @@ interface IWifiManager int addOrUpdateNetwork(in WifiConfiguration config); - int addPasspointManagementObject(String mo); - - int modifyPasspointManagementObject(String fqdn, - in List<PasspointManagementObjectDefinition> mos); - boolean addPasspointConfiguration(in PasspointConfiguration config); boolean removePasspointConfiguration(in String fqdn); @@ -132,8 +127,6 @@ interface IWifiManager WifiConfiguration getWifiApConfiguration(); - WifiConfiguration buildWifiConfig(String uriString, String mimeType, in byte[] data); - void setWifiApConfiguration(in WifiConfiguration wifiConfig); Messenger getWifiServiceMessenger(); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 3520a3c66745..a42bef465b75 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -840,36 +840,6 @@ public class WifiManager { } /** - * Add a Hotspot 2.0 release 2 Management Object - * @param mo The MO in XML form - * @return -1 for failure - * @hide - */ - public int addPasspointManagementObject(String mo) { - try { - return mService.addPasspointManagementObject(mo); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** - * Modify a Hotspot 2.0 release 2 Management Object - * @param fqdn The FQDN of the service provider - * @param mos A List of MO definitions to be updated - * @return the number of nodes updated, or -1 for failure - * @hide - */ - public int modifyPasspointManagementObject(String fqdn, - List<PasspointManagementObjectDefinition> mos) { - try { - return mService.modifyPasspointManagementObject(fqdn, mos); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** * Add a Passpoint configuration. The configuration provides a credential * for connecting to Passpoint networks that are operated by the Passpoint * service provider specified in the configuration. @@ -1626,20 +1596,6 @@ public class WifiManager { } /** - * Builds a WifiConfiguration from Hotspot 2.0 MIME file. - * @return AP details in WifiConfiguration - * - * @hide Dont open yet - */ - public WifiConfiguration buildWifiConfig(String uriString, String mimeType, byte[] data) { - try { - return mService.buildWifiConfig(uriString, mimeType, data); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** * Sets the Wi-Fi AP Configuration. * @return {@code true} if the operation succeeded, {@code false} otherwise * |