Lines Matching refs:activeConnections
410 SortedVector< sp<SensorEventConnection> > activeConnections; in threadLoop() local
411 populateActiveConnections(&activeConnections); in threadLoop()
499 size_t numConnections = activeConnections.size(); in threadLoop()
501 if (activeConnections[i] != 0) { in threadLoop()
502 activeConnections[i]->sendEvents(mSensorEventBuffer, count, mSensorEventScratch, in threadLoop()
504 needsWakeLock |= activeConnections[i]->needsWakeLock(); in threadLoop()
507 if (activeConnections[i]->hasOneShotSensors()) { in threadLoop()
508 cleanupAutoDisabledSensorLocked(activeConnections[i], mSensorEventBuffer, in threadLoop()
529 SortedVector< sp<SensorEventConnection> > activeConnections; in resetAllWakeLockRefCounts() local
530 populateActiveConnections(&activeConnections); in resetAllWakeLockRefCounts()
533 for (size_t i=0 ; i < activeConnections.size(); ++i) { in resetAllWakeLockRefCounts()
534 if (activeConnections[i] != 0) { in resetAllWakeLockRefCounts()
535 activeConnections[i]->resetWakeLockRefCount(); in resetAllWakeLockRefCounts()
965 SortedVector< sp<SensorEventConnection> >* activeConnections) { in populateActiveConnections()
970 activeConnections->add(connection); in populateActiveConnections()