• Home
  • Raw
  • Download

Lines Matching refs:LocationErrCode

511 LocationErrCode LocatorProxy::GetSwitchStateV9(bool &isEnabled)  in GetSwitchStateV9()
514 LocationErrCode errorCode = SendMsgWithReplyV9(GET_SWITCH_STATE, reply); in GetSwitchStateV9()
525 LocationErrCode LocatorProxy::EnableAbilityV9(bool isEnabled) in EnableAbilityV9()
533 LocationErrCode errorCode = SendMsgWithDataReplyV9(ENABLE_ABILITY, data, reply); in EnableAbilityV9()
538 LocationErrCode LocatorProxy::UpdateSaAbilityV9() in UpdateSaAbilityV9()
540 LocationErrCode errorCode = SendSimpleMsgV9(UPDATE_SA_ABILITY); in UpdateSaAbilityV9()
545 LocationErrCode LocatorProxy::SendMsgWithDataReplyV9(const int msgId, MessageParcel& data, MessageP… in SendMsgWithDataReplyV9()
559 return LocationErrCode(reply.ReadInt32()); in SendMsgWithDataReplyV9()
562 LocationErrCode LocatorProxy::SendMsgWithReplyV9(const int msgId, MessageParcel& reply) in SendMsgWithReplyV9()
572 LocationErrCode LocatorProxy::SendSimpleMsgV9(const int msgId) in SendSimpleMsgV9()
578 LocationErrCode LocatorProxy::SendRegisterMsgToRemoteV9(const int msgId, const sptr<IRemoteObject>&… in SendRegisterMsgToRemoteV9()
602 return LocationErrCode(reply.ReadInt32()); in SendRegisterMsgToRemoteV9()
605 LocationErrCode LocatorProxy::RegisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) in RegisterSwitchCallbackV9()
607 LocationErrCode errorCode = SendRegisterMsgToRemoteV9(REG_SWITCH_CALLBACK, callback); in RegisterSwitchCallbackV9()
612 LocationErrCode LocatorProxy::UnregisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) in UnregisterSwitchCallbackV9()
614 LocationErrCode errorCode = SendRegisterMsgToRemoteV9(UNREG_SWITCH_CALLBACK, callback); in UnregisterSwitchCallbackV9()
619 LocationErrCode LocatorProxy::RegisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback) in RegisterGnssStatusCallbackV9()
621 LocationErrCode errorCode = SendRegisterMsgToRemoteV9(REG_GNSS_STATUS_CALLBACK, callback); in RegisterGnssStatusCallbackV9()
626 LocationErrCode LocatorProxy::UnregisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback) in UnregisterGnssStatusCallbackV9()
628 LocationErrCode errorCode = SendRegisterMsgToRemoteV9(UNREG_GNSS_STATUS_CALLBACK, callback); in UnregisterGnssStatusCallbackV9()
633 LocationErrCode LocatorProxy::RegisterNmeaMessageCallbackV9(const sptr<IRemoteObject>& callback) in RegisterNmeaMessageCallbackV9()
646 LocationErrCode errorCode = SendMsgWithDataReplyV9(REG_NMEA_CALLBACK_v9, data, reply); in RegisterNmeaMessageCallbackV9()
651 LocationErrCode LocatorProxy::UnregisterNmeaMessageCallbackV9(const sptr<IRemoteObject>& callback) in UnregisterNmeaMessageCallbackV9()
664 LocationErrCode errorCode = SendMsgWithDataReplyV9(UNREG_NMEA_CALLBACK_v9, data, reply); in UnregisterNmeaMessageCallbackV9()
669 LocationErrCode LocatorProxy::RegisterCountryCodeCallbackV9(const sptr<IRemoteObject> &callback) in RegisterCountryCodeCallbackV9()
671 LocationErrCode errorCode = SendRegisterMsgToRemoteV9(REG_COUNTRY_CODE_CALLBACK, callback); in RegisterCountryCodeCallbackV9()
676 LocationErrCode LocatorProxy::UnregisterCountryCodeCallbackV9(const sptr<IRemoteObject> &callback) in UnregisterCountryCodeCallbackV9()
678 LocationErrCode errorCode = SendRegisterMsgToRemoteV9(UNREG_COUNTRY_CODE_CALLBACK, callback); in UnregisterCountryCodeCallbackV9()
683 LocationErrCode LocatorProxy::StartLocatingV9(std::unique_ptr<RequestConfig>& requestConfig, in StartLocatingV9()
697 LocationErrCode errorCode = SendMsgWithDataReplyV9(START_LOCATING, data, reply); in StartLocatingV9()
702 LocationErrCode LocatorProxy::StopLocatingV9(sptr<ILocatorCallback>& callback) in StopLocatingV9()
708 LocationErrCode errorCode = SendRegisterMsgToRemoteV9(STOP_LOCATING, callback->AsObject()); in StopLocatingV9()
713 LocationErrCode LocatorProxy::GetCacheLocationV9(std::unique_ptr<Location> &loc) in GetCacheLocationV9()
716 LocationErrCode errorCode = SendMsgWithReplyV9(GET_CACHE_LOCATION, reply); in GetCacheLocationV9()
726 LocationErrCode LocatorProxy::IsGeoConvertAvailableV9(bool &isAvailable) in IsGeoConvertAvailableV9()
729 LocationErrCode errorCode = SendMsgWithReplyV9(GEO_IS_AVAILABLE, reply); in IsGeoConvertAvailableV9()
739 LocationErrCode LocatorProxy::GetAddressByCoordinateV9(MessageParcel &data, in GetAddressByCoordinateV9()
743 LocationErrCode errorCode = SendMsgWithDataReplyV9(GET_FROM_COORDINATE, data, reply); in GetAddressByCoordinateV9()
757 LocationErrCode LocatorProxy::GetAddressByLocationNameV9(MessageParcel &data, in GetAddressByLocationNameV9()
761 LocationErrCode errorCode = SendMsgWithDataReplyV9(GET_FROM_LOCATION_NAME, data, reply); in GetAddressByLocationNameV9()
775 LocationErrCode LocatorProxy::IsLocationPrivacyConfirmedV9(const int type, bool &isConfirmed) in IsLocationPrivacyConfirmedV9()
783 LocationErrCode errorCode = SendMsgWithDataReplyV9(IS_PRIVACY_COMFIRMED, data, reply); in IsLocationPrivacyConfirmedV9()
794 LocationErrCode LocatorProxy::SetLocationPrivacyConfirmStatusV9(const int type, bool isConfirmed) in SetLocationPrivacyConfirmStatusV9()
804 LocationErrCode errorCode = SendMsgWithDataReplyV9(SET_PRIVACY_COMFIRM_STATUS, data, reply); in SetLocationPrivacyConfirmStatusV9()
809 LocationErrCode LocatorProxy::RegisterCachedLocationCallbackV9(std::unique_ptr<CachedGnssLocationsR… in RegisterCachedLocationCallbackV9()
825 LocationErrCode errorCode = SendMsgWithDataReplyV9(REG_CACHED_CALLBACK, data, reply); in RegisterCachedLocationCallbackV9()
830 LocationErrCode LocatorProxy::UnregisterCachedLocationCallbackV9(sptr<ICachedLocationsCallback>& ca… in UnregisterCachedLocationCallbackV9()
832LocationErrCode errorCode = SendRegisterMsgToRemoteV9(UNREG_CACHED_CALLBACK, callback->AsObject()); in UnregisterCachedLocationCallbackV9()
837 LocationErrCode LocatorProxy::GetCachedGnssLocationsSizeV9(int &size) in GetCachedGnssLocationsSizeV9()
840 LocationErrCode errorCode = SendMsgWithReplyV9(GET_CACHED_LOCATION_SIZE, reply); in GetCachedGnssLocationsSizeV9()
851 LocationErrCode LocatorProxy::FlushCachedGnssLocationsV9() in FlushCachedGnssLocationsV9()
853 LocationErrCode errorCode = SendSimpleMsgV9(FLUSH_CACHED_LOCATIONS); in FlushCachedGnssLocationsV9()
858 LocationErrCode LocatorProxy::SendCommandV9(std::unique_ptr<LocationCommand>& commands) in SendCommandV9()
870 LocationErrCode errorCode = SendMsgWithDataReplyV9(SEND_COMMAND, data, reply); in SendCommandV9()
875 LocationErrCode LocatorProxy::AddFenceV9(std::unique_ptr<GeofenceRequest>& request) in AddFenceV9()
890 LocationErrCode errorCode = SendMsgWithDataReplyV9(ADD_FENCE, data, reply); in AddFenceV9()
895 LocationErrCode LocatorProxy::RemoveFenceV9(std::unique_ptr<GeofenceRequest>& request) in RemoveFenceV9()
910 LocationErrCode errorCode = SendMsgWithDataReplyV9(REMOVE_FENCE, data, reply); in RemoveFenceV9()
915 LocationErrCode LocatorProxy::GetIsoCountryCodeV9(std::shared_ptr<CountryCode>& countryCode) in GetIsoCountryCodeV9()
921 LocationErrCode errorCode = SendMsgWithReplyV9(GET_ISO_COUNTRY_CODE, reply); in GetIsoCountryCodeV9()
932 LocationErrCode LocatorProxy::EnableLocationMockV9() in EnableLocationMockV9()
939 LocationErrCode errorCode = SendMsgWithDataReplyV9(ENABLE_LOCATION_MOCK, data, reply); in EnableLocationMockV9()
944 LocationErrCode LocatorProxy::DisableLocationMockV9() in DisableLocationMockV9()
951 LocationErrCode errorCode = SendMsgWithDataReplyV9(DISABLE_LOCATION_MOCK, data, reply); in DisableLocationMockV9()
956 LocationErrCode LocatorProxy::SetMockedLocationsV9( in SetMockedLocationsV9()
970 LocationErrCode errorCode = SendMsgWithDataReplyV9(SET_MOCKED_LOCATIONS, data, reply); in SetMockedLocationsV9()
975 LocationErrCode LocatorProxy::EnableReverseGeocodingMockV9() in EnableReverseGeocodingMockV9()
978 LocationErrCode errorCode = SendMsgWithReplyV9(ENABLE_REVERSE_GEOCODE_MOCK, reply); in EnableReverseGeocodingMockV9()
983 LocationErrCode LocatorProxy::DisableReverseGeocodingMockV9() in DisableReverseGeocodingMockV9()
986 LocationErrCode errorCode = SendMsgWithReplyV9(DISABLE_REVERSE_GEOCODE_MOCK, reply); in DisableReverseGeocodingMockV9()
991 LocationErrCode LocatorProxy::SetReverseGeocodingMockInfoV9(std::vector<std::shared_ptr<GeocodingMo… in SetReverseGeocodingMockInfoV9()
1002 LocationErrCode errorCode = SendMsgWithDataReplyV9(SET_REVERSE_GEOCODE_MOCKINFO, data, reply); in SetReverseGeocodingMockInfoV9()
1007 LocationErrCode LocatorProxy::ProxyUidForFreezeV9(int32_t uid, bool isProxy) in ProxyUidForFreezeV9()
1019 LocationErrCode errorCode = SendMsgWithDataReplyV9(PROXY_UID_FOR_FREEZE, data, reply); in ProxyUidForFreezeV9()
1024 LocationErrCode LocatorProxy::ResetAllProxyV9() in ResetAllProxyV9()
1027 LocationErrCode errorCode = SendMsgWithReplyV9(RESET_ALL_PROXY, reply); in ResetAllProxyV9()