Home
last modified time | relevance | path

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

/frameworks/av/media/libmediatranscoding/
DTranscodingSessionController.cpp217 std::map<uid_t, UidHistoryEntry> mUidHistoryMap; member
262 if (mUidHistoryMap.find(uid) == mUidHistoryMap.end()) { in onSessionStarted()
263 mUidHistoryMap.emplace(uid, UidHistoryEntry{}); in onSessionStarted()
264 mUidHistoryMap[uid].sessionActive = true; in onSessionStarted()
274 std::chrono::steady_clock::now() - mUidHistoryMap[uid].lastCompletedTime; in onSessionStarted()
275 if (mUidHistoryMap[uid].burstCount >= mBurstCountQuota && in onSessionStarted()
276 mUidHistoryMap[uid].burstDuration >= std::chrono::seconds(mBurstTimeQuotaSec)) { in onSessionStarted()
278 mUidHistoryMap[uid].burstCount, in onSessionStarted()
279 (long long)mUidHistoryMap[uid].burstDuration.count() / 1000000); in onSessionStarted()
287 mUidHistoryMap[uid].burstCount = 0; in onSessionStarted()
[all …]