Skip to content
Snippets Groups Projects
Commit a38558b5 authored by Peter Qiu's avatar Peter Qiu
Browse files

wifi: remove hidden unused Hotspot 2.0 Release 2 APIs

These APIs are used for installing/modifying the PerProviderSubscription
Management Object tree in XML string representation and are used only by
the unreleased Hotspot 2.0 Release 2 app (OSU app).  The OSU app will be
updated to use the new APIs which uses Parcelable objects to represent
provider configuration.

Bug: 32509661
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Iff6b6e4b95b76d48201eeeb47f441b7c94f359bb
parent 584b5cee
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -839,36 +839,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment