Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9a9a9bb authored by Peter Qiu's avatar Peter Qiu Committed by android-build-merger
Browse files

wifi: remove hidden unused Hotspot 2.0 Release 2 APIs

am: a38558b5

Change-Id: I48766f0c259693496dc9b63ad0dd287b93185787
parents 98f03f49 a38558b5
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);
+0 −30
Original line number Diff line number Diff line
@@ -841,36 +841,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