Commit graph

496 commits

Author SHA1 Message Date
Tushar Janefalkar
a4e5f9c150 Add buffer length check for XTRA data
To prevent reading beyond the length of
the buffer that contains XTRA data, a
check has been introduced assuming an
approximate limit for the size of the
data

Change-Id: I7e05beadec76c3308448b9198fd23c8e8b97394d
CRs-fixed: 420623
2015-11-26 00:32:17 -08:00
Kevin Tang
c3643ebf64 remove link depedency to dsi_netctrl temporarily
the link dependency is necessary for ds_api to work, but
it would bring in libqcci_legacy indirectly, which would
cause crash at runtime when calling into the qmi client
implementation fromlibqcci_legacy, while the right impl
is from qmi-frameworks.

Change-Id: If986fe059199dd752526dbe837fcf03b4b4d8002
2015-11-05 10:37:26 -08:00
Dongmei Wang
836bdc4386 loc-pla: Create Platform Library Abstraction layer
Defined PLA functions to enable gps libraries to call
platform-dependent library calls transparantly. Removed
fake files and replaced the fake function with defined
PLA functions.

CRs-fixed: 605817

Change-Id: I677f658001329a10ef9b49bd963631a83fb4c85f
2014-12-05 15:15:33 -08:00
Dongmei Wang
42c543919b loc-stub: Create a loc_stub library for stub func
Consolidate fake functions and create the loc_stub library
out of the fake functions

CRs-fixed: 605814

Change-Id: I351426591f220075fa7a7cec776f4f86c837a3f6
2014-12-04 23:10:56 -08:00
Pandari Sabhapathi
4e9741f527 Migrating XTRA from gpsonextra.net to cloud based izatcloud.net
*Added logic to remove xtra1.gpsonextra.net from URLs
received from modem.
*Added logic to override modem URLs with those configured
in gps.conf
*Replaced all instances of xtra{1,2,3}.gpsonextra.net domain URLs
in gps.conf with xtrapath{1,2,3}.izatcloud.net URLs.
*Replaced all commented instances of xtra.bin in gps.conf with xtra2.bin.

CRs-fixed: 643816

Change-Id: I803b26bce22f06910dcaa1ee057902b9381667bf
2014-12-04 23:10:39 -08:00
Dongmei Wang
3e16bc32b5 Make off-target loc hal libraries built
CRs-fixed: 605821

Change-Id: I334ccf21f6e5d045d32c718cb060c67e167be733
2014-12-04 23:09:20 -08:00
Dongmei Wang
91ece00117 loc-hal:porting from ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.040
It contains the following changes:
- porting from AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.040
- updated package loc-api files according to the merge
- rename loc-api to loc-hal
- dynamically load liblbs_core.so.1 file for LE platforms
- print a warning message when loading the lbs_core library fails

CRs-fixed: 605821

Change-Id: I54e1a9c742d1734ffa29e6864901119e0ee600c8
2014-12-04 23:07:12 -08:00
Pandari Sabhapathi
70b94ae2c1 loc-api: Merging Makefiles of libloc_api_50001 and loc_api_v02
Created a new Makefile.am that builds both libloc_api_50001
and loc_api_v02

Change-Id: I20960f1c087c9a6bf721ea3e25369590f5b2ce85
2014-12-02 12:58:28 -08:00
Pandari Sabhapathi
e2bcdc300e loc-api: Exposing gps_get_hardware_interface to C code
Change-Id: Ieffd21d0cb84d88d1304bb82bb5a54137cf967fd
2014-12-02 12:58:28 -08:00
Pandari Sabhapathi
508ad95a84 loc-api: Fixing copyright
Change-Id: Id54e7b212b895c7a521e0252b7c99be8e295b0d9
2014-12-02 12:58:27 -08:00
Pandari Sabhapathi
78767a18f6 loc-api: Making off-target garden-app build and run again
After removing libcutils dependency, the off-target garden-app
was not building. This change enables it to build and run again

