Home
last modified time | relevance | path

Searched refs:JSON_KEY_MESSAGE_ID (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/response/
DGetImsiPseudonymResponseTest.java53 JSONObject body1 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyCorrectWithRefreshInterval()
57 JSONObject body2 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyCorrectWithRefreshInterval()
77 JSONObject body1 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyCorrectWithoutRefreshInterval()
81 JSONObject body2 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyCorrectWithoutRefreshInterval()
108 JSONObject body1 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyInvalidRequest()
112 JSONObject body2 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyInvalidRequest()
129 JSONObject body1 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyAuthFailed()
133 JSONObject body2 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyAuthFailed()
150 JSONObject body2 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, INVALID_MESSAGE_ID) in responseBodyWrongMessageId()
164 .put(Response.JSON_KEY_MESSAGE_ID, MESSAGE_ID_GET_IMSI_PSEUDONYM) in responseBodyServerError()
DChallengeResponseTest.java41 JSONObject body1 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyCorrect()
61 JSONObject body1 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, in responseBodyInvalidRequest()
73 JSONObject body1 = (new JSONObject()).put(Response.JSON_KEY_MESSAGE_ID, INVALID_MESSAGE_ID) in responseBodyWrongMessageId()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/
DRequestFactoryTest.java24 import static com.android.server.wifi.entitlement.RequestFactory.JSON_KEY_MESSAGE_ID;
90 assertEquals(MESSAGE_ID_3GPP_AUTHENTICATION, jsonObject.getInt(JSON_KEY_MESSAGE_ID)); in createAuthRequestSuccess()
109 assertEquals(MESSAGE_ID_3GPP_AUTHENTICATION, jsonObject.getInt(JSON_KEY_MESSAGE_ID)); in createAuthRequestFailureWrongSimOperator()
126 assertEquals(MESSAGE_ID_3GPP_AUTHENTICATION, jsonObject.getInt(JSON_KEY_MESSAGE_ID)); in createAuthRequestFailureNullImsi()
154 assertEquals(MESSAGE_ID_3GPP_AUTHENTICATION, jsonObject.getInt(JSON_KEY_MESSAGE_ID)); in createGetImsiPseudonymRequestSuccess()
160 assertEquals(MESSAGE_ID_GET_IMSI_PSEUDONYM, jsonObject.getInt(JSON_KEY_MESSAGE_ID)); in createGetImsiPseudonymRequestSuccess()
177 assertEquals(MESSAGE_ID_3GPP_AUTHENTICATION, jsonObject.getInt(JSON_KEY_MESSAGE_ID)); in createGetImsiPseudonymRequestWithEmptyData()
183 assertEquals(MESSAGE_ID_GET_IMSI_PSEUDONYM, jsonObject.getInt(JSON_KEY_MESSAGE_ID)); in createGetImsiPseudonymRequestWithEmptyData()
DCarrierSpecificServiceEntitlementTest.java65 private static final String JSON_KEY_MESSAGE_ID = "message-id"; field in CarrierSpecificServiceEntitlementTest
152 JSONObject body = (new JSONObject()).put(JSON_KEY_MESSAGE_ID, in getAuthHttpResponse()
161 JSONObject body = (new JSONObject()).put(JSON_KEY_MESSAGE_ID, in getAuthFailedHttpResponse()
169 JSONObject body = (new JSONObject()).put(JSON_KEY_MESSAGE_ID, in getGetImsiPseudonymHttpResponse()
176 body = (new JSONObject()).put(JSON_KEY_MESSAGE_ID, in getGetImsiPseudonymHttpResponse()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/
DRequestFactory.java42 static final String JSON_KEY_MESSAGE_ID = "message-id"; field in RequestFactory
106 request.put(JSON_KEY_MESSAGE_ID, messageId); in makeBaseRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/response/
DResponse.java25 static final String JSON_KEY_MESSAGE_ID = "message-id"; field in Response
DChallengeResponse.java44 int id = object.optInt(JSON_KEY_MESSAGE_ID, -1); in ChallengeResponse()
DGetImsiPseudonymResponse.java61 int id = object.optInt(JSON_KEY_MESSAGE_ID, -1); in GetImsiPseudonymResponse()