Home
last modified time | relevance | path

Searched refs:tagGroups (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dtrace_collector_test.cpp55 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
78 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
101 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
149 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
175 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
199 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
213 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
250 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
265 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
308 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0);
[all …]
/ohos5.0/base/hiviewdfx/hitrace/test/unittest/hitrace_dump/
H A Dhitrace_dump_test.cpp145 const std::vector<std::string> tagGroups = {"scene_performance"}; variable
146 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS);
183 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS);
261 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::CALL_ERROR);
289 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS);
397 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS);
418 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS);
448 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS);
477 const std::vector<std::string> tagGroups; variable
502 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS);
[all …]
/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/src/
H A Dhiview_service_trace_delegate.cpp25 …Result<int32_t> HiViewServiceTraceDelegate::OpenSnapshot(const std::vector<std::string>& tagGroups) in OpenSnapshot() argument
27 auto proxyHandler = [&tagGroups] (HiviewServiceAbilityProxy& proxy) { in OpenSnapshot()
28 return proxy.OpenSnapshotTrace(tagGroups); in OpenSnapshot()
H A Dhiview_service_ability_proxy.cpp145 const std::vector<std::string>& tagGroups) in OpenSnapshotTrace() argument
147 auto parcelHandler = [&tagGroups] (MessageParcel& data) { in OpenSnapshotTrace()
148 return data.WriteStringVector(tagGroups); in OpenSnapshotTrace()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_manager.cpp47 int32_t TraceManager::OpenSnapshotTrace(const std::vector<std::string> &tagGroups) in OpenSnapshotTrace() argument
65 TraceErrorCode ret = OHOS::HiviewDFX::Hitrace::OpenTrace(tagGroups); in OpenSnapshotTrace()
111 const std::vector<std::string> tagGroups = {"scene_performance"}; in RecoverTrace() local
112 TraceErrorCode ret = OHOS::HiviewDFX::Hitrace::OpenTrace(tagGroups); in RecoverTrace()
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/src/
H A Dtrace_collector_impl.cpp30 virtual CollectResult<int32_t> OpenSnapshot(const std::vector<std::string>& tagGroups) override;
45 CollectResult<int32_t> TraceCollectorImpl::OpenSnapshot(const std::vector<std::string>& tagGroups) in OpenSnapshot() argument
47 return HiViewServiceTraceDelegate::OpenSnapshot(tagGroups); in OpenSnapshot()
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_dump.cpp56 std::vector<std::string> tagGroups; member
422 bool CheckTagGroup(const std::vector<std::string> &tagGroups, in CheckTagGroup() argument
425 for (auto groupName : tagGroups) { in CheckTagGroup()
522 if (traceParams.tagGroups.size() > 0) { in SetAllTags()
533 for (std::string groupName : traceParams.tagGroups) { in SetAllTags()
1244 const std::vector<std::string> tagGroups = {"scene_performance"}; in RestartService() local
1245 OpenTrace(tagGroups); in RestartService()
1340 serviceTraceParams.tagGroups = tagGroups; in HandleServiceTraceOpen()
1391 cmdTraceParams.tagGroups = Split(item.substr(pos + 1), ','); in ParseArgs()
1447 TraceErrorCode OpenTrace(const std::vector<std::string> &tagGroups) in OpenTrace() argument
[all …]
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/
H A Dcommon_utils.cpp209 cJSON* tagGroups = cJSON_GetObjectItem(root, "tag_groups"); in ParseTagInfo() local
210 if (tagGroups == nullptr) { in ParseTagInfo()
215 if (!ParseTagGroups(tagGroups, tagGroupTable)) { in ParseTagInfo()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/test/
H A Ddecorator_test.cpp101 const std::vector<std::string> tagGroups = {"scene_performance"}; in CallCollectorFuncs() local
102 (void)g_traceManager.OpenSnapshotTrace(tagGroups); in CallCollectorFuncs()
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability.cpp273 …celable<int32_t> HiviewServiceAbility::OpenSnapshotTrace(const std::vector<std::string>& tagGroups) in OpenSnapshotTrace() argument
275 auto traceRetHandler = [&tagGroups] (HiviewService* service) { in OpenSnapshotTrace()
276 return service->OpenSnapshotTrace(tagGroups); in OpenSnapshotTrace()
H A Dhiview_service_ability_stub.cpp361 std::vector<std::string> tagGroups; in HandleOpenSnapshotTraceRequest() local
362 if (!data.ReadStringVector(&tagGroups)) { in HandleOpenSnapshotTraceRequest()
366 auto ret = OpenSnapshotTrace(tagGroups); in HandleOpenSnapshotTraceRequest()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
H A Dtrace_manager.h29 int32_t OpenSnapshotTrace(const std::vector<std::string> &tagGroups);
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/
H A Dhitrace_dump.h67 TraceErrorCode OpenTrace(const std::vector<std::string> &tagGroups);
/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/include/
H A Dhiview_service_trace_delegate.h31 static CollectResult<int32_t> OpenSnapshot(const std::vector<std::string>& tagGroups);
H A Dhiview_service_ability_proxy.h39 …CollectResultParcelable<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups) over…
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/
H A Dtrace_collector.h51 virtual CollectResult<int32_t> OpenSnapshot(const std::vector<std::string>& tagGroups) = 0;
/ohos5.0/base/hiviewdfx/hiview/adapter/service/common/include/
H A Dihiview_service_ability.h40 … CollectResultParcelable<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups) = 0;
/ohos5.0/base/hiviewdfx/hiview/service/
H A Dhiview_service.h46 CollectResult<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups);
H A Dhiview_service.cpp305 CollectResult<int32_t> HiviewService::OpenSnapshotTrace(const std::vector<std::string>& tagGroups) in OpenSnapshotTrace() argument
308 int32_t openRet = manager.OpenSnapshotTrace(tagGroups); in OpenSnapshotTrace()
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/include/
H A Dhiview_service_ability.h52 …CollectResultParcelable<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups) over…
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/
H A Dunified_collector.cpp403 const std::vector<std::string> tagGroups = {"scene_performance"}; in LoadHitraceService() local
404 TraceErrorCode ret = OpenTrace(tagGroups); in LoadHitraceService()
/ohos5.0/base/hiviewdfx/hitrace/cmd/src/
H A Dhitrace_cmd.cpp51 std::string tagGroups; member
818 std::vector<std::string> tagGroups = { "scene_performance" }; in HandleOpenSnapshot() local
819 auto openRet = g_traceCollector->OpenSnapshot(tagGroups); in HandleOpenSnapshot()
/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp104 const std::vector<std::string> tagGroups = {"scene_performance"}; variable
105 auto openRet = traceCollector->OpenSnapshot(tagGroups);