Commit graph

366 commits

Author SHA1 Message Date
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
Linux Build Service Account
3cf2a8f3b7 Merge "Add SGLTE target field in gps.conf" 2014-01-18 17:58:29 -08:00
Jiafei Wen
db7d754cd0 Add SGLTE target field in gps.conf
This field is to indicate if the current
device is SGLTE target or not.

CRs-Fixed: 595803
Change-Id: Iba5bbd00d535e7616c3a5de86641087a28e8ebfd
2014-01-08 18:10:34 -08:00
Linux Build Service Account
6fd8b1347c Merge "Remove libandroid_runtime from makefile" 2013-12-20 14:04:41 -08:00
Dante Russo
6fd90ead05 Remove libandroid_runtime from makefile
Since libandroid_runtime is not used anymore, it
can be removed from the makefile, which will save
space in the binary.

Change-Id: Iadb3f0378e41af658d7b0256721508c5e7de4daf
CRs-fixed: 590483
2013-12-18 11:36:12 -08:00
Linux Build Service Account
493ecbb4bb Merge "Remove unused code under libloc_api" 2013-12-13 11:32:12 -08:00
Linux Build Service Account
3afeb4fd86 Merge "Update NMEA SV numbers" 2013-12-12 00:09:00 -08:00
Tushar Janefalkar
4996c5e955 Remove unused code under libloc_api
This folder of sources is no longer
used and is removed

Change-Id: I0b02f56e27346f20f890bc8105e77995e63c0350
CRs-fixed: 566508
2013-12-11 15:38:42 -08:00
Jiafei Wen
64cecc6a31 Update NMEA SV numbers
for GPGSV and GLGSV, the SV number
should be seperate for each.

CRs-Fixed: 570728
Change-Id: Ica350094d7220f1ec33cf02686a541c4191afe1d
2013-12-11 10:51:42 -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
a4d2fca86b Merge "added timer stop api" 2013-12-03 14:08:34 -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
Kevin Tang
0eeb1392f1 added timer stop api
loc_timer util currently can not be stopped.  Added stop api so that
clients can make use of.

CRs-Fixed: 579624

Change-Id: I17f80e46ecfbdf1b70eb158f1ee7eb1a92d5e765
2013-11-26 12:07:02 -08:00
Linux Build Service Account
8557c7afdf Merge "Added NULL check before function call" 2013-11-23 21:28:49 -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
Linux Build Service Account
461f6bb304 Merge "Changes to conditionally check and inject coarse position" 2013-11-21 01:41:59 -08:00
Ashwin Kumar
9d9c284fbf Added NULL check before function call
Added NULL check before calling nmea call back
function to prevent segmentation fault in case
no nmea call back is registered.

Change-Id: If2371f4522e12312630043c3953405f583829068
CRs-fixed: 578444
2013-11-20 14:12:57 +05:30
Hema Iyer Sankaranarayanan
b5ed3d8505 Changes to conditionally check and inject coarse position
Changes to GPS HAL to determine if wiper available before it does
CPI injection.

Change-Id: Ic481c020bf51ae55b001ab28a0b1caaa5de47cdd
2013-11-19 17:40:52 -08:00
Linux Build Service Account
3e5e65938d Merge "Fixes loc_ext and AFW concurrency issues" 2013-11-16 02:39:47 -08:00
Satheesh Jayakumar
e9d4048168 Fixes loc_ext and AFW concurrency issues
Part of changes so that loc_ext stack gets its own QMI_LOC client.
CRs-Fixed: 565281

Change-Id: I7dda3cd8e90e699f11391ea621a785f775978e41
2013-11-15 15:36:43 -08:00
Linux Build Service Account
673b23822f Merge "Memset the xtra url to assure null termination" 2013-11-13 00:24:12 -08:00
Dante Russo
a0c2f679ee Memset the xtra url to assure null termination
Fixes a potential crash in jni layer caused by
invalid characters in the string.

CRs-fixed: 555829

Change-Id: I03ae100c4b7e65c95bac5841fcf00b27e2940741
2013-11-12 16:55:59 -08:00
Jiafei Wen
48f07a0e06 Modem Batching Implementation
Modem released new batching location feature, which adds
new masks for batching. this change is corresponding
to new masks.

Change-Id: I8bd8e978a0f1066130049b8b2fc669298691d935
2013-11-07 13:25:07 -08:00
Linux Build Service Account
d32cd2946d Merge "Add LocApiProxyBase to context" 2013-11-02 02:26:24 -07:00
Jiafei Wen
747f69507a Add LocApiProxyBase to context
This is so that the izat adapters
can get access to LocApiProxy through
the context.

