GPS JNI Android source code
no vote
Android GPS JNI source function calls the HW get module loading hardware adapter module. So file and then by HW device t interface by calling the open () function, the actual implementation of the Gps/loc_api/libloc_api/gps.c Gps/loc_api/libloc_api/gps.c Gps/loc_api/libloc_api/gps.c definition open GPS function, then call GPS device t interface get GPS interface function. This function is in the gps.c defined. Finally returned sLocEngInterface Hal layer in LOC Loc_eng.cpp file, and through the upper layer to the bottom layer of the channel.