Lines Matching refs:it
974 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end();) { in stopClientSessions() local
975 if (client == it->first.client) { in stopClientSessions()
976 LocationError err = stopTrackingMultiplex(it->first.client, it->first.id); in stopClientSessions()
978 it = mTrackingSessions.erase(it); in stopClientSessions()
982 ++it; // increment only when not erasing an iterator in stopClientSessions()
991 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in updateClientsEventMask() local
992 if (it->second.trackingCb != nullptr) { in updateClientsEventMask()
995 if (it->second.gnssNiCb != nullptr) { in updateClientsEventMask()
998 if (it->second.gnssSvCb != nullptr) { in updateClientsEventMask()
1001 if (it->second.gnssNmeaCb != nullptr) { in updateClientsEventMask()
1004 if (it->second.gnssMeasurementsCb != nullptr) { in updateClientsEventMask()
1042 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end(); ++it) { in restartSessions() local
1044 it->second.minInterval < smallestIntervalOptions.minInterval) { in restartSessions()
1045 smallestIntervalOptions = it->second; in restartSessions()
1111 auto it = mClientData.find(client); in getClientCallbacks() local
1112 if (it != mClientData.end()) { in getClientCallbacks()
1113 callbacks = it->second; in getClientCallbacks()
1128 auto it = mClientData.find(client); in eraseClient() local
1129 if (it != mClientData.end()) { in eraseClient()
1130 mClientData.erase(it); in eraseClient()
1138 auto it = mClientData.find(client); in hasTrackingCallback() local
1139 return (it != mClientData.end() && it->second.trackingCb); in hasTrackingCallback()
1145 auto it = mClientData.find(client); in hasMeasurementsCallback() local
1146 return (it != mClientData.end() && it->second.gnssMeasurementsCb); in hasMeasurementsCallback()
1168 auto it = mTrackingSessions.find(key); in eraseTrackingSession() local
1169 if (it != mTrackingSessions.end()) { in eraseTrackingSession()
1170 mTrackingSessions.erase(it); in eraseTrackingSession()
1180 auto it = mClientData.find(client); in reportResponse() local
1181 if (it != mClientData.end() && in reportResponse()
1182 it->second.responseCb != nullptr) { in reportResponse()
1183 it->second.responseCb(err, sessionId); in reportResponse()
1284 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end(); ++it) { in startTrackingMultiplex() local
1286 it->second.minInterval < smallestIntervalOptions.minInterval) { in startTrackingMultiplex()
1287 smallestIntervalOptions = it->second; in startTrackingMultiplex()
1431 auto it = mTrackingSessions.find(key); in updateTrackingMultiplex() local
1432 if (it != mTrackingSessions.end()) { in updateTrackingMultiplex()
1448 } else if (it->second.minInterval < smallestIntervalOptions.minInterval) { in updateTrackingMultiplex()
1508 auto it = mTrackingSessions.find(key); in stopTrackingMultiplex() local
1509 if (it != mTrackingSessions.end()) { in stopTrackingMultiplex()
1521 if (it->second.minInterval < smallestIntervalOptions.minInterval) { in stopTrackingMultiplex()
1610 auto it = mClientData.find(client); in hasNiNotifyCallback() local
1611 return (it != mClientData.end() && it->second.gnssNiCb); in hasNiNotifyCallback()
1870 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportPosition() local
1871 if (nullptr != it->second.trackingCb) { in reportPosition()
1874 it->second.trackingCb(location); in reportPosition()
1876 if (nullptr != it->second.gnssLocationInfoCb) { in reportPosition()
1879 it->second.gnssLocationInfoCb(locationInfo); in reportPosition()
1983 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportSv() local
1984 if (nullptr != it->second.gnssSvCb) { in reportSv()
1985 it->second.gnssSvCb(svNotify); in reportSv()
2057 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportNmea() local
2058 if (nullptr != it->second.gnssNmeaCb) { in reportNmea()
2059 it->second.gnssNmeaCb(nmeaNotification); in reportNmea()
2161 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in requestNiNotify() local
2162 if (nullptr != it->second.gnssNiCb) { in requestNiNotify()
2163 gnssNiCb = it->second.gnssNiCb; in requestNiNotify()
2251 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in reportGnssMeasurementData() local
2252 if (nullptr != it->second.gnssMeasurementsCb) { in reportGnssMeasurementData()
2253 it->second.gnssMeasurementsCb(measurementsNotify); in reportGnssMeasurementData()