Home
last modified time | relevance | path

Searched refs:SensorEventConnection (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorRecord.h28 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;
DSensorEventConnection.cpp40 SensorService::SensorEventConnection::SensorEventConnection( in SensorEventConnection() function in android::SensorService::SensorEventConnection
56 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection()
62 void SensorService::SensorEventConnection::destroy() { in destroy()
68 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef()
72 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock()
77 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount()
82 void SensorService::SensorEventConnection::dump(String8& result) { in dump()
123 void SensorService::SensorEventConnection::dump(util::ProtoOutputStream* proto) const { in dump()
161 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor()
174 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor()
[all …]
DSensorRecord.cpp24 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>
DSensorService.h86 class SensorEventConnection; variable
172 void cleanupConnection(SensorEventConnection* connection);
180 status_t enable(const sp<SensorEventConnection>& connection, int handle,
184 status_t disable(const sp<SensorEventConnection>& connection, int handle);
186 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
189 status_t flushSensor(const sp<SensorEventConnection>& connection,
229 const std::vector<sp<SensorEventConnection>>& getActiveConnections();
243 std::vector<std::vector<sp<SensorEventConnection>>> mReferencedActiveConnections;
258 void addEventConnectionIfNotPresent(const sp<SensorEventConnection>& connection);
259 void removeEventConnection(const wp<SensorEventConnection>& connection);
[all …]
DSensorEventConnection.h47 class SensorService::SensorEventConnection:
53 SensorEventConnection(const sp<SensorService>& service, uid_t uid, String8 packageName,
58 … wp<const SensorEventConnection> const * mapFlushEventsToConnections = nullptr);
78 virtual ~SensorEventConnection();
DSensorService.cpp226 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in unregisterRuntimeSensor()
480 mMapFlushEventsToConnections = new wp<const SensorEventConnection> [minBufferSize]; in onFirstRef()
512 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in onUidStateChanged()
893 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in capRates()
904 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in uncapRates()
1042 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked()
1064 const std::vector<sp<SensorEventConnection>>& activeConnections, in sendEventsToAllClients()
1069 for (const sp<SensorEventConnection>& connection : activeConnections) { in sendEventsToAllClients()
1087 const std::vector<sp<SensorEventConnection>>& activeConnections) { in disconnectDynamicSensor()
1094 for (const sp<SensorEventConnection>& connection : activeConnections) { in disconnectDynamicSensor()
[all …]
Dsenserservice_flags.aconfig21 …description: "This flag controls we allow to pass in nullptr as scratch in SensorEventConnection::…
DAndroid.bp41 "SensorEventConnection.cpp",
/frameworks/native/libs/sensor/include/sensor/
DISensorEventConnection.h37 DECLARE_META_INTERFACE(SensorEventConnection)
/frameworks/native/libs/sensor/
DISensorEventConnection.cpp117 IMPLEMENT_META_INTERFACE(SensorEventConnection, "android.gui.SensorEventConnection");
/frameworks/base/core/proto/android/service/
Dsensor_service.proto201 // Proto dump of android::SensorService::SensorEventConnection