Home | History | Annotate | Download | only in sensorservice

Lines Matching refs:SensorEventConnection

44 #include "SensorEventConnection.h"
263 mMapFlushEventsToConnections = new SensorEventConnection const * [minBufferSize];
431 sp<SensorEventConnection> connection(mActiveConnections[i].promote());
471 //TODO: move to SensorEventConnection later
472 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection,
522 // as ~SensorEventConnection() needs to acquire mLock again for cleanup. So copy all the
524 SortedVector< sp<SensorEventConnection> > activeConnections;
530 // sending events to clients (incrementing SensorEventConnection::mWakeLockRefCount) should
531 // not be interleaved with decrementing SensorEventConnection::mWakeLockRefCount and
602 // SensorEventConnection mapped to the corresponding flush_complete_event in
694 SortedVector< sp<SensorEventConnection> > activeConnections;
909 // Only 2 modes supported for a SensorEventConnection ... NORMAL and DATA_INJECTION.
923 sp<SensorEventConnection> result(new SensorEventConnection(this, uid, packageName,
954 void SensorService::cleanupConnection(SensorEventConnection* c) {
956 const wp<SensorEventConnection> connection(c);
1000 status_t SensorService::enable(const sp<SensorEventConnection>& connection,
1129 status_t SensorService::disable(const sp<SensorEventConnection>& connection, int handle) {
1157 const sp<SensorEventConnection>& connection, int handle) {
1163 const sp<SensorEventConnection>& connection, int handle) {
1185 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection,
1207 status_t SensorService::flushSensor(const sp<SensorEventConnection>& connection,
1295 sp<SensorEventConnection> connection(mActiveConnections[i].promote());
1308 void SensorService::sendEventsFromCache(const sp<SensorEventConnection>& connection) {
1317 SortedVector< sp<SensorEventConnection> >* activeConnections) {
1320 sp<SensorEventConnection> connection(mActiveConnections[i].promote());