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

Commit 06751720 authored by Sohani Rao's avatar Sohani Rao
Browse files

Introduce Status and Failure code for Provisioning

Passpoint Provisioning status and failure codes to be used by callback
API to provide information to the caller about the provisioning flow

Bug: 67914151
Test: Unit test
Change-Id: If1bf28ac8e2e0b7d8141d1b9cb12e3a6e46cb126
parent 2b1c42f9
Loading
Loading
Loading
Loading
+18 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,24 @@ import android.os.Handler;
 */
 */
public abstract class ProvisioningCallback {
public abstract class ProvisioningCallback {


   /**
     * The reason code for Provisioning Failure due to connection failure to OSU AP.
     * @hide
     */
    public static final int OSU_FAILURE_AP_CONNECTION      = 1;

    /**
     * The status code for Provisioning flow to indicate connecting to OSU AP
     * @hide
     */
    public static final int OSU_STATUS_AP_CONNECTING       = 1;

    /**
     * The status code for Provisioning flow to indicate connected to OSU AP
     * @hide
     */
    public static final int OSU_STATUS_AP_CONNECTED        = 2;

    /**
    /**
     * Provisioning status for OSU failure
     * Provisioning status for OSU failure
     * @param status indicates error condition
     * @param status indicates error condition