Searched refs:IsValidEventName (Results 1 – 8 of 8) sorted by relevance
55 if (!IsValidEventName(name)) { in Register()90 if (!IsValidEventName(name)) { in Deregister()116 bool NapiEventSubscribeModule::IsValidEventName(const std::string &eventName) const in IsValidEventName() function in OHOS::Bluetooth::NapiEventSubscribeModule
54 bool NapiHiAppEventBuilder::IsValidEventName(const napi_env env, const napi_value name) in IsValidEventName() function in OHOS::HiviewDFX::NapiHiAppEventBuilder100 && IsValidEventName(env, NapiUtil::GetProperty(env, eventInfo, NAME_PROPERTY)) in IsValidEventInfo()107 return IsValidEventName(env, params[0]) // 0 means the index of event name in IsOldWriteParams()
48 ? NapiHiAppEventBuilder::IsValidEventName(env, params[INDEX_OF_NAME]) in IsValidParams()
375 bool IsValidEventName(const std::string& eventName) in IsValidEventName() function403 if (!IsValidEventName(event->GetName())) { in VerifyAppEvent()438 if (!event->GetName().empty() && !IsValidEventName(event->GetName())) { in VerifyCustomEventParams()533 if (!eventCfg.name.empty() && !IsValidEventName(eventCfg.name)) { in IsValidEventConfig()
44 bool IsValidEventName(const std::string &eventName) const;
35 bool IsValidEventName(const std::string& eventName);
41 bool IsValidEventName(const napi_env env, const napi_value name);
99 if (domain == nullptr || name == nullptr || !IsValidDomain(domain) || !IsValidEventName(name)) { in SetReportEvent()