Home
last modified time | relevance | path

Searched refs:session (Results 1 - 11 of 11) sorted by relevance

/developtools/profiler/device/services/plugin_service/src/
H A Dplugin_session_manager.cpp61 auto session = std::make_shared<PluginSession>(pluginConfig, bufferConfig, pluginService_, dataRepeater); in CreatePluginSession() local
62 CHECK_NOTNULL(session, nullptr, "allocate plugin session for %s failed!", name.c_str()); in CreatePluginSession()
63 CHECK_TRUE(session->IsAvailable(), nullptr, "config plugin for %s failed!", name.c_str()); in CreatePluginSession()
64 return session; in CreatePluginSession()
74 auto session = std::make_shared<PluginSession>(pluginConfig, pluginService_, dataRepeater); in CreatePluginSession() local
75 CHECK_NOTNULL(session, nullptr, "allocate plugin session for %s failed!", name.c_str()); in CreatePluginSession()
76 CHECK_TRUE(session->IsAvailable(), nullptr, "config plugin for %s failed!", name.c_str()); in CreatePluginSession()
77 return session; in CreatePluginSession()
89 auto session = CreatePluginSession(pluginConfigs[i], bufferConfigs[i], dataRepeater); CreatePluginSessions() local
109 auto session = CreatePluginSession(pluginConfigs[i], dataRepeater); CreatePluginSessions() local
[all...]
/developtools/integration_verification/tools/fotff/utils/
H A Dssh.go62 session, err := client.NewSession()
79 session.Close()
82 stdin, err := session.StdinPipe()
87 stdout, err := session.StdoutPipe()
91 stderr, err := session.StderrPipe()
95 if err := session.Shell(); err != nil {
103 return session.Wait()
/developtools/hdc/src/host/
H A Dhost_uart.cpp61 // this thread don't care session. in UartWriteThread()
78 vector<uint8_t> dataReadBuf; // each thread/session have it own data buff in UartReadThread()
89 WRITE_LOG(LOG_INFO, "%s read got fail , free the session", __FUNCTION__); in UartReadThread()
427 WRITE_LOG(LOG_DEBUG, "%s uart connectKey :%s session %s change to %d", __FUNCTION__, in EnumSerialPort()
534 1. Existing serial device, check whether a session is established, if not, go to establish in EnumSerialPort()
535 2. The connection is established but the serial device does not exist, delete the session in EnumSerialPort()
547 // check port have session in EnumSerialPort()
556 // check port have session in EnumSerialPort()
580 WRITE_LOG(LOG_FATAL, "malloc serial session failed for %s", Hdc::MaskString(connectKey).c_str()); in EnumSerialPort()
609 WRITE_LOG(LOG_DEBUG, "%s %s register a session", __FUNCTION_ in EnumSerialPort()
653 OnTransferError(const HSession session) EnumSerialPort() argument
678 Restartession(const HSession session) EnumSerialPort() argument
[all...]
H A Dhost_uart.h42 // logic layer will free the session
49 virtual void OnTransferError(const HSession session) override;
51 virtual void Restartession(const HSession session) override;
/developtools/hdc/test/unittest/common/
H A Duart_test.cpp368 * soft reset when session id is not correct
379 // here we make a server session in HWTEST_F()
383 // same session in HWTEST_F()
391 // diff session but not server serversession in HWTEST_F()
399 // diff session should set reset resetIO to true in HWTEST_F()
416 HdcSession session; in HWTEST_F() local
418 session.classInstance = &sessionBase; in HWTEST_F()
419 auto loop = &session.childLoop; in HWTEST_F()
420 auto tcp = &session.dataPipe[STREAM_WORK]; in HWTEST_F()
421 session in HWTEST_F()
486 HdcSession session; HWTEST_F() local
796 HdcSession session; HWTEST_F() local
816 HdcSession session; HWTEST_F() local
[all...]
H A Dhost_uart_test.cpp129 // session will close mockDaemon.loopMain ,so we dont need close it in UT in TearDown()
820 EXPECT_CALL(mockHostUART, OnTransferError).WillRepeatedly(Invoke([&](const HSession session) { in HWTEST_F()
821 return mockHostUART.HdcHostUART::OnTransferError(session); in HWTEST_F()
/developtools/hdc/src/daemon/
H A Ddaemon_uart.cpp188 void HdcDaemonUART::OnTransferError(const HSession session) in OnTransferError() argument
191 if (session != nullptr) { in OnTransferError()
192 WRITE_LOG(LOG_FATAL, "%s %s", __FUNCTION__, session->ToDebugString().c_str()); in OnTransferError()
193 daemon.FreeSession(session->sessionId); in OnTransferError()
194 ClearUARTOutMap(session->sessionId); in OnTransferError()
208 WRITE_LOG(LOG_FATAL, "new session malloc failed for sessionId:%u", sessionId); in PrepareNewSession()
212 // reset old session in PrepareNewSession()
214 WRITE_LOG(LOG_WARN, "New session coming, restart old sessionId:%u", currentSessionId); in PrepareNewSession()
274 // why not free session here in DeamonReadThread()
322 WRITE_LOG(LOG_WARN, "session isDea in IsSendReady()
[all...]
H A Ddaemon_uart.h33 virtual void OnTransferError(const HSession session) override;
/developtools/hdc/src/common/
H A Duart.cpp466 WRITE_LOG(LOG_ALL, "%s headonly Package(%zu). dont send to session, erase it", in PackageProcess()
477 // for daemon side we can make a new session for it in PackageProcess()
482 WRITE_LOG(LOG_WARN, "%s have not found session (%u). skip it", __FUNCTION__, sessionId); in PackageProcess()
486 WRITE_LOG(LOG_WARN, "%s dup package %u, skip send to session logic", in PackageProcess()
499 "%s DispatchToWorkThread fail %d. request free session in " in PackageProcess()
534 // we dont need session info in SendUARTRaw()
544 // session is not found in SendUARTRaw()
566 // just send the data to hdc session side
569 WRITE_LOG(LOG_DEBUG, "%s send to session %s package size %zu", __FUNCTION__, in UartSendToHdcStream()
595 // data to session in UartSendToHdcStream()
998 Restartession(const HSession session) Restartession() argument
[all...]
H A Duart.h33 PKG_OPTION_TAIL = 1, // makr is the last packget, can be send to session.
34 PKG_OPTION_RESET = 2, // host request reset session in daemon
37 PKG_OPTION_FREE = 16, // request free this session, some unable recovery error happened
53 uint32_t packageIndex; // package index in this session
166 // call from session side
190 virtual void Restartession(const HSession session);
210 virtual void OnTransferError(const HSession session) = 0;
225 // we have some oswait in huart(bind to each session/uart device)
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h8142 struct pid *session; member
64459 struct opal_session_info session; global() member
64463 struct opal_session_info session; global() member
64469 struct opal_session_info session; global() member
[all...]

Completed in 494 milliseconds