Lines Matching refs:handle
79 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
81 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
102 // protected by SensorService::mLock. Key for this vector is the sensor handle.
110 bool hasSensor(int32_t handle) const;
112 bool addSensor(int32_t handle);
113 bool removeSensor(int32_t handle);
114 void setFirstFlushPending(int32_t handle, bool value);
132 String8 getSensorName(int handle) const;
138 const sp<SensorEventConnection>& connection, int handle);
140 const sp<SensorEventConnection>& connection, int handle);
164 status_t enable(const sp<SensorEventConnection>& connection, int handle,
166 status_t disable(const sp<SensorEventConnection>& connection, int handle);
167 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns);
168 status_t flushSensor(const sp<SensorEventConnection>& connection, int handle);