Home
last modified time | relevance | path

Searched refs:locatorCallback (Results 1 – 8 of 8) sorted by relevance

/base/location/test/fuzztest/locator/reportmanager_fuzzer/
Dreportmanager_fuzzer.cpp41 sptr<ILocatorCallback> locatorCallback = in ReportManagerFuzzerTest() local
46 reportManager->ReportRemoteCallback(locatorCallback, type, result); in ReportManagerFuzzerTest()
/base/location/frameworks/js/napi/source/
Dlocation_napi_system.cpp39 auto locatorCallback = sptr<ILocatorCallback>(g_systemSingleLocatorCallbackHost); in GetLocationOnce() local
46 g_locatorImpl->StopLocating(locatorCallback); in GetLocationOnce()
56 g_locatorImpl->StartLocating(requestConfig, locatorCallback); in GetLocationOnce()
193 auto locatorCallback = sptr<ILocatorCallback>(locatorCallbackHost); in SubscribeSystemLocationChange() local
197 g_locatorImpl->StopLocating(locatorCallback); in SubscribeSystemLocationChange()
209 g_locatorImpl->StartLocating(requestConfig, locatorCallback); in SubscribeSystemLocationChange()
251 auto locatorCallback = sptr<ILocatorCallback>(g_systemSubcribeCallbackHost); in Unsubscribe() local
252 g_locatorImpl->StopLocating(locatorCallback); in Unsubscribe()
Dlocation_napi_event.cpp221 auto locatorCallback = sptr<ILocatorCallback>(locatorCallbackHost); in SubscribeLocationChange() local
226 g_locatorProxy->StartLocating(g_requestConfig, locatorCallback); in SubscribeLocationChange()
237 auto locatorCallback = sptr<ILocatorCallback>(locatorCallbackHost); in SubscribeLocationChangeV9() local
245 return g_locatorProxy->StartLocatingV9(g_requestConfig, locatorCallback); in SubscribeLocationChangeV9()
984 auto locatorCallback = sptr<ILocatorCallback>(callbackHost); in OffAllLocationChangeCallback() local
986 errorCode = UnSubscribeLocationChangeV9(locatorCallback); in OffAllLocationChangeCallback()
992 UnSubscribeLocationChange(locatorCallback); in OffAllLocationChangeCallback()
1201 auto locatorCallback = sptr<ILocatorCallback>(locatorCallbackHost); in OffLocationChangeCallback() local
1203 errorCode = UnSubscribeLocationChangeV9(locatorCallback); in OffLocationChangeCallback()
1209 UnSubscribeLocationChange(locatorCallback); in OffLocationChangeCallback()
[all …]
/base/location/services/location_locator/locator/source/
Dreport_manager.cpp102 auto locatorCallback = request->GetLocatorCallBack(); in ProcessRequestForReport() local
103 if (locatorCallback != nullptr) { in ProcessRequestForReport()
104 locatorCallback->OnLocationReport(finalLocation); in ProcessRequestForReport()
139 bool ReportManager::ReportRemoteCallback(sptr<ILocatorCallback>& locatorCallback, int type, int res… in ReportRemoteCallback() argument
143 locatorCallback->OnLocatingStatusChange(result); in ReportRemoteCallback()
147 locatorCallback->OnErrorReport(result); in ReportRemoteCallback()
/base/location/test/fuzztest/locator/requestmanager_fuzzer/
Drequestmanager_fuzzer.cpp38 sptr<ILocatorCallback> locatorCallback = in RequestManagerFuzzerTest() local
40 requestManager->HandleStopLocating(locatorCallback); in RequestManagerFuzzerTest()
/base/location/services/location_locator/locator/include/
Dreport_manager.h33 bool ReportRemoteCallback(sptr<ILocatorCallback>& locatorCallback, int type, int result);
/base/location/test/fuzztest/locator/locator_fuzzer/
Dlocator_fuzzer.cpp87 sptr<ILocatorCallback> locatorCallback = sptr<ILocatorCallback>(locatorCallbackHostForTest_); in TestStartLocating() local
88 locator->StartLocating(requestConfig, locatorCallback); in TestStartLocating()
90 locator->StopLocating(locatorCallback); in TestStartLocating()
93 locator->StartLocating(requestConfig, locatorCallback); in TestStartLocating()
94 locator->StopLocating(locatorCallback); in TestStartLocating()
480 sptr<ILocatorCallback> locatorCallback = sptr<ILocatorCallback>(locatorCallbackHostForTest_); in LocatorAbility001FuzzerTest() local
482 locatorAbility->StopLocating(locatorCallback); in LocatorAbility001FuzzerTest()
/base/location/test/location_locator/source/
Dreport_manager_test.cpp81 sptr<ILocatorCallback> locatorCallback = variable
84 ReportRemoteCallback(locatorCallback, ILocatorCallback::RECEIVE_LOCATION_STATUS_EVENT, 1));
86 ReportRemoteCallback(locatorCallback, ILocatorCallback::RECEIVE_ERROR_INFO_EVENT, 1));
88 ReportRemoteCallback(locatorCallback, ILocatorCallback::RECEIVE_LOCATION_INFO_EVENT, 1));