Home
last modified time | relevance | path

Searched refs:g_locatorProxy (Results 1 - 4 of 4) sorted by relevance

/base/web/webview/ohos_wrapper/src/
H A Dnweb_location_wrapper.cpp24 auto g_locatorProxy = Locator::GetInstance(); member
29 if (!NWeb::g_locatorProxy) { in IsLocationEnable()
30 WVLOG_E("g_locatorProxy is nullptr"); in IsLocationEnable()
33 LocationErrCode ret = NWeb::g_locatorProxy->IsLocationEnabledV9(isEnabled); in IsLocationEnable()
45 if (!NWeb::g_locatorProxy || !requestConfig || !callback) { in StartLocating()
46 WVLOG_E("g_locatorProxy is nullptr"); in StartLocating()
49 LocationErrCode ret = NWeb::g_locatorProxy->StartLocatingV9( in StartLocating()
60 if (!NWeb::g_locatorProxy || !callback) { in StopLocating()
61 WVLOG_E("g_locatorProxy is nullptr"); in StopLocating()
64 LocationErrCode ret = NWeb::g_locatorProxy in StopLocating()
[all...]
/base/location/frameworks/cj/source/
H A Dgeolocationmanager_impl.cpp41 auto g_locatorProxy = Location::Locator::GetInstance(); member
92 Location::LocationErrCode errorCode = g_locatorProxy->IsLocationEnabledV9(isEnabled); in CheckLocationSwitchEnable()
118 Location::LocationErrCode errorCode = g_locatorProxy->IsLocationEnabledV9(isEnabled); in CheckLocationSwitchState()
130 if (g_locatorProxy == nullptr) { in GetLastLocation()
134 auto loc = g_locatorProxy->GetCachedLocation(); in GetLastLocation()
146 if (g_locatorProxy == nullptr) { in IsLocationEnabled()
151 errCode = g_locatorProxy->IsLocationEnabledV9(isEnabled); in IsLocationEnabled()
157 if (g_locatorProxy == nullptr) { in IsGeocoderAvailable()
163 errCode = g_locatorProxy->IsGeoServiceAvailableV9(isAvailable); in IsGeocoderAvailable()
169 if (g_locatorProxy in GetCachedGnssLocationsSize()
[all...]
/base/location/frameworks/js/napi/source/
H A Dlocation_napi_event.cpp43 auto g_locatorProxy = Locator::GetInstance(); member
122 g_locatorProxy->RegisterSwitchCallback(switchCallbackHost->AsObject(), DEFAULT_UID); in SubscribeLocationServiceState()
131 return g_locatorProxy->RegisterSwitchCallbackV9(switchCallbackHost->AsObject()); in SubscribeLocationServiceStateV9()
140 g_locatorProxy->RegisterGnssStatusCallback(gnssStatusCallbackHost->AsObject(), DEFAULT_UID); in SubscribeGnssStatus()
153 return g_locatorProxy->RegisterGnssStatusCallbackV9(gnssStatusCallbackHost->AsObject()); in SubscribeGnssStatusV9()
162 g_locatorProxy->RegisterNmeaMessageCallback(nmeaMessageCallbackHost->AsObject(), DEFAULT_UID); in SubscribeNmeaMessage()
175 return g_locatorProxy->RegisterNmeaMessageCallbackV9(nmeaMessageCallbackHost->AsObject()); in SubscribeNmeaMessageV9()
182 g_locatorProxy->UnregisterSwitchCallback(switchCallbackHost->AsObject()); in UnSubscribeLocationServiceState()
189 return g_locatorProxy->UnregisterSwitchCallbackV9(switchCallbackHost->AsObject()); in UnSubscribeLocationServiceStateV9()
196 g_locatorProxy in UnSubscribeGnssStatus()
[all...]
/base/location/frameworks/native/location_ndk/source/
H A Dlocator_c_impl.cpp38 auto g_locatorProxy = OHOS::Location::Locator::GetInstance(); variable
46 auto errCode = g_locatorProxy->IsLocationEnabledV9(isEnabled); in OH_Location_IsLocatingEnabled()
76 auto errCode = g_locatorProxy->StartLocatingV9(requestConfigV9, locatorCallback); in OH_Location_StartLocating()
96 auto errCode = g_locatorProxy->StopLocatingV9(locatorCallback); in OH_Location_StopLocating()

Completed in 4 milliseconds