Home
last modified time | relevance | path

Searched refs:userPropertyNames (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_processor_service.cpp156 …erProperty(struct HiAppEvent_Processor* processor, const char* const * userPropertyNames, int size) in SetReportUserProperty() argument
162 if (userPropertyNames == nullptr) { in SetReportUserProperty()
166 if (userPropertyNames[i] == nullptr) { in SetReportUserProperty()
169 if (!IsValidUserPropName(userPropertyNames[i])) { in SetReportUserProperty()
174 return ndkProcessorPtr->SetReportUserProperty(userPropertyNames, size); in SetReportUserProperty()
H A Dndk_app_event_processor.cpp93 int NdkAppEventProcessor::SetReportUserProperty(const char* const * userPropertyNames, int size) in SetReportUserProperty() argument
96 config_.userPropertyNames.emplace(userPropertyNames[i]); in SetReportUserProperty()
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_inner_api_test.cpp91 ASSERT_TRUE(config.userPropertyNames.empty()); in CheckGetEmptyConfig()
120 ASSERT_EQ(configA.userPropertyNames.size(), configB.userPropertyNames.size()); in CheckSameConfig()
142 .userPropertyNames = {"test_property"}, in CheckSetConfig()
539 .userPropertyNames = {"test_property"},
745 .userPropertyNames = {
754 config.userPropertyNames = {"***xxxx", "id1"};
759 .userPropertyNames = {}, // default userPropertyNames value
764 config.userPropertyNames = {"", "id1"};
770 config.userPropertyNames = {std::string(limitLen + 1, 'a'), "id1"};
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_processor.cpp171 std::unordered_set<std::string> userPropertyNames; in GenConfigUserPropertiesProp() local
172 if (!GenConfigStrsProp(env, config, key, userPropertyNames)) { in GenConfigUserPropertiesProp()
175 for (auto userProperty : userPropertyNames) { in GenConfigUserPropertiesProp()
180 out.userPropertyNames = userPropertyNames; in GenConfigUserPropertiesProp()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
H A Dapp_event_processor_proxy.cpp109 …if (reportConfig_.userPropertyNames.find(userProperty.name) != reportConfig_.userPropertyNames.end… in GetValidUserProperties()
H A Dapp_event_observer.cpp166 …<< "," << GetStr(userIdNames) << "," << GetStr(userPropertyNames) << "," << GetStr(eventConfigs) <… in ToString()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/include/
H A Dndk_app_event_processor_service.h35 …rProperty(struct HiAppEvent_Processor* processor, const char* const * userPropertyNames, int size);
H A Dndk_app_event_processor.h37 int SetReportUserProperty(const char* const * userPropertyNames, int size);
/ohos5.0/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/
H A Dbase_type.h92 std::unordered_set<std::string> userPropertyNames; member
/ohos5.0/base/hiviewdfx/hiappevent/test/processor/
H A Dtest_processor.cpp46 HILOG_INFO(LOG_CORE, ".userPropertyNames.size=%{public}zu", config.userPropertyNames.size()); in PrintReportConfig()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c386 …etReportUserProperty(struct HiAppEvent_Processor* processor, const char* const * userPropertyNames, in OH_HiAppEvent_SetReportUserProperty() argument
389 return SetReportUserProperty(processor, userPropertyNames, size); in OH_HiAppEvent_SetReportUserProperty()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_verify.cpp320 for (const auto& name : config.userPropertyNames) { in VerifyUserPropertyNamesOfReportConfig()
323 config.userPropertyNames.clear(); in VerifyUserPropertyNamesOfReportConfig()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dhiappevent_ffi.cpp120 conf.userPropertyNames = genArrString2Set(processor.userProperties); in ConvertReportConfig()