Home
last modified time | relevance | path

Searched refs:lci (Results 1 – 8 of 8) sorted by relevance

/system/chre/apps/wifi_world/
Dwifi_world.cc120 const chreWifiRangingResult::chreWifiLci lci = result.lci; in logChreRangingResult() local
121 LOGI(" latitude: 0x%" PRIx64 ", %f degs", lci.latitude, in logChreRangingResult()
122 static_cast<float>(lci.latitude) / static_cast<float>(1 << 25)); in logChreRangingResult()
123 LOGI(" longitude: 0x%" PRIx64 ", %f degs", lci.longitude, in logChreRangingResult()
124 static_cast<float>(lci.longitude) / static_cast<float>(1 << 25)); in logChreRangingResult()
127 static_cast<float>(lci.altitude) / static_cast<float>(1 << 8); in logChreRangingResult()
128 if (lci.altitudeType == CHRE_WIFI_LCI_UNCERTAINTY_UNKNOWN) { in logChreRangingResult()
130 } else if (lci.altitudeType == CHRE_WIFI_LCI_ALTITUDE_TYPE_METERS) { in logChreRangingResult()
131 LOGI(" altitude: 0x%" PRIx32 ", %f m", lci.altitude, altitude); in logChreRangingResult()
132 } else if (lci.altitudeType == CHRE_WIFI_LCI_ALTITUDE_TYPE_FLOORS) { in logChreRangingResult()
[all …]
/system/chre/apps/test/chqts/src/general_test/
Dbasic_wifi_test.cc277 void validateLci(const struct chreWifiRangingResult::chreWifiLci *lci) { in validateLci() argument
282 ASSERT_IN_RANGE(lci->latitude, -1 * kMaxLat, kMaxLat, in validateLci()
284 ASSERT_IN_RANGE(lci->longitude, -1 * kMaxLng, kMaxLng, in validateLci()
289 ASSERT_LE(lci->latitudeUncertainty, kMaxLatLngUncertainty, in validateLci()
291 ASSERT_LE(lci->longitudeUncertainty, kMaxLatLngUncertainty, in validateLci()
294 if (lci->altitudeType == CHRE_WIFI_LCI_ALTITUDE_TYPE_METERS) { in validateLci()
304 lci->altitude, kMinAltitudeMeters, kMaxAltitudeMeters, in validateLci()
309 ASSERT_LE(lci->altitudeUncertainty, kMaxAltitudeUncertainty, in validateLci()
311 } else if (lci->altitudeType == CHRE_WIFI_LCI_ALTITUDE_TYPE_FLOORS) { in validateLci()
316 lci->altitude, kMinAltitudeFloors, kMaxAltitudeFloors, in validateLci()
[all …]
/system/chre/chpp/include/chpp/common/
Dwifi_types.h61 struct ChppWifiLci lci; member
/system/chre/chpp/common/
Dwifi_convert.c206 chppWifiConvertLciFromChre(&in->lci, &out->lci); in chppWifiConvertRangingResultFromChre()
524 if (!chppWifiConvertLciToChre(&in->lci, &out->lci)) { in chppWifiConvertRangingResultToChre()
/system/chre/chre_api/legacy/v1_3/chre/
Dwifi.h691 } lci; member
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h691 } lci; member
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h749 } lci; member
/system/chre/chre_api/legacy/v1_4/chre/
Dwifi.h691 } lci; member