Change-Id: Ifb0473f5d05c156f761c72e29f6592b443ee9cb3
2014-12-02 12:58:27 -08:00
Yogesh Lal
5c8ebe8979 gps: Updating copyright.
Change-Id: I94124bbbeb6d932a21fd6b1f5536d834f7185cd8
2014-12-02 12:58:26 -08:00
Ekta Shah
fba6dcd31f gps: Remove dependency on libcutils.so
Change-Id: Id3d6e2c81eb6d5ee549236c591cc75ac32aa948b
2014-12-02 12:58:26 -08:00
Pandari Sabhapathi
b83679bfc9 loc_api_v02: Updating to loc api v02 idl Major:0x02, Minor:0x14
Renames elapsed_millis_since_boot.cpp to platform_lib_time.cpp.
Fixed Klockwork null pointer dereference errors.

CRs-fixed: 476773

Change-Id: I8c05bb3ab6fdd3ec80d7fe3427160b2e29d7a0d0
2014-12-02 12:58:19 -08:00
Linux Build Service Account
8c08472c8c Merge "Merge 555067e7d9 on remote branch" 2014-03-11 07:27:43 -07:00
Linux Build Service Account
59c3dea8e0 Merge 555067e7d9 on remote branch
Change-Id: I60185e4611c3de220b62263d853080334a64d10a
2014-03-11 00:11:08 -06:00
Linux Build Service Account
555067e7d9 Merge "Merge "Merge "Copy position mode to dummy ULP proxy""" 2014-03-08 17:46:04 -08:00
Linux Build Service Account
db90cdbd69 Merge "Merge "Copy position mode to dummy ULP proxy"" 2014-03-08 13:48:05 -08:00
Linux Build Service Account
222ee83a0c Merge "Merge "Merge "Copy position mode to dummy ULP proxy""" 2014-03-08 13:35:51 -08:00
Linux Build Service Account
c10533e681 Merge "Merge "Copy position mode to dummy ULP proxy"" 2014-03-08 09:37:19 -08:00
Linux Build Service Account
df768f8b3c Merge "Merge "Merge "Copy position mode to dummy ULP proxy""" 2014-03-07 14:40:59 -08:00
Linux Build Service Account
1198a8c224 Merge "Merge "Copy position mode to dummy ULP proxy"" 2014-03-07 10:10:25 -08:00
Linux Build Service Account
41434fca78 Merge "Merge "Merge "Copy position mode to dummy ULP proxy""" 2014-03-07 09:52:44 -08:00
Linux Build Service Account
cd49a7d5e3 Merge "Merge "Copy position mode to dummy ULP proxy"" 2014-03-07 05:35:54 -08:00
Linux Build Service Account
92367a35ed Merge "Merge f78289953c on remote branch" 2014-03-07 03:07:21 -08:00
Linux Build Service Account
b22bac01ee Merge "Merge "Merge "Copy position mode to dummy ULP proxy""" 2014-03-07 02:50:33 -08:00
Linux Build Service Account
ab6008405f Merge "Merge "Copy position mode to dummy ULP proxy"" 2014-03-06 21:10:21 -08:00
Linux Build Service Account
acc1e7ee8d Merge "Merge "Merge "Copy position mode to dummy ULP proxy""" 2014-03-06 17:42:35 -08:00
Linux Build Service Account
14e06490d4 Merge f78289953c on remote branch
Change-Id: I05319b7a4f8068088a5103d8a8e38c95dba79337
2014-03-06 12:56:05 -07:00
Linux Build Service Account
876321818f Merge "Merge "Copy position mode to dummy ULP proxy"" 2014-03-06 06:10:09 -08:00
Linux Build Service Account
19d04e169e Merge "Merge "Merge "Emergency SUPL""" 2014-03-06 04:29:19 -08:00
Linux Build Service Account
10d4f74e8e Merge "Copy position mode to dummy ULP proxy" 2014-03-05 22:28:09 -08:00
Linux Build Service Account
6f7b4daabd Merge "Merge "Emergency SUPL"" 2014-03-05 15:14:29 -08:00
Linux Build Service Account
f78289953c Merge "Merge "Merge "Emergency SUPL""" 2014-03-05 14:47:23 -08:00
Linux Build Service Account
d156456370 Merge "Merge "Emergency SUPL"" 2014-03-05 10:26:47 -08:00
Linux Build Service Account
530e67926a Merge "Merge "Merge "Emergency SUPL""" 2014-03-05 07:16:52 -08:00
Linux Build Service Account
cc1fbc6a61 Merge "Merge "Emergency SUPL"" 2014-03-05 02:25:41 -08:00
Linux Build Service Account
b72a410969 Merge "Emergency SUPL" 2014-03-04 10:38:30 -08:00
Jiafei Wen
7e546e6afe 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-17 02:03:57 -08:00
Tushar Janefalkar
48c29f5a8f 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:47:04 -08:00
Linux Build Service Account
87ec5c5335 AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.092 based on quic/aosp/kk_3.5_rb1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlLrI9UACgkQoUgPZYCpAfHQkgCfZinxWlkVmVwFf9p76vMvJTO7
 evAAoIHSv8Xq93BmcU6iC6S5SiuuPTZN
 =nLKy
 -----END PGP SIGNATURE-----

