Fixes:
gps/core/data-items/DataItemConcreteTypes.cpp:465:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
465 | snprintf(t, sizeof(t),
"[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
| ^
gps/core/data-items/DataItemConcreteTypes.cpp:514:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
514 | snprintf(t, sizeof(t),
"[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
| ^
2 errors generated.
Change-Id: I37188e7497f7ade97648fb41e2becd73f6b559a9
getCapablities impl is moved to LocAdapterBase
class as for QWES unify. All the adapters should use the
same implementation.
CRs-fixed: 3609221
Change-Id: I0e9f7af1437af47f20e27a9bad94231c594753c7
1 Add context call to get location qwes feature status directly.
2 Add data item to dispatch location qwes feature status.
3 EngineHub uses context call to get location qwes feature status.
4 xtwifi uses data item registration to get location qwes feature
status.
Change-Id: I489b7fadf2b06a4517ac4b362b6ff4d204f94080
CRs-Fixed: 3435284
1: Need to check the validity of elapased real time before
marking it as valid
2: Increase the allowed time between two get boot time call
from 10 micro seconds to 2 milli-seconds
Change-Id: If2f7ddb23ce72cb52f294ff44353f5c9a9421a9c
CRs-fixed: 3281559
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.
Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Fri Jan 15 22:14:25 2021 +0200
sm8450-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which we disabled.
Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
Author: Arian <arian.kulmer@web.de>
Date: Thu Apr 1 01:09:38 2021 +0200
sm8450-common: Remove xtwfi-client and xtwifi-inet-agent
Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64
Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
This fixes enum-conversion warning due to implicit type enum casting
between linked_list and msg_q which happens only for status -6.
Change-Id: I27ba74c4d840b7ba0cb1017d69a30fc25b80d6b9
-Wreorder-ctor is a compile-time, Clang-only flag which is enabled by
default since Clang 12, which will warn whenever a specified field will
be initialized right after field specified below it. However, since it
doesn't sweep through all fields, compiler may miss some of them.
This order has been checked thoroughly through many trial and errors to
ensure that no such warns will be triggered anymore.
Change-Id: Id24cbb7277dc8d6c02767f8f365818ab6c017683
Enable few more important compilation flags which will consider
warnings as errors. Most of these flags were configured to be
only warning for mobile SPs, but for wearable SPs some of them
are configured to be errors. So configure these as in common
GNSS flags so that same set of flags could be applied to mobile
SPs too.
Fix compilation errors which were showing up, when these flags
were enabled.
Change-Id: I62ef74419d4416252dfc8b25251ba3a51d522bfd
CRs-Fixed: 3292623
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00