Searched refs:appEventPack (Results 1 – 10 of 10) sorted by relevance
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | hiappevent_c.cpp | 33 void AddArrayParam(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const T* arr, int… in AddArrayParam() argument 36 appEventPack->AddParam(name, params); in AddArrayParam() 39 using ParamAdder = void (*)(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const Pa… 41 void AddBoolParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamVa… in AddBoolParamValue() argument 43 appEventPack->AddParam(name, value->value.bool_v); in AddBoolParamValue() 46 void AddBoolArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const Pa… in AddBoolArrayParamValue() argument 48 AddArrayParam(appEventPack, name, value->value.bool_arr_v, value->arrSize); in AddBoolArrayParamValue() 51 void AddInt8ParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamVa… in AddInt8ParamValue() argument 53 appEventPack->AddParam(name, value->value.int8_v); in AddInt8ParamValue() 56 void AddInt8ArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const Pa… in AddInt8ArrayParamValue() argument [all …]
|
D | hiappevent_write.cpp | 68 void TraceAppEventPack(const std::shared_ptr<AppEventPack>& appEventPack) in TraceAppEventPack() argument 74 appEventPack->AddParam("traceid_", static_cast<int64_t>(hitraceId.GetChainId())); in TraceAppEventPack() 75 appEventPack->AddParam("spanid_", static_cast<int64_t>(hitraceId.GetSpanId())); in TraceAppEventPack() 76 appEventPack->AddParam("pspanid_", static_cast<int64_t>(hitraceId.GetParentSpanId())); in TraceAppEventPack() 77 appEventPack->AddParam("trace_flag_", hitraceId.GetFlags()); in TraceAppEventPack() 81 void WriteEvent(const std::shared_ptr<AppEventPack>& appEventPack) in WriteEvent() argument 87 if (appEventPack == nullptr) { in WriteEvent() 96 TraceAppEventPack(appEventPack); in WriteEvent() 97 HiLog::Debug(LABEL, "WriteEvent eventInfo=%{public}s.", appEventPack->GetJsonString().c_str()); in WriteEvent() 107 std::string event = appEventPack->GetJsonString(); in WriteEvent() [all …]
|
D | hiappevent_verify.cpp | 198 int VerifyAppEvent(std::shared_ptr<AppEventPack>& appEventPack) in VerifyAppEvent() argument 204 if (!IsValidDomain(appEventPack->GetEventDomain())) { in VerifyAppEvent() 205 … HiLog::Error(LABEL, "eventDomain=%{public}s is invalid.", appEventPack->GetEventDomain().c_str()); in VerifyAppEvent() 208 if (!CheckEventName(appEventPack->GetEventName())) { in VerifyAppEvent() 209 … HiLog::Error(LABEL, "eventName=%{public}s is invalid.", appEventPack->GetEventName().c_str()); in VerifyAppEvent() 214 std::list<AppEventParam>& baseParams = appEventPack->baseParams_; in VerifyAppEvent()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_js_v9.cpp | 40 auto appEventPack = builder.BuildV9(env, params, paramNum); in Write() local 41 if (appEventPack == nullptr) { in Write() 51 asyncContext->appEventPack = appEventPack; in Write() 57 asyncContext->result = VerifyAppEvent(asyncContext->appEventPack); in Write()
|
D | napi_hiappevent_js.cpp | 46 asyncContext->appEventPack = builder.Build(env, params, paramNum); in Write() 52 asyncContext->result = VerifyAppEvent(asyncContext->appEventPack); in Write()
|
D | napi_hiappevent_write.cpp | 63 if (asyncContext->appEventPack != nullptr && asyncContext->result >= 0) { in Write() 64 WriteEvent(asyncContext->appEventPack); in Write()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
D | napi_hiappevent_write.h | 30 std::shared_ptr<AppEventPack> appEventPack; member 40 this->appEventPack = nullptr; in HiAppEventAsyncContext()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/ |
D | hiappevent_write.h | 24 void WriteEvent(const std::shared_ptr<AppEventPack>& appEventPack);
|
D | hiappevent_verify.h | 28 int VerifyAppEvent(std::shared_ptr<AppEventPack>& appEventPack);
|
D | hiappevent_base.h | 181 friend int VerifyAppEvent(std::shared_ptr<AppEventPack>& appEventPack);
|