Lines Matching refs:lossInfo
448 void StatsdStats::noteAtomSocketLoss(const SocketLossInfo& lossInfo) { in noteAtomSocketLoss() argument
450 (long long)lossInfo.firstLossTsNanos, (long long)lossInfo.lastLossTsNanos); in noteAtomSocketLoss()
457 mSocketLossStats.emplace_back(lossInfo.uid, lossInfo.firstLossTsNanos, in noteAtomSocketLoss()
458 lossInfo.lastLossTsNanos); in noteAtomSocketLoss()
459 for (size_t i = 0; i < lossInfo.atomIds.size(); i++) { in noteAtomSocketLoss()
460 ALOGW("For uid %d atom %d was lost %d times with error %d", lossInfo.uid, in noteAtomSocketLoss()
461 lossInfo.atomIds[i], lossInfo.counts[i], lossInfo.errors[i]); in noteAtomSocketLoss()
463 lossInfo.atomIds[i], lossInfo.errors[i], lossInfo.counts[i]); in noteAtomSocketLoss()
466 if (lossInfo.overflowCounter > 0) { in noteAtomSocketLoss()
467 auto overflowPerUid = mSocketLossStatsOverflowCounters.find(lossInfo.uid); in noteAtomSocketLoss()
469 overflowPerUid->second += lossInfo.overflowCounter; in noteAtomSocketLoss()
471 mSocketLossStatsOverflowCounters[lossInfo.uid] = lossInfo.overflowCounter; in noteAtomSocketLoss()