/base/location/interfaces/inner_api/include/ |
D | locator_proxy.h | 84 LocationErrCode UpdateSaAbilityV9(); 85 LocationErrCode GetSwitchStateV9(bool &isEnabled); 86 LocationErrCode EnableAbilityV9(bool isEnabled); 87 LocationErrCode RegisterSwitchCallbackV9(const sptr<IRemoteObject> &callback); 88 LocationErrCode UnregisterSwitchCallbackV9(const sptr<IRemoteObject> &callback); 89 LocationErrCode RegisterGnssStatusCallbackV9(const sptr<IRemoteObject> &callback); 90 LocationErrCode UnregisterGnssStatusCallbackV9(const sptr<IRemoteObject> &callback); 91 LocationErrCode RegisterNmeaMessageCallbackV9(const sptr<IRemoteObject> &callback); 92 LocationErrCode UnregisterNmeaMessageCallbackV9(const sptr<IRemoteObject> &callback); 93 LocationErrCode RegisterCountryCodeCallbackV9(const sptr<IRemoteObject> &callback); [all …]
|
D | locator.h | 79 virtual LocationErrCode IsLocationEnabledV9(bool &isEnabled) = 0; 80 virtual LocationErrCode EnableAbilityV9(bool enable) = 0; 81 virtual LocationErrCode StartLocatingV9(std::unique_ptr<RequestConfig>& requestConfig, 83 virtual LocationErrCode StopLocatingV9(sptr<ILocatorCallback>& callback) = 0; 84 virtual LocationErrCode GetCachedLocationV9(std::unique_ptr<Location> &loc) = 0; 85 virtual LocationErrCode RegisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) = 0; 86 virtual LocationErrCode UnregisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) = 0; 87 virtual LocationErrCode IsGeoServiceAvailableV9(bool &isAvailable) = 0; 88 virtual LocationErrCode GetAddressByCoordinateV9(MessageParcel &data, 90 virtual LocationErrCode GetAddressByLocationNameV9(MessageParcel &data, [all …]
|
D | locator_impl.h | 78 LocationErrCode IsLocationEnabledV9(bool &isEnabled) override; 79 LocationErrCode EnableAbilityV9(bool enable) override; 80 LocationErrCode StartLocatingV9(std::unique_ptr<RequestConfig>& requestConfig, 82 LocationErrCode StopLocatingV9(sptr<ILocatorCallback>& callback) override; 83 LocationErrCode GetCachedLocationV9(std::unique_ptr<Location> &loc) override; 84 LocationErrCode RegisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) override; 85 LocationErrCode UnregisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) override; 86 LocationErrCode RegisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback) override; 87 LocationErrCode UnregisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback) override; 88 LocationErrCode RegisterNmeaMessageCallbackV9(const sptr<IRemoteObject>& callback) override; [all …]
|
/base/location/test/location_gnss/mock/include/ |
D | mock_gnss_ability_stub.h | 38 MOCK_METHOD(LocationErrCode, RefrashRequirements, ()); 39 …MOCK_METHOD(LocationErrCode, RegisterGnssStatusCallback, (const sptr<IRemoteObject>& callback, pid… 40 … MOCK_METHOD(LocationErrCode, UnregisterGnssStatusCallback, (const sptr<IRemoteObject>& callback)); 41 …MOCK_METHOD(LocationErrCode, RegisterNmeaMessageCallback, (const sptr<IRemoteObject>& callback, pi… 42 …MOCK_METHOD(LocationErrCode, UnregisterNmeaMessageCallback, (const sptr<IRemoteObject>& callback)); 43 …MOCK_METHOD(LocationErrCode, RegisterCachedCallback, (const std::unique_ptr<CachedGnssLocationsReq… 45 MOCK_METHOD(LocationErrCode, UnregisterCachedCallback, (const sptr<IRemoteObject>& callback)); 46 MOCK_METHOD(LocationErrCode, GetCachedGnssLocationsSize, (int &size)); 47 MOCK_METHOD(LocationErrCode, FlushCachedGnssLocations, ()); 48 MOCK_METHOD(LocationErrCode, SendCommand, (std::unique_ptr<LocationCommand>& commands)); [all …]
|
/base/location/services/location_locator/locator/include/ |
D | gnss_ability_proxy.h | 33 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override; 34 LocationErrCode SetEnable(bool state) override; 35 LocationErrCode RefrashRequirements() override; 36 …LocationErrCode RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) overrid… 37 LocationErrCode UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) override; 38 …LocationErrCode RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) overri… 39 LocationErrCode UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) override; 40 … LocationErrCode RegisterCachedCallback(const std::unique_ptr<CachedGnssLocationsRequest>& request, 42 LocationErrCode UnregisterCachedCallback(const sptr<IRemoteObject>& callback) override; 43 LocationErrCode GetCachedGnssLocationsSize(int &size) override; [all …]
|
D | locator_ability.h | 67 LocationErrCode UpdateSaAbility(); 68 LocationErrCode GetSwitchState(int& state); 69 LocationErrCode EnableAbility(bool isEnabled); 70 LocationErrCode RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid); 71 LocationErrCode UnregisterSwitchCallback(const sptr<IRemoteObject>& callback); 72 LocationErrCode RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid); 73 LocationErrCode UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback); 74 LocationErrCode RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid); 75 LocationErrCode UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback); 76 LocationErrCode RegisterCountryCodeCallback(const sptr<IRemoteObject>& callback, pid_t uid); [all …]
|
D | network_ability_proxy.h | 36 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override; 37 LocationErrCode SetEnable(bool state) override; 38 LocationErrCode SelfRequest(bool state) override; 39 LocationErrCode EnableMock() override; 40 LocationErrCode DisableMock() override; 41 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
D | passive_ability_proxy.h | 36 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override; 37 LocationErrCode SetEnable(bool state) override; 38 LocationErrCode EnableMock() override; 39 LocationErrCode DisableMock() override; 40 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
D | subability_common.h | 61 virtual LocationErrCode SendLocationRequest(WorkRecord &workrecord) = 0; 62 virtual LocationErrCode SetEnable(bool state) = 0; 63 virtual LocationErrCode EnableMock() = 0; 64 virtual LocationErrCode DisableMock() = 0; 65 virtual LocationErrCode SetMocked(const int timeInterval,
|
/base/location/services/location_gnss/gnss/include/ |
D | gnss_ability_skeleton.h | 32 virtual LocationErrCode RefrashRequirements() = 0; 33 …virtual LocationErrCode RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid)… 34 virtual LocationErrCode UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) = 0; 35 …virtual LocationErrCode RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid… 36 virtual LocationErrCode UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) = 0; 37 …virtual LocationErrCode RegisterCachedCallback(const std::unique_ptr<CachedGnssLocationsRequest>& … 39 virtual LocationErrCode UnregisterCachedCallback(const sptr<IRemoteObject>& callback) = 0; 41 virtual LocationErrCode GetCachedGnssLocationsSize(int &size) = 0; 42 virtual LocationErrCode FlushCachedGnssLocations() = 0; 43 virtual LocationErrCode SendCommand(std::unique_ptr<LocationCommand>& commands) = 0; [all …]
|
D | gnss_ability.h | 76 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override; 77 LocationErrCode SetEnable(bool state) override; 78 LocationErrCode RefrashRequirements() override; 79 …LocationErrCode RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) overrid… 80 LocationErrCode UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) override; 81 …LocationErrCode RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) overri… 82 LocationErrCode UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) override; 83 … LocationErrCode RegisterCachedCallback(const std::unique_ptr<CachedGnssLocationsRequest>& request, 85 LocationErrCode UnregisterCachedCallback(const sptr<IRemoteObject>& callback) override; 87 LocationErrCode GetCachedGnssLocationsSize(int &size) override; [all …]
|
/base/location/services/location_locator/locator/source/ |
D | gnss_ability_proxy.cpp | 30 LocationErrCode GnssAbilityProxy::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() 42 return LocationErrCode(reply.ReadInt32()); in SendLocationRequest() 45 LocationErrCode GnssAbilityProxy::SetEnable(bool state) in SetEnable() 58 return LocationErrCode(reply.ReadInt32()); in SetEnable() 61 LocationErrCode GnssAbilityProxy::RefrashRequirements() in RefrashRequirements() 72 return LocationErrCode(reply.ReadInt32()); in RefrashRequirements() 75 LocationErrCode GnssAbilityProxy::RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, p… in RegisterGnssStatusCallback() 87 return LocationErrCode(reply.ReadInt32()); in RegisterGnssStatusCallback() 90 LocationErrCode GnssAbilityProxy::UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) in UnregisterGnssStatusCallback() 102 return LocationErrCode(reply.ReadInt32()); in UnregisterGnssStatusCallback() [all …]
|
D | network_ability_proxy.cpp | 31 LocationErrCode NetworkAbilityProxy::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() 43 return LocationErrCode(reply.ReadInt32()); in SendLocationRequest() 46 LocationErrCode NetworkAbilityProxy::SetEnable(bool state) in SetEnable() 59 return LocationErrCode(reply.ReadInt32()); in SetEnable() 62 LocationErrCode NetworkAbilityProxy::SelfRequest(bool state) in SelfRequest() 74 return LocationErrCode(reply.ReadInt32()); in SelfRequest() 77 LocationErrCode NetworkAbilityProxy::EnableMock() in EnableMock() 93 return LocationErrCode(reply.ReadInt32()); in EnableMock() 96 LocationErrCode NetworkAbilityProxy::DisableMock() in DisableMock() 112 return LocationErrCode(reply.ReadInt32()); in DisableMock() [all …]
|
D | passive_ability_proxy.cpp | 31 LocationErrCode PassiveAbilityProxy::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() 43 return LocationErrCode(reply.ReadInt32()); in SendLocationRequest() 46 LocationErrCode PassiveAbilityProxy::SetEnable(bool state) in SetEnable() 59 return LocationErrCode(reply.ReadInt32()); in SetEnable() 62 LocationErrCode PassiveAbilityProxy::EnableMock() in EnableMock() 78 return LocationErrCode(reply.ReadInt32()); in EnableMock() 81 LocationErrCode PassiveAbilityProxy::DisableMock() in DisableMock() 97 return LocationErrCode(reply.ReadInt32()); in DisableMock() 100 LocationErrCode PassiveAbilityProxy::SetMocked( in SetMocked() 123 return LocationErrCode(reply.ReadInt32()); in SetMocked()
|
D | locator_ability.cpp | 317 LocationErrCode LocatorAbility::UpdateSaAbility() in UpdateSaAbility() 370 LocationErrCode LocatorAbility::EnableAbility(bool isEnabled) in EnableAbility() 385 LocationErrCode LocatorAbility::GetSwitchState(int& state) in GetSwitchState() 397 LocationErrCode LocatorAbility::IsLocationPrivacyConfirmed(const int type, bool& isConfirmed) in IsLocationPrivacyConfirmed() 402 LocationErrCode LocatorAbility::SetLocationPrivacyConfirmStatus(const int type, bool isConfirmed) in SetLocationPrivacyConfirmStatus() 407 LocationErrCode LocatorAbility::RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t u… in RegisterSwitchCallback() 428 LocationErrCode LocatorAbility::UnregisterSwitchCallback(const sptr<IRemoteObject>& callback) in UnregisterSwitchCallback() 454 LocationErrCode LocatorAbility::SendGnssRequest(int type, MessageParcel &data, MessageParcel &reply) in SendGnssRequest() 466 return LocationErrCode(reply.ReadInt32()); in SendGnssRequest() 469 LocationErrCode LocatorAbility::RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid… in RegisterGnssStatusCallback() [all …]
|
/base/location/test/location_network/mock/include/ |
D | mock_network_ability_stub.h | 38 MOCK_METHOD(LocationErrCode, SelfRequest, (bool state)); 39 MOCK_METHOD(LocationErrCode, SendLocationRequest, (WorkRecord &workrecord)); 40 MOCK_METHOD(LocationErrCode, SetEnable, (bool state)); 41 MOCK_METHOD(LocationErrCode, EnableMock, ()); 42 MOCK_METHOD(LocationErrCode, DisableMock, ()); 43 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/location/frameworks/native/source/ |
D | locator_impl.cpp | 309 LocationErrCode LocatorImpl::IsLocationEnabledV9(bool &isEnabled) in IsLocationEnabledV9() 315 LocationErrCode LocatorImpl::EnableAbilityV9(bool enable) in EnableAbilityV9() 321 LocationErrCode LocatorImpl::StartLocatingV9(std::unique_ptr<RequestConfig>& requestConfig, in StartLocatingV9() 328 LocationErrCode LocatorImpl::StopLocatingV9(sptr<ILocatorCallback>& callback) in StopLocatingV9() 334 LocationErrCode LocatorImpl::GetCachedLocationV9(std::unique_ptr<Location> &loc) in GetCachedLocationV9() 340 LocationErrCode LocatorImpl::RegisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) in RegisterSwitchCallbackV9() 346 LocationErrCode LocatorImpl::UnregisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) in UnregisterSwitchCallbackV9() 352 LocationErrCode LocatorImpl::RegisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback) in RegisterGnssStatusCallbackV9() 358 LocationErrCode LocatorImpl::UnregisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback) in UnregisterGnssStatusCallbackV9() 364 LocationErrCode LocatorImpl::RegisterNmeaMessageCallbackV9(const sptr<IRemoteObject>& callback) in RegisterNmeaMessageCallbackV9() [all …]
|
D | locator_proxy.cpp | 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() [all …]
|
/base/location/test/location_passive/mock/include/ |
D | mock_passive_ability_stub.h | 38 MOCK_METHOD(LocationErrCode, SendLocationRequest, (WorkRecord &workrecord)); 39 MOCK_METHOD(LocationErrCode, SetEnable, (bool state)); 40 MOCK_METHOD(LocationErrCode, EnableMock, ()); 41 MOCK_METHOD(LocationErrCode, DisableMock, ()); 42 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/location/frameworks/js/napi/include/ |
D | location_napi_event.h | 78 LocationErrCode SubscribeLocationServiceStateV9(const napi_env& env, 80 LocationErrCode SubscribeGnssStatusV9(const napi_env& env, const napi_ref& handlerRef, 82 LocationErrCode SubscribeNmeaMessageV9(const napi_env& env, const napi_ref& handlerRef, 84 LocationErrCode SubscribeLocationChangeV9(const napi_env& env, const napi_value& object, 86 LocationErrCode SubscribeCacheLocationChangeV9(const napi_env& env, const napi_value& object, 88 LocationErrCode SubscribeFenceStatusChangeV9(const napi_env& env, const napi_value& object, const n… 89 LocationErrCode UnSubscribeLocationChangeV9(sptr<ILocatorCallback>& callback); 90 LocationErrCode UnSubscribeFenceStatusChangeV9(const napi_env& env, 92 LocationErrCode UnSubscribeCacheLocationChangeV9(sptr<ICachedLocationsCallback>& callback); 93 LocationErrCode UnSubscribeLocationServiceStateV9(sptr<LocationSwitchCallbackHost>& switchCallbackH… [all …]
|
/base/location/services/location_network/network/include/ |
D | network_ability.h | 58 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override; 59 LocationErrCode SetEnable(bool state) override; 60 LocationErrCode SelfRequest(bool state) override; 63 LocationErrCode EnableMock() override; 64 LocationErrCode DisableMock() override; 65 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
/base/location/services/location_passive/passive/include/ |
D | passive_ability.h | 55 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override; 56 LocationErrCode SetEnable(bool state) override; 59 LocationErrCode EnableMock() override; 60 LocationErrCode DisableMock() override; 61 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
/base/location/frameworks/js/napi/source/ |
D | location_napi_event.cpp | 105 LocationErrCode SubscribeLocationServiceStateV9(const napi_env& env, in SubscribeLocationServiceStateV9() 123 LocationErrCode SubscribeGnssStatusV9(const napi_env& env, const napi_ref& handlerRef, in SubscribeGnssStatusV9() 126 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeGnssStatusV9() 145 LocationErrCode SubscribeNmeaMessageV9(const napi_env& env, const napi_ref& handlerRef, in SubscribeNmeaMessageV9() 148 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeNmeaMessageV9() 165 LocationErrCode UnSubscribeLocationServiceStateV9(sptr<LocationSwitchCallbackHost>& switchCallbackH… in UnSubscribeLocationServiceStateV9() 179 LocationErrCode UnSubscribeGnssStatusV9(sptr<GnssStatusCallbackHost>& gnssStatusCallbackHost) in UnSubscribeGnssStatusV9() 193 LocationErrCode UnSubscribeNmeaMessageV9(sptr<NmeaMessageCallbackHost>& nmeaMessageCallbackHost) in UnSubscribeNmeaMessageV9() 213 LocationErrCode SubscribeLocationChangeV9(const napi_env& env, const napi_value& object, in SubscribeLocationChangeV9() 216 LocationErrCode errorCode = CheckLocationSwitchEnable(); in SubscribeLocationChangeV9() [all …]
|
/base/location/services/location_gnss/gnss/source/ |
D | gnss_ability.cpp | 115 LocationErrCode GnssAbility::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() 121 LocationErrCode GnssAbility::SetEnable(bool state) in SetEnable() 127 LocationErrCode GnssAbility::RefrashRequirements() in RefrashRequirements() 133 LocationErrCode GnssAbility::RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t … in RegisterGnssStatusCallback() 152 LocationErrCode GnssAbility::UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) in UnregisterGnssStatusCallback() 178 LocationErrCode GnssAbility::RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t… in RegisterNmeaMessageCallback() 197 LocationErrCode GnssAbility::UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) in UnregisterNmeaMessageCallback() 223 LocationErrCode GnssAbility::RegisterCachedCallback(const std::unique_ptr<CachedGnssLocationsReques… in RegisterCachedCallback() 241 LocationErrCode GnssAbility::UnregisterCachedCallback(const sptr<IRemoteObject>& callback) in UnregisterCachedCallback() 281 LocationErrCode GnssAbility::GetCachedGnssLocationsSize(int& size) in GetCachedGnssLocationsSize() [all …]
|
/base/location/services/location_passive/passive/source/ |
D | passive_ability.cpp | 80 LocationErrCode PassiveAbility::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() 86 LocationErrCode PassiveAbility::SetEnable(bool state) in SetEnable() 97 LocationErrCode PassiveAbility::EnableMock() in EnableMock() 105 LocationErrCode PassiveAbility::DisableMock() in DisableMock() 118 LocationErrCode PassiveAbility::SetMocked(const int timeInterval, in SetMocked()
|