Home
last modified time | relevance | path

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

/frameworks/av/media/utils/
DBatteryNotifier.cpp44 if (mVideoRefCounts[uid] == 0 && batteryService != nullptr) { in noteStartVideo()
47 mVideoRefCounts[uid]++; in noteStartVideo()
52 if (mVideoRefCounts.find(uid) == mVideoRefCounts.end()) { in noteStopVideo()
59 mVideoRefCounts[uid]--; in noteStopVideo()
60 if (mVideoRefCounts[uid] == 0) { in noteStopVideo()
64 mVideoRefCounts.erase(uid); in noteStopVideo()
71 mVideoRefCounts.clear(); in noteResetVideo()
214 std::map<uid_t, int>::iterator it = mVideoRefCounts.begin(); in getBatteryService_l()
215 for (; it != mVideoRefCounts.end(); ++it) { in getBatteryService_l()
/frameworks/av/media/utils/include/mediautils/
DBatteryNotifier.h61 std::map<uid_t, int> mVideoRefCounts; variable