HomeSort by relevance Sort by last modified time
    Searched refs:SensorEventConnection (Results 1 - 9 of 9) sorted by null

  /frameworks/native/services/sensorservice/
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;
SensorRecord.cpp 19 #include "SensorEventConnection.h"
24 const sp<SensorEventConnection>& connection)
30 const sp<SensorEventConnection>& connection)
40 const wp<SensorEventConnection>& connection)
47 for (Vector< wp<SensorEventConnection> >::iterator it = mPendingFlushConnections.begin();
59 const sp<SensorEventConnection>& connection) {
69 SensorService::SensorEventConnection *
SensorService.h 43 // Clang warns about SensorEventConnection::dump hiding BBinder::dump. The cause isn't fixable
69 class SensorEventConnection;
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,
103 // SensorEventConnection) which will be injecting sensor data into the HAL. Normal apps can
170 status_t cleanupWithoutDisable(const sp<SensorEventConnection>& connection, int handle);
171 status_t cleanupWithoutDisableLocked(const sp<SensorEventConnection>& connection, int handle)
    [all...]
SensorEventConnection.cpp 23 #include "SensorEventConnection.h"
28 SensorService::SensorEventConnection::SensorEventConnection(
41 SensorService::SensorEventConnection::~SensorEventConnection() {
42 ALOGD_IF(DEBUG_CONNECTIONS, "~SensorEventConnection(%p)", this);
49 void SensorService::SensorEventConnection::onFirstRef() {
53 bool SensorService::SensorEventConnection::needsWakeLock() {
58 void SensorService::SensorEventConnection::resetWakeLockRefCount() {
63 void SensorService::SensorEventConnection::dump(String8& result)
    [all...]
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();
Android.mk 14 SensorEventConnection.cpp \
SensorService.cpp 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 i
    [all...]
  /frameworks/native/include/gui/
ISensorEventConnection.h 36 DECLARE_META_INTERFACE(SensorEventConnection);
  /frameworks/native/libs/gui/
ISensorEventConnection.cpp 94 IMPLEMENT_META_INTERFACE(SensorEventConnection, "android.gui.SensorEventConnection");

Completed in 504 milliseconds