Home
last modified time | relevance | path

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

/frameworks/av/media/utils/
DBatteryNotifier.cpp80 if (mAudioRefCounts[uid] == 0 && batteryService != nullptr) { in noteStartAudio()
83 mAudioRefCounts[uid]++; in noteStartAudio()
88 if (mAudioRefCounts.find(uid) == mAudioRefCounts.end()) { in noteStopAudio()
95 mAudioRefCounts[uid]--; in noteStopAudio()
96 if (mAudioRefCounts[uid] == 0) { in noteStopAudio()
100 mAudioRefCounts.erase(uid); in noteStopAudio()
107 mAudioRefCounts.clear(); in noteResetAudio()
218 it = mAudioRefCounts.begin(); in getBatteryService_l()
219 for (; it != mAudioRefCounts.end(); ++it) { in getBatteryService_l()
/frameworks/av/media/utils/include/mediautils/
DBatteryNotifier.h62 std::map<uid_t, int> mAudioRefCounts; variable