Commit graph

1091 commits

Author SHA1 Message Date
Qiang Chen
4d44ce3d6c Fix gps.conf capabilities overwrited by carrier
If overwrite happened, loc config update will
restore gps.conf capabilities based on target type.

Change-Id: I958ce8da0e8062549f12808aca4aebcf4a7fb95d
CRs-Fixed: 850144
2015-06-12 04:55:02 -07:00
Qaing Chen
634c1bb8bd Fix Memory leak in util/loc_cfg.cpp
deallocate conf_copy after usage.

Change-Id: I8ad4e4e8007a2d8b608f3f74503515f062b86c4b
CRs-fixed: 852809
2015-06-11 17:51:35 -07:00
Linux Build Service Account
a1d7e82e91 Merge b8e9ad34cd on remote branch
Change-Id: If986d69ef5a7b991b47bfe28b0cf3d57c4b76975
2015-06-11 01:14:29 -06:00
Qiang Chen
a26bc76b9c Fix gps.conf capabilities overwrited by carrier
If overwrite happened, loc config update will
restore gps.conf capabilities based on target type.

Change-Id: I958ce8da0e8062549f12808aca4aebcf4a7fb95d
CRs-Fixed: 850144
2015-06-09 05:54:24 -07:00
Tushar Janefalkar
4e8b3506bf Add new event mask for timezone
Modem sends this event to request for
injection of timezone and offset from
UTC

Change-Id: Ie94f660efc3163cbde243a9bccb94d37785349b3

CRs-fixed: 846501
2015-06-01 10:42:46 -07:00
Qiang Chen
18d8153915 Removed unused code and unnecessary notice files
libloc_api-rpc code is not built for any targets,
so it's removed. NOTICE file is unnecessary and
can be remvoed.

Change-Id: I7da6f0d5a7d90fd4ad7ef51d9eaee88d2a7a20ac
CRs-fixed: 827856
2015-05-09 02:24:30 -07:00
Qiang Chen
b8e9ad34cd Removed unused code and unnecessary notice files
libloc_api-rpc code is not built for any targets,
so it's removed. NOTICE file is unnecessary and
can be remvoed.

Change-Id: I7da6f0d5a7d90fd4ad7ef51d9eaee88d2a7a20ac
CRs-fixed: 827856
2015-05-08 21:28:36 -07:00
Linux Build Service Account
9eb36c357a Merge "Removed unused code and unnecessary notice files" 2015-05-08 18:45:04 -07:00
Dante Russo
8a3533bd4a Remove reporting gps status from loc eng layer
GPS Status is reported from Loc Api layer, so
reporting it in Loc Eng layer in addition is
redundant. Also, SSR should not send engine on
status when not in a session.

Change-Id: I10bc2d112574de0016110e193d6c2cd071b00b2a
CRs-fixed: 826256
2015-05-07 03:50:06 -07:00
Qiang Chen
892019f6c3 Removed unused code and unnecessary notice files
libloc_api-rpc code is not built for any targets,
so it's removed. NOTICE file is unnecessary and
can be remvoed.

Change-Id: I7da6f0d5a7d90fd4ad7ef51d9eaee88d2a7a20ac
CRs-fixed: 827856
2015-05-05 15:31:00 -07:00
Dante Russo
9f7f4bd6d2 Remove reporting gps status from loc eng layer
GPS Status is reported from Loc Api layer, so
reporting it in Loc Eng layer in addition is
redundant. Also, SSR should not send engine on
status when not in a session.

Change-Id: I10bc2d112574de0016110e193d6c2cd071b00b2a
CRs-fixed: 826256
2015-04-28 18:08:37 -07:00
Linux Build Service Account
5afa84fe91 Merge "Adding Mutex for Creating Context" 2015-04-15 00:02:21 -07:00
Jiafei Wen
7fa3b1bd2a Adding Mutex for Creating Context
Adding lock for creating foreground context
and background context, preventing any possible
race condition.

CRs-fixed: 820078
Change-Id: I7ace685622904ee2aa12f317540f9c04880acc70
2015-04-14 21:55:36 -07:00
Linux Build Service Account
45e27ba7b8 Merge "Adding Mutex for Creating Context" 2015-04-14 17:49:08 -07:00
Jiafei Wen
a284b9a83b Adding Mutex for Creating Context
Adding lock for creating foreground context
and background context, preventing any possible
race condition.

CRs-fixed: 820078
Change-Id: I7ace685622904ee2aa12f317540f9c04880acc70
2015-04-09 11:00:22 -07:00
Linux Build Service Account
e7fa3e15ae Merge 19920b80e2 on remote branch
Change-Id: Ic1c355378caf0749e58076df2118c873b6c6f172
2015-03-30 05:36:01 -06:00
Linux Build Service Account
19920b80e2 Merge "Add utility to identify lean targets" 2015-03-22 16:59:54 -07:00
Linux Build Service Account
ecdc069767 Merge "Add Course TimeStamp & asso. unc to Measurement" 2015-03-20 14:48:42 -07:00
Kevin Tang
f3444670b8 Add Course TimeStamp & asso. unc to Measurement
We need to add the course time stamp when the
measurements are received in GNSS driver to align
the measurements and sensor samples received from
SLIM.

