Home
last modified time | relevance | path

Searched refs:IsValidEventName (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_event_subscribe_module.cpp55 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
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_builder.cpp54 bool NapiHiAppEventBuilder::IsValidEventName(const napi_env env, const napi_value name) in IsValidEventName() function in OHOS::HiviewDFX::NapiHiAppEventBuilder
100 && 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()
H A Dnapi_param_builder.cpp48 ? NapiHiAppEventBuilder::IsValidEventName(env, params[INDEX_OF_NAME]) in IsValidParams()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_verify.cpp375 bool IsValidEventName(const std::string& eventName) in IsValidEventName() function
403 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()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_event_subscribe_module.h44 bool IsValidEventName(const std::string &eventName) const;
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
H A Dhiappevent_verify.h35 bool IsValidEventName(const std::string& eventName);
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
H A Dnapi_hiappevent_builder.h41 bool IsValidEventName(const napi_env env, const napi_value name);
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_processor_service.cpp99 if (domain == nullptr || name == nullptr || !IsValidDomain(domain) || !IsValidEventName(name)) { in SetReportEvent()