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/ |
D | GetImsiPseudonymResponseTest.java | 53 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()
|
D | ChallengeResponseTest.java | 41 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/ |
D | RequestFactoryTest.java | 24 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()
|
D | CarrierSpecificServiceEntitlementTest.java | 65 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/ |
D | RequestFactory.java | 42 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/ |
D | Response.java | 25 static final String JSON_KEY_MESSAGE_ID = "message-id"; field in Response
|
D | ChallengeResponse.java | 44 int id = object.optInt(JSON_KEY_MESSAGE_ID, -1); in ChallengeResponse()
|
D | GetImsiPseudonymResponse.java | 61 int id = object.optInt(JSON_KEY_MESSAGE_ID, -1); in GetImsiPseudonymResponse()
|