Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioEndpointManager.cpp279 int32_t newRefCount = serviceEndpoint->getOpenCount() - 1; in closeExclusiveEndpoint() local
280 serviceEndpoint->setOpenCount(newRefCount); in closeExclusiveEndpoint()
283 if (newRefCount <= 0) { in closeExclusiveEndpoint()
302 int32_t newRefCount = serviceEndpoint->getOpenCount() - 1; in closeSharedEndpoint() local
303 serviceEndpoint->setOpenCount(newRefCount); in closeSharedEndpoint()
306 if (newRefCount <= 0) { in closeSharedEndpoint()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java1742 int newRefCount = deathRecipient.second + 1; in addDeathRecipient() local
1743 deathRecipient = new Pair<>(deathRecipient.first, newRefCount); in addDeathRecipient()
1753 int newRefCount = deathRecipient.second - 1; in removeDeathRecipient() local
1754 if (newRefCount == 0) { in removeDeathRecipient()
1759 deathRecipient = new Pair<>(deathRecipient.first, newRefCount); in removeDeathRecipient()