Commit graph

19 commits

Author SHA1 Message Date
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