Commit graph

4907 commits

Author SHA1 Message Date
Tushar Janefalkar
5049a47797 Utility to identify target HW
Earlier this identification was done in loc.cpp
This change moves that to a separate utility.
Also included is a change to not return
a handle to the GPS interface if the target
is found to be MPQ8064.
This change is a re-cherry-pick from
change id - I98d5619d2e6e63711a9b56f0af2b3ddd27372871

Change-Id: I058d206c37245b44f1cf74d6065e7ce46f50baf7
CRs-Fixed: 418009
2013-03-18 15:49:52 -07:00
Jean-Baptiste Queru
63e3dc43c4 am 3dac3016: am 65102c39: am 47210994: (-s ours) am c2f34af0: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '3dac30160988d39e6621ee470e079d6fad47fecb':
2013-03-11 13:38:20 -07:00
Jean-Baptiste Queru
3dac301609 am 65102c39: am 47210994: (-s ours) am c2f34af0: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '65102c394d1b3bb8915e2a391b78775d8bbc7b6d':
2013-03-11 13:06:34 -07:00
Jean-Baptiste Queru
65102c394d am 47210994: (-s ours) am c2f34af0: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '4721099487857d9fb02c6c3ad9e540f6526afa00':
2013-03-11 12:41:55 -07:00
Jean-Baptiste Queru
4721099487 am c2f34af0: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit 'c2f34af0d9ab20a3827ef9402d14343100a224a7':
2013-03-11 12:27:37 -07:00
Jean-Baptiste Queru
c2f34af0d9 Reconcile with jb-mr1-release - do not merge 2013-03-11 12:20:38 -07:00
Tushar Janefalkar
842b4c3e68 Change data type of HEPE to float
This is to accomodate values of accuracy
that exceed 65535

CRs-fixed: 449184
Change-Id: Icc89c4bbb6975027083fd906bdc2d0ca40060431
2013-03-05 11:01:31 -08:00
Linux Build Service Account
dc72922169 Merge "copy back supl es data to sm" 2013-02-27 02:40:49 -08:00
Kevin Tang
356036e9f6 copy back supl es data to sm
SUPL ES added additional optional fields in the NI indiation. We
need to copy back these info as then came when we send back the
notification to modem. This change is to add that.

CRs-Fixed: 443946

Change-Id: Ib4a99441a03b2cb41b66d4c97253acbf118e4f05
2013-02-26 15:05:30 -08:00
Linux Build Service Account
87e24ecf53 Merge "gps: fix nmea altitude for rpc" 2013-02-20 21:35:49 -08:00
Linux Build Service Account
0fdee2ae26 Merge "Ulp: Adds interfacing b/w FusedLocationProv & ULP engine" 2013-02-08 02:23:05 -08:00
Iliyan Malchev
0d257cc5d3 remove loc_api from hardware/qcom/gps
Change-Id: I2a1e928dc38de45c7421e2ef7a406ca969eafc97
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-02-06 22:49:06 -08:00
Linux Build Service Account
bd1165e953 Merge "Change debug log tags for V/I/D" 2013-02-06 22:01:09 -08:00
Linux Build Service Account
9ca042947c Merge "default fix accuracy too high" 2013-02-06 20:12:10 -08:00
Linux Build Service Account
5fda895124 Merge "loc api v02 update" 2013-02-06 20:12:10 -08:00
Tushar Janefalkar
e91c4284bf Change debug log tags for V/I/D
CRs-fixed: 442759
Change-Id: I9ddf1605d6b7837a44328e5e0ae38c855d93c12f
2013-02-05 10:03:10 -08:00
Satheesh Jayakumar
9f8bcc3b14 Ulp: Adds interfacing b/w FusedLocationProv & ULP engine
Changes for providing the plumbing from UlpService down
to the native UlpEngine.
Change-Id: I67e48fad47675d9fa9a3026763daa0f248369f60
CRs-Fixed: 443444
2013-01-29 17:24:01 -08:00
Linux Build Service Account
b19e73a479 Merge "LOC: Enable loc_eng_dmn_conn_loc_api_server for all targets" 2013-01-28 13:26:08 -08:00
Linux Build Service Account
ed79a08b21 Merge "Merge commit 'android-4.2.1_r1' into Upgrade_branch" 2013-01-24 17:32:10 -08:00
Amol Mahesh
e03abb4da8 LOC: Enable loc_eng_dmn_conn_loc_api_server for all targets
Enable loc_eng_dmn_conn_loc_api_server for all targets irrespective
of the ro.baseband property.

