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.h120 mActivityCount += delta; in changeActivityCount()
122 LOG_ALWAYS_FATAL_IF(!mActivityCount, "%s(%s) invalid delta %d, inactive client", in changeActivityCount()
124 LOG_ALWAYS_FATAL_IF(static_cast<int>(mActivityCount) < -delta, in changeActivityCount()
126 __func__, toShortString().c_str(), delta, mActivityCount); in changeActivityCount()
127 mActivityCount += delta; in changeActivityCount()
129 ClientDescriptor::setActive(mActivityCount > 0); in changeActivityCount()
131 uint32_t getActivityCount() const { return mActivityCount; } in getActivityCount()
144 uint32_t mActivityCount = 0; variable
DAudioOutputDescriptor.h46 if (mActivityCount > 0) {
62 if ((delta + (int)mActivityCount) < 0) { in changeActivityCount()
63 LOG_ALWAYS_FATAL("%s: invalid delta %d, refCount %d", __func__, delta, mActivityCount); in changeActivityCount()
65 mActivityCount += delta; in changeActivityCount()
66 if (!mActivityCount) { in changeActivityCount()
70 uint32_t getActivityCount() const { return mActivityCount; } in getActivityCount()
80 uint32_t mActivityCount = 0;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp58 dst->appendFormat("%*s- Refcount: %d\n", spaces, "", mActivityCount); in dump()