Change-Id: I4ef067890e16c2585f8a9c7809c4d7421b895cd0
2015-03-20 09:30:39 -07:00
Tushar Janefalkar
7d367d0e62 Add utility to identify lean targets
This utility reads ro.lean system property
and returns a 1 if the property is set to true
and returns 0 otherwise.

Change-Id: I52a8396ee085d44b90d8416131f27b0b1a46575e
CRs-fixed: 801990
2015-03-19 17:33:06 -07:00
Linux Build Service Account
c9b3856769 Merge "Avoiding race conditions during the pallellized builds in Android system" 2015-03-09 17:15:35 -07:00
sudarsanarao makupalli
1fe602a0a9 Avoiding race conditions during the pallellized builds in Android system
Removed relative paths and set Absolute paths in Android.mk file
and moved corresponding files to right location

Change-Id: Iacf2ee3dadb3e87c9354c1c4b8003cd8cc65ea97
CRs-Fixed: 714112
2015-03-09 11:55:44 -07:00
Linux Build Service Account
24c39184b7 Merge "Send GPS tracking fixes to FLP HAL" 2015-03-01 12:58:06 -08:00
Jiafei Wen
d538916928 Send GPS tracking fixes to FLP HAL
FLP HAL accepts GPS tracking fixes for tracking,
so this change sends the tracking fixes to FLP
HAL while flp tracking is undergoing. Also, this
change adds batching options flags and batching
succeed/failure definitions.

CRs-fixed: 748687
Change-Id: I11a2ba337433d9a42c903d36fc980ee1a3983a1e
2015-03-01 10:38:19 -08:00
Linux Build Service Account
72166d550d Merge "Send GPS tracking fixes to FLP HAL" 2015-03-01 07:55:48 -08:00
Linux Build Service Account
bcf47cc016 Merge "Klockwork P1 issues." 2015-02-27 07:04:19 -08:00
Linux Build Service Account
a0e8ab95f1 Merge "Merge tag 'AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175' into 111" 2015-02-14 06:58:27 -08:00
Jiafei Wen
9431a6cb33 Send GPS tracking fixes to FLP HAL
FLP HAL accepts GPS tracking fixes for tracking,
so this change sends the tracking fixes to FLP
HAL while flp tracking is undergoing. Also, this
change adds batching options flags and batching
succeed/failure definitions.

CRs-fixed: 748687
Change-Id: I11a2ba337433d9a42c903d36fc980ee1a3983a1e
2015-02-13 12:03:37 -08:00
Ashish Dhiman
b45b1606db Klockwork P1 issues.
fixing Klockwork P1 issues.

CRs-Fixed: 793601
Change-Id: I037c17c342f473d6d21a234ec1e980ba55b98cbe
2015-02-10 13:47:14 +05:30
Hans Chang
33552b272d AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175 based on quic/aosp/LA.AF.1.1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlTQKUkACgkQoUgPZYCpAfGAUgCgyH0kEyUtVhZ09+T3w4VfnZqK
 Id8An3JkWK9QhlXZ9Q2zT8T7LR5/T2ls
 =8mx/
 -----END PGP SIGNATURE-----

Merge tag 'AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175' into 111

AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175 based on quic/aosp/LA.AF.1.1

* tag 'AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175':
  GNSS measurement
  Added new events and masks for GDT AP
  gps.conf parameters are in sap.conf table
  Enable "auto" target for APQ8960 Automotive ADP platform
  support reinjecting supl url for sim hot swap
  Remove Redundant Log
  Report 2D speed rather than 3D speed.

Conflicts:
	core/gps_extended_c.h

Change-Id: Ibe1207ac07a2931003f5fa34ae68d8c1e6512eeb
2015-02-08 15:50:40 -08:00
Linux Build Service Account
6ad0b50e83 Merge "Fix bug with switch case" 2015-02-06 00:45:39 -08:00
Tushar Janefalkar
1777a2fe16 Fix bug with switch case
The switch case inside setXtraVersionCheck
does not have breaks after the cases and
the default label is misspelled. This
will always cause the check to be disabled

Change-Id: Ibcc3703c98e561e0bdfbcc5c8802d1b45c9a511a
CRs-Fixed: 790623
2015-02-05 19:04:36 -08:00
Linux Build Service Account
119c7a6410 Merge "Fix bug with switch case" 2015-02-05 15:28:22 -08:00
Tushar Janefalkar
f4d8e902f7 Fix bug with switch case
The switch case inside setXtraVersionCheck
does not have breaks after the cases and
the default label is misspelled. This
will always cause the check to be disabled

