Searched refs:activeClients (Results 1 – 5 of 5) sorted by relevance
35 private val activeClients = ConcurrentHashMap<String, AtomicInteger>() in <lambda>() constant38 val count = activeClients.computeIfAbsent(why) { _ -> AtomicInteger(0) }.incrementAndGet() in <lambda>()48 val count = activeClients[why]?.decrementAndGet() ?: -1 in <lambda>()52 activeClients[why]?.incrementAndGet() in <lambda>()62 fun activeClients(): Int = in <lambda>() method63 activeClients.reduceValuesToInt(Long.MAX_VALUE, AtomicInteger::get, 0, Integer::sum) in <lambda>()
45 auto activeClients = desc->clientsList(true /*activeOnly*/); in findPreferredDevice() local46 active = activeClients.size() > 0; in findPreferredDevice()64 if (activeClients.size() == activeClientsWithRoute.size()) { in findPreferredDevice()
119 Assert.assertEquals(5, mWakeLock.activeClients()) in acquireSeveralLocks_stringReportsCorrectCount()123 Assert.assertEquals(3, mWakeLock.activeClients()) in acquireSeveralLocks_stringReportsCorrectCount()128 Assert.assertEquals(0, mWakeLock.activeClients()) in acquireSeveralLocks_stringReportsCorrectCount()
642 size_t activeClients; in doOnUpdateActiveSpatializerTracks() local645 activeClients = countActiveClientsOnOutput_l(output); in doOnUpdateActiveSpatializerTracks()647 mSpatializer->updateActiveTracks(activeClients); in doOnUpdateActiveSpatializerTracks()
3534 auto activeClients = desc->clientsList(true /*activeOnly*/, productStrategy, in setVolumeIndexForAttributes() local3536 if (activeClients.empty()) { in setVolumeIndexForAttributes()3541 for (const auto &client : activeClients) { in setVolumeIndexForAttributes()8704 const TrackClientVector activeClients = output->getActiveClients(); in areAllActiveTracksRerouted() local8705 if (activeClients.empty()) { in areAllActiveTracksRerouted()8726 for (const auto& client : activeClients) { in areAllActiveTracksRerouted()