/ohos5.0/base/location/frameworks/native/locator_sdk/source/ |
H A D | locator_proxy.cpp | 50 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 D | locatorabilitystub_fuzzer.cpp | 108 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 D | locator_skeleton.cpp | 58 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 D | locator_ability.cpp | 422 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 D | subability_common.cpp | 229 …objectLocator->SendRequest(static_cast<int>(LocatorInterfaceCode::REPORT_LOCATION), data, reply, o… in ReportLocationInfo()
|
/ohos5.0/base/location/frameworks/native/geofence_sdk/source/ |
H A D | geofence_sdk.cpp | 163 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 D | locator_agent.cpp | 236 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 D | locator_skeleton.h | 43 using LocatorMsgHandleMap = std::map<LocatorInterfaceCode, LocatorMsgHandle>; 116 … LocatorInterfaceCode code, MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | geofence_sdk.h | 39 LocationErrCode HandleGnssfenceRequest(LocatorInterfaceCode code,
|
H A D | locationhub_ipc_interface_code.h | 26 enum class LocatorInterfaceCode { enum
|
/ohos5.0/base/location/test/location_manager/source/ |
H A D | locator_ability_test.cpp | 162 code = static_cast<uint16_t>(LocatorInterfaceCode::PROXY_PID_FOR_FREEZE); 164 code = static_cast<uint16_t>(LocatorInterfaceCode::RESET_ALL_PROXY);
|
H A D | locator_skeleton_test.cpp | 1079 … 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 D | network_ability.cpp | 574 …objectLocator->SendRequest(static_cast<int>(LocatorInterfaceCode::REPORT_LOCATION_ERROR), data, re… in ReportLocationError()
|
/ohos5.0/base/location/test/location_locator/source/ |
H A D | locator_service_test.cpp | 2087 … locatorAbility->PostUnloadTask(static_cast<uint16_t>(LocatorInterfaceCode::PROXY_PID_FOR_FREEZE)); 2088 locatorAbility->PostUnloadTask(static_cast<uint16_t>(LocatorInterfaceCode::RESET_ALL_PROXY));
|