Home
last modified time | relevance | path

Searched refs:EVENT_PARAM_ONE (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp77 static constexpr const uint32_t EVENT_PARAM_ONE = 1; variable
120 argv[EVENT_PARAM_ONE] = HttpExec::RequestInStreamCallback(context.get()); in AsyncWorkRequestInStreamCallback()
121 if (argv[EVENT_PARAM_ONE] == nullptr) { in AsyncWorkRequestInStreamCallback()
131 argv[EVENT_PARAM_ONE] = undefined; in AsyncWorkRequestInStreamCallback()
136 napi_resolve_deferred(env, context->GetDeferred(), argv[EVENT_PARAM_ONE]); in AsyncWorkRequestInStreamCallback()
158 argv[EVENT_PARAM_ONE] = HttpExec::RequestCallback(context.get()); in AsyncWorkRequestCallback()
159 if (argv[EVENT_PARAM_ONE] == nullptr) { in AsyncWorkRequestCallback()
169 argv[EVENT_PARAM_ONE] = NapiUtils::GetUndefined(env); in AsyncWorkRequestCallback()
174 napi_resolve_deferred(env, context->GetDeferred(), argv[EVENT_PARAM_ONE]); in AsyncWorkRequestCallback()
/ohos5.0/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/
H A Dems_event_handler_test.cpp36 const int64_t EVENT_PARAM_ONE = 1000; variable
290 auto event002 = InnerEvent::Get(EVENT_ID, EVENT_PARAM_ONE);
1888 auto event = InnerEvent::Get(EVENT_ID, EVENT_PARAM_ONE);
1891 bool hasInnerEvent = handler->HasInnerEvent(EVENT_PARAM_ONE);
1894 hasInnerEvent = handler->HasInnerEvent(EVENT_PARAM_ONE);