Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_processor_service.cpp135 int SetReportUserId(struct HiAppEvent_Processor* processor, const char* const * userIdNames, int si… in SetReportUserId() argument
141 if (userIdNames == nullptr) { in SetReportUserId()
145 if (userIdNames[i] == nullptr) { in SetReportUserId()
148 if (!IsValidUserIdName(userIdNames[i])) { in SetReportUserId()
153 return ndkProcessorPtr->SetReportUserId(userIdNames, size); in SetReportUserId()
H A Dndk_app_event_processor.cpp85 int NdkAppEventProcessor::SetReportUserId(const char* const * userIdNames, int size) in SetReportUserId() argument
88 config_.userIdNames.emplace(userIdNames[i]); in SetReportUserId()
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_inner_api_test.cpp90 ASSERT_TRUE(config.userIdNames.empty()); in CheckGetEmptyConfig()
119 ASSERT_EQ(configA.userIdNames.size(), configB.userIdNames.size()); in CheckSameConfig()
141 .userIdNames = {"test_id"}, in CheckSetConfig()
538 .userIdNames = {"test_id"},
703 .userIdNames = {
712 config.userIdNames = {"***xxxx", "id1"};
717 .userIdNames = {}, // default userIdNames value
722 config.userIdNames = {"", "id1"};
728 config.userIdNames = {std::string(limitLen + 1, 'a'), "id1"};
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_processor.cpp156 std::unordered_set<std::string> userIdNames; in GenConfigUserIdsProp() local
157 if (!GenConfigStrsProp(env, config, key, userIdNames)) { in GenConfigUserIdsProp()
160 for (auto userId : userIdNames) { in GenConfigUserIdsProp()
165 out.userIdNames = userIdNames; in GenConfigUserIdsProp()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
H A Dapp_event_processor_proxy.cpp90 if (reportConfig_.userIdNames.find(userId.name) != reportConfig_.userIdNames.end() in GetValidUserIds()
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.h34 int SetReportUserId(struct HiAppEvent_Processor* processor, const char* const * userIdNames, int si…
H A Dndk_app_event_processor.h36 int SetReportUserId(const char* const * userIdNames, int size);
/ohos5.0/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/
H A Dbase_type.h89 std::unordered_set<std::string> userIdNames; member
/ohos5.0/base/hiviewdfx/hiappevent/test/processor/
H A Dtest_processor.cpp45 HILOG_INFO(LOG_CORE, ".userIdNames.size=%{public}zu", config.userIdNames.size()); in PrintReportConfig()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c381 …_SetReportUserId(struct HiAppEvent_Processor* processor, const char* const * userIdNames, int size) in OH_HiAppEvent_SetReportUserId() argument
383 return SetReportUserId(processor, userIdNames, size); in OH_HiAppEvent_SetReportUserId()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_verify.cpp308 for (const auto& name : config.userIdNames) { in VerifyUserIdNamesOfReportConfig()
311 config.userIdNames.clear(); in VerifyUserIdNamesOfReportConfig()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dhiappevent_ffi.cpp119 conf.userIdNames = genArrString2Set(processor.userIds); in ConvertReportConfig()