Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DRouterImpl.java174 long requestId = mNextRequestId++; in acceptWithResponder() local
176 if (requestId == 0) { in acceptWithResponder()
177 requestId = mNextRequestId++; in acceptWithResponder()
179 if (mResponders.containsKey(requestId)) { in acceptWithResponder()
182 messageWithHeader.setRequestId(requestId); in acceptWithResponder()
187 mResponders.put(requestId, responder); in acceptWithResponder()
229 long requestId = header.getRequestId(); in handleIncomingMessage() local
230 MessageReceiver responder = mResponders.get(requestId); in handleIncomingMessage()
234 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.java123 int requestId = reply.getNextValueAsInt(); in setEvent() local
124 logWriter.println("=> New request " + requestId); in setEvent()
125 requestIds.add(Integer.valueOf(requestId)); in setEvent()
130 for (Integer requestId : requestIds) { in clearAllEvents()
131 clearEvent(eventKind, requestId.intValue()); in clearAllEvents()
136 private void clearEvent(byte fieldEventKind, int requestId) { in clearEvent() argument
137 logWriter.println("=> Clear request " + requestId); in clearEvent()
138 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/perfetto/ui/src/controller/
Dpermalink_controller.ts34 if (globals.state.permalink.requestId === undefined ||
35 globals.state.permalink.requestId === this.lastRequestId) {
38 const requestId = assertExists(globals.state.permalink.requestId); constant
39 this.lastRequestId = requestId;
44 globals.dispatch(Actions.setPermalink({requestId, hash}));
52 this.lastRequestId = state.permalink.requestId;
/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/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DRouterTest.java113 private void sendMessageToRouter(int messageIndex, int requestMessageType, int requestId) { in sendMessageToRouter() argument
115 requestMessageType, MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG, requestId); in sendMessageToRouter()
140 long requestId = receivedMessage.first.asServiceMessage().getHeader().getRequestId(); in sendResponseFromRouter() local
143 responseMessageType, MessageHeader.MESSAGE_IS_RESPONSE_FLAG, requestId); in sendResponseFromRouter()
197 final int requestId = 0xdeadbeaf; in testReceivingViaRouterWithResponse() local
200 sendMessageToRouter(0, requestMessageType, requestId); in testReceivingViaRouterWithResponse()
DMessageHeaderTest.java55 final long requestId = 0x1deadbeafL; in testMessageWithRequestIdHeader() local
61 message.setRequestId(requestId); in testMessageWithRequestIdHeader()
67 Assert.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/perfetto/ui/src/common/
Dactions.ts199 state.permalink = {requestId: `${state.nextId++}`, hash: undefined};
202 setPermalink(state: StateDraft, args: {requestId: string; hash: string}):
205 if (state.permalink.requestId !== args.requestId) return;
211 requestId: `${state.nextId++}`,
Dstate.ts62 requestId?: string; // Set by the frontend to request a new permalink. property
/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/syzkaller/vendor/google.golang.org/api/compute/v0.beta/
Dcompute-gen.go18776 func (c *AddressesDeleteCall) RequestId(requestId string) *AddressesDeleteCall {
18777 c.urlParams_.Set("requestId", requestId)
19112 func (c *AddressesInsertCall) RequestId(requestId string) *AddressesInsertCall {
19113 c.urlParams_.Set("requestId", requestId)
19549 func (c *AddressesSetLabelsCall) RequestId(requestId string) *AddressesSetLabelsCall {
19550 c.urlParams_.Set("requestId", requestId)
20138 func (c *AutoscalersDeleteCall) RequestId(requestId string) *AutoscalersDeleteCall {
20139 c.urlParams_.Set("requestId", requestId)
20473 func (c *AutoscalersInsertCall) RequestId(requestId string) *AutoscalersInsertCall {
20474 c.urlParams_.Set("requestId", requestId)
[all …]
/external/perfetto/ui/src/frontend/
Dpages.ts24 if (!permalink.requestId || !permalink.hash) return null;
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/
Dinterface_definition.tmpl266 long requestId) {
269 mRequestId = requestId;
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DEventRequestManagerImpl.java939 EventRequest request(int eventCmd, int requestId) { in request() argument
943 if (er.id == requestId) { in request()