Home
last modified time | relevance | path

Searched refs:UCollectUtil (Results 1 - 25 of 133) sorted by relevance

123456

/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/
H A Dapp_trace_context.cpp76 std::shared_ptr<UCollectUtil::TraceCollector> traceCollector = UCollectUtil::TraceCollector::Create(); in InnerStartAppTrace()
90 std::shared_ptr<UCollectUtil::TraceCollector> traceCollector = UCollectUtil::TraceCollector::Create(); in InnerDumpAppTrace()
115 eventJson[UCollectUtil::APP_EVENT_PARAM_UID] = appCallerEvent->uid_; in InnerShareAppEvent()
116 eventJson[UCollectUtil::APP_EVENT_PARAM_PID] = appCallerEvent->pid_; in InnerShareAppEvent()
117 eventJson[UCollectUtil::APP_EVENT_PARAM_TIME] = appCallerEvent->happenTime_; in InnerShareAppEvent()
118 eventJson[UCollectUtil::APP_EVENT_PARAM_BUNDLE_NAME] = appCallerEvent->bundleName_; in InnerShareAppEvent()
119 eventJson[UCollectUtil::APP_EVENT_PARAM_BUNDLE_VERSION] = appCallerEvent->bundleVersion_; in InnerShareAppEvent()
120 eventJson[UCollectUtil in InnerShareAppEvent()
[all...]
/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/
H A Dcpu_storage_test.cpp94 auto cpuCollector = UCollectUtil::CpuCollector::Create(); in HWTEST_F()
149 int32_t powerState = UCollectUtil::PowerStatusManager::GetInstance().GetPowerState(); in HWTEST_F()
150 ASSERT_THAT(powerState, testing::AnyOf(UCollectUtil::SCREEN_OFF, UCollectUtil::SCREEN_ON)); in HWTEST_F()
151 UCollectUtil::PowerStatusManager::GetInstance().SetPowerState(UCollectUtil::SCREEN_ON); in HWTEST_F()
152 int32_t powerState2 = UCollectUtil::PowerStatusManager::GetInstance().GetPowerState(); in HWTEST_F()
153 ASSERT_EQ(powerState2, UCollectUtil::SCREEN_ON); in HWTEST_F()
154 UCollectUtil::PowerStatusManager::GetInstance().SetPowerState(UCollectUtil in HWTEST_F()
[all...]
/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dperf_collector_test.cpp26 using namespace OHOS::HiviewDFX::UCollectUtil;
44 std::shared_ptr<UCollectUtil::PerfCollector> perfCollector = UCollectUtil::PerfCollector::Create(); in HWTEST_F()
66 std::shared_ptr<UCollectUtil::PerfCollector> perfCollector = UCollectUtil::PerfCollector::Create(); in HWTEST_F()
89 std::shared_ptr<UCollectUtil::PerfCollector> perfCollector = UCollectUtil::PerfCollector::Create(); in HWTEST_F()
121 std::shared_ptr<UCollectUtil::PerfCollector> perfCollector = UCollectUtil::PerfCollector::Create(); in HWTEST_F()
146 std::shared_ptr<UCollectUtil in HWTEST_F()
[all...]
H A Dhiebpf_collector_test.cpp22 using namespace OHOS::HiviewDFX::UCollectUtil;
40 std::shared_ptr<UCollectUtil::HiebpfCollector> hiebpfCollector = UCollectUtil::HiebpfCollector::Create(); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/unified_collector/task/include/
H A Dcpu_collection_task.h45 std::shared_ptr<UCollectUtil::CpuCollector> cpuCollector_;
46 std::shared_ptr<UCollectUtil::ThreadCpuCollector> threadCpuCollector_;
/base/hiviewdfx/hiview/plugins/unified_collector/
H A Dunified_collector.cpp42 using namespace OHOS::HiviewDFX::UCollectUtil;
176 std::shared_ptr<UCollectUtil::TraceCollector> traceCollector = UCollectUtil::TraceCollector::Create(); in OnSwitchRecordTraceStateChanged()
183 std::shared_ptr<UCollectUtil::TraceCollector> traceCollector = UCollectUtil::TraceCollector::Create(); in OnSwitchRecordTraceStateChanged()
239 if (event->eventName_ == UCollectUtil::START_APP_TRACE) { in OnEvent()
243 if (event->eventName_ == UCollectUtil::DUMP_APP_TRACE) { in OnEvent()
247 if (event->eventName_ == UCollectUtil::STOP_APP_TRACE) { in OnEvent()
265 if (sysEvent.eventName_ == UCollectUtil::MAIN_THREAD_JANK) { in OnEventListeningCallback()
477 auto ioCollector = UCollectUtil in IoCollectionTask()
[all...]
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dfreeze_detector_plugin.cpp158 UCollectUtil::ProcessState state = UCollectUtil::ProcessStatus::GetInstance().GetProcessState(pid); in CheckForeGround()
159 if (state == UCollectUtil::FOREGROUND) { in CheckForeGround()
162 if (state == UCollectUtil::BACKGROUND) { in CheckForeGround()
163 uint64_t lastFgTime = static_cast<uint64_t>(UCollectUtil::ProcessStatus::GetInstance() in CheckForeGround()
/base/hiviewdfx/hiview/service/
H A Dhiview_service.h77 std::shared_ptr<UCollectUtil::TraceCollector> traceCollector_;
78 std::shared_ptr<UCollectUtil::CpuCollector> cpuCollector_;
79 std::shared_ptr<UCollectUtil::GraphicMemoryCollector> graphicMemoryCollector_;
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/
H A Dunified_collection_stat.h23 namespace UCollectUtil { namespace
37 } // namespace UCollectUtil
H A Dnetwork_decorator.h24 namespace UCollectUtil { namespace
39 } // namespace UCollectUtil
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
H A Dnetwork_collector_impl.h23 namespace UCollectUtil { namespace
30 } // namespace UCollectUtil
H A Dgraphic_memory_collector_impl.h23 namespace UCollectUtil { namespace
32 } // namespace UCollectUtil
H A Dgpu_collector_impl.h23 namespace UCollectUtil { namespace
33 } // namespace UCollectUtil
H A Dwm_collector_impl.h23 namespace UCollectUtil { namespace
34 } // namespace UCollectUtil
H A Dthermal_collector_impl.h22 namespace UCollectUtil { namespace
32 } // UCollectUtil
H A Dhilog_collector_impl.h21 namespace OHOS::HiviewDFX::UCollectUtil { namespace in OHOS::HiviewDFX
32 } // namespace OHOS::HiviewDFX::UCollectUtil
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/
H A Dnetwork_collector.h24 namespace UCollectUtil { namespace
34 } // UCollectUtil
H A Dhilog_collector.h22 namespace OHOS::HiviewDFX::UCollectUtil { namespace in OHOS::HiviewDFX
32 } // namespace OHOS::HiviewDFX::UCollectUtil
H A Dgpu_collector.h24 namespace UCollectUtil { namespace
35 } // UCollectUtil
H A Dthermal_collector.h24 namespace UCollectUtil { namespace
43 } // UCollectUtil
H A Dprocess_collector.h25 namespace UCollectUtil { namespace
37 } // UCollectUtil
H A Dwm_collector.h24 namespace UCollectUtil { namespace
36 } // UCollectUtil
H A Dhiebpf_collector.h23 namespace UCollectUtil { namespace
33 } // UCollectUtil
/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_collection_task.cpp24 using namespace OHOS::HiviewDFX::UCollectUtil;
57 cpuCollector_ = UCollectUtil::CpuCollector::Create(); in InitCpuCollector()
/base/hiviewdfx/hiview/framework/native/unified_collection/calculator/include/
H A Dio_calculator.h23 namespace UCollectUtil { namespace
34 } // namespace UCollectUtil

Completed in 13 milliseconds

123456