Searched refs:mActiveCount (Results 1 – 4 of 4) sorted by relevance
45 mOpenCount(1), mActiveCount(0), mPolicyMix(policyMix), mClientInterface(clientInterface),64 const uint32_t oldActiveCount = mActiveCount; in changeActiveCount()65 if ((delta + (int)mActiveCount) < 0) { in changeActiveCount()67 __FUNCTION__, delta, mActiveCount); in changeActiveCount()68 mActiveCount = (uint32_t)(-delta); in changeActiveCount()70 mActiveCount += delta; in changeActiveCount()71 ALOGV("%s active count %d", __FUNCTION__, mActiveCount); in changeActiveCount()74 if ((oldActiveCount == 0) && (mActiveCount > 0)) { in changeActiveCount()76 } else if ((oldActiveCount > 0) && (mActiveCount == 0)) { in changeActiveCount()102 return mActiveCount; in changeActiveCount()[all …]
89 private int mActiveCount = 0; field in LiveData355 return mActiveCount > 0; in hasActiveObservers()387 boolean wasInactive = LiveData.this.mActiveCount == 0; in activeStateChanged()388 LiveData.this.mActiveCount += active ? 1 : -1; in activeStateChanged()392 if (LiveData.this.mActiveCount == 0 && !active) { in activeStateChanged()
60 uint32_t activeCount() const { return mActiveCount; } ; in activeCount()75 uint32_t mActiveCount; variable
169 private final AtomicInteger mActiveCount = new AtomicInteger(); field in PackageInstallerSession432 info.active = mActiveCount.get() > 0; in generateInfoInternal()772 mActiveCount.incrementAndGet(); in commit()1434 if (mActiveCount.getAndIncrement() == 0) { in open()1481 activeCount = mActiveCount.decrementAndGet(); in closeInternal()