Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp293 SortedVector< sp<SensorEventConnection> > activeConnections; in setSensorAccess() local
294 populateActiveConnections(&activeConnections); in setSensorAccess()
297 for (size_t i = 0 ; i < activeConnections.size(); i++) { in setSensorAccess()
298 if (activeConnections[i] != 0 && activeConnections[i]->getUid() == uid) { in setSensorAccess()
299 activeConnections[i]->setSensorAccess(hasAccess); in setSensorAccess()
645 SortedVector< sp<SensorEventConnection> > activeConnections; in threadLoop() local
646 populateActiveConnections(&activeConnections); in threadLoop()
771 size_t numConnections = activeConnections.size(); in threadLoop()
773 if (activeConnections[i] != NULL) { in threadLoop()
774 activeConnections[i]->removeSensor(handle); in threadLoop()
[all …]
DSensorService.h243 void populateActiveConnections( SortedVector< sp<SensorEventConnection> >* activeConnections);
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java832 int activeConnections = 0; in logConnectionPoolBusyLocked() local
839 activeConnections += 1; in logConnectionPoolBusyLocked()
850 msg.append("Connections: ").append(activeConnections).append(" active, "); in logConnectionPoolBusyLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java1109 ArrayList<GsmCdmaConnection> activeConnections = new ArrayList<>(); in updateMetrics() local
1111 if (conn != null) activeConnections.add(conn); in updateMetrics()
1113 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections); in updateMetrics() local