Searched refs:SensorEventConnection (Results 1 - 9 of 9) sorted by relevance

/frameworks/native/services/sensorservice/
H A DSensorRecord.h28 SensorRecord(const sp<const SensorEventConnection>& connection);
29 bool addConnection(const sp<const SensorEventConnection>& connection);
30 bool removeConnection(const wp<const SensorEventConnection>& connection);
33 void addPendingFlushConnection(const sp<const SensorEventConnection>& connection);
35 wp<const SensorEventConnection> getFirstPendingFlushConnection();
38 SortedVector< wp<const SensorEventConnection> > mConnections;
41 Vector< wp<const SensorEventConnection> > mPendingFlushConnections;
H A DSensorRecord.cpp19 #include "SensorEventConnection.h"
24 const sp<const SensorEventConnection>& connection)
30 const sp<const SensorEventConnection>& connection)
40 const wp<const SensorEventConnection>& connection)
47 for (Vector< wp<const SensorEventConnection> >::iterator it = mPendingFlushConnections.begin();
59 const sp<const SensorEventConnection>& connection) {
69 wp<const SensorService::SensorEventConnection>
H A DSensorService.h43 // Clang warns about SensorEventConnection::dump hiding BBinder::dump. The cause isn't fixable
69 class SensorEventConnection;
73 void cleanupConnection(SensorEventConnection* connection);
76 status_t enable(const sp<SensorEventConnection>& connection, int handle,
80 status_t disable(const sp<SensorEventConnection>& connection, int handle);
82 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
85 status_t flushSensor(const sp<SensorEventConnection>& connection,
105 // SensorEventConnection) which will be injecting sensor data into the HAL. Normal apps can
176 status_t cleanupWithoutDisable(const sp<SensorEventConnection>& connection, int handle);
177 status_t cleanupWithoutDisableLocked(const sp<SensorEventConnection>
[all...]
H A DSensorEventConnection.cpp23 #include "SensorEventConnection.h"
30 SensorService::SensorEventConnection::SensorEventConnection( function in class:android::SensorService::SensorEventConnection
43 SensorService::SensorEventConnection::~SensorEventConnection() {
44 ALOGD_IF(DEBUG_CONNECTIONS, "~SensorEventConnection(%p)", this);
51 void SensorService::SensorEventConnection::onFirstRef() {
55 bool SensorService::SensorEventConnection::needsWakeLock() {
60 void SensorService::SensorEventConnection::resetWakeLockRefCount() {
65 void SensorService::SensorEventConnection
[all...]
H A DSensorEventConnection.h45 class SensorService::SensorEventConnection: class in class:android::SensorService
51 SensorEventConnection(const sp<SensorService>& service, uid_t uid, String8 packageName,
55 wp<const SensorEventConnection> const * mapFlushEventsToConnections = NULL);
70 virtual ~SensorEventConnection();
H A DAndroid.mk15 SensorEventConnection.cpp \
H A DSensorService.cpp42 #include "SensorEventConnection.h"
262 mMapFlushEventsToConnections = new wp<const SensorEventConnection> [minBufferSize];
451 sp<SensorEventConnection> connection(mActiveConnections[i].promote());
490 //TODO: move to SensorEventConnection later
491 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection,
541 // as ~SensorEventConnection() needs to acquire mLock again for cleanup. So copy all the
543 SortedVector< sp<SensorEventConnection> > activeConnections;
549 // sending events to clients (incrementing SensorEventConnection::mWakeLockRefCount) should
550 // not be interleaved with decrementing SensorEventConnection::mWakeLockRefCount and
621 // SensorEventConnection mappe
[all...]
/frameworks/native/libs/sensor/include/sensor/
H A DISensorEventConnection.h37 DECLARE_META_INTERFACE(SensorEventConnection)
/frameworks/native/libs/sensor/
H A DISensorEventConnection.cpp105 IMPLEMENT_META_INTERFACE(SensorEventConnection, "android.gui.SensorEventConnection");

Completed in 59 milliseconds