Commit graph

71 commits

Author SHA1 Message Date
Zhoulu Luo
9fe51b7593 AU_LINUX_ANDROID_KK.04.04.04.010.161 based on quic/aosp/kk
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlQYPVMACgkQoUgPZYCpAfFH4gCeMO6B2RcmkK4FiGKyMAGyby70
 q1kAoKNW3qC2PpZ2TR02ASrbkjfuyjJv
 =+Hrp
 -----END PGP SIGNATURE-----

Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.161' into HEAD

AU_LINUX_ANDROID_KK.04.04.04.010.161 based on quic/aosp/kk

Conflicts:
	loc_api/libloc_api_50001/loc_eng.cpp
	loc_api/libloc_api_50001/loc_eng.h

Change-Id: Ib51f82aa83a2aa7ea63a10efffe5e7eef8a5d135
2014-09-18 12:26:41 -07:00
Linux Build Service Account
8a5b0aaa29 Merge "add support for apq8026_lw" 2014-08-31 08:23:48 -07:00
Dante Russo
06ccada997 add support for apq8026_lw
LW gets a stripped down feature set

Change-Id: If46a2e369e8bc8adb33629a0d0bccffb60da9d10
2014-08-27 12:27:58 -07:00
Sudhir Sharma
11a39d65a8 AU_LINUX_ANDROID_KK.04.04.04.010.110 based on quic/aosp/kk
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlP0pJ4ACgkQoUgPZYCpAfEsUwCdGjNzYIPjaZVFcZdeL246BVXQ
 PZ8AnibMuxZm7CO5PzCHKg3tJQdA0msp
 =x/5c
 -----END PGP SIGNATURE-----

Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.110' into HEAD

AU_LINUX_ANDROID_KK.04.04.04.010.110 based on quic/aosp/kk

Change-Id: Ibdbb06bff5d0c6bd1aec3f6243ae864b70818277
2014-08-22 16:44:20 -07:00
Linux Build Service Account
b39a4aaa01 Merge "agps cert install api implementation" 2014-08-20 10:42:12 -07:00
Sudhir Sharma
2e5ca6dde7 AU_LINUX_ANDROID_KK.04.04.04.010.094 based on quic/aosp/kk
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlPoLFcACgkQoUgPZYCpAfHA3gCgxHO4Ygg/L4/AivXneonD8kls
 t80AoOVB7Ts81w7Qea3Ui7jhoq/jbRui
 =UdP7
 -----END PGP SIGNATURE-----

Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.094' into HEAD

AU_LINUX_ANDROID_KK.04.04.04.010.094 based on quic/aosp/kk

Change-Id: I0b9428f15516e1f6b6cd625caa2e4af86b9c1c5e
2014-08-11 13:38:27 -07:00
Kevin Tang
2abe41d44f Fix for CR 692085, error mapping incorrect in one of the cases
eLOC_CLIENT_FAILURE_INTERNAL returned from loc_api_v02 was mapped
to LOC_API_ADAPTER_ERR_FAILUR, however in loc_eng_start_handle it
is LOC_API_ADAPTER_ERR_GENERAL_FAILURE that is being checked for.
Created a new error ID LOC_API_ADAPTER_ERR_INTERNAL specifically
for this error case.

Change-Id: Ib2ad6e983d6c598ec57f1a2584166da2be95946b
CRs-Fixed: 706520
2014-08-07 18:14:43 -07:00
Dante Russo
5cdfc25284 agps cert install api implementation
Implementation of the install agps certificate
API for installing certificates at runtime.

Change-Id: I49239b612381e81bd8a4c0a5773783572d4b2d9a
2014-08-06 11:45:10 -07:00
Tushar Janefalkar
6925f8a04a Revert "Revert "Remove masks for Glonass""
This reverts commit 08237e52b6.

