Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioEndpointManager.cpp281 const int32_t newRefCount = serviceEndpoint->getOpenCount() - 1; in closeExclusiveEndpoint() local
282 serviceEndpoint->setOpenCount(newRefCount); in closeExclusiveEndpoint()
285 if (newRefCount <= 0) { in closeExclusiveEndpoint()
304 const int32_t newRefCount = serviceEndpoint->getOpenCount() - 1; in closeSharedEndpoint() local
305 serviceEndpoint->setOpenCount(newRefCount); in closeSharedEndpoint()
308 if (newRefCount <= 0) { in closeSharedEndpoint()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java1788 int newRefCount = deathRecipient.second + 1; in addDeathRecipient() local
1789 deathRecipient = new Pair<>(deathRecipient.first, newRefCount); in addDeathRecipient()
1799 int newRefCount = deathRecipient.second - 1; in removeDeathRecipient() local
1800 if (newRefCount == 0) { in removeDeathRecipient()
1805 deathRecipient = new Pair<>(deathRecipient.first, newRefCount); in removeDeathRecipient()