Home
last modified time | relevance | path

Searched refs:pluginService_ (Results 1 – 8 of 8) sorted by relevance

/developtools/profiler/device/services/plugin_service/test/unittest/
Dplugin_service_test.cpp45 pluginService_ = std::make_unique<PluginService>(); in SetUp()
48 pluginServiceImp_ = std::make_unique<PluginServiceImpl>(*pluginService_); in SetUp()
54 pluginService_ = nullptr; in TearDown()
58 std::unique_ptr<PluginService> pluginService_ = nullptr; member in __anond7b159f90111::UnitTestPluginService
85 ASSERT_TRUE(pluginService_->AddPluginInfo(plugin));
100 …ASSERT_FALSE(pluginService_->CreatePluginSession(ppc, std::make_shared<ProfilerDataRepeater>(4096)…
119 …ASSERT_FALSE(pluginService_->CreatePluginSession(ppc, bc, std::make_shared<ProfilerDataRepeater>(4…
134 ASSERT_FALSE(pluginService_->StartPluginSession(ppc));
144 ASSERT_FALSE(pluginService_->StopPluginSession("abc.so"));
154 ASSERT_FALSE(pluginService_->DestroyPluginSession("abc.so"));
[all …]
/developtools/profiler/device/services/plugin_service/src/
Dplugin_session.cpp26 pluginService_(pluginService), in PluginSession()
40 pluginService_(pluginService), in PluginSession()
59 auto pluginService = pluginService_.lock(); // promote to shared_ptr in Create()
84 auto pluginService = pluginService_.lock(); in Destroy()
124 auto pluginService = pluginService_.lock(); in Start()
141 auto pluginService = pluginService_.lock(); in Refresh()
162 auto pluginService = pluginService_.lock(); in StopLocked()
Dplugin_session_manager.cpp22 …r::PluginSessionManager(const PluginServiceWeakPtr& pluginService) : pluginService_(pluginService)… in PluginSessionManager()
39 auto pluginSvc = pluginService_.lock(); in CheckPluginSha256()
61 …auto session = std::make_shared<PluginSession>(pluginConfig, bufferConfig, pluginService_, dataRep… in CreatePluginSession()
74 auto session = std::make_shared<PluginSession>(pluginConfig, pluginService_, dataRepeater); in CreatePluginSession()
/developtools/profiler/device/services/plugin_service/include/
Dplugin_session.h70 PluginServiceWeakPtr pluginService_; variable
Dplugin_session_manager.h59 PluginServiceWeakPtr pluginService_; variable
/developtools/profiler/device/services/profiler_service/test/unittest/
Dprofiler_service_test.cpp74 PluginServicePtr pluginService_; member in __anon744c24610111::ProfilerServiceTest
87 pluginService_ = std::make_shared<PluginService>(); in SetUp()
88 if (pluginService_) { in SetUp()
89 pluginService_->AddPluginInfo(pluginInfo); in SetUp()
91 service_ = std::make_shared<ProfilerService>(pluginService_); in SetUp()
99 if (pluginService_) { in TearDown()
100 pluginService_->RemovePluginInfo(pluginInfo); in TearDown()
102 pluginService_.reset(); in TearDown()
110 if (pluginService_) { in AddPlugin()
111 pluginService_->AddPluginInfo(pluginInfo); in AddPlugin()
/developtools/profiler/device/services/profiler_service/src/
Dprofiler_service.cpp64 …: pluginService_(pluginService), pluginSessionManager_(std::make_shared<PluginSessionManager>(plug… in ProfilerService()
66 pluginService_->SetPluginSessionManager(pluginSessionManager_); in ProfilerService()
236 CHECK_POINTER_NOTNULL(pluginService_, "plugin service not ready!"); in CreateSession()
353 pluginService_->SetProfilerSessionConfig(sessionConfig); in CreateSession()
626 std::tie(pluginId, pluginCtx) = pluginService_->GetPluginContext(pluginName); in DestroySession()
/developtools/profiler/device/services/profiler_service/include/
Dprofiler_service.h131 PluginServicePtr pluginService_ = nullptr; variable