Change-Id: Ieb9e505f27d0fc7abf4a94bac64dee60cccc4302
2013-01-24 14:32:42 -08:00
Kevin Tang
b52741ec45 default fix accuracy too high
the default fix accuracy is set to 1000m, too
high.  Now set to eQMI_LOC_ACCURACY_HIGH_V02

Change-Id: I5bdcd1d2da0a68ca55a5b9eb1f9de9ac12238e9a
2013-01-22 14:11:18 -08:00
Dante Russo
b7b14cb1c6 gps: fix nmea altitude for rpc
Change-Id: Ifcbde28717178b76bde03d02d3f9ffa8dae114fd
2013-01-21 18:00:45 -08:00
Kevin Tang
660f21b540 loc api v02 update
newer version to support dsds and RAT based
cell info injections

Change-Id: I490a928db7af37a266edbad1acba6e1f9f8aa186
2013-01-18 14:40:45 -08:00
Shruthi Krishna
48a3879727 Merge commit 'android-4.2.1_r1' into Upgrade_branch
* commit 'android-4.2.1_r1':
  disabled agps state machine delete in cleanup
  gps: report session begin/end on gps start/stop
2013-01-17 11:46:05 -08:00
Duy Truong
a987332d29 Update copyright to The Linux Foundation
Change-Id: I727bdeb29904eebf15b7ef8eb0070d69107537a8
2013-01-10 08:07:21 -08:00
Linux Build Service Account
7ac13574ff Merge "fix loc_api_v02 missing library" 2013-01-03 17:14:19 -08:00
Kevin Tang
2a148d2546 fix loc_api_v02 missing library
The check for qmi framework now uses a define flag which exists on all
but aosp builds.

Change-Id: Id669f62ccb39b5b3c410e7769350cfba5bf38159
2013-01-03 14:05:49 -08:00
Dante Russo
b86c1f8a06 gps: enable features IPV6 and DELEXT
This change requires android framework changes

Change-Id: I6c019ed7f852f7de53966e51a28c447540bdfb0a
2012-12-14 16:51:20 -08:00
Dante Russo
7118024952 Merge jb into jb_2.5
Features ULP, IPV6, DELEXT disabled

