Lines Matching refs:activeConnections
543 SortedVector< sp<SensorEventConnection> > activeConnections; in threadLoop() local
544 populateActiveConnections(&activeConnections); in threadLoop()
669 size_t numConnections = activeConnections.size(); in threadLoop()
671 if (activeConnections[i] != NULL) { in threadLoop()
672 activeConnections[i]->removeSensor(handle); in threadLoop()
683 size_t numConnections = activeConnections.size(); in threadLoop()
685 if (activeConnections[i] != 0) { in threadLoop()
686 activeConnections[i]->sendEvents(mSensorEventBuffer, count, mSensorEventScratch, in threadLoop()
688 needsWakeLock |= activeConnections[i]->needsWakeLock(); in threadLoop()
691 if (activeConnections[i]->hasOneShotSensors()) { in threadLoop()
692 cleanupAutoDisabledSensorLocked(activeConnections[i], mSensorEventBuffer, in threadLoop()
713 SortedVector< sp<SensorEventConnection> > activeConnections; in resetAllWakeLockRefCounts() local
714 populateActiveConnections(&activeConnections); in resetAllWakeLockRefCounts()
717 for (size_t i=0 ; i < activeConnections.size(); ++i) { in resetAllWakeLockRefCounts()
718 if (activeConnections[i] != 0) { in resetAllWakeLockRefCounts()
719 activeConnections[i]->resetWakeLockRefCount(); in resetAllWakeLockRefCounts()
1490 SortedVector< sp<SensorEventConnection> >* activeConnections) { in populateActiveConnections()
1495 activeConnections->add(connection); in populateActiveConnections()