Home
last modified time | relevance | path

Searched refs:SppResponseMessage (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DSppResponseMessageTest.java57 soapObject.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifySppSoapResponseWithoutErrorAttribute()
58 soapObject.addAttribute(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifySppSoapResponseWithoutErrorAttribute()
59 soapObject.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifySppSoapResponseWithoutErrorAttribute()
61 expectedAttributes.put(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifySppSoapResponseWithoutErrorAttribute()
62 expectedAttributes.put(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifySppSoapResponseWithoutErrorAttribute()
63 expectedAttributes.put(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifySppSoapResponseWithoutErrorAttribute()
65 SppResponseMessage sppResponseMessage = new SppResponseMessage(soapObject, in verifySppSoapResponseWithoutErrorAttribute()
66 SppResponseMessage.MessageType.POST_DEV_DATA_RESPONSE); in verifySppSoapResponseWithoutErrorAttribute()
70 assertEquals(SppResponseMessage.MessageType.POST_DEV_DATA_RESPONSE, in verifySppSoapResponseWithoutErrorAttribute()
84 soapObject.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_ERROR_STATUS); in verifySppSoapResponseWithErrorAttribute()
[all …]
DExchangeCompleteMessageTest.java44 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyValidExchangeComplete()
45 response.addAttribute(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifyValidExchangeComplete()
46 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyValidExchangeComplete()
59 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyInvalidExchangeCompleteReturnNull()
60 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyInvalidExchangeCompleteReturnNull()
DSoapParserTest.java71 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyValidSppPostDevDataResponse()
72 response.addAttribute(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifyValidSppPostDevDataResponse()
73 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyValidSppPostDevDataResponse()
76 SppResponseMessage result = SoapParser.getResponse(response); in verifyValidSppPostDevDataResponse()
DPostDevDataResponseTest.java67 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyValidPostDevDataResponse()
68 response.addAttribute(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifyValidPostDevDataResponse()
69 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyValidPostDevDataResponse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DSppResponseMessage.java33 public class SppResponseMessage { class
58 protected SppResponseMessage(@NonNull SoapObject response, int messageType) in SppResponseMessage() method in SppResponseMessage
134 if (!(thatObject instanceof SppResponseMessage)) return false; in equals()
135 SppResponseMessage that = (SppResponseMessage) thatObject; in equals()
DSoapParser.java34 public static SppResponseMessage getResponse(@NonNull SoapObject response) { in getResponse()
35 SppResponseMessage responseMessage; in getResponse()
DExchangeCompleteMessage.java28 public class ExchangeCompleteMessage extends SppResponseMessage {
DPostDevDataResponse.java33 public class PostDevDataResponse extends SppResponseMessage {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java50 import com.android.server.wifi.hotspot2.soap.SppResponseMessage;
448 @Nullable SppResponseMessage responseMessage) { in handleSoapMessageResponse()
463 != SppResponseMessage.MessageType.POST_DEV_DATA_RESPONSE) { in handleSoapMessageResponse()
502 != SppResponseMessage.MessageType.POST_DEV_DATA_RESPONSE) { in handleSoapMessageResponse()
527 != SppResponseMessage.MessageType.EXCHANGE_COMPLETE) { in handleSoapMessageResponse()
1149 @Nullable SppResponseMessage responseMessage) { in onReceivedSoapMessage()
DOsuServerConnection.java33 import com.android.server.wifi.hotspot2.soap.SppResponseMessage;
340 SppResponseMessage sppResponse; in performSoapMessageExchange()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java43 import com.android.server.wifi.hotspot2.soap.SppResponseMessage;
110 @Mock SppResponseMessage mSppResponseMessage;
DPasspointProvisionerTest.java77 import com.android.server.wifi.hotspot2.soap.SppResponseMessage;
246 SppResponseMessage.MessageType.EXCHANGE_COMPLETE); in setUp()
252 SppResponseMessage.MessageType.POST_DEV_DATA_RESPONSE); in setUp()