Data Structures | Typedefs
gps.h File Reference

Go to the source code of this file.

Data Structures

struct  AGpsCallbacks
 Callback structure for the AGPS interface. More...
 
struct  AGpsInterface
 Extended interface for AGPS support. More...
 
struct  AGpsRefLocation
 Represents ref locations. More...
 
struct  AGpsRefLocationCellID
 
struct  AGpsRefLocationMac
 
struct  AGpsRilCallbacks
 
struct  AGpsRilInterface
 Extended interface for AGPS_RIL support. More...
 
struct  AGpsStatus
 Represents the status of AGPS. More...
 
struct  gps_device_t
 
struct  GpsCallbacks
 GPS callback structure. More...
 
struct  GpsDebugInterface
 Extended interface for DEBUG support. More...
 
struct  GpsInterface
 Represents the standard GPS interface. More...
 
struct  GpsLocation
 Represents a location. More...
 
struct  GpsNiCallbacks
 GPS NI callback structure. More...
 
struct  GpsNiInterface
 Extended interface for Network-initiated (NI) support. More...
 
struct  GpsNiNotification
 Represents an NI request. More...
 
struct  GpsStatus
 Represents the status. More...
 
struct  GpsSvInfo
 Represents SV information. More...
 
struct  GpsSvStatus
 Represents SV status. More...
 
struct  GpsXtraCallbacks
 Callback structure for the XTRA interface. More...
 
struct  GpsXtraInterface
 Extended interface for XTRA support. More...
 

Typedefs

typedef void(* agps_ril_request_ref_loc )(uint32_t flags)
 
typedef void(* agps_ril_request_set_id )(uint32_t flags)
 
typedef void(* agps_status_callback )(AGpsStatus *status)
 Callback with AGPS status information. More...
 
typedef uint16_t AGpsSetIDType
 
typedef uint16_t AGpsStatusValue
 AGPS status event values. More...
 
typedef uint16_t AGpsType
 AGPS type. More...
 
typedef void(* gps_acquire_wakelock )()
 Callback utility for acquiring the GPS wakelock. More...
 
typedef pthread_t(* gps_create_thread )(const char *name, void(*start)(void *), void *arg)
 Callback for creating a thread that can call into the Java framework code. More...
 
typedef void(* gps_location_callback )(GpsLocation *location)
 Callback with location information. More...
 
typedef void(* gps_ni_notify_callback )(GpsNiNotification *notification)
 Callback with NI notification. More...
 
typedef void(* gps_nmea_callback )(GpsUtcTime timestamp, const char *nmea, int length)
 Callback for reporting NMEA sentences. More...
 
typedef void(* gps_release_wakelock )()
 Callback utility for releasing the GPS wakelock. More...
 
typedef void(* gps_request_utc_time )()
 Callback for requesting NTP time. More...
 
typedef void(* gps_set_capabilities )(uint32_t capabilities)
 Callback to inform framework of the GPS engine's capabilities. More...
 
typedef void(* gps_status_callback )(GpsStatus *status)
 Callback with status information. More...
 
typedef void(* gps_sv_status_callback )(GpsSvStatus *sv_info)
 Callback with SV status information. More...
 
typedef void(* gps_xtra_download_request )()
 Callback to request the client to download XTRA data. More...
 
typedef uint16_t GpsAidingData
 Flags used to specify which aiding data to delete when calling delete_aiding_data(). More...
 
typedef uint16_t GpsLocationFlags
 Flags to indicate which values are valid in a GpsLocation. More...
 
typedef int GpsNiEncodingType
 NI data encoding scheme. More...
 
typedef uint32_t GpsNiNotifyFlags
 GpsNiNotifyFlags constants. More...
 
typedef uint32_t GpsNiType
 GpsNiType constants. More...
 
typedef uint32_t GpsPositionMode
 Requested operational mode for GPS operation. More...
 
typedef uint32_t GpsPositionRecurrence
 Requested recurrence mode for GPS operation. More...
 
typedef uint16_t GpsStatusValue
 GPS status event values. More...
 
typedef int GpsUserResponseType
 GPS NI responses, used to define the response in NI structures. More...
 
