summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ecco Park <eccopark@google.com> 2018-10-02 10:33:30 -0700
committer Ecco Park <eccopark@google.com> 2018-10-05 15:19:31 -0700
commit8bdec9e82370b13225f0ab5ec87cca3018f7702e (patch)
tree182c02f4f386aea9dfc9f41bbaa1a97d328dbafc
parent01b46f8ffd0071ea57cc8e6622a0fdc2086499c6 (diff)
passpoint-r2: add the status for starting third soap exchange
Bug: 74244324 Test: ./frameworks/base/wifi/tests/runtests.sh Test: live test with Passpoint R2 service provider AP Change-Id: I526c23681f79967cfa644d18d59166e9c7682f33 Signed-off-by: Ecco Park <eccopark@google.com>
-rw-r--r--wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java b/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java
index b4dfac6c01c7..6076175ce9d1 100644
--- a/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java
+++ b/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java
@@ -102,6 +102,12 @@ public abstract class ProvisioningCallback {
public static final int OSU_FAILURE_NO_OSU_ACTIVITY_FOUND = 14;
/**
+ * The reason code for provisioning failure when the status of a SOAP message is not the
+ * expected message status.
+ */
+ public static final int OSU_FAILURE_UNEXPECTED_SOAP_MESSAGE_STATUS = 15;
+
+ /**
* The status code for provisioning flow to indicate connecting to OSU AP
*/
public static final int OSU_STATUS_AP_CONNECTING = 1;
@@ -147,6 +153,11 @@ public abstract class ProvisioningCallback {
public static final int OSU_STATUS_SECOND_SOAP_EXCHANGE = 9;
/**
+ * The status code for provisioning flow to indicate starting the third SOAP exchange.
+ */
+ public static final int OSU_STATUS_THIRD_SOAP_EXCHANGE = 10;
+
+ /**
* Provisioning status for OSU failure
*
* @param status indicates error condition