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

Commit ec55a1fe authored by Ecco Park's avatar Ecco Park
Browse files

passpoint-r2: add not found failure for osuProvider



Bug: 119514793
Test: ./frameworks/base/wifi/tests/runtests.sh
Test: live test with Passpoint R2 service provider AP
Change-Id: Iabc5bea2c3ca581061d34300c139c0bc7ee38bc8
Signed-off-by: default avatarEcco Park <eccopark@google.com>
parent fdf99084
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ public final class OsuProvider implements Parcelable {
    /**
     * SSID of the network to connect for service sign-up.
     */
    private final WifiSsid mOsuSsid;
    private WifiSsid mOsuSsid;

    /**
     * Friendly name of the OSU provider.
@@ -130,6 +130,10 @@ public final class OsuProvider implements Parcelable {
        return mOsuSsid;
    }

    public void setOsuSsid(WifiSsid osuSsid) {
        mOsuSsid = osuSsid;
    }

    public String getFriendlyName() {
        return mFriendlyName;
    }
+6 −0
Original line number Diff line number Diff line
@@ -149,6 +149,12 @@ public abstract class ProvisioningCallback {
     */
    public static final int OSU_FAILURE_ADD_PASSPOINT_CONFIGURATION = 22;

    /**
     * The reason code for provisioning failure when an {@link OsuProvider} is not found for
     * provisioning.
     */
    public static final int OSU_FAILURE_OSU_PROVIDER_NOT_FOUND = 23;

    /**
     * The status code for provisioning flow to indicate connecting to OSU AP
     */