Home
last modified time | relevance | path

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

/base/location/frameworks/js/napi/source/
H A Dlocation_napi_system.cpp29 auto g_locatorImpl = Locator::GetInstance(); member
37 NAPI_ASSERT(env, g_locatorImpl != nullptr, "get locator SA failed"); in GetLocationOnce()
46 g_locatorImpl->StopLocating(locatorCallback); in GetLocationOnce()
56 g_locatorImpl->StartLocating(requestConfig, locatorCallback); in GetLocationOnce()
97 NAPI_ASSERT(env, g_locatorImpl != nullptr, "get locator SA failed"); in GetLocation()
197 g_locatorImpl->StopLocating(locatorCallback); in SubscribeSystemLocationChange()
209 g_locatorImpl->StartLocating(requestConfig, locatorCallback); in SubscribeSystemLocationChange()
224 NAPI_ASSERT(env, g_locatorImpl != nullptr, "get locator SA failed"); in Subscribe()
249 NAPI_ASSERT(env, g_locatorImpl != nullptr, "get locator SA failed"); in Unsubscribe()
252 g_locatorImpl in Unsubscribe()
[all...]
/base/location/frameworks/native/locator_sdk/source/
H A Dlocator_impl.cpp38 auto g_locatorImpl = Locator::GetInstance(); member
1521 sptr<LocatorProxy> proxy = g_locatorImpl->GetProxy(); in ResumeGnssStatusCallback()
1537 sptr<LocatorProxy> proxy = g_locatorImpl->GetProxy(); in ResumeNmeaMessageCallback()
1553 sptr<LocatorProxy> proxy = g_locatorImpl->GetProxy(); in ResumeLocating()
1576 if (g_callbackResumer != nullptr && !g_locatorImpl->HasGnssNetworkRequest()) { in OnAddSystemAbility()

Completed in 3 milliseconds