Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 32) sorted by relevance

12

/developtools/profiler/device/services/plugin_service/src/
Dplugin_session_manager.cpp61 …auto session = std::make_shared<PluginSession>(pluginConfig, bufferConfig, pluginService_, dataRep… 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); in CreatePluginSessions() local
92 CHECK_NOTNULL(session, false, "create plugin-%zu session failed!", i); in CreatePluginSessions()
[all …]
/developtools/smartperf_host/trace_streamer/src/protos/services/
Dprofiler_service.proto30 // start tracing session, active server side tracing triggers.
33 // get server-side cached tracing data since current session started.
36 // stop tracing session, deactivate server side tracing triggers.
39 // destroy tracing session.
42 // keep tracing session alive, call this interface will restart session expire count down task.
Dcommon_types.proto32 LOADED = 2; // have created session.
33 IN_SESSION = 3; // have started session.
Dprofiler_service_types.proto57 …uint32 keep_alive_time = 6; // if set to non-zero value, session will auto-destroyed after CreateS…
58 …bool discard_cache_data = 7; // if set true, session will stop immediately.(cache data will be los…
/developtools/profiler/host/smartperf/trace_streamer/src/protos/services/
Dprofiler_service.proto30 // start tracing session, active server side tracing triggers.
33 // get server-side cached tracing data since current session started.
36 // stop tracing session, deactivate server side tracing triggers.
39 // destroy tracing session.
42 // keep tracing session alive, call this interface will restart session expire count down task.
Dcommon_types.proto32 LOADED = 2; // have created session.
33 IN_SESSION = 3; // have started session.
Dprofiler_service_types.proto57 …uint32 keep_alive_time = 6; // if set to non-zero value, session will auto-destroyed after CreateS…
58 …bool discard_cache_data = 7; // if set true, session will stop immediately.(cache data will be los…
/developtools/profiler/host/smartperf/ide/src/trace/proto/
Dprofiler_service.proto33 // start tracing session, active server side tracing triggers.
36 // get server-side cached tracing data since current session started.
39 // stop tracing session, deactivate server side tracing triggers.
42 // destroy tracing session.
45 // keep tracing session alive, call this interface will restart session expire count down task.
Dcommon_types.proto31 LOADED = 2; // have created session.
32 IN_SESSION = 3; // have started session.
/developtools/smartperf_host/ide/src/trace/proto/
Dprofiler_service.proto33 // start tracing session, active server side tracing triggers.
36 // get server-side cached tracing data since current session started.
39 // stop tracing session, deactivate server side tracing triggers.
42 // destroy tracing session.
45 // keep tracing session alive, call this interface will restart session expire count down task.
Dcommon_types.proto31 LOADED = 2; // have created session.
32 IN_SESSION = 3; // have started session.
/developtools/profiler/protos/services/
Dprofiler_service.proto30 // start tracing session, active server side tracing triggers.
33 // get server-side cached tracing data since current session started.
36 // stop tracing session, deactivate server side tracing triggers.
39 // destroy tracing session.
42 // keep tracing session alive, call this interface will restart session expire count down task.
Dcommon_types.proto32 LOADED = 2; // have created session.
33 IN_SESSION = 3; // have started session.
Dprofiler_service_types.proto57 …uint32 keep_alive_time = 6; // if set to non-zero value, session will auto-destroyed after CreateS…
58 …bool discard_cache_data = 7; // if set true, session will stop immediately.(cache data will be los…
/developtools/integration_verification/tools/fotff/utils/
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/
Dhost_uart.cpp642 void HdcHostUART::OnTransferError(const HSession session) in EnumSerialPort() argument
644 if (session != nullptr) { in EnumSerialPort()
645 WRITE_LOG(LOG_FATAL, "%s:%s", __FUNCTION__, session->ToDebugString().c_str()); in EnumSerialPort()
646 if (session->hUART != nullptr) { in EnumSerialPort()
647 if (IsDeviceOpened(*session->hUART)) { in EnumSerialPort()
650 server.EchoToClientsForSession(session->sessionId, echoStr); in EnumSerialPort()
657 CloseSerialPort(session->hUART); in EnumSerialPort()
658 UpdateUARTDaemonInfo(session->connectKey, session, STATUS_OFFLINE); in EnumSerialPort()
661 server.FreeSession(session->sessionId); in EnumSerialPort()
662 ClearUARTOutMap(session->sessionId); in EnumSerialPort()
[all …]
Dhost_uart.h49 virtual void OnTransferError(const HSession session) override;
51 virtual void Restartession(const HSession session) override;
/developtools/hdc/test/unittest/common/
Duart_test.cpp416 HdcSession session; variable
418 session.classInstance = &sessionBase;
419 auto loop = &session.childLoop;
420 auto tcp = &session.dataPipe[STREAM_WORK];
421 session.dataFd[STREAM_WORK] = rnd();
422 auto socket = session.dataFd[STREAM_WORK];
428 EXPECT_EQ(mockUARTBase.ReadyForWorkThread(&session), true);
432 EXPECT_EQ(mockUARTBase.ReadyForWorkThread(&session), false);
436 EXPECT_EQ(mockUARTBase.ReadyForWorkThread(&session), false);
486 HdcSession session; variable
[all …]
/developtools/hdc/src/daemon/
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()
Ddaemon_uart.h33 virtual void OnTransferError(const HSession session) override;
/developtools/hdc/scripts/
Dfile_path.cfg2 /src/common/session.h
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto30 …bool discard_cache_data = 31; // if set true, session will stop immediately.(cache data will be lo…
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto30 …bool discard_cache_data = 31; // if set true, session will stop immediately.(cache data will be lo…
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto30 …bool discard_cache_data = 31; // if set true, session will stop immediately.(cache data will be lo…
/developtools/hdc/src/common/
Duart.cpp996 void HdcUARTBase::Restartession(const HSession session) in Restartession() argument
998 if (session != nullptr) { in Restartession()
999 WRITE_LOG(LOG_FATAL, "%s:%s", __FUNCTION__, session->ToDebugString().c_str()); in Restartession()
1000 ClearUARTOutMap(session->sessionId); in Restartession()
1001 sessionBase.FreeSession(session->sessionId); in Restartession()

12