Lines Matching refs:loc
187 AGnssRefLocInfo loc; in SetAgnssRefInfo() local
188 loc.type = g_refInfoType; in SetAgnssRefInfo()
189 if (loc.type == static_cast<uint32_t>(AgnssRefLocClass::AGNSS_REF_LOC_CLASS_MAC)) { in SetAgnssRefInfo()
191 loc.u.mac.mac[i] = refInfo.mac.mac[i]; in SetAgnssRefInfo()
193 loc.u.mac.size = MAC_LEN; in SetAgnssRefInfo()
194 } else if (loc.type == static_cast<uint32_t>(AgnssRefLocClass::AGNSS_REF_LOC_CLASS_CELLID)) { in SetAgnssRefInfo()
197 loc.u.cellId.type = static_cast<uint16_t>(CellIdClass::GSM_CELLID); in SetAgnssRefInfo()
200 loc.u.cellId.type = static_cast<uint16_t>(CellIdClass::UMTS_CELLID); in SetAgnssRefInfo()
203 loc.u.cellId.type = static_cast<uint16_t>(CellIdClass::LTE_CELLID); in SetAgnssRefInfo()
206 loc.u.cellId.type = static_cast<uint16_t>(CellIdClass::NR_CELLID); in SetAgnssRefInfo()
212 loc.u.cellId.mcc = refInfo.cellId.mcc; in SetAgnssRefInfo()
213 loc.u.cellId.mnc = refInfo.cellId.mnc; in SetAgnssRefInfo()
214 loc.u.cellId.lac = refInfo.cellId.lac; in SetAgnssRefInfo()
215 loc.u.cellId.cid = refInfo.cellId.cid; in SetAgnssRefInfo()
216 loc.u.cellId.tac = refInfo.cellId.tac; in SetAgnssRefInfo()
217 loc.u.cellId.pcid = refInfo.cellId.pcid; in SetAgnssRefInfo()
219 bool ret = agnssInterface->set_ref_location(&loc); in SetAgnssRefInfo()