Home
last modified time | relevance | path

Searched refs:HdcJdwpSimulator (Results 1 - 7 of 7) sorted by relevance

/developtools/hdc/src/test/jdwp/
H A DHdcJdwpSimulator.cpp16 #include "HdcJdwpSimulator.h"
20 HdcJdwpSimulator::HdcJdwpSimulator(uv_loop_t *loopIn, string pkg) in HdcJdwpSimulator() function in HdcJdwpSimulator
27 HdcJdwpSimulator::~HdcJdwpSimulator() {} in ~HdcJdwpSimulator()
29 void HdcJdwpSimulator::FinishWriteCallback(uv_write_t *req, int status) in FinishWriteCallback()
39 RetErrCode HdcJdwpSimulator::SendToStream(uv_stream_t *handleStream, const uint8_t *buf, in SendToStream()
42 HiLog::Info(LABEL, "HdcJdwpSimulator::SendToStream: %{public}s, %{public}d", buf, bufLen); in SendToStream()
45 HiLog::Error(LABEL, "HdcJdwpSimulator::SendToStream wrong bufLen."); in SendToStream()
50 HiLog::Error(LABEL, "HdcJdwpSimulator in SendToStream()
[all...]
H A DHdcJdwpSimulator.h19 class HdcJdwpSimulator;
21 class HdcJdwpSimulator { class
23 explicit HdcJdwpSimulator(uv_loop_t *loopIn, string pkg);
24 ~HdcJdwpSimulator();
34 HdcJdwpSimulator *thisClass;
H A Dmain.cpp19 #include "HdcJdwpSimulator.h"
23 static HdcJdwpSimulator *clsHdcJdwpSimulator = nullptr;
122 clsHdcJdwpSimulator = new HdcJdwpSimulator(&loopMain, "com.example.myapplication"); in main()
/developtools/hdc/src/register/
H A Dhdc_jdwp.h24 class HdcJdwpSimulator;
26 class HdcJdwpSimulator { class
28 explicit HdcJdwpSimulator(std::string processName, std::string pkgName, bool isDebug, Callback cb);
29 ~HdcJdwpSimulator();
H A Dhdc_jdwp.cpp23 HdcJdwpSimulator::HdcJdwpSimulator(const std::string processName, const std::string pkgName, bool isDebug, Callback cb) in HdcJdwpSimulator() function in Hdc::HdcJdwpSimulator
35 void HdcJdwpSimulator::Disconnect() in Disconnect()
46 HdcJdwpSimulator::~HdcJdwpSimulator() in ~HdcJdwpSimulator()
52 bool HdcJdwpSimulator::SendBuf(const uint8_t *buf, const int bufLen) in SendBuf()
62 bool HdcJdwpSimulator::Connect2Jdwp() in Connect2Jdwp()
104 bool HdcJdwpSimulator::Send2Jdwp() in Send2Jdwp()
146 void HdcJdwpSimulator::ReadFromJdwp() in ReadFromJdwp()
238 bool HdcJdwpSimulator
[all...]
H A Dhdc_connect.cpp23 static HdcJdwpSimulator *g_clsHdcJdwpSimulator = nullptr;
127 g_clsHdcJdwpSimulator = new (std::nothrow) HdcJdwpSimulator(processName, pkgName, isDebug, cb); in HdcConnectRun()
/developtools/hdc/test/unittest/register/
H A Dregister_test.cpp109 HdcJdwpSimulator* g_hdcJdwpSimulator = nullptr;
117 g_hdcJdwpSimulator = new (std::nothrow) HdcJdwpSimulator(processName, pkgName, isDebug, nullptr); in HdcConnectRunTest()
129 * @tc.desc: Test cast to HdcJdwpSimulator.
148 * @tc.steps: step2. Call disconnect and delete the HdcJdwpSimulator in HWTEST_F()
164 g_hdcJdwpSimulator = new (std::nothrow) HdcJdwpSimulator(name, name, true, nullptr); in ConnectJpidTest()
192 * @tc.steps: step2. Call disconnect and delete the HdcJdwpSimulator in HWTEST_F()
201 * @tc.steps: step3. new a HdcJdwpSimulator and start the connect thread in HWTEST_F()

Completed in 3 milliseconds