Home
last modified time | relevance | path

Searched refs:SingleLocationAsyncContext (Results 1 - 2 of 2) sorted by relevance

/base/location/interfaces/inner_api/include/
H A Dlocation_async_context.h219 class SingleLocationAsyncContext : public AsyncContext { class
225 explicit SingleLocationAsyncContext(napi_env env, napi_async_work work = nullptr, napi_deferred deferred = nullptr) in SingleLocationAsyncContext() function in OHOS::Location::SingleLocationAsyncContext
228 SingleLocationAsyncContext() = delete;
230 ~SingleLocationAsyncContext() override {}
/base/location/frameworks/js/napi/source/
H A Dlocation_napi_event.cpp411 void GenerateExecuteContext(SingleLocationAsyncContext* context) in GenerateExecuteContext()
458 void GenerateCompleteContext(SingleLocationAsyncContext* context) in GenerateCompleteContext()
476 SingleLocationAsyncContext* CreateSingleLocationAsyncContext(const napi_env& env, in CreateSingleLocationAsyncContext()
479 auto asyncContext = new (std::nothrow) SingleLocationAsyncContext(env); in CreateSingleLocationAsyncContext()
491 auto context = static_cast<SingleLocationAsyncContext*>(data); in CreateSingleLocationAsyncContext()
499 auto context = static_cast<SingleLocationAsyncContext*>(data); in CreateSingleLocationAsyncContext()

Completed in 5 milliseconds