Home
last modified time | relevance | path

Searched refs:newResponse (Results 1 – 4 of 4) sorted by relevance

/external/pigweed/pw_rpc/ts/
Dclient_test.ts178 function newResponse(payload = '._.'): Message { function
289 newResponse('0_o')
295 expect(response).toEqual(newResponse('0_o'));
301 const response = newResponse('hello world');
325 const response = newResponse('hello world');
414 const response1 = newResponse('!!!');
415 const response2 = newResponse('?');
440 const response1 = newResponse('!!!');
441 const response2 = newResponse('?');
478 const testResponse = newResponse('!!!');
[all …]
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPRequest.java685 SIPResponse newResponse; in createResponse() local
689 newResponse = new SIPResponse(); in createResponse()
691 newResponse.setStatusCode(statusCode); in createResponse()
696 newResponse.setReasonPhrase(reasonPhrase); in createResponse()
698 newResponse.setReasonPhrase(SIPResponse.getReasonPhrase(statusCode)); in createResponse()
713 newResponse.attachHeader((SIPHeader) nextHeader.clone(), false); in createResponse()
720 newResponse.setHeader(MessageFactoryImpl.getDefaultServerHeader()); in createResponse()
723 if (newResponse.getStatusCode() == 100) { in createResponse()
725 newResponse.getTo().removeParameter("tag"); in createResponse()
730 newResponse.setHeader(server); in createResponse()
[all …]
/external/pigweed/ts/device/
Dindex_test.ts33 function newResponse(payload = '._.'): Message { function
106 const response1 = newResponse('!!!');
107 const response2 = newResponse('?');
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java169 final MockResponse response = newResponse(); in startServer()
180 private MockResponse newResponse() throws IOException { in newResponse() method in Benchmark