Commit graph

42 commits

Author SHA1 Message Date
Steven Moreland
364ed97bc0 Update gnss-base.h
Test: pass
Bug: 33541458
Change-Id: Ib22daeddbd1de79210ff6f356ea4465b920bfe74
2017-02-24 16:27:50 -08:00
Hridya Valsaraju
bd0aa25859 Add gnss-base.h
Test: make -j32

Change-Id: I9dea63ff745735a9785a4fb9fd214c11e95df6f6
2017-01-18 15:09:35 -08:00
Wyatt Riley
8018186b78 Glonass ID Revision
Comments only

Change-Id: Ie61367fcdb20fb1f580aa739c98e05bfbb2f40ca
2016-05-18 13:01:05 -07:00
Lifu Tang
d46260a380 Fixed the sign error in GnssClock
Bug: 28068514
Change-Id: I6e227caca520aa19ef586e1436f704dad741e3bb
2016-04-08 14:03:19 -07:00
Lifu Tang
3fc3bc867e Removed the comment that refers to deprecated flag
Bug: 27633183
Change-Id: I30fe79761305cd1fbac2f3f6cad68dc12eaec660
2016-03-17 10:45:00 -07:00
Lifu Tang
74aef730b5 Deprecated a flag for mandatary field
Change-Id: I5b03da35d8a022d68ba66b676fdd5fc963271a79
2016-03-09 11:21:08 -08:00
Lifu Tang
1d4183c72f Revised and addressed vendors' comments
Bug: 27314812
Change-Id: If00be994381937a05011d3efea175bd6385c08e6
2016-03-02 15:31:44 -08:00
Lifu Tang
a1ca574d10 Finalized GPS=>GNSS changes with documents
Bug: 27098594
Change-Id: Ic9ed0e51604e27b9a6fbd9ef55624fca3e2f132a
2016-02-19 17:23:03 -08:00
Lifu Tang
7e33bb2734 Optimized the memory consumption and renamed PRN
Bug: 27058251
Change-Id: I0654fa18796eabc4c1e0b8caa9374998923292f4
2016-02-11 11:21:04 -08:00
Lifu Tang
df0fcf7ec9 Various changes on GPS.h HAL definitions
- Support for all GnssSvInfo
- Support for more than 32 satellites
- CellID support for LTE
- Mandatory support for Pseudoranges
- New field in GpsClock
- New callback to report GPS hardware version
- Moved deprecated/retired structs into separate file

Change-Id: I114aa3f651998c17c7222575d148595cc303b6f4
2016-01-26 15:37:57 -08:00
destradaa
6f8f5c5f40 Pack AGpsStatus data structures for 64-bit platforms.
b/21471818

The packing of AGpsStatus_v1 ensures that its size does not collide with
the size of AGpsStatus_v2.

Change-Id: Ic73a73070c29c0e819cb62667bc14333f448e856
2015-06-01 14:05:51 -07:00
destradaa
8153488b70 Update documentation related to A-GPS modes.
MS-Assisted has only be supported for legacy reasons for a while now.
This change moves gps.h in a direction where MS-Based (on device
computation with AGPS/Supl support) is the preferred mode to compute
locations in the device.

Change-Id: Id34a84bae79be52a435b78d249fb5b86a5f6b090
2015-04-28 13:10:56 -07:00
destradaa
357e6222b7 Complete updates to gps.h to enhance the definition of GPS Measurements interface.
b/19938206

Change-Id: I9dc863e9333507d5603eee3951b0a2b7c8c2b299
2015-04-14 16:30:21 -07:00
destradaa
00caa89ca3 Make updates gps.h to enhance the definition of GPS Measurements interface.
b/19938206

The changes have been worked out after working with two partners to implement the interface.
The need of the additional flag is required, given that each partner can only provide one type of
pseudorange rate (corrected vs uncorrected).

Change-Id: I2d3bdffe5c24f8df97b33111a6753cc7b0f2b3d9
2015-04-14 11:44:27 -07:00
Tsuwei Chen
a90cf193b9 Fix typo and add more detailed comments on what we expect from GPS HAL.
b/16727892

Change-Id: I73d3ea3e743846b9e579c78b80d7a393319c09f1
2014-10-31 13:43:07 -07:00
Tsuwei Chen
167d31f528 Creates interface to dynamically configure GPS.
Bug: 17110478
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151
2014-08-30 00:16:14 +00:00
destradaa
69d5ea5dac Add HAL capabilities for GPS Measurements and Navigation Messages.
Change-Id: I2ed41f2c048cfe82a539b3a4e955305787731a95
2014-08-04 18:07:46 -07:00
destradaa
941c928d9d Add uncertainty for GPS received tow field.
b/16463499

Change-Id: Ib8ddd092f3da8295345524846e3ea0bcce59ccc2
2014-07-21 18:26:34 -07:00
destradaa
75843eb756 Update GPS measurement HAL definition.
b/16374800