Change-Id: Ibcc3703c98e561e0bdfbcc5c8802d1b45c9a511a
CRs-Fixed: 790623
2015-02-05 02:37:46 -08:00
Linux Build Service Account
80e8ab5024 Merge "Revert "Added Detection Logic For QMI_PDS Target."" 2015-02-03 08:36:45 -08:00
Linux Build Service Account
7105397438 Merge "Propagate DR enablement feature from LNX.LA.2.7.3" 2015-01-29 00:52:59 -08:00
Tushar Janefalkar
b38580ee75 Revert "Added Detection Logic For QMI_PDS Target."
This reverts commit fb9c641bb8.

CRs-Fixed: 760272
Change-Id: I90a9bcd77447dc5b3d799bd0ad1bdbfae85cef15
2015-01-26 16:23:43 -08:00
Kevin Tang
2794061c73 Propagate DR enablement feature from LNX.LA.2.7.3
Change Summary:
* Changes taken from change#812357;
* Structure definitions for GNSS SV Measurement and GNSS SV
  Polynomial to report it to ULP and to external DR module;
* New function additions in LocApiBase, LocAdapterBase and
  LocEngAdapter to report SV Measurement and SV Polynomial;
* definition and changes to detect "auto" platform in loc_target;
* enable SV Measurement and SV Polynomial report for "auto"
  platform;

Change-Id: I5ac5ee5c44e72e657b16515e37637c9a5c64e638
2015-01-24 15:35:16 -08:00
Linux Build Service Account
ad8e6aef91 Merge "GNSS measurement" 2015-01-17 18:31:02 -08:00
Dante Russo
407848e5cf GNSS measurement
Implementation of GNSS Measurements support.
In GPS HAL, Only GPS Measurements report
will be collected from modem.

CRs-fixed: 771496

Change-Id: Ief4368099df4ff573ad1a764f4156d63685e936d
2015-01-16 13:22:20 -08:00
Linux Build Service Account
511b1ac909 Merge "support reinjecting supl url for sim hot swap" 2015-01-06 01:56:39 -08:00
Linux Build Service Account
7601d64828 Merge "Added new events and masks for GDT AP" 2014-12-19 22:54:21 -08:00
Ruifeng Xu
98e1f83ff4 Added new events and masks for GDT AP
These events and masks are for bulk data transfer between AP and MP.

CRs-fixed:766059

Change-Id: Id795316a9b114d6984969ad9eadb8d2c66b1743b
2014-12-19 16:28:21 -08:00
Linux Build Service Account
4a43e264a5 Merge "gps.conf parameters are in sap.conf table" 2014-12-16 16:33:55 -08:00
Kevin Tang
f311c16b0a gps.conf parameters are in sap.conf table
due to merge issue, some of the parameters to come out
from gps.conf are placed in the table that expects from
sap.conf. Moving them into the right place.

Change-Id: Ice988b06d0d87bdbc0225296898d6aaad701743f
CRs-Fixed: 760152
2014-12-16 11:22:46 -08:00
Linux Build Service Account
edc322d925 Merge "Enable "auto" target for APQ8960 Automotive ADP platform" 2014-12-16 07:13:51 -08:00
Kevin Tang
32b1baae2b Enable "auto" target for APQ8960 Automotive ADP platform
APQ8960 Automotive platforms use "auto" as a target name
for ro.baseband property. Appropriate GPS driver changes
were,
   1. define GNSS_AUTO enum constant
   2. Enable GNSS drivers for "auto" target.

Change-Id: I463db7ac1c3e2dd6101e457ad723bb16adf5aacb
CRs-Fixed: 771597
2014-12-15 21:22:33 -08:00
Kevin Tang
f014665a52 Enable "auto" target for APQ8960 Automotive ADP platform
APQ8960 Automotive platforms use "auto" as a target name
for ro.baseband property. Appropriate GPS driver changes
were,
   1. define GNSS_AUTO enum constant
   2. Enable GNSS drivers for "auto" target.

Change-Id: I463db7ac1c3e2dd6101e457ad723bb16adf5aacb
CRs-Fixed: 771597
2014-12-15 21:21:16 -08:00
Dante Russo
7e9e68a3af support reinjecting supl url for sim hot swap
modem might reset during sim hot swap, in which case
the prior supl url shall be remembered so that can be
reinjected. This change enables it.

CRs-fixed: 771493

Change-Id: I86ec898a54bc8706720c29a1ea67ce27153ee981
2014-12-15 17:49:40 -08:00
Linux Build Service Account
3aa99e9fc5 Merge "Remove Redundant Log" 2014-12-09 20:44:38 -08:00