/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/ |
H A D | ndk_app_event_processor_service.cpp | 135 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 D | ndk_app_event_processor.cpp | 85 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 D | hiappevent_inner_api_test.cpp | 90 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 D | napi_hiappevent_processor.cpp | 156 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 D | app_event_processor_proxy.cpp | 90 if (reportConfig_.userIdNames.find(userId.name) != reportConfig_.userIdNames.end() in GetValidUserIds()
|
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 | 34 int SetReportUserId(struct HiAppEvent_Processor* processor, const char* const * userIdNames, int si…
|
H A D | ndk_app_event_processor.h | 36 int SetReportUserId(const char* const * userIdNames, int size);
|
/ohos5.0/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/ |
H A D | base_type.h | 89 std::unordered_set<std::string> userIdNames; member
|
/ohos5.0/base/hiviewdfx/hiappevent/test/processor/ |
H A D | test_processor.cpp | 45 HILOG_INFO(LOG_CORE, ".userIdNames.size=%{public}zu", config.userIdNames.size()); in PrintReportConfig()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/ |
H A D | hiappevent_ndk.c | 381 …_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 D | hiappevent_verify.cpp | 308 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 D | hiappevent_ffi.cpp | 119 conf.userIdNames = genArrString2Set(processor.userIds); in ConvertReportConfig()
|