Home
last modified time | relevance | path

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

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.cpp32 ASensorEventQueue::ASensorEventQueue(ALooper* looper, ALooper_callbackFunc callback, void* data) in ASensorEventQueue() function in ASensorEventQueue
39 void ASensorEventQueue::setImpl(const sp<IEventQueue> &queueImpl) { in setImpl()
43 int ASensorEventQueue::registerSensor( in registerSensor()
59 int ASensorEventQueue::enableSensor(ASensorRef sensor) { in enableSensor()
66 int ASensorEventQueue::setEventRate( in setEventRate()
74 int ASensorEventQueue::requestAdditionalInfoEvents(bool enable) { in requestAdditionalInfoEvents()
79 int ASensorEventQueue::disableSensor(ASensorRef sensor) { in disableSensor()
86 ssize_t ASensorEventQueue::getEvents(ASensorEvent *events, size_t count) { in getEvents()
105 int ASensorEventQueue::hasEvents() const { in hasEvents()
109 Return<void> ASensorEventQueue::onEvent(const Event &event) { in onEvent()
[all …]
DALooper.h28 struct ASensorEventQueue;
33 void signalSensorEvents(android::wp<ASensorEventQueue> queue);
38 void invalidateSensorQueue(android::wp<ASensorEventQueue> queue);
44 std::set<android::wp<ASensorEventQueue>> mReadyQueues;
DASensorManager.cpp154 ASensorEventQueue *ASensorManager::createEventQueue( in createEventQueue()
161 sp<ASensorEventQueue> queue = in createEventQueue()
162 new ASensorEventQueue(looper, callback, data); in createEventQueue()
188 void ASensorManager::destroyEventQueue(ASensorEventQueue *queue) { in destroyEventQueue()
250 ASensorEventQueue* ASensorManager_createEventQueue( in ASensorManager_createEventQueue()
266 ASensorManager* manager, ASensorEventQueue* queue) { in ASensorManager_destroyEventQueue()
305 ASensorEventQueue* queue, in ASensorEventQueue_registerSensor()
316 ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_enableSensor()
323 ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_disableSensor()
330 ASensorEventQueue* queue, in ASensorEventQueue_setEventRate()
[all …]
DASensorEventQueue.h33 struct ASensorEventQueue struct
38 ASensorEventQueue( argument
79 DISALLOW_COPY_AND_ASSIGN(ASensorEventQueue); argument
DALooper.cpp33 void ALooper::signalSensorEvents(wp<ASensorEventQueue> queue) { in signalSensorEvents()
77 sp<ASensorEventQueue> promotedQueue = queue.promote(); in pollOnce()
94 void ALooper::invalidateSensorQueue(wp<ASensorEventQueue> queue) { in invalidateSensorQueue()
DASensorManager.h41 ASensorEventQueue *createEventQueue(
49 void destroyEventQueue(ASensorEventQueue *queue);
DAndroid.bp24 "ASensorEventQueue.cpp",
/frameworks/native/include_sensor/android/
Dsensor.h510 struct ASensorEventQueue;
527 typedef struct ASensorEventQueue ASensorEventQueue; typedef
619 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager,
625 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue);
740 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor,
753 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
764 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
779 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
788 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue);
810 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count);
[all …]
/frameworks/native/include/android/
Dsensor.h510 struct ASensorEventQueue;
527 typedef struct ASensorEventQueue ASensorEventQueue; typedef
619 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager,
625 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue);
740 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor,
753 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
764 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
779 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
788 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue);
810 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count);
[all …]
/frameworks/base/native/android/
Dsensor.cpp104 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, in ASensorManager_createEventQueue()
121 return static_cast<ASensorEventQueue*>(queue.get()); in ASensorManager_createEventQueue()
124 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue) { in ASensorManager_destroyEventQueue()
209 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, in ASensorEventQueue_registerSensor()
223 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_enableSensor()
231 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_disableSensor()
239 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec) { in ASensorEventQueue_setEventRate()
252 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue) { in ASensorEventQueue_hasEvents()
271 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count) { in ASensorEventQueue_getEvents()
287 int ASensorEventQueue_requestAdditionalInfoEvents(ASensorEventQueue* queue, bool enable) { in ASensorEventQueue_requestAdditionalInfoEvents()
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h35 struct ASensorEventQueue { struct
50 class SensorEventQueue : public ASensorEventQueue, public RefBase argument