/developtools/hdc/src/daemon/ |
D | daemon_unity.cpp | 183 HdcDaemon *daemon = (HdcDaemon *)daemonIn; in SetDeviceRunMode() local 198 daemon->PostStopInstanceMessage(true); in SetDeviceRunMode() 215 HdcDaemon *daemon = (HdcDaemon *)daemonIn; in ListJdwpProcess() local 216 string result = ((HdcJdwp *)daemon->clsJdwp)->GetProcessList(); in ListJdwpProcess() 228 HdcDaemon *daemon = static_cast<HdcDaemon *>(daemonIn); in TrackJdwpProcess() local 233 if (!((static_cast<HdcJdwp *>(daemon->clsJdwp))->CreateJdwpTracker(taskInfo))) { in TrackJdwpProcess() 243 HdcDaemon *daemon = static_cast<HdcDaemon *>(taskInfo->ownerSessionClass); in RemoveJdwpTracker() local 244 (static_cast<HdcJdwp *>(daemon->clsJdwp))->RemoveJdwpTracker(taskInfo); in RemoveJdwpTracker() 250 HdcDaemon *daemon = (HdcDaemon *)taskInfo->ownerSessionClass; in CommandDispatch() local 273 SetDeviceRunMode(daemon, strPayload.c_str()); in CommandDispatch() [all …]
|
D | daemon_usb.cpp | 120 HdcDaemon *daemon = (HdcDaemon *)clsMainBase; in Initial() local 122 uv_timer_init(&daemon->loopMain, &checkEP); in Initial() 219 HdcDaemon *daemon = reinterpret_cast<HdcDaemon *>(clsMainBase); in ResetOldSession() local 223 HSession hSession = daemon->AdminSession(OP_QUERY, sessionId, nullptr); in ResetOldSession() 230 daemon->FreeSession(sessionId); in ResetOldSession() 333 HdcDaemon *daemon = (HdcDaemon *)hSession->classInstance; in SendUSBRaw() local 339 daemon->FreeSession(hSession->sessionId); in SendUSBRaw() 362 HdcDaemon *daemon = reinterpret_cast<HdcDaemon *>(clsMainBase); in PrepareNewSession() local 364 HSession hChildSession = daemon->MallocSession(false, CONN_USB, this, sessionId); in PrepareNewSession() 370 …Base::StartWorkThread(&daemon->loopMain, daemon->SessionWorkThread, Base::FinishWorkThread, hChild… in PrepareNewSession() [all …]
|
D | daemon_uart.cpp | 32 : HdcUARTBase(daemonSessionIn, externInterface), daemon(daemonSessionIn) in HdcDaemonUART() 63 ret = uv_timer_init(&daemon.loopMain, &checkSerialPort); in Initial() 167 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in ResetOldSession() 181 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in GetSession() 193 daemon.FreeSession(session->sessionId); in OnTransferError() 206 HSession hSession = daemon.MallocSession(false, CONN_SERIAL, this, sessionId); in PrepareNewSession() 215 daemon.PushAsyncMessage(currentSessionId, ASYNC_FREE_SESSION, nullptr, 0); in PrepareNewSession() 217 externInterface.StartWorkThread(&daemon.loopMain, daemon.SessionWorkThread, in PrepareNewSession() 233 externInterface.TimerUvTask(&daemon.loopMain, hSession, funcNewSessionUp); in PrepareNewSession()
|
D | main.cpp | 339 HdcDaemon daemon(false, CheckUvThreadConfig()); in main() local 343 daemon.InitMod(g_enableTcp, g_enableUsb, g_enableBridge, g_enableUart); in main() 345 daemon.InitMod(g_enableTcp, g_enableUsb, g_enableBridge); in main() 349 daemon.InitMod(g_enableTcp, g_enableUsb, g_enableUart); in main() 351 daemon.InitMod(g_enableTcp, g_enableUsb); in main() 354 daemon.ClearKnownHosts(); in main() 355 daemon.WorkerPendding(); in main() 356 bool wantRestart = daemon.WantRestart(); in main()
|
D | daemon_forward.cpp | 45 HdcDaemon *daemon = (HdcDaemon *)taskInfo->ownerSessionClass; in SetupJdwpPoint() local 46 HdcJdwp *clsJdwp = (HdcJdwp *)daemon->clsJdwp; in SetupJdwpPoint() 91 HdcDaemon *daemon = (HdcDaemon *)taskInfo->ownerSessionClass; in SetupArkPoint() local 92 HdcJdwp *clsJdwp = (HdcJdwp *)daemon->clsJdwp; in SetupArkPoint()
|
D | daemon_tcp.cpp | 75 HdcSessionBase *daemon = reinterpret_cast<HdcSessionBase *>(thisClass->clsMainBase); in AcceptClient() local 77 auto ctrl = daemon->BuildCtrlString(SP_START_SESSION, 0, nullptr, 0); in AcceptClient()
|
D | daemon_uart.h | 65 HdcDaemon &daemon; variable
|
/developtools/hdc/test/ |
D | BUILD.gn | 40 "${hdc_path}/src/daemon/daemon.cpp", 41 "${hdc_path}/src/daemon/daemon_app.cpp", 42 "${hdc_path}/src/daemon/daemon_forward.cpp", 43 "${hdc_path}/src/daemon/daemon_tcp.cpp", 44 "${hdc_path}/src/daemon/daemon_unity.cpp", 45 "${hdc_path}/src/daemon/daemon_usb.cpp", 46 "${hdc_path}/src/daemon/jdwp.cpp", 47 "${hdc_path}/src/daemon/shell.cpp", 48 "${hdc_path}/src/daemon/system_depend.cpp", 102 "${hdc_path}/src/daemon", [all …]
|
/developtools/hdc/ |
D | BUILD.gn | 72 "src/daemon/daemon.cpp", 73 "src/daemon/daemon_app.cpp", 74 "src/daemon/daemon_bridge.cpp", 75 "src/daemon/daemon_forward.cpp", 76 "src/daemon/daemon_tcp.cpp", 77 "src/daemon/daemon_unity.cpp", 78 "src/daemon/daemon_usb.cpp", 79 "src/daemon/jdwp.cpp", 80 "src/daemon/main.cpp", 81 "src/daemon/shell.cpp", [all …]
|
D | README.md | 13 … development machine operating system platforms, and the device-side hdc daemon needs to follow th… 21 … server manages the communication between the client and the device-side daemon, including the mul… 23 3. The hdc daemon part: the daemon is deployed on the OpenHarmony device running on demand, and is … 32 │ ├── daemon # Code directory on the device side
|
D | README_zh.md | 16 …等系统上与OpenHarmony设备(或模拟器)进行连接调试通信。PC端hdc工具需要针对以上开发机操作系统平台分别发布相应的版本,设备端hdc daemon需跟随设备镜像发布包括对模拟器进行支持… 24 2. hdc server部分:作为后台进程也运行于开发机器,server管理client和设备端daemon之间通信包括连接的复用、数据通信包的收发,以及个别本地命令的直接处理。 26 3. hdc daemon部分:daemon部署于OpenHarmony设备端作为守护进程来按需运行,负责处理来自client端的请求。 35 │ ├── daemon # 设备端的代码目录 182 …a name="p19426174319422"></a><a name="p19426174319422"></a><span>执行后设备端对应daemon进程重启,并首先选用usb连接方式</… 187 …5"><a name="p124267438425"></a><a name="p124267438425"></a><span>执行后设备端对应daemon进程重启,并优先使用网络方式连接设备,…
|
/developtools/hdc/src/test/ |
D | ut_runtime.cpp | 92 thisClass->daemon->PostStopInstanceMessage(); in CheckStopDaemon() 99 HdcDaemon daemon(false); in StartDaemon() local 100 daemon.InitMod(true, false); in StartDaemon() 101 thisClass->daemon = &daemon; in StartDaemon() 105 uv_idle_init(&daemon.loopMain, idt); in StartDaemon() 108 daemon.WorkerPendding(); in StartDaemon()
|
D | ut_runtime.h | 62 void *daemon; // Hdc::HdcDaemon * variable
|
/developtools/hdc/src/ |
D | CMakeLists.txt | 13 add_subdirectory(daemon)
|
/developtools/hdc/src/daemon/etc/ |
D | hdc.para.dac | 20 persist.hdc.daemon.auth_result = root:shell:0660 22 persist.hdc.daemon.auth_cancel = root:shell:0660
|
D | hdcd.cfg | 36 "name" : "param:persist.hdc.daemon.auth_cancel=true", 37 "condition" : "persist.hdc.daemon.auth_cancel=true",
|
/developtools/hdc/test/unittest/common/ |
D | daemon_uart_test.cpp | 136 HdcDaemon daemon(false); 137 HdcDaemonUART daemonUART(daemon); 142 EXPECT_EQ(&daemonUART.daemon, &daemon); 154 HdcDaemon daemon(false); 155 HdcDaemonUART daemonUARTFailed(daemon); 301 HdcDaemon daemon(false); 302 HdcDaemonUART daemonUART(daemon);
|
D | uart_test.cpp | 45 std::unique_ptr<HdcSession> daemon; member in Hdc::HdcUARTBaseTest 123 daemon = std::make_unique<HdcSession>(); in SetUp() 124 daemon->serverOrDaemon = false; in SetUp() 125 daemon->sessionId = DAEMON_SESSION_ID; in SetUp() 126 daemon->hUART = daemonHdcUart.get(); in SetUp() 302 ASSERT_EQ(mockUARTBase.UartSendToHdcStream(daemon.get(), data.data(), i), true); 327 mockUARTBase.UartSendToHdcStream(daemon.get(), sourceData.data(), testPackageSize[i]), 393 EXPECT_CALL(mockUARTBase, SendUartSoftReset(daemon.get(), server->sessionId)).Times(0); 395 sendResult = mockUARTBase.UartSendToHdcStream(daemon.get(), data.data(), data.size());
|
/developtools/hdc/hdc_rust/ |
D | BUILD.gn | 85 sources = [ "src/daemon/main.rs" ] 109 features = [ "daemon" ]
|
/developtools/smartperf_host/trace_streamer/doc/ |
D | des_support_event.md | 226 sys.virtual.mem.compact.daemon.wake 241 sys.virtual.mem.compact.daemon.migrate.scanned
|
/developtools/profiler/host/smartperf/client/client_command/ |
D | smartperf_command.cpp | 38 daemon(0, 0); in SmartPerfCommand()
|