Lines Matching refs:it
971 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end();) { in stopClientSessions() local
972 if (client == it->first.client) { in stopClientSessions()
973 LocationError err = stopTrackingMultiplex(it->first.client, it->first.id); in stopClientSessions()
975 it = mTrackingSessions.erase(it); in stopClientSessions()
979 ++it; // increment only when not erasing an iterator in stopClientSessions()
988 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in updateClientsEventMask() local
989 if (it->second.trackingCb != nullptr) { in updateClientsEventMask()
992 if (it->second.gnssNiCb != nullptr) { in updateClientsEventMask()
995 if (it->second.gnssSvCb != nullptr) { in updateClientsEventMask()
998 if (it->second.gnssNmeaCb != nullptr) { in updateClientsEventMask()
1001 if (it->second.gnssMeasurementsCb != nullptr) { in updateClientsEventMask()
1036 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end(); ++it) { in restartSessions() local
1038 it->second.minInterval < smallestIntervalOptions.minInterval) { in restartSessions()
1039 smallestIntervalOptions = it->second; in restartSessions()
1105 auto it = mClientData.find(client); in getClientCallbacks() local
1106 if (it != mClientData.end()) { in getClientCallbacks()
1107 callbacks = it->second; in getClientCallbacks()
1122 auto it = mClientData.find(client); in eraseClient() local
1123 if (it != mClientData.end()) { in eraseClient()
1124 mClientData.erase(it); in eraseClient()
1132 auto it = mClientData.find(client); in hasTrackingCallback() local
1133 return (it != mClientData.end() && it->second.trackingCb); in hasTrackingCallback()
1139 auto it = mClientData.find(client); in hasMeasurementsCallback() local
1140 return (it != mClientData.end() && it->second.gnssMeasurementsCb); in hasMeasurementsCallback()
1162 auto it = mTrackingSessions.find(key); in eraseTrackingSession() local
1163 if (it != mTrackingSessions.end()) { in eraseTrackingSession()
1164 mTrackingSessions.erase(it); in eraseTrackingSession()
1174 auto it = mClientData.find(client); in reportResponse() local
1175 if (it != mClientData.end() && in reportResponse()
1176 it->second.responseCb != nullptr) { in reportResponse()
1177 it->second.responseCb(err, sessionId); in reportResponse()
1278 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end(); ++it) { in startTrackingMultiplex() local
1280 it->second.minInterval < smallestIntervalOptions.minInterval) { in startTrackingMultiplex()
1281 smallestIntervalOptions = it->second; in startTrackingMultiplex()
1425 auto it = mTrackingSessions.find(key); in updateTrackingMultiplex() local
1426 if (it != mTrackingSessions.end()) { in updateTrackingMultiplex()
1442 } else if (it->second.minInterval < smallestIntervalOptions.minInterval) { in updateTrackingMultiplex()
1502 auto it = mTrackingSessions.find(key); in stopTrackingMultiplex() local
1503 if (it != mTrackingSessions.end()) { in stopTrackingMultiplex()
1515 if (it->second.minInterval < smallestIntervalOptions.minInterval) { in stopTrackingMultiplex()
1604 auto it = mClientData.find(client); in hasNiNotifyCallback() local
1605 return (it != mClientData.end() && it->second.gnssNiCb); in hasNiNotifyCallback()
1872 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportPosition() local
1873 if (nullptr != it->second.trackingCb) { in reportPosition()
1876 it->second.trackingCb(location); in reportPosition()
1878 if (nullptr != it->second.gnssLocationInfoCb) { in reportPosition()
1881 it->second.gnssLocationInfoCb(locationInfo); in reportPosition()
1990 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportSv() local
1991 if (nullptr != it->second.gnssSvCb) { in reportSv()
1992 it->second.gnssSvCb(svNotify); in reportSv()
2064 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportNmea() local
2065 if (nullptr != it->second.gnssNmeaCb) { in reportNmea()
2066 it->second.gnssNmeaCb(nmeaNotification); in reportNmea()
2168 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in requestNiNotify() local
2169 if (nullptr != it->second.gnssNiCb) { in requestNiNotify()
2170 gnssNiCb = it->second.gnssNiCb; in requestNiNotify()
2258 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportGnssMeasurementData() local
2259 if (nullptr != it->second.gnssMeasurementsCb) { in reportGnssMeasurementData()
2260 it->second.gnssMeasurementsCb(measurementsNotify); in reportGnssMeasurementData()