Searched defs:location_report_ptr (Results 1 - 1 of 1) sorted by relevance

/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
H A DLocApiRpc.cpp679 void LocApiRpc::reportPosition(const rpc_loc_parsed_position_s_type *location_report_ptr) argument
688 if (location_report_ptr->valid_mask & RPC_LOC_POS_VALID_SESSION_STATUS)
691 if (location_report_ptr->session_status == RPC_LOC_SESS_STATUS_SUCCESS ||
692 location_report_ptr->session_status == RPC_LOC_SESS_STATUS_IN_PROGESS)
695 if ((location_report_ptr->valid_mask & RPC_LOC_POS_VALID_LATITUDE) &&
696 (location_report_ptr->valid_mask & RPC_LOC_POS_VALID_LONGITUDE) &&
697 (location_report_ptr->latitude != 0 ||
698 location_report_ptr->longitude != 0))
701 location.gpsLocation.latitude = location_report_ptr->latitude;
702 location.gpsLocation.longitude = location_report_ptr
[all...]

Completed in 51 milliseconds