Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h125 mActivityCount += delta; in changeActivityCount()
127 LOG_ALWAYS_FATAL_IF(!mActivityCount, "%s(%s) invalid delta %d, inactive client", in changeActivityCount()
129 LOG_ALWAYS_FATAL_IF(static_cast<int>(mActivityCount) < -delta, in changeActivityCount()
131 __func__, toShortString().c_str(), delta, mActivityCount); in changeActivityCount()
132 mActivityCount += delta; in changeActivityCount()
134 ClientDescriptor::setActive(mActivityCount > 0); in changeActivityCount()
136 uint32_t getActivityCount() const { return mActivityCount; } in getActivityCount()
149 uint32_t mActivityCount = 0; variable
DAudioOutputDescriptor.h47 if (mActivityCount > 0) {
63 if ((delta + (int)mActivityCount) < 0) { in changeActivityCount()
64 LOG_ALWAYS_FATAL("%s: invalid delta %d, refCount %d", __func__, delta, mActivityCount); in changeActivityCount()
66 mActivityCount += delta; in changeActivityCount()
67 if (!mActivityCount) { in changeActivityCount()
71 uint32_t getActivityCount() const { return mActivityCount; } in getActivityCount()
81 uint32_t mActivityCount = 0;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp58 dst->appendFormat("%*s- Refcount: %d\n", spaces, "", mActivityCount); in dump()