Lines Matching refs:SensorEventQueue
31 #include <gui/SensorEventQueue.h>
42 SensorEventQueue::SensorEventQueue(const sp<ISensorEventConnection>& connection)
48 SensorEventQueue::~SensorEventQueue() {
52 void SensorEventQueue::onFirstRef()
57 int SensorEventQueue::getFd() const
63 ssize_t SensorEventQueue::write(const sp<BitTube>& tube,
68 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) {
85 sp<Looper> SensorEventQueue::getLooper() const
95 status_t SensorEventQueue::waitForEvent() const
105 ALOGE("SensorEventQueue::waitForEvent error (errno=%d)", errno);
111 ALOGE("SensorEventQueue::waitForEvent error HANGUP");
120 status_t SensorEventQueue::wake() const
127 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const {
131 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const {
136 status_t SensorEventQueue::disableSensor(Sensor const* sensor) const {
140 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs,
146 status_t SensorEventQueue::flush() const {
150 status_t SensorEventQueue::disableSensor(int32_t handle) const {
154 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const {
158 status_t SensorEventQueue::injectSensorEvent(const ASensorEvent& event) {
175 void SensorEventQueue::sendAck(const ASensorEvent* events, int count) {