Home
last modified time | relevance | path

Searched refs:pluginName (Results 1 – 14 of 14) sorted by relevance

/base/security/device_auth/services/cred_manager/src/
Dcred_manager.c29 int32_t ProcCred(int32_t pluginName, int32_t osAccountId, int32_t cmdId, CJson *in, CJson *out) in ProcCred() argument
34 if ((*pluginPtr)->pluginName == pluginName) { in ProcCred()
38 LOGE("[CredMgr]: There is no matched cred plugin. [Name]: %d", pluginName); in ProcCred()
84 if ((*pluginPtr)->pluginName == plugin->pluginName) { in AddCredPlugin()
95 LOGI("[CredMgr]: Replace cred plugin. [Name]: %d", plugin->pluginName); in AddCredPlugin()
98 LOGI("[CredMgr]: Add new cred plugin. [Name]: %d", plugin->pluginName); in AddCredPlugin()
103 void DelCredPlugin(int32_t pluginName) in DelCredPlugin() argument
108 if ((*pluginPtr)->pluginName == pluginName) { in DelCredPlugin()
109 LOGI("[CredMgr]: Delete cred plugin success. [Name]: %d", pluginName); in DelCredPlugin()
/base/hiviewdfx/hiview/service/
Dhiview_service.cpp71 std::string pluginName = ""; in DumpPluginInfo() local
76 pluginName = cmds[pluginNamePos]; in DumpPluginInfo()
88 if (pluginName.empty()) { in DumpPluginInfo()
93 if (pluginPtr->GetName() == pluginName) { in DumpPluginInfo()
122 auto const &pluginName = entry.first; in DumpLoadedPluginInfo() local
124 dprintf(fd, "PluginName:%s ", pluginName.c_str()); in DumpLoadedPluginInfo()
141 auto pluginName = entry.first; in DumpPluginUsageInfo() local
143 DumpPluginUsageInfo(fd, pluginName); in DumpPluginUsageInfo()
147 void HiviewService::DumpPluginUsageInfo(int fd, const std::string &pluginName) const in DumpPluginUsageInfo()
152 auto logList = parser_->GetPluginSummary(pluginName); in DumpPluginUsageInfo()
[all …]
Dhiview_service.h43 void DumpPluginUsageInfo(int fd, const std::string& pluginName) const;
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Devent_db_helper.cpp103 std::string pluginName = event->GetValue(PluginStatsEventSpace::KEY_OF_PLUGIN_NAME).GetString(); in InsertPluginStatsEvent() local
104 return QueryPluginStatsEvent(oldEvents, pluginName) != 0 ? in InsertPluginStatsEvent()
105 InsertPluginStatsTable(pluginName, event->ToJsonString()) : in InsertPluginStatsEvent()
106 UpdatePluginStatsTable(pluginName, event->ToJsonString()); in InsertPluginStatsEvent()
126 const std::string& pluginName) in QueryPluginStatsEvent() argument
134 if (QueryPluginStatsTable(eventStrs, pluginName) != 0 || eventStrs.empty()) { in QueryPluginStatsEvent()
135 HIVIEW_LOGI("failed to query pluginStats table, pluginName=%{public}s", pluginName.c_str()); in QueryPluginStatsEvent()
227 int EventDbHelper::InsertPluginStatsTable(const std::string& pluginName, const std::string& eventSt… in InsertPluginStatsTable() argument
236 bucket.PutString(DB_COLUMIN_PLUGIN, pluginName); in InsertPluginStatsTable()
264 int EventDbHelper::UpdatePluginStatsTable(const std::string& pluginName, const std::string& eventSt… in UpdatePluginStatsTable() argument
[all …]
/base/security/device_auth/services/cred_manager/inc/
Dcred_manager.h29 void DelCredPlugin(int32_t pluginName);
30 int32_t ProcCred(int32_t pluginName, int32_t osAccountId, int32_t cmdId, CJson *in, CJson *out);
Dcred_plugin_def.h22 int32_t pluginName; member
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
Devent_db_helper.h34 …nStatsEvent(std::vector<std::shared_ptr<LoggerEvent>>& events, const std::string& pluginName = "");
44 int InsertPluginStatsTable(const std::string& pluginName, const std::string& eventStr);
46 int UpdatePluginStatsTable(const std::string& pluginName, const std::string& eventStr);
48 int QueryPluginStatsTable(std::vector<std::string>& eventStrs, const std::string& pluginName);
/base/security/device_auth/services/frameworks/src/plugin_adapter/
Dstatic_plugin_adapter.c60 DelCredPlugin(credPlugin->pluginName); in LoadExtendPlugin()
75 DelCredPlugin(credPlugin->pluginName); in UnloadExtendPlugin()
Ddynamic_plugin_adapter.c121 DelCredPlugin(credPlugin->pluginName); in UnloadDynamicPlugin()
/base/security/device_auth/services/cred_manager/src/account_related/
Daccount_related_cred_plugin.c119 .pluginName = ACCOUNT_RELATED_PLUGIN,
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp422 for (auto& pluginName : pipelineInfo.pluginNameList) { in CreatePipeline() local
423 if (pluginMap_.find(pluginName) == pluginMap_.end()) { in CreatePipeline()
425 pluginName.c_str(), pipelineInfo.name.c_str()); in CreatePipeline()
428 pluginList.push_back(pluginMap_[pluginName]); in CreatePipeline()
861 void HiviewPlatform::AppendPluginToPipeline(const std::string& pluginName, const std::string& pipel… in AppendPluginToPipeline() argument
868 auto ptr = GetPluginByName(pluginName); in AppendPluginToPipeline()
870 HIVIEW_LOGW("Fail to find plugin with name :%{public}s", pluginName.c_str()); in AppendPluginToPipeline()
874 …HIVIEW_LOGI("plugin %{public}s add to pipeline %{public}s succeed.", pluginName.c_str(), pipelineN… in AppendPluginToPipeline()
/base/hiviewdfx/hiview/base/include/
Dplugin.h270 virtual void AppendPluginToPipeline(const std::string& pluginName __UNUSED, in AppendPluginToPipeline()
/base/hiviewdfx/hiview/core/include/
Dhiview_platform.h66 …void AppendPluginToPipeline(const std::string& pluginName, const std::string& pipelineName) overri…
/base/hiviewdfx/hiview/
Dhiview_zh.md387 void AppendPluginToPipeline(const std::string& pluginName, const std::string& pipelineName);