Change-Id: I4e507ef8777d45825234914841562e7f2901bae0
2014-08-05 15:00:31 -07:00
Kevin Tang
8977164eee fixing the SSR recovery race condition
There is a race condition where when startFix is
called right at the time when modem or griffon
subsystem is down, GPS HAL doesn't get the correct
error code, and therefore the right handling.

Mapped ENGINE_DOWN to ENGINE_OFFLINE, as they are
the same; and modified loc_eng_start_handler to
update the state upon the right error code.

There is a one problem though. General failure is
also handled as SSR. This is because of an unhandled
race condition in the kernel, so the error code
returned and propagated is not deterministic enough
for us to tell if this is SSR. Until that fix is in
place, we might have to treat general failure as SSR
although the side effect should be none. Only
semantically incorrect.

Change-Id: If93823f08428275da171bb22d73a06e38365585b
CR-Fixed: 692085
2014-07-30 18:02:41 -07:00
Sudhir Sharma
aa9a96e724 AU_LINUX_ANDROID_KK.04.04.04.010.073 based on quic/aosp/kk
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlPXonYACgkQoUgPZYCpAfEVqgCg0nHy46bwOfBa0LPbxt0PTV4r
 MGsAnAlTanVV1UfX/HzMGmdNyA0D0VZ4
 =Wxhx
 -----END PGP SIGNATURE-----

Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.073' into HEAD

AU_LINUX_ANDROID_KK.04.04.04.010.073 based on quic/aosp/kk

Change-Id: I5ae2317a9d43cde94c587cb292212f1435472607
2014-07-29 17:07:10 -07:00
Tushar Janefalkar
c091f138ef Add support for XTRA_VERSION_CHECK QMI LOC msg
A new QMI LOC msg is introduced which injects into
the modem a value that determines whether or not
the version of XTRA is to be checked

Change-Id: I0ef579332d064713ce73d80e66dc8c6fef1c1638
CRs-fixed: 649860
2014-07-21 10:45:06 -07:00
Tushar Janefalkar
cd5c8489bc Changes for GPS HAL compilation
Remove dependence on android_runtime and
return invalid value if gps daemon is not
responding

CRs-fixed: 649065

Change-Id: I16dbf1bffe6193114c1da08730f0627377179a2a
2014-07-03 15:08:51 -07:00
Tushar Janefalkar
fd8712acd2 Add option to fallback to LocApiV02
In case the lbs or izat libs are not
present, fall back to LocApiV02 to
obtain the qmi client handle. This
change will enable basic GPS functionality
without lbs or izat lib dependencies

CRs-fixed: 649065

Change-Id: Ic2c8418d785e891ad0a660a615cd5111fafc4ff2
2014-07-03 15:07:08 -07:00
Tushar Janefalkar
c828f0a56a Changes for GPS HAL compilation
Remove dependence on android_runtime and
return invalid value if gps daemon is not
responding

Change-Id: I16dbf1bffe6193114c1da08730f0627377179a2a
2014-06-17 13:46:56 -07:00
Tushar Janefalkar
08237e52b6 Revert "Remove masks for Glonass"
This reverts commit 7d128bf31e

Change-Id: I4e8a42e253237fbf23f02da996b94555653001f5
2014-06-17 11:23:10 -07:00
Tushar Janefalkar
e8958a3aab Add option to fallback to LocApiV02
In case the lbs or izat libs are not
present, fall back to LocApiV02 to
obtain the qmi client handle. This
change will enable basic GPS functionality
without lbs or izat lib dependencies

Change-Id: Ic2c8418d785e891ad0a660a615cd5111fafc4ff2
2014-06-17 11:20:01 -07:00
Dante Russo
9ffb10553d Revert "Avoid GPS build for MSM8916 64bit"
This reverts commit 0daddfd2fd.

