Searched refs:userProperty (Results 1 - 10 of 10) sorted by relevance
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/ |
H A D | app_event_processor_proxy.cpp | 108 [&userProperties, this](const auto& userProperty) {
in GetValidUserProperties() 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()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_hiappevent_userinfo.cpp | 108 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 D | napi_hiappevent_js_v9.cpp | 159 HILOG_ERROR(LOG_CORE, "failed to set userProperty");
in SetUserProperty() 172 napi_value userProperty = nullptr;
in GetUserProperty() local 173 if (!NapiHiAppEventUserInfo::GetUserProperty(env, params[0], userProperty)) {
in GetUserProperty() 174 HILOG_ERROR(LOG_CORE, "failed to get userProperty");
in GetUserProperty() 176 return userProperty;
in GetUserProperty()
|
H A D | napi_hiappevent_processor.cpp | 175 for (auto userProperty : userPropertyNames) {
in GenConfigUserPropertiesProp() 176 if (!IsValidUserPropName(userProperty)) {
in GenConfigUserPropertiesProp()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
H A D | hiappevent_userinfo.cpp | 114 HILOG_DEBUG(LOG_CORE, "start to set userProperty.");
in SetUserProperty() 141 HILOG_DEBUG(LOG_CORE, "start to get userProperty.");
in GetUserProperty() 155 HILOG_DEBUG(LOG_CORE, "start to remove userProperty.");
in RemoveUserProperty() 206 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()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
H A D | napi_hiappevent_userinfo.h | 26 bool SetUserProperty(const napi_env env, const napi_value name, const napi_value userProperty);
|
/base/hiviewdfx/hiappevent/test/processor/ |
H A D | test_processor.h | 30 int ValidateUserProperty(const UserProperty& userProperty) override;
|
H A D | test_processor.cpp | 82 int TestProcessor::ValidateUserProperty(const UserProperty& userProperty)
in ValidateUserProperty() argument
|
/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/ |
H A D | app_event_processor.h | 44 virtual int ValidateUserProperty(const UserProperty& userProperty) = 0;
|
/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
H A D | hiappevent_inner_api_test.cpp | 243 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()
|
Completed in 5 milliseconds