Home
last modified time | relevance | path

Searched refs:LocatorCallbackHost (Results 1 – 15 of 15) sorted by relevance

/base/location/frameworks/native/source/
Dlocator_callback_host.cpp36 LocatorCallbackHost::LocatorCallbackHost() in LocatorCallbackHost() function in OHOS::Location::LocatorCallbackHost
49 void LocatorCallbackHost::InitLatch() in InitLatch()
55 LocatorCallbackHost::~LocatorCallbackHost() in ~LocatorCallbackHost()
60 int LocatorCallbackHost::OnRemoteRequest(uint32_t code, in OnRemoteRequest()
98 void LocatorCallbackHost::DoSendWork(uv_loop_s*& loop, uv_work_t*& work) in DoSendWork()
147 void LocatorCallbackHost::DoSendErrorCode(uv_loop_s *&loop, uv_work_t *&work) in DoSendErrorCode()
191 bool LocatorCallbackHost::SendErrorCode(const int& errorCode) in SendErrorCode()
228 void LocatorCallbackHost::OnLocationReport(const std::unique_ptr<Location>& location) in OnLocationReport()
260 void LocatorCallbackHost::OnLocatingStatusChange(const int status) in OnLocatingStatusChange()
264 void LocatorCallbackHost::OnErrorReport(const int errorCode) in OnErrorReport()
[all …]
/base/location/test/fuzztest/locator/locatorcallbackhost_fuzzer/
Dlocatorcallbackhost_fuzzer.cpp68 auto callback1 = sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in LocatorCallbackHostFuzzTest()
70 auto callback2 = sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in LocatorCallbackHostFuzzTest()
72 auto callback3 = sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in LocatorCallbackHostFuzzTest()
/base/location/test/location_locator/source/
Dcallback_test.cpp127 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost());
142 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost());
158 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost());
302 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost());
Drequest_manager_test.cpp53 sptr<LocatorCallbackHost> locatorCallbackHost = in SetUp()
54 sptr<LocatorCallbackHost>(new (std::nothrow)LocatorCallbackHost()); in SetUp()
96 sptr<LocatorCallbackHost> locatorCallbackHost = in FillRequestField()
97 sptr<LocatorCallbackHost>(new (std::nothrow)LocatorCallbackHost()); in FillRequestField()
Dreport_manager_test.cpp80 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost());
Dlocator_background_proxy_test.cpp250 sptr<LocatorCallbackHost> locatorCallbackHost =
251 sptr<LocatorCallbackHost>(new (std::nothrow)LocatorCallbackHost());
/base/location/interfaces/inner_api/include/
Dlocator_callback_host.h32 class LocatorCallbackHost : public IRemoteStub<ILocatorCallback> {
34 LocatorCallbackHost();
35 virtual ~LocatorCallbackHost();
Dlocation_async_context.h221 sptr<LocatorCallbackHost> callbackHost_;
/base/location/test/fuzztest/locator/reportmanager_fuzzer/
Dreportmanager_fuzzer.cpp40 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in ReportManagerFuzzerTest()
/base/location/frameworks/js/napi/source/
Dlocation_napi_system.cpp25 sptr<LocatorCallbackHost> g_systemSingleLocatorCallbackHost =
26 sptr<LocatorCallbackHost>(new (std::nothrow)LocatorCallbackHost());
27 sptr<LocatorCallbackHost> g_systemSubcribeCallbackHost =
28 sptr<LocatorCallbackHost>(new (std::nothrow)LocatorCallbackHost());
191 sptr<LocatorCallbackHost>& locatorCallbackHost) in SubscribeSystemLocationChange()
Dlocation_napi_event.cpp31 CallbackManager<LocatorCallbackHost> g_locationCallbacks;
219 const napi_ref& handlerRef, sptr<LocatorCallbackHost>& locatorCallbackHost) in SubscribeLocationChange()
231 const napi_ref& handlerRef, sptr<LocatorCallbackHost>& locatorCallbackHost) in SubscribeLocationChangeV9()
393 std::unique_ptr<RequestConfig>& config, sptr<LocatorCallbackHost> callback) in CreateSingleLocationAsyncContext()
478 sptr<LocatorCallbackHost> CreateSingleLocationCallbackHost() in CreateSingleLocationCallbackHost()
481 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in CreateSingleLocationCallbackHost()
742 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in OnLocationChangeCallback()
973 std::map<napi_env, std::map<napi_ref, sptr<LocatorCallbackHost>>> callbackMap = in OffAllLocationChangeCallback()
/base/location/test/location_locator/mock/include/
Dmock_locator_callback_host.h31 class MockLocatorCallbackHost : public LocatorCallbackHost {
/base/location/test/fuzztest/locator/requestmanager_fuzzer/
Drequestmanager_fuzzer.cpp37 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in RequestManagerFuzzerTest()
/base/location/frameworks/js/napi/include/
Dlocation_napi_event.h69 const napi_ref& handlerRef, sptr<LocatorCallbackHost>& locatorCallbackHost);
96 const napi_ref& handlerRef, sptr<LocatorCallbackHost>& locatorCallbackHost);
/base/location/test/fuzztest/locator/locator_fuzzer/
Dlocator_fuzzer.cpp61 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost());
408 sptr<LocatorCallbackHost>(new (std::nothrow) LocatorCallbackHost()); in LocationCallbackHostFuzzerTest()