/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/ |
H A D | ndk_app_event_processor_service.cpp | 156 …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 D | ndk_app_event_processor.cpp | 93 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 D | hiappevent_inner_api_test.cpp | 91 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 D | napi_hiappevent_processor.cpp | 171 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 D | app_event_processor_proxy.cpp | 109 …if (reportConfig_.userPropertyNames.find(userProperty.name) != reportConfig_.userPropertyNames.end… in GetValidUserProperties()
|
H A D | app_event_observer.cpp | 166 …<< "," << GetStr(userIdNames) << "," << GetStr(userPropertyNames) << "," << GetStr(eventConfigs) <… in ToString()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/include/ |
H A D | ndk_app_event_processor_service.h | 35 …rProperty(struct HiAppEvent_Processor* processor, const char* const * userPropertyNames, int size);
|
H A D | ndk_app_event_processor.h | 37 int SetReportUserProperty(const char* const * userPropertyNames, int size);
|
/ohos5.0/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/ |
H A D | base_type.h | 92 std::unordered_set<std::string> userPropertyNames; member
|
/ohos5.0/base/hiviewdfx/hiappevent/test/processor/ |
H A D | test_processor.cpp | 46 HILOG_INFO(LOG_CORE, ".userPropertyNames.size=%{public}zu", config.userPropertyNames.size()); in PrintReportConfig()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/ |
H A D | hiappevent_ndk.c | 386 …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 D | hiappevent_verify.cpp | 320 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 D | hiappevent_ffi.cpp | 120 conf.userPropertyNames = genArrString2Set(processor.userProperties); in ConvertReportConfig()
|