Change-Id: I3138bb2d600618cfec5ec7588d5359b15a07cbad
2014-06-17 11:18:48 -07:00
Linux Build Service Account
0f6ba69df4 Merge "Revert "Avoid GPS build for MSM8916 64bit"" 2014-06-12 13:26:52 -07:00
Linux Build Service Account
c1f630ca55 Merge "Inject feature config" 2014-05-14 03:06:10 -07:00
Linux Build Service Account
8244c7075a Merge "Sending HW FLP request to ULP" 2014-05-09 01:05:25 -07:00
Pandari Sabhapathi
e0895bfa00 Sending HW FLP request to ULP
ULP Should be informed of all sessions in progress.
-Added methods to ULP Proxy for the purpose of reporting
batching sessions to ULP

CRs-fixed: 657554

Change-Id: I6e1d9728a0462b86c4ffe73bd5a6ac98e7c0fafe
2014-05-08 10:56:31 -07:00
Dante Russo
c7265bbe1d Revert "Avoid GPS build for MSM8916 64bit"
This reverts commit 0daddfd2fd.

Change-Id: I3138bb2d600618cfec5ec7588d5359b15a07cbad
2014-05-07 17:12:49 -07:00
Bhavna Sharma
89c671f187 Logging correction when printing IPV6 bearer type
Entry for AGPS_APN_BEARER_IPV6 was missing from NAME_VAL.

CRs-Fixed: 660143

Change-Id: If439dbc6b47c0483cf9b5d9ea37307c69953bfed
2014-05-06 11:39:15 -07:00
Tushar Janefalkar
9e585cb7bf Inject feature config
This change injects feature config
through using the first available
context

CRs-fixed: 616544

Change-Id: Idea5bd8acfff729589c071f20bec18679c89ab25
2014-05-05 12:10:59 -07:00
Linux Build Service Account
3c8b3ff4fd Merge "Assure associate callback is called in msgTask" 2014-04-18 13:42:24 -07:00
Dante Russo
996a633c02 Assure associate callback is called in msgTask
If MsgTask thread is created before context that
has associator is initialized, the associator
callback was not getting called.

CRs-fixed: 650061

Change-Id: I45d81e1b49fc8dcbc93d1ceef4fef38468ecb4f8
2014-04-16 10:36:03 -07:00
Linux Build Service Account
61e32edfdd Merge "Avoid GPS build for MSM8916 64bit" 2014-04-11 00:32:08 -07:00
Dante Russo
f9a26b2a68 Inject location only on CPI disabled
Includes inject API from GPS HAL and FLP HAL

CRs-fixed: 640452

Change-Id: Ied947e2862fb9ecca0142f9608cdcc889cac8a2b
2014-04-03 14:41:53 -07:00
Tushar Janefalkar
25244b3660 Close MDM node on shutdown
Added call to close mdm power node
as part of procedure to shutdown

CRs-fixed: 640576

Change-Id: Ie0c05272249401f6cf13e9443417b0ba5de1be52
2014-04-01 14:38:34 -07:00
Linux Build Service Account
6af016354e Merge "Adds power voting for QCA1530 SoC" 2014-03-31 02:18:49 -07:00
Valeri Atamaniouk
ec1fa23bc5 Adds power voting for QCA1530 SoC
When ALM is enabled, GPS HAL performs power vote for QCA1530 SoC
using engine lock mechanics.

Change-Id: I97c5c0460843fc1ad995932f97eeadb7b83fcb3b
2014-03-26 21:31:37 +02:00
Tushar Janefalkar
68d41f9b2c Cache geofence breach location
Report location from geofence breach
to LMS

CRs-fixed: 637615

Change-Id: I01a4272200e554e18878658ecb4f70740074b75e
2014-03-24 15:00:37 -07:00
Ashwin Kumar
0daddfd2fd Avoid GPS build for MSM8916 64bit
Avoid GPS compilation for MSM8916 64bit targets

CRs-fixed: 628263

Change-Id: I5fde20c25de005feb1c24017107858d4f19eed4f
2014-03-21 22:32:30 +05:30
Linux Build Service Account
dc4419cb2e Merge "Add sendMsg to LocApiBase for utility" 2014-02-27 07:21:02 -08:00
Dante Russo
a2e85b1df7 Add sendMsg to LocApiBase for utility
It is useful for LocApiBase derived classes to have
access to sending messages to the message handling
thread without going through an adapter