typedef int64_t GpsUtcTime
 Milliseconds since January 1, 1970. More...
 

Typedef Documentation

typedef void(* agps_ril_request_ref_loc)(uint32_t flags)

Definition at line 631 of file gps.h.

typedef void(* agps_ril_request_set_id)(uint32_t flags)

Definition at line 630 of file gps.h.

typedef void(* agps_status_callback)(AGpsStatus *status)

Callback with AGPS status information.

Can only be called from a thread created by create_thread_cb.

Definition at line 482 of file gps.h.

typedef uint16_t AGpsSetIDType

Definition at line 131 of file gps.h.

typedef uint16_t AGpsStatusValue

AGPS status event values.

Definition at line 181 of file gps.h.

typedef uint16_t AGpsType

AGPS type.

Definition at line 127 of file gps.h.

typedef void(* gps_acquire_wakelock)()

Callback utility for acquiring the GPS wakelock.

This can be used to prevent the CPU from suspending while handling GPS events.

Definition at line 354 of file gps.h.

typedef pthread_t(* gps_create_thread)(const char *name, void(*start)(void *), void *arg)

Callback for creating a thread that can call into the Java framework code.

This must be used to create any threads that report events up to the framework.

Definition at line 365 of file gps.h.

typedef void(* gps_location_callback)(GpsLocation *location)

Callback with location information.

Can only be called from a thread created by create_thread_cb.

Definition at line 329 of file gps.h.

typedef void(* gps_ni_notify_callback)(GpsNiNotification *notification)

Callback with NI notification.

Can only be called from a thread created by create_thread_cb.

Definition at line 586 of file gps.h.

typedef void(* gps_nmea_callback)(GpsUtcTime timestamp, const char *nmea, int length)

Callback for reporting NMEA sentences.

Can only be called from a thread created by create_thread_cb.

Definition at line 344 of file gps.h.

typedef void(* gps_release_wakelock)()

Callback utility for releasing the GPS wakelock.

Definition at line 357 of file gps.h.

typedef void(* gps_request_utc_time)()

Callback for requesting NTP time.

Definition at line 360 of file gps.h.

typedef void(* gps_set_capabilities)(uint32_t capabilities)

Callback to inform framework of the GPS engine's capabilities.

Capability parameter is a bit field of GPS_CAPABILITY_* flags.

Definition at line 349 of file gps.h.

typedef void(* gps_status_callback)(GpsStatus *status)

Callback with status information.

Can only be called from a thread created by create_thread_cb.

Definition at line 334 of file gps.h.

typedef void(* gps_sv_status_callback)(GpsSvStatus *sv_info)

Callback with SV status information.

Can only be called from a thread created by create_thread_cb.

Definition at line 339 of file gps.h.

typedef void(* gps_xtra_download_request)()

Callback to request the client to download XTRA data.

The client should download XTRA data and inject it by calling inject_xtra_data(). Can only be called from a thread created by create_thread_cb.

Definition at line 436 of file gps.h.

typedef uint16_t GpsAidingData

Flags used to specify which aiding data to delete when calling delete_aiding_data().

Definition at line 109 of file gps.h.

typedef uint16_t GpsLocationFlags

Flags to indicate which values are valid in a GpsLocation.

Definition at line 77 of file gps.h.

typedef int GpsNiEncodingType

NI data encoding scheme.

Definition at line 173 of file gps.h.

typedef uint32_t GpsNiNotifyFlags

GpsNiNotifyFlags constants.

Definition at line 153 of file gps.h.

typedef uint32_t GpsNiType

GpsNiType constants.

Definition at line 145 of file gps.h.

typedef uint32_t GpsPositionMode

Requested operational mode for GPS operation.

Definition at line 42 of file gps.h.

typedef uint32_t GpsPositionRecurrence

Requested recurrence mode for GPS operation.

Definition at line 53 of file gps.h.

typedef uint16_t GpsStatusValue

GPS status event values.

Definition at line 62 of file gps.h.

typedef int GpsUserResponseType

GPS NI responses, used to define the response in NI structures.

Definition at line 165 of file gps.h.

typedef int64_t GpsUtcTime

Milliseconds since January 1, 1970.

Definition at line 36 of file gps.h.