Home
last modified time | relevance | path

Searched refs:userProperty (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
H A Dapp_event_processor_proxy.cpp108 [&userProperties, this](const auto& userProperty) { in GetValidUserProperties() argument
109 …if (reportConfig_.userPropertyNames.find(userProperty.name) != reportConfig_.userPropertyNames.end… in GetValidUserProperties()
110 && processor_->ValidateUserProperty(userProperty) == 0) { in GetValidUserProperties()
111 userProperties.emplace_back(userProperty); in GetValidUserProperties()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_userinfo.cpp108 bool SetUserProperty(const napi_env env, const napi_value name, const napi_value userProperty) in SetUserProperty() argument
120 if (IsStringEmptyOrNull(env, userProperty)) { in SetUserProperty()
127 if (!NapiUtil::IsString(env, userProperty)) { in SetUserProperty()
131 std::string strUserProperty = NapiUtil::GetString(env, userProperty); in SetUserProperty()
H A Dnapi_hiappevent_js_v9.cpp172 napi_value userProperty = nullptr; in GetUserProperty() local
173 if (!NapiHiAppEventUserInfo::GetUserProperty(env, params[0], userProperty)) { in GetUserProperty()
176 return userProperty; in GetUserProperty()
H A Dnapi_hiappevent_processor.cpp175 for (auto userProperty : userPropertyNames) { in GenConfigUserPropertiesProp() local
176 if (!IsValidUserPropName(userProperty)) { in GenConfigUserPropertiesProp()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_userinfo.cpp206 HiAppEvent::UserProperty userProperty; in GetUserProperties() local
207 userProperty.name = it->first; in GetUserProperties()
208 userProperty.value = it->second; in GetUserProperties()
209 userProperties.emplace_back(userProperty); in GetUserProperties()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-dfx-hiappevent-extend-so.md61 | int ValidateUserProperty(const UserProperty& userProperty) …
93 int ValidateUserProperty(const UserProperty& userProperty) override;
118 int ProcessorExample::ValidateUserProperty(const UserProperty& userProperty)
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Dhiappevent-event-reporting.md104 let userProperty = hiAppEvent.getUserProperty('testUserPropertyName');
105 hilog.info(0x0000, 'testTag', `userProperty: ${userProperty}`)
/ohos5.0/docs/en/application-dev/dfx/
H A Dhiappevent-event-reporting.md104 let userProperty = hiAppEvent.getUserProperty('testUserPropertyName');
105 hilog.info(0x0000, 'testTag', `userProperty: ${userProperty}`)
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-dfx-hiappevent-extend-so.md61 | int ValidateUserProperty(const UserProperty& userProperty) …
93 int ValidateUserProperty(const UserProperty& userProperty) override;
118 int ProcessorExample::ValidateUserProperty(const UserProperty& userProperty)
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
H A Dnapi_hiappevent_userinfo.h26 bool SetUserProperty(const napi_env env, const napi_value name, const napi_value userProperty);
/ohos5.0/base/hiviewdfx/hiappevent/test/processor/
H A Dtest_processor.h30 int ValidateUserProperty(const UserProperty& userProperty) override;
H A Dtest_processor.cpp82 int TestProcessor::ValidateUserProperty(const UserProperty& userProperty) in ValidateUserProperty() argument
/ohos5.0/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/
H A Dapp_event_processor.h44 virtual int ValidateUserProperty(const UserProperty& userProperty) = 0;
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_inner_api_test.cpp243 int ValidateUserProperty(const UserProperty& userProperty) override;
278 int AppEventProcessorTest::ValidateUserProperty(const UserProperty& userProperty) in ValidateUserProperty() argument
280 return (userProperty.name.find("test") == std::string::npos) ? -1 : 0; in ValidateUserProperty()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-hiviewdfx-hiappevent.md536 hilog.info(0x0000, 'hiAppEvent', `getUserProperty event was successful, userProperty=${value}`);
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-hiviewdfx-hiappevent.md536 hilog.info(0x0000, 'hiAppEvent', `getUserProperty event was successful, userProperty=${value}`);