Home
last modified time | relevance | path

Searched refs:requestId (Results 1 – 13 of 13) sorted by relevance

/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DRouterImpl.java176 long requestId = mNextRequestId++; in acceptWithResponder() local
178 if (requestId == 0) { in acceptWithResponder()
179 requestId = mNextRequestId++; in acceptWithResponder()
181 if (mResponders.containsKey(requestId)) { in acceptWithResponder()
184 messageWithHeader.setRequestId(requestId); in acceptWithResponder()
189 mResponders.put(requestId, responder); in acceptWithResponder()
232 long requestId = header.getRequestId(); in handleIncomingMessage() local
236 responder = mResponders.get(requestId); in handleIncomingMessage()
240 mResponders.remove(requestId); in handleIncomingMessage()
DMessageHeader.java62 public MessageHeader(int type, int flags, long requestId) { in MessageHeader() argument
67 mRequestId = requestId; in MessageHeader()
208 void setRequestId(ByteBuffer buffer, long requestId) { in setRequestId() argument
210 buffer.putLong(REQUEST_ID_OFFSET, requestId); in setRequestId()
211 mRequestId = requestId; in setRequestId()
DServiceMessage.java69 void setRequestId(long requestId) { in setRequestId() argument
70 mHeader.setRequestId(getData(), requestId); in setRequestId() local
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DEventLocationEventTestCase.java124 int requestId = reply.getNextValueAsInt(); in setEvent() local
125 logWriter.println("=> New request " + requestId); in setEvent()
126 requestIds.add(Integer.valueOf(requestId)); in setEvent()
131 for (Integer requestId : requestIds) { in clearAllEvents()
132 clearEvent(eventKind, requestId.intValue()); in clearAllEvents()
137 private void clearEvent(byte fieldEventKind, int requestId) { in clearEvent() argument
138 logWriter.println("=> Clear request " + requestId); in clearEvent()
139 debuggeeWrapper.vmMirror.clearEvent(fieldEventKind, requestId); in clearEvent()
DCombinedEvents002Test.java168 int requestId = reply.getNextValueAsInt(); in prepareDebuggee() local
169 requestsMap.put(Byte.valueOf(eventKind), Integer.valueOf(requestId)); in prepareDebuggee()
170 logWriter.println("==> OK - request " + requestId + " for " + eventKind + in prepareDebuggee()
308 Integer requestId = requestsMap.get(eventKind); in clearEvents() local
310 logWriter.println("==> Clear request " + requestId.intValue() + " for " + in clearEvents()
312 debuggeeWrapper.vmMirror.clearEvent(eventKind.byteValue(), requestId.intValue()); in clearEvents()
DEventWithExceptionTest.java472 int requestId = replyPacket.getNextValueAsInt(); in readRequestId() local
474 return requestId; in readRequestId()
477 private ParsedEvent waitForEvent(byte eventKind, int requestId) { in waitForEvent() argument
479 " (request " + requestId + ")"); in waitForEvent()
489 assertEquals("Invalid request id", requestId, parsedEvent.getRequestID()); in waitForEvent()
/external/autotest/frontend/client/src/autotest/common/
DPaddedJsonRpcProxy.java32 private int requestId; field in PaddedJsonRpcProxy.JsonpRequest
41 requestId = getRequestId(); in JsonpRequest()
45 callbackName = CALLBACK_PREFIX + requestId; in JsonpRequest()
67 scriptTag = addScript(getFullUrl(rpcUrl), requestId); in send()
131 private static Element addScript(String url, int requestId) { in addScript() argument
132 String scriptId = SCRIPT_TAG_PREFIX + requestId; in addScript()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DRouterTest.java104 private void sendMessageToRouter(int messageIndex, int requestMessageType, int requestId) { in sendMessageToRouter() argument
106 requestMessageType, MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG, requestId); in sendMessageToRouter()
131 long requestId = receivedMessage.first.asServiceMessage().getHeader().getRequestId(); in sendResponseFromRouter() local
134 responseMessageType, MessageHeader.MESSAGE_IS_RESPONSE_FLAG, requestId); in sendResponseFromRouter()
189 final int requestId = 0xdeadbeaf; in testReceivingViaRouterWithResponse() local
192 sendMessageToRouter(0, requestMessageType, requestId); in testReceivingViaRouterWithResponse()
DMessageHeaderTest.java50 final long requestId = 0x1deadbeafL; in testMessageWithRequestIdHeader() local
56 message.setRequestId(requestId); in testMessageWithRequestIdHeader()
62 assertEquals(requestId, header.getRequestId()); in testMessageWithRequestIdHeader()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattServerFacade.java180 @RpcParameter(name = "requestId") Integer requestId, in gattServerSendResponse()
192 gattServer.sendResponse(bluetoothDevice, requestId, status, offset, value); in gattServerSendResponse()
952 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, in onCharacteristicReadRequest() argument
955 mResults.putInt("requestId", requestId); in onCharacteristicReadRequest()
967 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest() argument
971 mResults.putInt("requestId", requestId); in onCharacteristicWriteRequest()
988 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, in onDescriptorReadRequest() argument
991 mResults.putInt("requestId", requestId); in onDescriptorReadRequest()
1003 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest() argument
1007 mResults.putInt("requestId", requestId); in onDescriptorWriteRequest()
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DTaskManager.java234 public void onTerminated(int requestId, String reason){ in onTerminated() argument
235 logger.debug("onTerminated requestId=" + requestId + " reason=" + reason); in onTerminated()
237 Task task = getTaskByRequestId(requestId); in onTerminated()
239 logger.debug("onTerminated Can't find request " + requestId); in onTerminated()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPProxyTestCase.java64 int requestId = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in stopInProxyMethod() local
71 requestId); in stopInProxyMethod()
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/
Dinterface_definition.tmpl266 long requestId) {
269 mRequestId = requestId;