Home
last modified time | relevance | path

Searched refs:mEntries (Results 1 – 5 of 5) sorted by relevance

/system/media/audio_utils/include/audio_utils/
DErrorLog.h56 , mEntries(entries)
76 if (code == mEntries[mIdx].mCode in log()
77 && nowNs - mEntries[mIdx].mLastTime < mAggregateNs) { in log()
78 mEntries[mIdx].mCount++; in log()
79 mEntries[mIdx].mLastTime = nowNs; in log()
84 if (++mIdx >= mEntries.size()) { in log()
87 mEntries[mIdx].setFirstError(code, nowNs); in log()
103 const size_t numberOfEntries = mEntries.size();
120 mEntries[(mIdx + numberOfEntries - offset) % numberOfEntries];
130 mEntries[(mIdx + numberOfEntries - offset) % numberOfEntries];
[all …]
DPowerLog.h106 std::vector<std::pair<int64_t /* real time ns */, float /* energy */>> mEntries; variable
/system/media/audio_utils/
DPowerLog.cpp57 , mEntries(entries) in PowerLog()
91 mEntries[mIdx++] = std::make_pair(nowNs, 0.f); in log()
96 mEntries[mIdx++] = std::make_pair(mCurrentTime, mCurrentEnergy); in log()
99 if (mIdx >= mEntries.size()) { in log()
100 mIdx -= mEntries.size(); in log()
116 const size_t numberOfEntries = mEntries.size(); in dumpToString()
131 const int64_t time = mEntries[idx].first; in dumpToString()
132 const float energy = mEntries[idx].second; in dumpToString()
183 const int64_t time = mEntries[idx].first; in dumpToString()
184 const float energy = mEntries[idx].second; in dumpToString()
/system/netd/libnetdutils/
DLog.cpp189 entries.assign(mEntries.cbegin(), mEntries.cend()); in forEachEntry()
211 mEntries.push_back(makeTimestampedEntry(entry)); in record()
212 while (mEntries.size() > mMaxEntries) mEntries.pop_front(); in record()
/system/netd/libnetdutils/include/netdutils/
DLog.h205 std::deque<const std::string> mEntries; // GUARDED_BY(mLock), when supported variable