Home
last modified time | relevance | path

Searched refs:requestId (Results 1 – 24 of 24) 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/perfetto/ui/src/controller/
Dadb_socket_controller.ts59 private requestId = 1;
110 const requestId = this.requestId++; constant
119 requestId,
123 this.requestMethods.set(requestId, method);
237 requestId: number, responseProto: Uint8Array, hasMore = false) {
238 const method = this.requestMethods.get(requestId);
240 console.error(`Unknown request id: ${requestId}`);
299 const requestId = this.requestId++; constant
301 requestId,
329 const requestId = frame.requestId; constant
[all …]
Dpermalink_controller.ts39 if (globals.state.permalink.requestId === undefined ||
40 globals.state.permalink.requestId === this.lastRequestId) {
43 const requestId = assertExists(globals.state.permalink.requestId); constant
44 this.lastRequestId = requestId;
53 globals.dispatch(Actions.setPermalink({requestId, hash}));
75 this.lastRequestId = stateOrConfig.permalink.requestId;
/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/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/openscreen/cast/receiver/
Dapplication_agent_unittest.cc223 "requestId":0, in TearDown()
276 "requestId":3, in TEST_F()
287 "requestId":3, in TEST_F()
323 "requestId":548, in TEST_F()
334 "requestId":548, in TEST_F()
348 "requestId":549, in TEST_F()
359 "requestId":549, in TEST_F()
372 "requestId":123, in TEST_F()
403 "requestId":123, in TEST_F()
413 "requestId":1, in TEST_F()
[all …]
/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/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceSubscriber.java382 public void onSipResponse(int requestId, int responseCode, String reasonPhrase) { in onSipResponse() argument
424 Task task = TaskManager.getDefault().getTaskByRequestId(requestId); in onSipResponse()
513 public void updatePresences(int requestId, List<RcsContactUceCapability> contactsCapabilities, in updatePresences() argument
521 TaskManager.getDefault().onTerminated(requestId, terminatedReason); in updatePresences()
524 Task task = TaskManager.getDefault().getTaskByRequestId(requestId); in updatePresences()
530 public void onCommandStatusUpdated(int taskId, int requestId, int resultCode) { in onCommandStatusUpdated() argument
536 task.mSipRequestId = requestId; in onCommandStatusUpdated()
DPresenceBase.java173 public void onCommandStatusUpdated(int taskId, int requestId, int resultCode) { in onCommandStatusUpdated() argument
176 task.mSipRequestId = requestId; in onCommandStatusUpdated()
DPresencePublication.java466 public void onCommandStatusUpdated(int taskId, int requestId, int resultCode) { in onCommandStatusUpdated() argument
468 super.onCommandStatusUpdated(taskId, requestId, resultCode); in onCommandStatusUpdated()
1059 public void onSipResponse(int requestId, int responseCode, String reasonPhrase) { in onSipResponse() argument
1129 Task task = TaskManager.getDefault().getTaskByRequestId(requestId); in onSipResponse()
/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.java253 public void onTerminated(int requestId, String reason){ in onTerminated() argument
254 logger.debug("onTerminated requestId=" + requestId + " reason=" + reason); in onTerminated()
256 Task task = getTaskByRequestId(requestId); in onTerminated()
258 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/perfetto/ui/src/frontend/
Dpages.ts26 if (!permalink.requestId || !permalink.hash) return null;
/external/openscreen/cast/standalone_sender/
Dlooping_file_cast_agent.cc115 R"({"type":"LAUNCH", "requestId":%d, "appId":"%s"})"; in OnConnected()
339 R"({"type":"STOP", "requestId":%d, "sessionId":"%s"})"; in Shutdown()
/external/perfetto/ui/src/common/
Dactions.ts427 requestId: `${state.nextId++}`,
433 setPermalink(state: StateDraft, args: {requestId: string; hash: string}):
436 if (state.permalink.requestId !== args.requestId) return;
441 state.permalink = {requestId: `${state.nextId++}`, hash: args.hash};
Dstate.ts143 requestId?: string; // Set by the frontend to request a new permalink. property
/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()