/base/hiviewdfx/hiview/base/event_store/dao/ |
H A D | sys_event_dao.cpp | 31 const std::vector<std::string>& names) in BuildQuery() 33 HIVIEW_LOGD("squery domain=%{public}s, names.size=%{public}zu", domain.c_str(), names.size()); in BuildQuery() 34 if (domain.empty() || names.empty()) { in BuildQuery() 37 return std::make_shared<SysEventQueryWrapper>(domain, names); in BuildQuery() 41 const std::vector<std::string>& names, uint32_t type, int64_t toSeq, int64_t fromSeq) in BuildQuery() 43 HIVIEW_LOGD("query domain=%{public}s, names.size=%{public}zu, type=%{public}u, toSeq=%{public}" PRId64 in BuildQuery() 44 ", fromSeq=%{public}" PRId64, domain.c_str(), names.size(), type, toSeq, fromSeq); in BuildQuery() 45 return std::make_shared<SysEventQueryWrapper>(domain, names, type, toSeq, fromSeq); in BuildQuery() 30 BuildQuery(const std::string& domain, const std::vector<std::string>& names) BuildQuery() argument 40 BuildQuery(const std::string& domain, const std::vector<std::string>& names, uint32_t type, int64_t toSeq, int64_t fromSeq) BuildQuery() argument
|
/base/startup/init/test/benchmark/ |
H A D | parameter_benchmark.cpp | 43 names = new char *[nprops]; in valid() 54 names[i] = new char[PARAM_NAME_LEN_MAX + 1]; in valid() 57 if (j == 0 || names[i][j - 1] == '.' || j == nameLens[i] - 1) { in valid() 67 names[i][j] = paramNameChars[TestRandom() % paramNameLen]; in valid() 69 names[i][nameLens[i]] = 0; in valid() 78 if (SystemSetParameter(names[i], values[i]) != 0) { in valid() 94 delete names[i]; 97 delete[] names; 105 char **names; member 136 CachedHandle handle = CachedParameterCreate(g_localParamTester->names[TestRando in BMCachedParameterGet() [all...] |
/base/location/frameworks/location_common/common/source/ |
H A D | common_hisysevent.cpp | 56 std::vector<std::string> names; in WriteLocationInnerEvent() local 61 names.push_back(x); in WriteLocationInnerEvent() 67 HookUtils::ExecuteHookWhenReportInnerInfo(event, names, values); in WriteLocationInnerEvent() 70 void WriteLocationInnerEvent(const int event, std::vector<std::string> names, std::vector<std::string>& values) in WriteLocationInnerEvent() argument 72 HookUtils::ExecuteHookWhenReportInnerInfo(event, names, values); in WriteLocationInnerEvent()
|
H A D | hook_utils.cpp | 96 int32_t event, std::vector<std::string>& names, std::vector<std::string>& values) in ExecuteHookWhenReportInnerInfo() 100 innerInfo.names = names; in ExecuteHookWhenReportInnerInfo() 95 ExecuteHookWhenReportInnerInfo( int32_t event, std::vector<std::string>& names, std::vector<std::string>& values) ExecuteHookWhenReportInnerInfo() argument
|
/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_common_utils.cpp | 116 std::vector<std::string> names; in GetCpuInfos() local 117 if (!GetNamesInFolder("/sys/devices/system/cpu/", names)) { in GetCpuInfos() 120 for (size_t i = 0; i < names.size(); i++) { in GetCpuInfos() 121 std::string name = names[i]; in GetCpuInfos() 153 std::vector<std::string> names; in GetPidInfos() local 154 if (!GetNamesInFolder("/proc/", names)) { in GetPidInfos() 157 for (size_t i = 0; i < names.size(); i++) { in GetPidInfos() 158 std::string name = names[i]; in GetPidInfos() 232 bool DumpCommonUtils::GetNamesInFolder(const std::string& folder, std::vector<std::string>& names) in GetNamesInFolder() argument 243 names in GetNamesInFolder() 273 vector<string> names; GetProcessNameByPid() local [all...] |
/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/ |
H A D | mock_common_event_permission_manager.cpp | 30 per.names.emplace_back(eventName);
in GetEventPermission() 31 per.names.emplace_back(eventNames);
in GetEventPermission()
|
/base/hiviewdfx/hiview/plugins/event_store/event_export/config/ |
H A D | export_event_list_parser.cpp | 32 constexpr char NAMES[] = "names"; 35 void AddDomainNames(const std::string& domain, const std::vector<std::string>& names, in AddDomainNames() argument 38 if (names.empty()) { in AddDomainNames() 43 eventList.emplace(domain, names); in AddDomainNames() 46 iter->second.insert(iter->second.end(), names.begin(), names.end()); in AddDomainNames() 61 return; // names configured in events has a higher priority than name to parse in ParseExportEventList()
|
/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/ |
H A D | ndk_app_event_watcher.cpp | 40 const char *const *names, int namesLen) in AddAppEventFilter() 47 if (names == nullptr && namesLen > 0) { in AddAppEventFilter() 51 if (names[i] == nullptr) { in AddAppEventFilter() 54 filter.names.insert(names[i]); in AddAppEventFilter() 39 AddAppEventFilter(const char* domain, uint8_t eventTypes, const char *const *names, int namesLen) AddAppEventFilter() argument
|
H A D | ndk_app_event_watcher_proxy.cpp | 42 const char *const *names, int namesLen) in SetAppEventFilter() 44 return watcher_->AddAppEventFilter(domain, eventTypes, names, namesLen); in SetAppEventFilter() 41 SetAppEventFilter(const char *domain, uint8_t eventTypes, const char *const *names, int namesLen) SetAppEventFilter() argument
|
H A D | ndk_app_event_watcher_service.cpp | 46 const char* const* names, int namesLen) in SetAppEventFilter() 50 return ndkWatcher->SetAppEventFilter(domain, eventTypes, names, namesLen); in SetAppEventFilter() 45 SetAppEventFilter(struct HiAppEvent_Watcher* watcher, const char* domain, uint8_t eventTypes, const char* const* names, int namesLen) SetAppEventFilter() argument
|
/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | sys_event_dao.h | 32 static std::shared_ptr<SysEventQuery> BuildQuery(const std::string& domain, const std::vector<std::string>& names); 36 const std::vector<std::string>& names, uint32_t type, int64_t toSeq, int64_t fromSeq);
|
H A D | sys_event_query_wrapper.h | 107 SysEventQueryWrapper(const std::string& domain, const std::vector<std::string>& names) in SysEventQueryWrapper() argument 108 : SysEventQuery(domain, names) {} in SysEventQueryWrapper() 109 SysEventQueryWrapper(const std::string& domain, const std::vector<std::string>& names, in SysEventQueryWrapper() argument 110 uint32_t type, int64_t toSeq, int64_t fromSeq) : SysEventQuery(domain, names, type, toSeq, fromSeq) {} in SysEventQueryWrapper()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/ |
H A D | app_event_observer.cpp | 89 AppEventFilter::AppEventFilter(const std::string& domain, const std::unordered_set<std::string>& names,
in AppEventFilter() argument 90 uint32_t types) : domain(domain), names(names), types(types)
in AppEventFilter() 109 if (!names.empty() && (names.find(eventName) == names.end())) {
in IsValidEvent() 325 std::unordered_set<std::string> names;
in SetReportConfig() local 327 names.emplace(eventConfig.name);
in SetReportConfig() 329 filters_.emplace_back(AppEventFilter(eventConfig.domain, names));
in SetReportConfig()
|
/base/update/updater/services/script/script_interpreter/ |
H A D | script_function.cpp | 82 std::vector<std::string> names;
in GetParamNames() local 88 return names;
in GetParamNames() 90 names.push_back(varName);
in GetParamNames() 92 return names;
in GetParamNames()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_check_labels_callback.cpp | 36 std::vector<std::string> names; in SendResult() local 39 names.push_back(account.GetName()); in SendResult() 42 result.SetParam(Constants::KEY_ACCOUNT_NAMES, names); in SendResult()
|
/base/location/interfaces/inner_api/include/ |
H A D | hook_utils.h | 67 std::vector<std::string> names; member 97 int32_t event, std::vector<std::string>& names, std::vector<std::string>& values);
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/include/ |
H A D | app_event_observer.h | 34 /* Filtering events by event names */
35 std::unordered_set<std::string> names;
member 42 const std::unordered_set<std::string>& names = {},
|
/base/print/print_fwk/frameworks/helper/print_helper/src/ |
H A D | print_preview_attribute_helper.cpp | 75 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local 76 return NapiPrintUtils::VerifyProperty(names, propertyList); in ValidateProperty()
|
H A D | print_page_size_helper.cpp | 74 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local 75 return NapiPrintUtils::VerifyProperty(names, propertyList); in ValidateProperty()
|
H A D | print_resolution_helper.cpp | 65 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local 66 return NapiPrintUtils::VerifyProperty(names, propertyList); in ValidateProperty()
|
H A D | print_extension_info_helper.cpp | 43 auto names = NapiPrintUtils::GetPropertyNames(env, jsValue); in BuildFromJs() local 44 for (auto name : names) { in BuildFromJs()
|
/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scan_range_helper.cpp | 74 auto names = NapiScanUtils::GetPropertyNames(env, object); in ValidateProperty() local 75 for (auto name : names) { in ValidateProperty()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
H A D | hisysevent_record_c.cpp | 90 int GetParamNames(const HiSysEventRecordC& record, char*** names, size_t& len)
in GetParamNames() argument 101 return OHOS::HiviewDFX::StringUtil::ConvertCStringVec(dataVec, names, len);
in GetParamNames() 149 void OH_HiSysEvent_GetParamNames(const HiSysEventRecordC* record, char*** names, size_t* len)
in OH_HiSysEvent_GetParamNames() argument 151 GetParamNames(*record, names, *len);
in OH_HiSysEvent_GetParamNames()
|
/base/notification/common_event_service/services/test/unittest/mock/ |
H A D | mock_common_event_permission_manager.cpp | 38 per.names.emplace_back(eventName);
in GetEventPermission()
|
/base/hiviewdfx/hidumper/frameworks/native/src/common/ |
H A D | option_args.cpp | 129 void OptionArgs::SetNamesAndArgs(const std::vector<std::string>& names, const std::vector<std::string>& args) in SetNamesAndArgs() argument 132 names_.assign(names.begin(), names.end()); in SetNamesAndArgs() 164 DUMPER_HILOGD(MODULE_COMMON, "debug| names[%{public}zu]=%{public}s", i, names_[i].c_str()); in Dump()
|