/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | RouterImpl.java | 176 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()
|
D | MessageHeader.java | 62 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()
|
D | ServiceMessage.java | 69 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/ |
D | EventLocationEventTestCase.java | 124 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()
|
D | CombinedEvents002Test.java | 168 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()
|
D | EventWithExceptionTest.java | 472 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/ |
D | PaddedJsonRpcProxy.java | 32 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/ |
D | RouterTest.java | 104 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()
|
D | MessageHeaderTest.java | 50 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/ |
D | GattServerFacade.java | 180 @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/ |
D | TaskManager.java | 234 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/ |
D | JDWPProxyTestCase.java | 64 int requestId = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in stopInProxyMethod() local 71 requestId); in stopInProxyMethod()
|
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/ |
D | interface_definition.tmpl | 266 long requestId) { 269 mRequestId = requestId;
|