Change-Id: I39602e4b7dedeca5de866cdb996887ae53d5aa9d
2014-07-17 18:33:00 -07:00
destradaa
9f7c3734df Update GPS HAL to accept raw data.
Change-Id: Id487c2f9eb4bc95d89dc0fba1332f666ae332ee0
2014-07-09 10:55:30 -07:00
destradaa
f48cc67fcf IPv6 support for GPS HAL.
Change-Id: Ieb5aead647c10ed42e50bef9c4d7cd558fe7160b
2014-06-10 10:38:53 -07:00
destradaa
7ddd4d7a76 Fix typo in the Supl interface name
Change-Id: I37b928f2da4fc6b6947bba87269ac7ee09f8bbcc
2013-11-07 13:47:59 -08:00
destradaa
a1f4c0a260 Update to GpsHal to allow injection/revocation of certificates for SUPL connections.
Change-Id: I1fd432566623c4cebfb5b53e5f696ad359d49e6f
2013-10-14 12:41:10 -07:00
Jaikumar Ganesh
3e39c4906d Gps geofence.
Make the add / remove / pause / resume asynchronous.

Change-Id: I6d6d254613623b564f1cb6a59742fe000e47ac1e
2013-03-29 11:56:36 -07:00
Jaikumar Ganesh
5824b40278 Add GPS_GEOFENCE_ERROR constants.
Change APIs to return error constants.

Change-Id: I221e94060c1549c7ffc8e05c7ad4802b981a31bf
2013-02-26 09:34:28 -08:00
Jaikumar Ganesh
052a20a854 Add GPS geofencing HAL.
This adds APIs for doing GPS Geofencing in the hardware.

Change-Id: I32564d7620969e6a1cd3c32242b7805d26b7af1e
2013-02-21 17:12:34 -08:00
Jaikumar Ganesh
aa24214a12 Revert "Add GPS geofencing HAL."
This reverts commit 86abc8cf18.
2013-02-21 14:55:50 -08:00
Jaikumar Ganesh
86abc8cf18 Add GPS geofencing HAL.
This adds APIs for doing GPS Geofencing in the hardware.

Change-Id: Ia353a0919bfc44d31d152f10e3d20080daffd2e2
2013-02-21 14:01:15 -08:00
Mike Lockwood
ee43a308b6 am 20013279: am 4306ca7d: Merge "GPS: added update_network_availability to AGpsRilInterface"
* commit '20013279f3dacec0b1d6c2844213d762b469cf98':
  GPS: added update_network_availability to AGpsRilInterface
2011-08-04 07:53:33 -07:00
Kevin Tang
b82c2db760 GPS: added update_network_availability to AGpsRilInterface
Change-Id: Ib2ed9ea96f1043d34a12c2ddf87b41c5256b585e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-04 09:48:03 -04:00
Mike Lockwood
6952a72cd3 am bc287a05: am 61659b21: Merge "gps: Adding ip address for AGps"
* commit 'bc287a056561b52d3f4067c3a9a2f948635ed2c1':
  gps: Adding ip address for AGps
2011-07-28 14:06:05 -07:00
Stephen Li
9e48a97c96 gps: Adding ip address for AGps
Change-Id: I3ac752294b81e1fa69019d037d8b89563773b35e
2011-07-28 16:41:58 -04:00
Mike Lockwood
8aac5911c9 GPS: Add support for on-demand NTP time injection
Change-Id: I95ea2bc2a345d6fbde22356f575506385257e574
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-29 15:10:36 -04:00
Mike Lockwood
455e83b705 GPS: Add update_network_state call to AGpsRilInterface
Change-Id: I3ecc24965ef7fbd943738dee7d0e440bfdeae753
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-11 14:30:13 -04:00
Miguel Torroja
5f404f58df gps: Adding AgpsRilInterface extension
Change-Id: Iddc10906ca4bd59fef25d51068e0c69998aae13f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-05 08:05:08 -04:00
Mike Lockwood
4453b5bfc9 GPS: Add callback for creating threads that can call into the Java VM.
To eliminate an unnecessary thread in the framework GPS code, we now
require the GPS HAL to call callbacks from a thread created using the
create_thread_cb.  Such threads are able to call directly into Java,
eliminating a polling thread in the GpsLocationProvider code.

Change-Id: I91eeea73b8908f10f10a93ae71034c63f806e8a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-20 14:23:10 -07:00
Mike Lockwood
b15879a589 GPS API enhancements:
Add set_capabilities callback to inform the framework of the engine's capabilities.
Add more parameters to set_position_mode

Change-Id: I75572979c031ffc0d915bb9e8aebce09d4982336
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 15:38:22 -04:00
Mike Lockwood
d20bbae343 Add wake lock utility functions for the GPS HAL.
Change-Id: Ia7e20dec1a658f5506004ed29632f6a720c77fab
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 14:45:49 -04:00
Mike Lockwood
9b0b1c34ec New GPS HAL Interface
This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: Ia4f9f8a9b12d84c239d367db3ad1dfdc830e0aba
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-05 14:21:44 -04:00
The Android Open Source Project
0100d517b1 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:12 -08:00
The Android Open Source Project
51704bed79 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:50 -08:00
The Android Open Source Project
d6054a3647 Initial Contribution 2008-10-21 07:00:00 -07:00