Searched refs:SensorEventConnection (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorRecord.h | 28 explicit 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;
|
D | SensorEventConnection.cpp | 30 SensorService::SensorEventConnection::SensorEventConnection( in SensorEventConnection() function in android::SensorService::SensorEventConnection 45 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection() 50 void SensorService::SensorEventConnection::destroy() { in destroy() 65 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef() 69 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock() 74 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount() 79 void SensorService::SensorEventConnection::dump(String8& result) { in dump() 113 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor() 125 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor() 133 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const { in hasSensor() [all …]
|
D | SensorService.h | 74 class SensorEventConnection; variable 78 void cleanupConnection(SensorEventConnection* connection); 81 status_t enable(const sp<SensorEventConnection>& connection, int handle, 85 status_t disable(const sp<SensorEventConnection>& connection, int handle); 87 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, 90 status_t flushSensor(const sp<SensorEventConnection>& connection, 116 const std::vector<sp<SensorEventConnection>>& getActiveConnections(); 130 std::vector<std::vector<sp<SensorEventConnection>>> mReferencedActiveConnections; 145 void addEventConnectionIfNotPresent(const sp<SensorEventConnection>& connection); 146 void removeEventConnection(const wp<SensorEventConnection>& connection); [all …]
|
D | SensorRecord.cpp | 24 const sp<const SensorEventConnection>& connection) in SensorRecord() 30 const sp<const SensorEventConnection>& connection) in addConnection() 40 const wp<const SensorEventConnection>& connection) in removeConnection() 47 for (Vector< wp<const SensorEventConnection> >::iterator it = mPendingFlushConnections.begin(); in removeConnection() 59 const sp<const SensorEventConnection>& connection) { in addPendingFlushConnection() 69 wp<const SensorService::SensorEventConnection>
|
D | SensorEventConnection.h | 46 class SensorService::SensorEventConnection: 52 SensorEventConnection(const sp<SensorService>& service, uid_t uid, String8 packageName, 57 … wp<const SensorEventConnection> const * mapFlushEventsToConnections = nullptr); 74 virtual ~SensorEventConnection();
|
D | SensorService.cpp | 275 mMapFlushEventsToConnections = new wp<const SensorEventConnection> [minBufferSize]; in onFirstRef() 302 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in setSensorAccess() 673 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked() 800 … const std::vector<sp<SensorEventConnection>> activeConnections = connLock.getActiveConnections(); in threadLoop() 853 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() 863 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() 890 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in resetAllWakeLockRefCounts() 1112 sp<SensorEventConnection> result(new SensorEventConnection(this, uid, connPackageName, in createSensorEventConnection() 1325 void SensorService::cleanupConnection(SensorEventConnection* c) { in cleanupConnection() 1327 const wp<SensorEventConnection> connection(c); in cleanupConnection() [all …]
|
D | Android.bp | 19 "SensorEventConnection.cpp",
|
/frameworks/native/libs/sensor/include/sensor/ |
D | ISensorEventConnection.h | 37 DECLARE_META_INTERFACE(SensorEventConnection)
|
/frameworks/native/libs/sensor/ |
D | ISensorEventConnection.cpp | 117 IMPLEMENT_META_INTERFACE(SensorEventConnection, "android.gui.SensorEventConnection");
|