Conflicts:
	loc_api/Android.mk
	loc_api/libloc_api-rpc-50001/*
	loc_api/libloc_api_50001/*
	loc_api/loc_api_v02/*
	loc_api/ulp/inc/ulp.h
	utils/*

Change-Id: I846352d0addca89d4ffc3b114b774926b23e930d
2012-12-14 16:45:15 -08:00
The Android Open Source Project
11db31880d am f62a0fad: (-s ours) am c5a129e1: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit 'f62a0fad06aa7e5c968e6bda086701753d508ba0':
2012-11-27 17:34:21 -08:00
The Android Open Source Project
f62a0fad06 am c5a129e1: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit 'c5a129e11702e2878b3f17be1cfb27e841f7b9ce':
2012-11-27 11:39:20 -08:00
The Android Open Source Project
c5a129e117 Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
Change-Id: Ifb0a30557854004e5a4c90944908a91d70ceb8c6
2012-11-27 07:33:48 -08:00
Linux Build Service Account
63b6b8f224 Merge "Utility to identify target HW" 2012-11-20 00:58:26 -08:00
Linux Build Service Account
3d02619c3e Merge "OTDOA support" 2012-11-20 00:58:22 -08:00
Linux Build Service Account
283899e1fe Merge "Loc_Api: Support A-GLONASS Position protocol" 2012-11-20 00:58:20 -08:00
Kevin Tang
e065604f30 OTDOA support
(must have CR 370306 as dependency)
CRs-Fixed: 402746

Change-Id: I505becab45f643b352e8ff3aeb242b15b623cb7b
2012-11-15 15:42:13 -08:00
Neethu Joseph
8e9cb23386 Loc_Api: Support A-GLONASS Position protocol
Support to read A-GLONASS Prosition protocol from gps.conf

Change-Id: If91d6754aaee73c1360728793f4cc2ef1f015fe7
CRs-fixed: 378515
2012-11-15 12:06:07 -08:00
Linux Build Service Account
6d7116dda4 Merge "gps: do not lock mutex during loc_ioctl" 2012-11-12 17:30:39 -08:00
Tushar Janefalkar
63c5ac48c7 Utility to identify target HW
Earlier this identification was done in loc.cpp
This change moves that to a separate utility.
Also included is a change to not return
a handle to the GPS interface if the target
is found to be MPQ8064.

CRs-Fixed: 418009
Change-Id: I98d5619d2e6e63711a9b56f0af2b3ddd27372871
2012-11-12 10:28:15 -08:00
Linux Build Service Account
a3403fa52c Merge "Loc api v02 support for QMI_LOC rev 2.17" 2012-11-11 17:53:28 -08:00
Anh Nguyen
a2b89ff92f Merge remote-tracking branch 'remotes/quic/partner-android/jb-mr1-dev' into mybranch
* remotes/quic/partner-android/jb-mr1-dev:
  chmod uga-x
  gps: fix for no gps signals after modem reset
2012-11-09 16:21:45 -08:00
Dante Russo
9fd717a6ae gps: do not lock mutex during loc_ioctl
Locking the slot mutext during a loc_ioctl call
can cause deadlock in some rare cases.

Change-Id: I09aa2ad7c67c326fee90447db960895d7f1fb149
CRs-fixed: 412208
2012-11-07 09:45:23 -08:00
Linux Build Service Account
686cee4f8a Merge "Add NULL checks for callbacks" 2012-11-05 18:46:58 -08:00
Tushar Janefalkar
e4f800932f Add NULL checks for callbacks
As a security measure, callbacks
are checked to make sure they are
not NULL pointers.

Change-Id: I391e1cc373e8098449303709d8d1b67d305fb633
CRs-Fixed: 404438
2012-11-05 10:20:16 -08:00
Nitin Singh
5f45c04c89 Loc api v02 support for QMI_LOC rev 2.17
changes to suuport pedometer and motion data control API

Change-Id: I56c87adaa1f717c76bf1ff6eb2d195c92acbd38d
2012-11-02 13:11:57 -07:00
The Android Open Source Project
40b45d7a94 am 16e52e06: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '16e52e065457fa480e0b684500bc1023ad40bc36':
2012-10-31 09:22:33 -07:00
The Android Open Source Project
16e52e0654 Reconcile with jb-mr1-release - do not merge
Change-Id: Ie52cdeb09f0af68d833ccb50e63d72ab5a5efea2
2012-10-31 09:17:34 -07:00
Iliyan Malchev
f0af7289cb am 8ba1fbee: am c74962df: chmod uga-x
* commit '8ba1fbeef87f451a06919b1d596b79ce09b3daa7':
  chmod uga-x
2012-10-29 17:15:55 -07:00
Iliyan Malchev
8ba1fbeef8 am c74962df: chmod uga-x
* commit 'c74962df0d30bdb176472a1775a794fd93b1cd7a':
  chmod uga-x
2012-10-29 14:31:34 -07:00
The Android Automerger
283486517d merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-29 11:20:06 -07:00