Home
last modified time | relevance | path

Searched refs:activeConnections (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.cpp410 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()
[all …]
DSensorService.h255 void populateActiveConnections(SortedVector< sp<SensorEventConnection> >* activeConnections);
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java747 int activeConnections = 0; in logConnectionPoolBusyLocked() local
754 activeConnections += 1; in logConnectionPoolBusyLocked()
765 msg.append("Connections: ").append(activeConnections).append(" active, "); in logConnectionPoolBusyLocked()