Home
last modified time | relevance | path

Searched refs:HiviewDFX (Results 1 - 25 of 2314) sorted by relevance

12345678910>>...93

/base/location/interfaces/inner_api/include/
H A Dlocation_log.h67 static constexpr OHOS::HiviewDFX::HiLogLabel GEO_CONVERT = {LOG_CORE, LOCATION_LOG_DOMAIN, "GeoConvert"};
68 static constexpr OHOS::HiviewDFX::HiLogLabel LOCATOR = {LOG_CORE, LOCATION_LOG_DOMAIN, "Locator"};
69 static constexpr OHOS::HiviewDFX::HiLogLabel LOCATOR_STANDARD = {LOG_CORE, LOCATION_LOG_DOMAIN, "Locator_standard"};
70 static constexpr OHOS::HiviewDFX::HiLogLabel SWITCH_CALLBACK = {LOG_CORE, LOCATION_LOG_DOMAIN, "SwitchCallback"};
71 static constexpr OHOS::HiviewDFX::HiLogLabel GNSS_STATUS_CALLBACK = {
74 static constexpr OHOS::HiviewDFX::HiLogLabel NMEA_MESSAGE_CALLBACK = {
77 static constexpr OHOS::HiviewDFX::HiLogLabel CACHED_LOCATIONS_CALLBACK = {
80 static constexpr OHOS::HiviewDFX::HiLogLabel COUNTRY_CODE_CALLBACK = {
83 static constexpr OHOS::HiviewDFX::HiLogLabel LOCATING_DATA_CALLBACK = {
86 static constexpr OHOS::HiviewDFX
[all...]
/base/hiviewdfx/hitrace/interfaces/cj/kits/ffi/include/
H A Dhitracechain_impl.h26 static HiviewDFX::HiTraceId Begin(const char* name, int flags);
27 static void End(const HiviewDFX::HiTraceId& id);
28 static HiviewDFX::HiTraceId GetId();
29 static void SetId(const HiviewDFX::HiTraceId& id);
31 static HiviewDFX::HiTraceId CreateSpan();
32 static void Tracepoint(uint32_t mode, uint32_t type, HiviewDFX::HiTraceId id, const char* fmt);
33 static bool IsValid(const HiviewDFX::HiTraceId& id);
34 static bool IsFlagEnabled(const HiviewDFX::HiTraceId& traceId, int32_t flag);
35 static void EnableFlag(HiviewDFX::HiTraceId& traceId, int32_t flag);
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dmemory_info_wrapper.cpp29 std::unique_ptr<OHOS::HiviewDFX::MemoryInfo> memoryInfo = std::make_unique<OHOS::HiviewDFX::MemoryInfo>(); in GetMemoryInfoByPid()
32 return OHOS::HiviewDFX::DumpStatus::DUMP_FAIL; in GetMemoryInfoByPid()
34 return OHOS::HiviewDFX::DumpStatus::DUMP_OK; in GetMemoryInfoByPid()
39 std::unique_ptr<OHOS::HiviewDFX::MemoryInfo> memoryInfo = std::make_unique<OHOS::HiviewDFX::MemoryInfo>(); in GetMemoryInfoNoPid()
46 std::unique_ptr<OHOS::HiviewDFX::SmapsMemoryInfo> smapsMemoryInfo = in ShowMemorySmapsByPid()
47 std::make_unique<OHOS::HiviewDFX::SmapsMemoryInfo>(); in ShowMemorySmapsByPid()
50 return OHOS::HiviewDFX::DumpStatus::DUMP_FAIL; in ShowMemorySmapsByPid()
52 return OHOS::HiviewDFX in ShowMemorySmapsByPid()
[all...]
/base/security/code_signature/utils/include/
H A Dcs_hisysevent.h27 HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::CODE_SIGN, "CS_ENABLE_ERR", in ReportEnableError()
28 HiviewDFX::HiSysEvent::EventType::SECURITY, in ReportEnableError()
34 HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::CODE_SIGN, "CS_LOAD_SA_ERR", in ReportLoadSAError()
35 HiviewDFX::HiSysEvent::EventType::FAULT, "ERR_TYPE", errCode); in ReportLoadSAError()
40 HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::CODE_SIGN, "CS_SA_INVALID_CALLER", in ReportInvalidCaller()
41 HiviewDFX::HiSysEvent::EventType::SECURITY, in ReportInvalidCaller()
46 HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::CODE_SIGN, "CS_PARSE_CODE_SIG", in ReportParseCodeSig()
47 HiviewDFX::HiSysEvent::EventType::FAULT, in ReportParseCodeSig()
53 HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::CODE_SIGN, "CS_INVALID_OWNER", in ReportInvalidOwner()
54 HiviewDFX in ReportInvalidOwner()
[all...]
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_manager.cpp33 using OHOS::HiviewDFX::Hitrace::TraceErrorCode;
34 using OHOS::HiviewDFX::UCollect::UcError;
35 using OHOS::HiviewDFX::Hitrace::TraceMode;
38 namespace HiviewDFX { namespace
52 if (OHOS::HiviewDFX::Hitrace::GetTraceMode() == in OpenSnapshotTrace()
53 OHOS::HiviewDFX::Hitrace::TraceMode::SERVICE_MODE) { in OpenSnapshotTrace()
59 if (OHOS::HiviewDFX::Hitrace::GetTraceMode() == in OpenSnapshotTrace()
60 OHOS::HiviewDFX::Hitrace::TraceMode::CMD_MODE) { in OpenSnapshotTrace()
65 TraceErrorCode ret = OHOS::HiviewDFX::Hitrace::OpenTrace(tagGroups); in OpenSnapshotTrace()
77 if (OHOS::HiviewDFX in OpenRecordingTrace()
[all...]
/base/hiviewdfx/hidumper/test/unittest/common/
H A Dhidumper_memory_test.cpp33 namespace HiviewDFX { namespace
71 unique_ptr<OHOS::HiviewDFX::ParseMeminfo> parseMeminfo = make_unique<OHOS::HiviewDFX::ParseMeminfo>(); in HWTEST_F()
84 unique_ptr<OHOS::HiviewDFX::ParseSmapsInfo> parseSmapsInfo = make_unique<OHOS::HiviewDFX::ParseSmapsInfo>(); in HWTEST_F()
94 ASSERT_FALSE(parseSmapsInfo->ShowSmapsData(OHOS::HiviewDFX::MemoryFilter::MemoryType::NOT_SPECIFIED_PID, in HWTEST_F()
96 ASSERT_TRUE(parseSmapsInfo->ShowSmapsData(OHOS::HiviewDFX::MemoryFilter::MemoryType::NOT_SPECIFIED_PID, in HWTEST_F()
107 unique_ptr<OHOS::HiviewDFX::ParseSmapsRollupInfo> parseSmapsRollup = in HWTEST_F()
108 make_unique<OHOS::HiviewDFX::ParseSmapsRollupInfo>(); in HWTEST_F()
123 shared_ptr<OHOS::HiviewDFX in HWTEST_F()
[all...]
/base/hiviewdfx/hicollie/interfaces/ndk/
H A Dhicollie.cpp27 namespace HiviewDFX { namespace
49 int32_t NotifyAppFault(const OHOS::HiviewDFX::ReportData &reportData) in NotifyAppFault()
83 OHOS::HiviewDFX::ReportData reportData; in Report()
85 reportData.faultType = OHOS::HiviewDFX::FaultDataType::APP_FREEZE; in Report()
104 } // end of namespace HiviewDFX
109 if (OHOS::HiviewDFX::IsAppMainThread()) { in OH_HiCollie_Init_StuckDetection()
113 OHOS::HiviewDFX::Watchdog::GetInstance().RemovePeriodicalTask("BussinessWatchdog"); in OH_HiCollie_Init_StuckDetection()
115 OHOS::HiviewDFX::Watchdog::GetInstance().RunPeriodicalTask("BussinessWatchdog", task, in OH_HiCollie_Init_StuckDetection()
116 OHOS::HiviewDFX::CHECK_INTERVAL_TIME, OHOS::HiviewDFX in OH_HiCollie_Init_StuckDetection()
[all...]
/base/msdp/device_status/intention/dfx/include/
H A Dcooperate_hisysevent.h59 static int32_t WriteEnable(OHOS::HiviewDFX::HiSysEvent::EventType type);
60 static int32_t WriteDisable(OHOS::HiviewDFX::HiSysEvent::EventType type);
61 static int32_t WriteLocalStart(OHOS::HiviewDFX::HiSysEvent::EventType type);
62 static int32_t WriteLocalStop(OHOS::HiviewDFX::HiSysEvent::EventType type);
63 static int32_t WriteRemoteStart(OHOS::HiviewDFX::HiSysEvent::EventType type);
64 static int32_t WriteRemoteStop(OHOS::HiviewDFX::HiSysEvent::EventType type);
65 static int32_t WriteOpenSession(OHOS::HiviewDFX::HiSysEvent::EventType type);
66 static int32_t WriteStart(OHOS::HiviewDFX::HiSysEvent::EventType type);
67 static int32_t WriteStop(OHOS::HiviewDFX::HiSysEvent::EventType type);
71 OHOS::HiviewDFX
[all...]
/base/security/security_guard/services/bigdata/src/
H A Dbigdata.cpp36 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY_GUARD, "OBTAIN_DATA", in ReportObatinDataEvent()
37 OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, CALLER_PID, event.pid, in ReportObatinDataEvent()
43 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY_GUARD, "RISK_ANALYSIS", in ReportClassifyEvent()
44 OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, CALLER_PID, event.pid, in ReportClassifyEvent()
50 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY_GUARD, "SG_EVENT_SUBSCRIBE", in ReportSgSubscribeEvent()
51 OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, CALLER_PID, event.pid, in ReportSgSubscribeEvent()
57 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY_GUARD, "SG_EVENT_UNSUBSCRIBE", in ReportSgUnsubscribeEvent()
58 OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, CALLER_PID, event.pid, in ReportSgUnsubscribeEvent()
64 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY_GUARD, "SG_UPDATE_CONFIG", in ReportConfigUpdateEvent()
65 OHOS::HiviewDFX in ReportConfigUpdateEvent()
[all...]
/base/msdp/device_status/intention/dfx/src/
H A Dcooperate_hisysevent.cpp58 OHOS::HiviewDFX::HiSysEvent::EventType eventType, Types... paras) in WriteInputFunc()
66 OHOS::HiviewDFX::HiSysEvent::Domain::MSDP, in WriteInputFunc()
73 FI_HILOGE("HiviewDFX write failed, ret:%{public}d", ret); in WriteInputFunc()
78 int32_t CooperateDFX::WriteEnable(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteEnable()
80 if (type == OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR) { in WriteEnable()
86 int32_t CooperateDFX::WriteDisable(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteDisable()
88 if (type == OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR) { in WriteDisable()
94 int32_t CooperateDFX::WriteLocalStart(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteLocalStart()
96 if (type == OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR) { in WriteLocalStart()
102 int32_t CooperateDFX::WriteRemoteStart(OHOS::HiviewDFX
[all...]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_manager_c.cpp28 using OHOS::HiviewDFX::HiSysEventBaseManager;
29 using OHOS::HiviewDFX::HiSysEventBaseQueryCallback;
30 using QueryArgCls = OHOS::HiviewDFX::QueryArg;
31 using QueryRuleCls = OHOS::HiviewDFX::QueryRule;
32 using OHOS::HiviewDFX::RuleType::WHOLE_WORD;
33 using OHOS::HiviewDFX::ERR_QUERY_RULE_INVALID;
34 using ListenerRuleCls = OHOS::HiviewDFX::ListenerRule;
35 using OHOS::HiviewDFX::HiSysEventBaseListener;
36 using OHOS::HiviewDFX::IPC_CALL_SUCCEED;
37 using OHOS::HiviewDFX
[all...]
H A Dhisysevent_record_convertor.cpp29 namespace HiviewDFX { namespace
32 return OHOS::HiviewDFX::StringUtil::CopyCString(recordStruct.domain, recordObj.GetDomain(), in ConvertDomain()
38 return OHOS::HiviewDFX::StringUtil::CopyCString(recordStruct.eventName, recordObj.GetEventName(), in ConvertEventName()
44 return OHOS::HiviewDFX::StringUtil::CopyCString(recordStruct.tz, recordObj.GetTimeZone(), in ConvertTimeZone()
50 return OHOS::HiviewDFX::StringUtil::CreateCString(&recordStruct.level, recordObj.GetLevel()); in ConvertLevel()
55 return OHOS::HiviewDFX::StringUtil::CreateCString(&recordStruct.tag, recordObj.GetTag()); in ConvertTag()
61 return OHOS::HiviewDFX::StringUtil::CreateCString(&recordStruct.jsonStr, recordObj.AsJson(), maxLen); in ConvertJsonStr()
66 OHOS::HiviewDFX::StringUtil::MemsetSafe(&record, sizeof(HiSysEventRecordC)); in InitRecord()
71 OHOS::HiviewDFX::StringUtil::DeletePointer<char>(&record.level); in DeleteRecord()
72 OHOS::HiviewDFX in DeleteRecord()
[all...]
/base/hiviewdfx/hitrace/interfaces/cj/kits/ffi/src/
H A Dhitracechain_ffi.cpp25 OHOS::HiviewDFX::HiTraceId id = HiTraceChainImpl::Begin(name, flag); in FfiOHOSHiTraceChainBegin()
31 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainEnd()
37 OHOS::HiviewDFX::HiTraceId id = HiTraceChainImpl::GetId(); in FfiOHOSHiTraceChainGetId()
43 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainSetId()
54 OHOS::HiviewDFX::HiTraceId id = HiTraceChainImpl::CreateSpan(); in FfiOHOSHiTraceChainCreateSpan()
60 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainTracepoint()
66 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainIsValid()
72 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainIsFlagEnabled()
78 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainEnableFlag()
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_loop_test.h26 namespace HiviewDFX { namespace
31 std::shared_ptr<OHOS::HiviewDFX::EventLoop> currentLooper_;
34 class RealEventHandler : public OHOS::HiviewDFX::EventHandler {
37 bool OnEvent(std::shared_ptr<OHOS::HiviewDFX::Event>& event) override;
45 class DataFileEventReader : public OHOS::HiviewDFX::FileDescriptorEventCallback {
56 class OverheadCalculateEventHandler : public OHOS::HiviewDFX::EventHandler {
59 bool OnEvent(std::shared_ptr<OHOS::HiviewDFX::Event>& event) override;
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/
H A Dsys_event_service_adapter.cpp22 namespace HiviewDFX { namespace
24 void SysEventServiceAdapter::StartService(SysEventServiceBase* service, OHOS::HiviewDFX::NotifySysEvent notify) in StartService()
30 OHOS::HiviewDFX::SysEventServiceOhos::StartService(service, notify); in StartService()
39 auto service = OHOS::HiviewDFX::SysEventServiceOhos::GetInstance(); in OnSysEvent()
49 auto service = OHOS::HiviewDFX::SysEventServiceOhos::GetInstance(); in BindGetTagFunc()
59 auto service = OHOS::HiviewDFX::SysEventServiceOhos::GetInstance(); in BindGetTypeFunc()
69 auto service = OHOS::HiviewDFX::SysEventServiceOhos::GetInstance(); in SetWorkLoop()
76 } // namespace HiviewDFX
/base/powermgr/power_manager/utils/native/src/
H A Dpower_xcollie.cpp27 unsigned int flag = HiviewDFX::XCOLLIE_FLAG_LOG; in PowerXCollie()
29 flag = HiviewDFX::XCOLLIE_FLAG_LOG | HiviewDFX::XCOLLIE_FLAG_RECOVERY; in PowerXCollie()
31 id_ = HiviewDFX::XCollie::GetInstance().SetTimer(logTag_, DFX_DELAY_S, nullptr, nullptr, flag); in PowerXCollie()
44 HiviewDFX::XCollie::GetInstance().CancelTimer(id_); in CancelPowerXCollie()
/base/security/device_security_level/services/dfx/
H A Ddslm_bigdata.cpp43 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_START_FAILED, in ReportServiceStartFailedEvent()
44 OHOS::HiviewDFX::HiSysEvent::EventType::FAULT, STR_ERROR_TYPE, errorType); in ReportServiceStartFailedEvent()
49 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_INIT_SELF_LEVEL_FAULT, in ReportInitSelfFailedEvent()
50 OHOS::HiviewDFX::HiSysEvent::EventType::FAULT, STR_ERROR_STR, errorString); in ReportInitSelfFailedEvent()
59 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_CALL_INTERFACE, in ReportAppInvokeEvent()
60 OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, STR_USER_ID, event->uid, STR_COST_TIME, event->costTime, in ReportAppInvokeEvent()
71 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_QUERY_INFO, in ReportSecurityInfoSyncEvent()
72 OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, STR_LOCAL_MODEL, event->localModel, STR_TARGET_MODEL, in ReportSecurityInfoSyncEvent()
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_native_test.cpp47 using namespace OHOS::HiviewDFX;
116 return cond || ret == OHOS::HiviewDFX::ERR_SEND_FAIL || in WrapSysEventWriteAssertion()
117 ret == OHOS::HiviewDFX::ERR_WRITE_IN_HIGH_FREQ || in WrapSysEventWriteAssertion()
118 ret == OHOS::HiviewDFX::ERR_DOMAIN_MASKED || in WrapSysEventWriteAssertion()
119 ret == OHOS::HiviewDFX::ERR_TOO_MANY_CONCURRENT_QUERIES || in WrapSysEventWriteAssertion()
120 ret == OHOS::HiviewDFX::ERR_QUERY_TOO_FREQUENTLY; in WrapSysEventWriteAssertion()
151 struct OHOS::HiviewDFX::QueryArg args(defaultTimeStap, defaultTimeStap, queryCount); in HWTEST_F()
152 std::vector<OHOS::HiviewDFX::QueryRule> queryRules; in HWTEST_F()
154 OHOS::HiviewDFX::QueryRule rule("", eventNames); // empty domain in HWTEST_F()
156 auto ret = OHOS::HiviewDFX in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Devent_report.cpp97 HiviewDFX::HiSysEvent::EventType::FAULT, in InnerSendSubscribeErrorEvent()
109 HiviewDFX::HiSysEvent::EventType::FAULT, in InnerSendEnableNotificationErrorEvent()
120 HiviewDFX::HiSysEvent::EventType::FAULT, in InnerSendEnableNotificationSlotErrorEvent()
132 HiviewDFX::HiSysEvent::EventType::FAULT, in InnerSendPublishErrorEvent()
144 HiviewDFX::HiSysEvent::EventType::FAULT, in InnerSendFlowControlOccurEvent()
154 HiviewDFX::HiSysEvent::EventType::BEHAVIOR, in InnerSendSubscribeEvent()
165 HiviewDFX::HiSysEvent::EventType::BEHAVIOR, in InnerSendUnSubscribeEvent()
176 HiviewDFX::HiSysEvent::EventType::BEHAVIOR, in InnerSendEnableNotificationEvent()
186 HiviewDFX::HiSysEvent::EventType::BEHAVIOR, in InnerSendEnableNotificationSlotEvent()
197 HiviewDFX in InnerSendLiveviewUploadEvent()
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dhilog_wrapper.h52 static constexpr OHOS::HiviewDFX::HiLogLabel LOG_LABEL = {LOG_CORE, 0, "ResourceManager"};
54 #define HILOG_FATAL(...) (void)OHOS::HiviewDFX::HiLog::Fatal(LOG_LABEL, __VA_ARGS__)
55 #define HILOG_ERROR(...) (void)OHOS::HiviewDFX::HiLog::Error(LOG_LABEL, __VA_ARGS__)
58 (void)OHOS::HiviewDFX::HiLog::Warn(LOG_LABEL, __VA_ARGS__); \
64 (void)OHOS::HiviewDFX::HiLog::Info(LOG_LABEL, __VA_ARGS__); \
70 (void)OHOS::HiviewDFX::HiLog::Debug(LOG_LABEL, __VA_ARGS__); \
/base/security/access_token/services/accesstokenmanager/main/cpp/src/dfx/
H A Dhisysevent_adapter.cpp25 static constexpr OHOS::HiviewDFX::HiLogLabel LABEL = {LOG_CORE, SECURITY_DOMAIN_ACCESSTOKEN, "AtmDfx"};
36 int32_t ret = HiSysEventWrite(ADD_DOMAIN, "CPU_SCENE_ENTRY", HiviewDFX::HiSysEvent::EventType::BEHAVIOR, in ReportSysEventPerformance()
45 int32_t ret = HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::ACCESS_TOKEN, "ACCESSTOKEN_SERVICE_START", in ReportSysEventServiceStart()
46 HiviewDFX::HiSysEvent::EventType::STATISTIC, in ReportSysEventServiceStart()
55 int32_t ret = HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::ACCESS_TOKEN, "ACCESSTOKEN_SERVICE_START_ERROR", in ReportSysEventServiceStartError()
56 HiviewDFX::HiSysEvent::EventType::FAULT, "SCENE_CODE", scene, "ERROR_CODE", errCode, "ERROR_MSG", errMsg); in ReportSysEventServiceStartError()
/base/update/updateservice/foundations/ability/sys_event/include/
H A Dupdate_system_event.h25 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::UPDATE, eventName, type, ##__VA_ARGS__)
29 EVENT_WRITE("UPGRADE_INTERVAL", OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, \
35 EVENT_WRITE("SYSTEM_UPGRADE_FAULT", OHOS::HiviewDFX::HiSysEvent::EventType::FAULT, \
42 EVENT_WRITE("SYSTEM_UPGRADE", OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR, \
48 EVENT_WRITE("SYSTEM_RESET", OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR, \
54 EVENT_WRITE("VERIFY_FAILED", OHOS::HiviewDFX::HiSysEvent::EventType::SECURITY, \
/base/web/webview/ohos_nweb/src/
H A Dnweb_hisysevent.cpp23 const HiviewDFX::HiSysEvent::EventType EVENT_TYPES[] = {
24 OHOS::HiviewDFX::HiSysEvent::EventType::FAULT,
25 OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC,
26 OHOS::HiviewDFX::HiSysEvent::EventType::SECURITY,
27 OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
57 return HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::WEBVIEW, eventName, EVENT_TYPES[type], args...); in ForwardToHiSysEvent()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dtrace_collector_impl.cpp29 using namespace OHOS::HiviewDFX;
30 using OHOS::HiviewDFX::TraceFlowController;
31 using namespace OHOS::HiviewDFX::Hitrace;
32 using namespace OHOS::HiviewDFX::UCollectUtil;
33 using namespace OHOS::HiviewDFX::UCollect;
36 namespace HiviewDFX { namespace
84 traceRetInfo = OHOS::HiviewDFX::Hitrace::DumpTrace(0, happenTime); in StartDumpTrace()
86 traceRetInfo = OHOS::HiviewDFX::Hitrace::DumpTrace(timeLimit, happenTime); in StartDumpTrace()
113 TraceErrorCode ret = OHOS::HiviewDFX::Hitrace::DumpTraceOn(); in TraceOn()
122 TraceRetInfo ret = OHOS::HiviewDFX in TraceOff()
[all...]
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/
H A Dappevent_watcher_impl.h53 std::vector<std::shared_ptr<OHOS::HiviewDFX::AppEventPack>> events;
62 class AppEventWatcherImpl : public HiviewDFX::AppEventWatcher {
66 const std::vector<HiviewDFX::AppEventFilter>& filters,
67 HiviewDFX::TriggerCondition cond);
72 void OnEvents(const std::vector<std::shared_ptr<OHOS::HiviewDFX::AppEventPack>>& events) override;
73 bool IsRealTimeEvent(std::shared_ptr<OHOS::HiviewDFX::AppEventPack> event) override;
75 void OnTrigger(const HiviewDFX::TriggerCondition& triggerCond) override;

Completed in 9 milliseconds

12345678910>>...93