Change-Id: I15a477d159375740047cd7386f8c8c5163fdaf87
2013-10-28 17:42:55 -07:00
Linux Build Service Account
c00eaa276e Merge "apq8084: qca1530 configuration handling is added." 2013-10-28 15:36:41 -07:00
Linux Build Service Account
0561631818 Merge "Send status report msg through ULP" 2013-10-24 21:38:13 -07:00
Valeri Atamaniouk
3b4d23e9cc apq8084: qca1530 configuration handling is added.
Provide function for qca1530 detection. Rename 'get_target' to
'loc_get_target'. Fix loc_get_target state detection to avoid double
detection. Fix few minor code defects.

Change-Id: I3daaff99598771742572aab407475474fad41e93
2013-10-25 06:47:17 +03:00
Linux Build Service Account
54012b3e1b Merge "Check mAgpsEnabled for data call" 2013-10-24 18:06:21 -07:00
Tushar Janefalkar
82159c5002 Check mAgpsEnabled for data call
Check AGPS flag to ensure the request
is handled by the right adapter

Change-Id: I6fb7271ec0be5aec14e9d667c07e5b01b1736c1d
CRs-fixed: 551808
2013-10-23 10:58:06 -07:00
Linux Build Service Account
5ef02d7c6d Merge "enhance ulp handshake" 2013-10-21 23:55:46 -07:00
Kevin Tang
7546fd88b9 enhance ulp handshake
send ULP the position mode if it is valid when ULP handle
is first received. This helps handling a race condition
where ULP handshake happens when a GPS session is about
to happen or already happening.

Change-Id: I029e5c3bbb9d8e89b220ca44e9704b5a1d1451ff
CRs-Fixed: 554340
2013-10-21 13:36:28 -07:00
Linux Build Service Account
1f94c20487 Merge "Null check for malloc allocation" 2013-10-20 00:13:23 -07:00
Linux Build Service Account
c57d41e9db Merge "Changes to add new bit mask to support wifi ap info injection" 2013-10-17 20:21:17 -07:00
Tushar Janefalkar
efdc209caf Null check for malloc allocation
Add NULL check after memory allocation

Change-Id: Id5dc6d2e5b13aa7979067ab22963df96b32e49c5
CRs-fixed: 561182
2013-10-16 16:54:06 -07:00
hsankara
7d6ed07fad Changes to add new bit mask to support wifi ap info injection
Changes to add a new bit mask for supporting wifi ap info injection
to modem

Change-Id: I7b94fcdbb9cda7996af73811636e270da7f8df7e
2013-10-16 10:46:24 -07:00
Linux Build Service Account
a2c9e282b2 Merge "Correct print for xtra server urls." 2013-10-05 00:12:45 -07:00
Kevin Tang
c7b006cecc Correct print for xtra server urls.
The offset calculation on the 2nd and 3rd server urls
were wrong. The are off by 1 and 2 bytes respectively.

Change-Id: Iab9da5dbd2b0c779e18a6fe4615ad7e705800654
2013-10-04 18:59:00 -07:00
Tushar Janefalkar
e0e4cde06b Send status report msg through ULP
In order to preserve the ordering of
position reports and status reports from
the GPS engine, status reports are sent
through the ULP too

CRS-Fixed: 538143

Change-Id: I41be2121493c6a0b35a5726fd546eb0fa5e9b20c
2013-10-04 10:51:55 -07:00
Linux Build Service Account
49c1805764 Merge "Changes for liblbs_core" 2013-10-02 10:52:47 -07:00
Linux Build Service Account
9db35ba756 Merge "Add check for mAgpsEnabled" 2013-09-25 19:54:46 -07:00
Tushar Janefalkar
4dbc22bd57 Changes for liblbs_core
Added new module liblbs_core to make
LocApiV02 independent of pre-built binaries.
This patch provies the necessary changes to
support the new module
CRs-fixed: 538124

Change-Id: I716cf169de9dae164a141651af971793099a927d
2013-09-25 11:08:29 -07:00
Tushar Janefalkar
eb726cbd2e Add check for mAgpsEnabled
requestSuplES did not have
the check for mAgpsEnabled

Change-Id: I314fe6bc933e5201e1ac6c6632ee3b53240955b1
CRs-fixed: 543639
2013-09-23 16:56:04 -07:00
Linux Build Service Account
7b0be28423 Merge "Add LocApi to get Zpp fix." 2013-09-18 02:37:49 -07:00
Kevin Tang
81c423125c Add LocApi to get Zpp fix.
Added get zpp fix API so that different other features can
make use of this feature in the AP space.

Change-Id: I32e750626704c5d0069723ee1ca949fda4a5505e
2013-09-17 10:47:44 -07:00
Linux Build Service Account
e6ded1777c Merge "Missing check to build inside libloc_core" 2013-09-11 21:59:14 -07:00
Dante Russo
311e38bcfe Missing check to build inside libloc_core
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE needs to be
checked inside all gps hal module makefiles.
libloc_core was missing this check.

Change-Id: Ica508bcd2dc0747e354f43d7d87af5b2b06d1437
2013-09-11 15:15:34 -07:00
Linux Build Service Account
ba4766e448 Merge "Fix ATL handling" 2013-09-11 02:45:03 -07:00