Home
last modified time | relevance | path

Searched refs:locationsCount (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/gnss/1.0/default/
DGnssBatching.cpp62 void GnssBatching::locationCb(int32_t locationsCount, FlpLocation** locations) { in locationCb() argument
73 if (locationsCount < 0) { in locationCb()
74 ALOGE("%s: Negative location count: %d set to 0", __func__, locationsCount); in locationCb()
75 locationsCount = 0; in locationCb()
76 } else if (locationsCount > MAX_LOCATIONS_PER_BATCH) { in locationCb()
77 ALOGW("%s: Unexpected high location count: %d set to %d", __func__, locationsCount, in locationCb()
79 locationsCount = MAX_LOCATIONS_PER_BATCH; in locationCb()
91 for (int iLocation = 0; iLocation < locationsCount; iLocation++) { in locationCb()
94 locationsCount); in locationCb()
100 locations[iLocation]->sources_used, iLocation, locationsCount); in locationCb()
DGnssBatching.h41 static void locationCb(int32_t locationsCount, FlpLocation** locations);