Lines Matching refs:SensorEventConnection
226 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in unregisterRuntimeSensor()
480 mMapFlushEventsToConnections = new wp<const SensorEventConnection> [minBufferSize]; in onFirstRef()
512 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in onUidStateChanged()
893 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in capRates()
904 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in uncapRates()
1042 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked()
1064 const std::vector<sp<SensorEventConnection>>& activeConnections, in sendEventsToAllClients()
1069 for (const sp<SensorEventConnection>& connection : activeConnections) { in sendEventsToAllClients()
1087 const std::vector<sp<SensorEventConnection>>& activeConnections) { in disconnectDynamicSensor()
1094 for (const sp<SensorEventConnection>& connection : activeConnections) { in disconnectDynamicSensor()
1101 const std::vector<sp<SensorEventConnection>> activeConnections = in handleDeviceReconnection()
1230 … const std::vector<sp<SensorEventConnection>> activeConnections = connLock.getActiveConnections(); in threadLoop()
1324 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in processRuntimeSensorEvents()
1340 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in resetAllWakeLockRefCounts()
1605 sp<SensorEventConnection> result(new SensorEventConnection(this, uid, connPackageName, in createSensorEventConnection()
1871 void SensorService::cleanupConnection(SensorEventConnection* c) { in cleanupConnection()
1873 const wp<SensorEventConnection> connection(c); in cleanupConnection()
2021 status_t SensorService::enable(const sp<SensorEventConnection>& connection, in enable()
2166 status_t SensorService::disable(const sp<SensorEventConnection>& connection, int handle) { in disable()
2186 const sp<SensorEventConnection>& connection, int handle) { in cleanupWithoutDisable()
2192 const sp<SensorEventConnection>& connection, int handle) { in cleanupWithoutDisableLocked()
2214 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection, in setEventRate()
2236 status_t SensorService::flushSensor(const sp<SensorEventConnection>& connection, in flushSensor()
2503 for (const sp<SensorEventConnection>& connection : connLock->getActiveConnections()) { in checkWakeLockStateLocked()
2514 void SensorService::sendEventsFromCache(const sp<SensorEventConnection>& connection) { in sendEventsFromCache()
2789 const std::vector<sp<SensorService::SensorEventConnection>>&
2802 const sp<SensorService::SensorEventConnection>& connection) { in addEventConnectionIfNotPresent()
2809 const wp<SensorService::SensorEventConnection>& connection) { in removeEventConnection()