Home
last modified time | relevance | path

Searched refs:LocatorInterfaceCode (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/location/frameworks/native/locator_sdk/source/
H A Dlocator_proxy.cpp50 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::GET_SWITCH_STATE), reply); in GetSwitchState()
68 …int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::ENABLE_ABILITY), data, rep… in EnableAbility()
74 int state = SendSimpleMsg(static_cast<int>(LocatorInterfaceCode::UPDATE_SA_ABILITY)); in UpdateSaAbility()
207 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::GET_CACHE_LOCATION), reply); in GetCacheLocation()
214 return SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::GEO_IS_AVAILABLE), reply); in IsGeoConvertAvailable()
435 SendMsgWithReplyV9(static_cast<int>(LocatorInterfaceCode::GET_SWITCH_STATE), reply); in GetSwitchStateV9()
455 SendMsgWithDataReplyV9(static_cast<int>(LocatorInterfaceCode::ENABLE_ABILITY), data, reply); in EnableAbilityV9()
628 SendMsgWithDataReplyV9(static_cast<int>(LocatorInterfaceCode::START_LOCATING), data, reply); in StartLocatingV9()
649 SendMsgWithReplyV9(static_cast<int>(LocatorInterfaceCode::GET_CACHE_LOCATION), reply); in GetCacheLocationV9()
663 SendMsgWithReplyV9(static_cast<int>(LocatorInterfaceCode::GEO_IS_AVAILABLE), reply); in IsGeoConvertAvailableV9()
[all …]
/ohos5.0/base/location/test/fuzztest/locator/locatorabilitystub_fuzzer/
H A Dlocatorabilitystub_fuzzer.cpp108 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::ENABLE_ABILITY), in LocatorAbilityStub002FuzzTest()
142 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::GET_CACHE_LOCATION), in LocatorAbilityStub004FuzzTest()
176 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::GET_SWITCH_STATE), in LocatorAbilityStub006FuzzTest()
261 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::REPORT_LOCATION), in LocatorAbilityStub011FuzzTest()
278 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::RESET_ALL_PROXY), in LocatorAbilityStub012FuzzTest()
328 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::START_LOCATING), in LocatorAbilityStub015FuzzTest()
345 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::STOP_LOCATING), in LocatorAbilityStub016FuzzTest()
412 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::GEO_IS_AVAILABLE), in LocatorAbilityStub020FuzzTest()
480 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::ADD_FENCE), in LocatorAbilityStub024FuzzTest()
599 ability->OnRemoteRequest(static_cast<int>(LocatorInterfaceCode::REMOVE_FENCE), in LocatorAbilityStub031FuzzTest()
[all …]
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dlocator_skeleton.cpp58 locatorHandleMap_[LocatorInterfaceCode::GET_SWITCH_STATE] = in ConstructLocatorHandleMap()
70 locatorHandleMap_[LocatorInterfaceCode::START_LOCATING] = in ConstructLocatorHandleMap()
74 locatorHandleMap_[LocatorInterfaceCode::STOP_LOCATING] = in ConstructLocatorHandleMap()
82 locatorHandleMap_[LocatorInterfaceCode::ENABLE_ABILITY] = in ConstructLocatorHandleMap()
94 locatorHandleMap_[LocatorInterfaceCode::UPDATE_SA_ABILITY] = in ConstructLocatorEnhanceHandleMap()
110 locatorHandleMap_[LocatorInterfaceCode::RESET_ALL_PROXY] = in ConstructLocatorEnhanceHandleMap()
114 locatorHandleMap_[LocatorInterfaceCode::REPORT_LOCATION] = in ConstructLocatorEnhanceHandleMap()
225 locatorHandleMap_[LocatorInterfaceCode::SEND_COMMAND] = in ConstructGnssHandleMap()
243 locatorHandleMap_[LocatorInterfaceCode::ADD_FENCE] = in ConstructGnssEnhanceHandleMap()
247 locatorHandleMap_[LocatorInterfaceCode::REMOVE_FENCE] = in ConstructGnssEnhanceHandleMap()
[all …]
H A Dlocator_ability.cpp422 if (code == static_cast<uint16_t>(LocatorInterfaceCode::PROXY_PID_FOR_FREEZE) || in RemoveUnloadTask()
423 code == static_cast<uint16_t>(LocatorInterfaceCode::RESET_ALL_PROXY)) { in RemoveUnloadTask()
432 code == static_cast<uint16_t>(LocatorInterfaceCode::RESET_ALL_PROXY)) { in PostUnloadTask()
774 if (msgId == static_cast<int>(LocatorInterfaceCode::ENABLE_LOCATION_MOCK)) { in SendLocationMockMsgToGnssSa()
796 if (msgId == static_cast<int>(LocatorInterfaceCode::ENABLE_LOCATION_MOCK)) { in SendLocationMockMsgToNetworkSa()
818 if (msgId == static_cast<int>(LocatorInterfaceCode::ENABLE_LOCATION_MOCK)) { in SendLocationMockMsgToPassiveSa()
929 static_cast<int>(LocatorInterfaceCode::ENABLE_LOCATION_MOCK)); in EnableLocationMock()
937 static_cast<int>(LocatorInterfaceCode::DISABLE_LOCATION_MOCK)); in DisableLocationMock()
944 static_cast<int>(LocatorInterfaceCode::SET_MOCKED_LOCATIONS)); in SetMockedLocations()
2222 static_cast<int>(LocatorInterfaceCode::GET_FROM_LOCATION_NAME) : in SendGeoRequestEvent()
[all …]
H A Dsubability_common.cpp229 …objectLocator->SendRequest(static_cast<int>(LocatorInterfaceCode::REPORT_LOCATION), data, reply, o… in ReportLocationInfo()
/ohos5.0/base/location/frameworks/native/geofence_sdk/source/
H A Dgeofence_sdk.cpp163 return HandleGnssfenceRequest(LocatorInterfaceCode::ADD_FENCE, request); in AddFenceV9()
168 return HandleGnssfenceRequest(LocatorInterfaceCode::REMOVE_FENCE, request); in RemoveFenceV9()
172 LocatorInterfaceCode code, std::shared_ptr<GeofenceRequest>& request) in HandleGnssfenceRequest()
191 return HandleGnssfenceRequest(LocatorInterfaceCode::ADD_GNSS_GEOFENCE, request); in AddGnssGeofence()
206 static_cast<int>(LocatorInterfaceCode::REMOVE_GNSS_GEOFENCE), data, reply); in RemoveGnssGeofence()
220 … static_cast<int>(LocatorInterfaceCode::GET_GEOFENCE_SUPPORT_COORDINATE_SYSTEM_TYPE), data, reply); in GetGeofenceSupportedCoordTypes()
/ohos5.0/base/location/frameworks/native/locator_agent/source/
H A Dlocator_agent.cpp236 return SendRequestToStub(static_cast<int>(LocatorInterfaceCode::START_LOCATING), in StartGnssLocating()
250 return SendRequestToStub(static_cast<int>(LocatorInterfaceCode::STOP_LOCATING), in StopGnssLocating()
264 return SendRequestToStub(static_cast<int>(LocatorInterfaceCode::REG_NMEA_CALLBACK_V9), in RegisterNmeaMessageCallback()
278 return SendRequestToStub(static_cast<int>(LocatorInterfaceCode::UNREG_NMEA_CALLBACK_V9), in UnregisterNmeaMessageCallback()
292 return SendRequestToStub(static_cast<int>(LocatorInterfaceCode::REG_GNSS_STATUS_CALLBACK), in RegisterGnssStatusCallback()
306 return SendRequestToStub(static_cast<int>(LocatorInterfaceCode::UNREG_GNSS_STATUS_CALLBACK), in UnregisterGnssStatusCallback()
/ohos5.0/base/location/services/location_locator/locator/include/
H A Dlocator_skeleton.h43 using LocatorMsgHandleMap = std::map<LocatorInterfaceCode, LocatorMsgHandle>;
116LocatorInterfaceCode code, MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dgeofence_sdk.h39 LocationErrCode HandleGnssfenceRequest(LocatorInterfaceCode code,
H A Dlocationhub_ipc_interface_code.h26 enum class LocatorInterfaceCode { enum
/ohos5.0/base/location/test/location_manager/source/
H A Dlocator_ability_test.cpp162 code = static_cast<uint16_t>(LocatorInterfaceCode::PROXY_PID_FOR_FREEZE);
164 code = static_cast<uint16_t>(LocatorInterfaceCode::RESET_ALL_PROXY);
H A Dlocator_skeleton_test.cpp1079 … locatorAbilityStub->DoProcessFenceRequest(LocatorInterfaceCode::ADD_FENCE, data, reply, identity);
1081 … locatorAbilityStub->DoProcessFenceRequest(LocatorInterfaceCode::ADD_FENCE, data, reply, identity);
1084 … locatorAbilityStub->DoProcessFenceRequest(LocatorInterfaceCode::ADD_FENCE, data, reply, identity);
/ohos5.0/base/location/services/location_network/network/source/
H A Dnetwork_ability.cpp574 …objectLocator->SendRequest(static_cast<int>(LocatorInterfaceCode::REPORT_LOCATION_ERROR), data, re… in ReportLocationError()
/ohos5.0/base/location/test/location_locator/source/
H A Dlocator_service_test.cpp2087 … locatorAbility->PostUnloadTask(static_cast<uint16_t>(LocatorInterfaceCode::PROXY_PID_FOR_FREEZE));
2088 locatorAbility->PostUnloadTask(static_cast<uint16_t>(LocatorInterfaceCode::RESET_ALL_PROXY));