Searched refs:SensorEventConnection (Results 1 – 10 of 10) 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 | 39 SensorService::SensorEventConnection::SensorEventConnection( in SensorEventConnection() function in android::SensorService::SensorEventConnection 56 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection() 65 void SensorService::SensorEventConnection::destroy() { in destroy() 69 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef() 73 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock() 78 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount() 83 void SensorService::SensorEventConnection::dump(String8& result) { in dump() 124 void SensorService::SensorEventConnection::dump(util::ProtoOutputStream* proto) const { in dump() 162 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor() 174 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor() [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 | SensorService.h | 83 class SensorEventConnection; variable 102 void cleanupConnection(SensorEventConnection* connection); 109 status_t enable(const sp<SensorEventConnection>& connection, int handle, 113 status_t disable(const sp<SensorEventConnection>& connection, int handle); 115 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, 118 status_t flushSensor(const sp<SensorEventConnection>& connection, 149 const std::vector<sp<SensorEventConnection>>& getActiveConnections(); 163 std::vector<std::vector<sp<SensorEventConnection>>> mReferencedActiveConnections; 178 void addEventConnectionIfNotPresent(const sp<SensorEventConnection>& connection); 179 void removeEventConnection(const wp<SensorEventConnection>& connection); [all …]
|
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); 77 virtual ~SensorEventConnection();
|
D | SensorService.cpp | 292 mMapFlushEventsToConnections = new wp<const SensorEventConnection> [minBufferSize]; in onFirstRef() 321 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in onUidStateChanged() 730 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in capRates() 745 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in uncapRates() 879 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked() 1006 … const std::vector<sp<SensorEventConnection>> activeConnections = connLock.getActiveConnections(); in threadLoop() 1059 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() 1069 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() 1096 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in resetAllWakeLockRefCounts() 1327 sp<SensorEventConnection> result(new SensorEventConnection(this, uid, connPackageName, in createSensorEventConnection() [all …]
|
D | Android.bp | 25 "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");
|
/frameworks/base/core/proto/android/service/ |
D | sensor_service.proto | 201 // Proto dump of android::SensorService::SensorEventConnection
|