Google is committed to advancing racial equity for Black communities. See how.

AGpsRilInterface Struct Reference

AGpsRilInterface Struct Reference

#include < gps.h >

Data Fields

size_t  size
 
void(*  init )( AGpsRilCallbacks *callbacks)
 
void(*  set_ref_location )(const AGpsRefLocation *agps_reflocation, size_t sz_struct)
 
void(*  set_set_id )( AGpsSetIDType type, const char *setid)
 
void(*  ni_message )(uint8_t *msg, size_t len)
 
void(*  update_network_state )(int connected, int type, int roaming, const char *extra_info)
 
void(*  update_network_availability )(int avaiable, const char *apn)
 

Detailed Description

Extended interface for AGPS_RIL support.

Definition at line 1145 of file gps.h .

Field Documentation

void(* init)( AGpsRilCallbacks *callbacks)

Opens the AGPS interface and provides the callback routines to the implementation of this interface.

Definition at line 1152 of file gps.h .

void(* ni_message)(uint8_t *msg, size_t len)

Send network initiated message.

Definition at line 1166 of file gps.h .

void(* set_ref_location)(const AGpsRefLocation *agps_reflocation, size_t sz_struct)

Sets the reference location.

Definition at line 1157 of file gps.h .

void(* set_set_id)( AGpsSetIDType type, const char *setid)

Sets the set ID.

Definition at line 1161 of file gps.h .

size_t size

set to sizeof(AGpsRilInterface)

Definition at line 1147 of file gps.h .

void(* update_network_availability)(int avaiable, const char *apn)

Notify GPS of network status changes. These parameters match values in the android.net.NetworkInfo class.

Definition at line 1178 of file gps.h .

void(* update_network_state)(int connected, int type, int roaming, const char *extra_info)

Notify GPS of network status changes. These parameters match values in the android.net.NetworkInfo class.

Definition at line 1172 of file gps.h .


The documentation for this struct was generated from the following file:
  • hardware/libhardware/include/hardware/ gps.h