Home
last modified time | relevance | path

Searched refs:AddParam (Results 1 - 13 of 13) sorted by relevance

/base/hiviewdfx/hiappevent/interfaces/native/inner_api/src/
H A Dapp_event.cpp30 void Event::AddParam(const std::string& key, bool value) in AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
32 eventPack_->AddParam(key, value); in AddParam()
35 void Event::AddParam(const std::string& key, int32_t value) in AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
37 eventPack_->AddParam(key, value); in AddParam()
40 void Event::AddParam(const std::string& key, int64_t value) in AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
42 eventPack_->AddParam(key, value); in AddParam()
45 void Event::AddParam(const std::string& key, double value) in AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
47 eventPack_->AddParam(key, value); in AddParam()
50 void Event::AddParam(const std::string& key, const std::string& value) in AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
52 eventPack_->AddParam(ke in AddParam()
55 void Event::AddParam(const std::string& key, const std::vector<bool>& value) AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
60 void Event::AddParam(const std::string& key, const std::vector<int32_t>& value) AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
65 void Event::AddParam(const std::string& key, const std::vector<int64_t>& value) AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
70 void Event::AddParam(const std::string& key, const std::vector<double>& value) AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
75 void Event::AddParam(const std::string& key, const std::vector<std::string>& value) AddParam() function in OHOS::HiviewDFX::HiAppEvent::Event
[all...]
/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/
H A Dapp_event.h37 void AddParam(const std::string& key, bool value);
38 void AddParam(const std::string& key, int32_t value);
39 void AddParam(const std::string& key, int64_t value);
40 void AddParam(const std::string& key, double value);
44 * AddParam("str_key", "str_value") // Not supported
46 void AddParam(const std::string& key, const std::string& value);
48 void AddParam(const std::string& key, const std::vector<bool>& value);
49 void AddParam(const std::string& key, const std::vector<int32_t>& value);
50 void AddParam(const std::string& key, const std::vector<int64_t>& value);
51 void AddParam(cons
[all...]
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
H A Dapp_event_stat.cpp42 appEventPack->AddParam("trans_id", "transId_" + std::to_string(RandomNum())); in WriteApiEndEventAsync()
43 appEventPack->AddParam("api_name", apiName); in WriteApiEndEventAsync()
44 appEventPack->AddParam("sdk_name", "PerformanceAnalysisKit"); in WriteApiEndEventAsync()
45 appEventPack->AddParam("begin_time", static_cast<int64_t>(beginTime)); in WriteApiEndEventAsync()
46 appEventPack->AddParam("end_time", static_cast<int64_t>(TimeUtil::GetMilliseconds())); in WriteApiEndEventAsync()
47 appEventPack->AddParam("result", result); in WriteApiEndEventAsync()
48 appEventPack->AddParam("error_code", errCode); in WriteApiEndEventAsync()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
H A Dhiappevent_base.h172 void AddParam(const std::string& key);
173 void AddParam(const std::string& key, bool b);
174 void AddParam(const std::string& key, int8_t num);
175 void AddParam(const std::string& key, char c);
176 void AddParam(const std::string& key, int16_t s);
177 void AddParam(const std::string& key, int i);
178 void AddParam(const std::string& key, int64_t ll);
179 void AddParam(const std::string& key, float f);
180 void AddParam(const std::string& key, double d);
181 void AddParam(cons
[all...]
/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_app_event_test.cpp64 event.AddParam("Bool_key", true); in HWTEST_F()
66 event.AddParam("int32_key", num1); in HWTEST_F()
68 event.AddParam("$int64_key", num2); in HWTEST_F()
70 event.AddParam("dou_key1", num3); in HWTEST_F()
71 event.AddParam("str_key", TEST_STR_VALUE); in HWTEST_F()
74 event.AddParam("bools_key", bs); in HWTEST_F()
76 event.AddParam("int32s_key", num1s); in HWTEST_F()
78 event.AddParam("$int64s_key", num2s); in HWTEST_F()
80 event.AddParam("double_key", num3s); in HWTEST_F()
82 event.AddParam("strs_ke in HWTEST_F()
[all...]
H A Dhiappevent_inner_api_test.cpp40 event->AddParam("int_key", testInt); in WriteEventOnce()
42 event->AddParam("double_key", testDou); in WriteEventOnce()
44 event->AddParam("bool_key", testBool); in WriteEventOnce()
46 event->AddParam("str_key", testStr); in WriteEventOnce()
H A Dhiappevent_cache_test.cpp265 eventParams->AddParam("custom_data", "value_str"); in HWTEST_F()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_c.cpp44 appEventPack->AddParam(name, params); in AddArrayParam()
51 appEventPack->AddParam(name, value->value.bool_v); in AddBoolParamValue()
61 appEventPack->AddParam(name, value->value.int8_v); in AddInt8ParamValue()
71 appEventPack->AddParam(name, value->value.int16_v); in AddInt16ParamValue()
81 appEventPack->AddParam(name, value->value.int32_v); in AddInt32ParamValue()
91 appEventPack->AddParam(name, value->value.int64_v); in AddInt64ParamValue()
101 appEventPack->AddParam(name, value->value.float_v); in AddFloatParamValue()
111 appEventPack->AddParam(name, value->value.double_v); in AddDoubleParamValue()
121 appEventPack->AddParam(name, value->value.str_v); in AddStringParamValue()
H A Dhiappevent_base.cpp394 void AppEventPack::AddParam(const std::string& key) in AddParam() function in OHOS::HiviewDFX::AppEventPack
400 void AppEventPack::AddParam(const std::string& key, bool b) in AddParam() function in OHOS::HiviewDFX::AppEventPack
407 void AppEventPack::AddParam(const std::string& key, char c) in AddParam() function in OHOS::HiviewDFX::AppEventPack
414 void AppEventPack::AddParam(const std::string& key, int8_t num) in AddParam() function in OHOS::HiviewDFX::AppEventPack
421 void AppEventPack::AddParam(const std::string& key, int16_t s) in AddParam() function in OHOS::HiviewDFX::AppEventPack
428 void AppEventPack::AddParam(const std::string& key, int i) in AddParam() function in OHOS::HiviewDFX::AppEventPack
435 void AppEventPack::AddParam(const std::string& key, int64_t ll) in AddParam() function in OHOS::HiviewDFX::AppEventPack
442 void AppEventPack::AddParam(const std::string& key, float f) in AddParam() function in OHOS::HiviewDFX::AppEventPack
449 void AppEventPack::AddParam(const std::string& key, double d) in AddParam() function in OHOS::HiviewDFX::AppEventPack
456 void AppEventPack::AddParam(cons function in OHOS::HiviewDFX::AppEventPack
463 void AppEventPack::AddParam(const std::string& key, const std::string& s) AddParam() function in OHOS::HiviewDFX::AppEventPack
470 void AppEventPack::AddParam(const std::string& key, const std::vector<bool>& bs) AddParam() function in OHOS::HiviewDFX::AppEventPack
477 void AppEventPack::AddParam(const std::string& key, const std::vector<char>& cs) AddParam() function in OHOS::HiviewDFX::AppEventPack
484 void AppEventPack::AddParam(const std::string& key, const std::vector<int8_t>& shs) AddParam() function in OHOS::HiviewDFX::AppEventPack
491 void AppEventPack::AddParam(const std::string& key, const std::vector<int16_t>& shs) AddParam() function in OHOS::HiviewDFX::AppEventPack
498 void AppEventPack::AddParam(const std::string& key, const std::vector<int>& is) AddParam() function in OHOS::HiviewDFX::AppEventPack
505 void AppEventPack::AddParam(const std::string& key, const std::vector<int64_t>& lls) AddParam() function in OHOS::HiviewDFX::AppEventPack
512 void AppEventPack::AddParam(const std::string& key, const std::vector<float>& fs) AddParam() function in OHOS::HiviewDFX::AppEventPack
519 void AppEventPack::AddParam(const std::string& key, const std::vector<double>& ds) AddParam() function in OHOS::HiviewDFX::AppEventPack
526 void AppEventPack::AddParam(const std::string& key, const std::vector<const char*>& cps) AddParam() function in OHOS::HiviewDFX::AppEventPack
541 void AppEventPack::AddParam(const std::string& key, const std::vector<std::string>& strs) AddParam() function in OHOS::HiviewDFX::AppEventPack
[all...]
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_builder.cpp125 appEventPack_->AddParam(key, bools); in AddArrayParam2EventPack()
131 appEventPack_->AddParam(key, doubles); in AddArrayParam2EventPack()
137 appEventPack_->AddParam(key, strs); in AddArrayParam2EventPack()
141 appEventPack_->AddParam(key); in AddArrayParam2EventPack()
161 appEventPack_->AddParam(key, NapiUtil::GetBoolean(env, value)); in AddParam2EventPack()
164 appEventPack_->AddParam(key, NapiUtil::GetDouble(env, value)); in AddParam2EventPack()
167 appEventPack_->AddParam(key, NapiUtil::GetString(env, value)); in AddParam2EventPack()
H A Dnapi_param_builder.cpp65 appEventPack_->AddParam(key, strs); in AddArrayParam2EventPack()
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dhiappevent_ffi.cpp141 appEventPack_->AddParam(std::string(head->key), *(int32_t*)head->value); in AddParams2EventPack()
144 appEventPack_->AddParam(std::string(head->key), *(double*)head->value); in AddParams2EventPack()
147 appEventPack_->AddParam(std::string(head->key), std::string((char*)head->value)); in AddParams2EventPack()
150 appEventPack_->AddParam(std::string(head->key), *(bool*)head->value); in AddParams2EventPack()
155 appEventPack_->AddParam(std::string(head->key), intVec); in AddParams2EventPack()
161 appEventPack_->AddParam(std::string(head->key), doubleVec); in AddParams2EventPack()
168 appEventPack_->AddParam(std::string(head->key), strVec); in AddParams2EventPack()
174 appEventPack_->AddParam(std::string(head->key), boolVec); in AddParams2EventPack()
/base/startup/init/services/param/manager/
H A Dparam_manager.c423 static int AddParam(WorkSpace *workSpace, ParamInfos paramInfos, uint32_t *dataIndex) in AddParam() function
446 PARAM_LOGV("AddParam name %s value: %s", paramInfos.name, paramInfos.value); in AddParam()
523 ret = AddParam((WorkSpace *)workSpace, paramInfos, dataIndex); in WriteParam()

Completed in 9 milliseconds