diff options
author | Kevin Tang <zhikait@codeaurora.org> | 2020-09-20 21:26:52 -0700 |
---|---|---|
committer | Kevin Tang <zhikait@codeaurora.org> | 2020-09-20 21:33:36 -0700 |
commit | de300a5b3c632358732c46f50e7473aeaeec59ca (patch) | |
tree | fb3cbb7d792a3eeb52820bc23555eb950b9b0f30 /core/LocApiBase.cpp | |
parent | c155527978989fbb56a755cf85ea561e11ff18a5 (diff) |
LocApi* fixes and clean up
Removed setXtraData and installAGpsCert that are not used; and
corrected getGnssEnergyConsumed and setMeasurementCorrections
from using the wrong thread context.
Change-Id: Id2a0e9dcc67edaaacf4f1a5e7e210700cd82ef6b
CRs-Fixed: 2782006
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 6685add..0044d07 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -635,10 +635,6 @@ void LocApiBase:: setTime(LocGpsUtcTime /*time*/, int64_t /*timeReference*/, int /*uncertainty*/) DEFAULT_IMPL() -enum loc_api_adapter_err LocApiBase:: - setXtraData(char* /*data*/, int /*length*/) -DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS) - void LocApiBase:: atlOpenStatus(int /*handle*/, int /*is_succ*/, char* /*apn*/, uint32_t /*apnLen*/, AGpsBearerType /*bear*/, LocAGpsType /*agpsType*/, @@ -725,9 +721,9 @@ LocationError LocApiBase::setEmergencyExtensionWindowSync( const uint32_t /*emergencyExtensionSeconds*/) DEFAULT_IMPL(LOCATION_ERROR_SUCCESS) -LocationError LocApiBase::setMeasurementCorrections( - const GnssMeasurementCorrections /*gnssMeasurementCorrections*/) -DEFAULT_IMPL(LOCATION_ERROR_SUCCESS) +void LocApiBase::setMeasurementCorrections( + const GnssMeasurementCorrections& /*gnssMeasurementCorrections*/) +DEFAULT_IMPL() void LocApiBase:: getWwanZppFix() @@ -745,12 +741,6 @@ void LocApiBase:: requestForAidingData(GnssAidingDataSvMask /*svDataMask*/) DEFAULT_IMPL() -void LocApiBase:: - installAGpsCert(const LocDerEncodedCertificate* /*pData*/, - size_t /*length*/, - uint32_t /*slotBitMask*/) -DEFAULT_IMPL() - LocationError LocApiBase:: setXtraVersionCheckSync(uint32_t /*check*/) DEFAULT_IMPL(LOCATION_ERROR_SUCCESS) @@ -787,8 +777,8 @@ void LocApiBase:: LocApiResponse* /*adapterResponse*/) DEFAULT_IMPL() -LocationError LocApiBase::getGnssEnergyConsumed() -DEFAULT_IMPL(LOCATION_ERROR_SUCCESS) +void LocApiBase::getGnssEnergyConsumed() +DEFAULT_IMPL() void LocApiBase::addGeofence(uint32_t /*clientId*/, const GeofenceOption& /*options*/, |