Lines Matching full:id
51 uint32_t id = session->GetMessageId(); in HeapusageCommand() local
53 idMethodMap_[id] = std::make_tuple("getHeapUsage", ""); in HeapusageCommand()
55 request->Add("id", id); in HeapusageCommand()
63 session->GetDomainManager().SetDomainById(id, "Runtime"); in HeapusageCommand()
71 uint32_t id = session->GetMessageId(); in RuntimeEnableCommand() local
73 idMethodMap_[id] = std::make_tuple("enable", ""); in RuntimeEnableCommand()
75 request->Add("id", id); in RuntimeEnableCommand()
83 session->GetDomainManager().SetDomainById(id, "Runtime"); in RuntimeEnableCommand()
91 uint32_t id = session->GetMessageId(); in RuntimeDisableCommand() local
93 idMethodMap_[id] = std::make_tuple("disable", ""); in RuntimeDisableCommand()
95 request->Add("id", id); in RuntimeDisableCommand()
103 session->GetDomainManager().SetDomainById(id, "Runtime"); in RuntimeDisableCommand()
111 uint32_t id = session->GetMessageId(); in RunIfWaitingForDebuggerCommand() local
113 idMethodMap_[id] = std::make_tuple("runIfWaitingForDebugger", ""); in RunIfWaitingForDebuggerCommand()
115 request->Add("id", id); in RunIfWaitingForDebuggerCommand()
123 session->GetDomainManager().SetDomainById(id, "Runtime"); in RunIfWaitingForDebuggerCommand()
133 uint32_t id = session->GetMessageId(); in GetPropertiesCommand() local
135 idMethodMap_[id] = std::make_tuple("getProperties", objectId_); in GetPropertiesCommand()
137 request->Add("id", id); in GetPropertiesCommand()
149 session->GetDomainManager().SetDomainById(id, "Runtime"); in GetPropertiesCommand()
157 uint32_t id = session->GetMessageId(); in GetPropertiesCommand2() local
159 idMethodMap_[id] = std::make_tuple("getProperties", objectId_); in GetPropertiesCommand2()
161 request->Add("id", id); in GetPropertiesCommand2()
173 session->GetDomainManager().SetDomainById(id, "Runtime"); in GetPropertiesCommand2()
192 Result ret = json->GetInt("id", &replyId); in RecvReply()
194 LOGE("arkdb: find id error"); in RecvReply()
207 std::string RuntimeClient::GetMethodById(const int &id) in GetMethodById() argument
209 auto it = idMethodMap_.find(id); in GetMethodById()
216 std::string RuntimeClient::GetRequestObjectIdById(const int &id) in GetRequestObjectIdById() argument
218 auto it = idMethodMap_.find(id); in GetRequestObjectIdById()
225 void RuntimeClient::HandleGetProperties(std::unique_ptr<PtJson> json, const int &id) in HandleGetProperties() argument
260 std::string requestObjectIdStr = GetRequestObjectIdById(id); in HandleGetProperties()