Home
last modified time | relevance | path

Searched refs:ProtocolHandler (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/toolchain/tooling/
Ddebugger_service.cpp27 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in InitializeDebugger()
32 vm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler(onResponse, vm)); in InitializeDebugger()
37 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in UninitializeDebugger()
44 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in WaitForDebugger()
52 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in OnMessage()
60 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in ProcessMessage()
68 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in GetDispatchStatus()
72 return ProtocolHandler::DispatchStatus::UNKNOWN; in GetDispatchStatus()
Dprotocol_handler.cpp21 void ProtocolHandler::WaitForDebugger() in WaitForDebugger()
27 void ProtocolHandler::RunIfWaitingForDebugger() in RunIfWaitingForDebugger()
32 void ProtocolHandler::DispatchCommand(std::string &&msg) in DispatchCommand()
41 int32_t ProtocolHandler::GetDispatchStatus() in GetDispatchStatus()
53 void ProtocolHandler::ProcessCommand() in ProcessCommand()
82 void ProtocolHandler::SendResponse(const DispatchRequest &request, const DispatchResponse &response, in SendResponse()
101 void ProtocolHandler::SendNotification(const PtBaseEvents &events) in SendNotification()
109 void ProtocolHandler::SendReply(const PtJson &reply) in SendReply()
120 std::unique_ptr<PtJson> ProtocolHandler::CreateErrorReply(const DispatchResponse &response) in CreateErrorReply()
Dprotocol_handler.h27 class ProtocolHandler final : public ProtocolChannel {
35ProtocolHandler(std::function<void(const void *, const std::string &)> callback, const EcmaVM *vm) in ProtocolHandler() function
37 ~ProtocolHandler() override = default;
50 NO_MOVE_SEMANTIC(ProtocolHandler);
51 NO_COPY_SEMANTIC(ProtocolHandler);
/arkcompiler/toolchain/tooling/test/
Ddebugger_service_test.cpp55 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
68 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
77 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
92 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
99 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
114ProtocolHandler::DispatchStatus status = ProtocolHandler::DispatchStatus(GetDispatchStatus(ecmaVm)… in HWTEST_F_L0()
115 ASSERT_TRUE(status == ProtocolHandler::DispatchStatus::UNKNOWN); in HWTEST_F_L0()
120 status = ProtocolHandler::DispatchStatus(GetDispatchStatus(ecmaVm)); in HWTEST_F_L0()
121 ASSERT_TRUE(status == ProtocolHandler::DispatchStatus::DISPATCHED); in HWTEST_F_L0()
Dprotocol_handler_test.cpp56 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0()
68 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0()
70ProtocolHandler::DispatchStatus status = ProtocolHandler::DispatchStatus(protocol->GetDispatchStat… in HWTEST_F_L0()
71 ASSERT_TRUE(status == ProtocolHandler::DispatchStatus::DISPATCHED); in HWTEST_F_L0()
73 status = ProtocolHandler::DispatchStatus(protocol->GetDispatchStatus()); in HWTEST_F_L0()
74 ASSERT_TRUE(status == ProtocolHandler::DispatchStatus::UNKNOWN); in HWTEST_F_L0()
82 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0()
96 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0()
Ddebugger_impl_test.cpp59 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
87 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
117 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
148 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
176 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
204 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
235 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
266 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
294 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
334 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
[all …]
Dprofiler_impl_test.cpp167 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
189 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
207 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
225 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
246 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
264 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
286 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
304 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
322 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
340 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
[all …]
Druntime_impl_test.cpp58 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
81 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
100 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
119 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
138 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
162 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
187 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
Dtracing_impl_test.cpp103 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
125 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
143 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
161 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
179 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
197 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
220 channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
242 channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
263 channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
Dheapprofiler_impl_test.cpp155 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
177 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
199 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
217 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
235 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
253 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
275 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
299 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
317 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
340 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
[all …]
Ddispatcher_test.cpp140 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Dhot_reload_manager_test.cpp25 class ProtocolHandler {}; class
31 using ProtocolHandler = tooling::ProtocolHandler; typedef
49 ecmaVm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler()); in SetUp()
/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_debugger_manager.h31 class ProtocolHandler; variable
82 void SetDebuggerHandler(ProtocolHandler *debuggerHandler) in SetDebuggerHandler()
87 ProtocolHandler *GetDebuggerHandler() const in GetDebuggerHandler()
154 ProtocolHandler *debuggerHandler_ {nullptr};
/arkcompiler/toolchain/test/fuzztest/protocolhandlerwait_fuzzer/
Dprotocolhandlerwait_fuzzer.cpp38 ProtocolHandler handler(ph, vm); in ProtocolHandlerWaitFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandler_fuzzer/
Dprotocolhandler_fuzzer.cpp37 ProtocolHandler handler(ph, vm); in ProtocolHandlerFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandlernotif_fuzzer/
Dprotocolhandlernotif_fuzzer.cpp37 ProtocolHandler handler(ph, vm); in ProtocolHandlerNotifFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandlerprocess_fuzzer/
Dprotocolhandlerprocess_fuzzer.cpp37 ProtocolHandler handler(ph, vm); in ProtocolHandlerProcessFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandlerget_fuzzer/
Dprotocolhandlerget_fuzzer.cpp37 ProtocolHandler handler(ph, vm); in ProtocolHandlerGetFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandlerrun_fuzzer/
Dprotocolhandlerrun_fuzzer.cpp37 ProtocolHandler handler(ph, vm); in ProtocolHandlerRunFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandlerdispatch_fuzzer/
Dprotocolhandlerdispatch_fuzzer.cpp37 ProtocolHandler handler(ph, vm); in ProtocolHandlerDispatchFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandlerresponse_fuzzer/
Dprotocolhandlerresponse_fuzzer.cpp37 ProtocolHandler handler(ph, vm); in ProtocolHandlerResponseFuzzTest()
/arkcompiler/toolchain/tooling/base/
Dpt_types.h41 friend class ProtocolHandler; variable