| /arkcompiler/toolchain/tooling/ |
| D | debugger_service.cpp | 27 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()
|
| D | protocol_handler.cpp | 21 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()
|
| D | protocol_handler.h | 27 class ProtocolHandler final : public ProtocolChannel { 35 … ProtocolHandler(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/ |
| D | debugger_service_test.cpp | 55 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() 114 …ProtocolHandler::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()
|
| D | protocol_handler_test.cpp | 56 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() 70 …ProtocolHandler::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()
|
| D | debugger_impl_test.cpp | 59 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 …]
|
| D | profiler_impl_test.cpp | 167 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 …]
|
| D | runtime_impl_test.cpp | 58 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()
|
| D | tracing_impl_test.cpp | 103 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()
|
| D | heapprofiler_impl_test.cpp | 155 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 …]
|
| D | dispatcher_test.cpp | 140 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/tests/ |
| D | hot_reload_manager_test.cpp | 25 class ProtocolHandler {}; class 31 using ProtocolHandler = tooling::ProtocolHandler; typedef 49 ecmaVm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler()); in SetUp()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger_manager.h | 31 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/ |
| D | protocolhandlerwait_fuzzer.cpp | 38 ProtocolHandler handler(ph, vm); in ProtocolHandlerWaitFuzzTest()
|
| /arkcompiler/toolchain/test/fuzztest/protocolhandler_fuzzer/ |
| D | protocolhandler_fuzzer.cpp | 37 ProtocolHandler handler(ph, vm); in ProtocolHandlerFuzzTest()
|
| /arkcompiler/toolchain/test/fuzztest/protocolhandlernotif_fuzzer/ |
| D | protocolhandlernotif_fuzzer.cpp | 37 ProtocolHandler handler(ph, vm); in ProtocolHandlerNotifFuzzTest()
|
| /arkcompiler/toolchain/test/fuzztest/protocolhandlerprocess_fuzzer/ |
| D | protocolhandlerprocess_fuzzer.cpp | 37 ProtocolHandler handler(ph, vm); in ProtocolHandlerProcessFuzzTest()
|
| /arkcompiler/toolchain/test/fuzztest/protocolhandlerget_fuzzer/ |
| D | protocolhandlerget_fuzzer.cpp | 37 ProtocolHandler handler(ph, vm); in ProtocolHandlerGetFuzzTest()
|
| /arkcompiler/toolchain/test/fuzztest/protocolhandlerrun_fuzzer/ |
| D | protocolhandlerrun_fuzzer.cpp | 37 ProtocolHandler handler(ph, vm); in ProtocolHandlerRunFuzzTest()
|
| /arkcompiler/toolchain/test/fuzztest/protocolhandlerdispatch_fuzzer/ |
| D | protocolhandlerdispatch_fuzzer.cpp | 37 ProtocolHandler handler(ph, vm); in ProtocolHandlerDispatchFuzzTest()
|
| /arkcompiler/toolchain/test/fuzztest/protocolhandlerresponse_fuzzer/ |
| D | protocolhandlerresponse_fuzzer.cpp | 37 ProtocolHandler handler(ph, vm); in ProtocolHandlerResponseFuzzTest()
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_types.h | 41 friend class ProtocolHandler; variable
|