Searched refs:SensorEventConnection (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorRecord.h | 28 SensorRecord(const sp<SensorEventConnection>& connection); 29 bool addConnection(const sp<SensorEventConnection>& connection); 30 bool removeConnection(const wp<SensorEventConnection>& connection); 33 void addPendingFlushConnection(const sp<SensorEventConnection>& connection); 35 SensorEventConnection * getFirstPendingFlushConnection(); 38 SortedVector< wp<SensorEventConnection> > mConnections; 41 Vector< wp<SensorEventConnection> > mPendingFlushConnections;
|
D | SensorService.h | 69 class SensorEventConnection; variable 72 void cleanupConnection(SensorEventConnection* connection); 74 status_t enable(const sp<SensorEventConnection>& connection, int handle, 78 status_t disable(const sp<SensorEventConnection>& connection, int handle); 80 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, 83 status_t flushSensor(const sp<SensorEventConnection>& connection, 170 status_t cleanupWithoutDisable(const sp<SensorEventConnection>& connection, int handle); 171 status_t cleanupWithoutDisableLocked(const sp<SensorEventConnection>& connection, int handle); 172 void cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, 196 void sendEventsFromCache(const sp<SensorEventConnection>& connection); [all …]
|
D | SensorEventConnection.cpp | 28 SensorService::SensorEventConnection::SensorEventConnection( in SensorEventConnection() function in android::SensorService::SensorEventConnection 41 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection() 49 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef() 53 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock() 58 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount() 63 void SensorService::SensorEventConnection::dump(String8& result) { in dump() 90 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor() 102 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor() 110 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const { in hasSensor() 115 bool SensorService::SensorEventConnection::hasAnySensor() const { in hasAnySensor() [all …]
|
D | SensorRecord.cpp | 24 const sp<SensorEventConnection>& connection) in SensorRecord() 30 const sp<SensorEventConnection>& connection) in addConnection() 40 const wp<SensorEventConnection>& connection) in removeConnection() 47 for (Vector< wp<SensorEventConnection> >::iterator it = mPendingFlushConnections.begin(); in removeConnection() 59 const sp<SensorEventConnection>& connection) { in addPendingFlushConnection() 69 SensorService::SensorEventConnection *
|
D | SensorEventConnection.h | 45 class SensorService::SensorEventConnection: 51 SensorEventConnection(const sp<SensorService>& service, uid_t uid, String8 packageName, 55 SensorEventConnection const * const * mapFlushEventsToConnections = NULL); 70 virtual ~SensorEventConnection();
|
D | SensorService.cpp | 263 mMapFlushEventsToConnections = new SensorEventConnection const * [minBufferSize]; in onFirstRef() 431 sp<SensorEventConnection> connection(mActiveConnections[i].promote()); in dump() 472 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked() 524 SortedVector< sp<SensorEventConnection> > activeConnections; in threadLoop() 694 SortedVector< sp<SensorEventConnection> > activeConnections; in resetAllWakeLockRefCounts() 923 sp<SensorEventConnection> result(new SensorEventConnection(this, uid, packageName, in createSensorEventConnection() 954 void SensorService::cleanupConnection(SensorEventConnection* c) { in cleanupConnection() 956 const wp<SensorEventConnection> connection(c); in cleanupConnection() 1000 status_t SensorService::enable(const sp<SensorEventConnection>& connection, in enable() 1129 status_t SensorService::disable(const sp<SensorEventConnection>& connection, int handle) { in disable() [all …]
|
D | Android.mk | 14 SensorEventConnection.cpp \
|
/frameworks/native/include/gui/ |
D | ISensorEventConnection.h | 36 DECLARE_META_INTERFACE(SensorEventConnection);
|
/frameworks/native/libs/gui/ |
D | ISensorEventConnection.cpp | 94 IMPLEMENT_META_INTERFACE(SensorEventConnection, "android.gui.SensorEventConnection");
|