Change-Id: If60c473bfb504aab68ec661ecdfb012ef410c9cf
CRs-fixed: 615958
2014-02-26 17:40:14 -08:00
Pandari Sabhapathi
6645560aba Renaming class members for improved readability
Renaming class members to reflect their true purpose

CRs-fixed: 601353

Change-Id: I1eb2bc111a52845c515d1b9ca10fb800402c7c3d
2014-02-24 11:23:58 -08:00
Linux Build Service Account
d77629b0a0 Merge "Changes to inject sensor provider info to modem" 2014-02-13 23:07:48 -08:00
Hema Iyer Sankaranarayanan
e767a55d87 Changes to inject sensor provider info to modem
Changes to inject the sensor provider config info
to modem.

CRs-fixed: 604557

Change-Id: I3875e295f30d863a540efe22d6daf264d8d81476
2014-02-13 11:39:37 -08:00
Linux Build Service Account
2cd6734005 Merge "Add support for batched geofence breach reports" 2014-02-12 09:30:59 -08:00
Tushar Janefalkar
e620608cd7 Copy position mode to dummy ULP proxy
To avoid the race condition between
when the fix criteria is set and checked,
the position mode is copied to the dummy
ULP proxy and it is used to inform ULP
when a true proxy is registered

Change-Id: I72285c7926814ec85dae64e6634f0c79ea5e6c51
CRs-fixed: 604905
2014-02-10 16:46:39 -08:00
Tushar Janefalkar
b521eb94ae Add support for batched geofence breach reports
QMI_LOC added a new msg that sends geofence
breach reports in batches instead of individual
breach reports. This change adds constants to
support this new msg

Change-Id: Ic2f0bb66181ceda371a8a7a8d8681d62207835d1
CRs-fixed: 604766
2014-02-04 11:54:01 -08:00
Linux Build Service Account
7a08af9585 Merge "Emergency SUPL" 2014-02-03 21:59:59 -08:00
Jiafei Wen
39bc6e266b Emergency SUPL
This change is for the new added emergency
SUPL session. Adding a new field in gps.conf
named SUPL_ES, which is for emergency supl NI.

CRs-fixed: 600375

Change-Id: I7c21c5589259df4f1cb7ec2f850e708b2c4faa1a
2014-02-03 15:48:04 -08:00
Bhavna Sharma
dd90495f7b Add a new LocAdapterProxyBase class
LocAdapterProxyBase bridges the LocAdapterBase and
IzatAdapterBase to communicate SSR events.

CRs-Fixed: 598430

Change-Id: I8aa54f207e474974fa6fd5330c1545f94720a5cb
2014-01-27 20:41:56 -08:00
Linux Build Service Account
50a76390ba Merge "Adds ZPP Feature Implementation" 2013-12-06 16:32:55 -08:00
Linux Build Service Account
899247c295 Merge "Modem Batching Implementation" 2013-12-06 13:28:46 -08:00
Linux Build Service Account
0f62c03d04 Merge "Print default implementation at debug level" 2013-12-02 20:23:10 -08:00
Satheesh Jayakumar
6fc806515a Adds ZPP Feature Implementation
Changes for enabling Zero Power positioning feature in the
location services subsystem.It involves modifications to
HAL and ULP engine.
CRs-Fixed: 457060

Change-Id: I62187e66d44c5b40e1b2a41cafc0cb3e7c94f6d8
2013-11-26 18:10:03 -08:00
Dante Russo
97699b4f49 Print default implementation at debug level
The default implementation print was being printed
at warning level, which can create log spam.

Change-Id: I2d8c15fa0b8c647da57fbec6d0b7016117a82d7b
CRs-fixed: 576609
2013-11-22 10:36:09 -08:00