Merge AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.092 on remote branch

Change-Id: I8cbf09dd757ea79370f02dc530277f8b8eaab446
2014-02-07 14:26:47 -07:00
Linux Build Service Account
7284ef63e7 Merge "Add SGLTE target field in gps.conf" 2014-01-31 14:17:00 -08:00
Jiafei Wen
82e314e2c4 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-30 23:23:07 -08:00
Linux Build Service Account
0946337a9f Merge "Merge AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.087 on remote branch" 2014-01-29 04:54:21 -08:00
Linux Build Service Account
e050d18c2e AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.087 based on quic/aosp/kk_3.5_rb1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlLnvWIACgkQoUgPZYCpAfEb1gCaAz1Q21b0rfb3iWxA8tuC4crH
 MgkAn1PiMnPLCXrQCtJeT5Xz4S7kZZm8
 =jG2n
 -----END PGP SIGNATURE-----

Merge AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.087 on remote branch

Change-Id: Iaa0c542d18a75bc281098cb320372805b15575c2
2014-01-29 03:31:35 -07:00
Linux Build Service Account
e81af189f9 Merge "Merge AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.082 on remote branch" 2014-01-21 00:14:58 -08:00
Linux Build Service Account
750dddb055 Merge "Fix for dsi_init failure" 2014-01-18 03:17:51 -08:00
Linux Build Service Account
f4b2d10230 AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.082 based on quic/aosp/kk_3.5_rb1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlLXiQUACgkQoUgPZYCpAfEWmQCfeVQNMDMrN3YuNCAUhKM80FTC
 K/YAoOumxIXxyW4Hdv+VyS/xNj9GxYbf
 =Rcyj
 -----END PGP SIGNATURE-----

Merge AU_LINUX_ANDROID_KK_3.5_RB1.04.04.02.006.082 on remote branch

Change-Id: I6061ae0eda3c055e49fa6a16b982d14f2536d4bf
2014-01-17 18:49:27 -07:00
Tushar Janefalkar
04ece63ab2 Fix for dsi_init failure
Init DS only when the agps
stack is available

Change-Id: I106e50462ad810ca5baf452d7effc6459c135f6f
CRs-fixed: 599478
2014-01-17 14:22:27 -08:00
Linux Build Service Account
bfc8a34c4b Merge "Merge "Merge "Remove libandroid_runtime from makefile""" 2014-01-16 19:25:39 -08:00