/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ASensorEventQueue.cpp | 32 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 …]
|
D | ALooper.h | 27 struct ASensorEventQueue; 32 void signalSensorEvents(ASensorEventQueue *queue); 37 void invalidateSensorQueue(ASensorEventQueue *queue); 43 std::set<ASensorEventQueue *> mReadyQueues;
|
D | ASensorManager.cpp | 154 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 …]
|
D | ASensorEventQueue.h | 33 struct ASensorEventQueue struct 38 ASensorEventQueue( argument 79 DISALLOW_COPY_AND_ASSIGN(ASensorEventQueue); argument
|
D | ASensorManager.h | 41 ASensorEventQueue *createEventQueue( 49 void destroyEventQueue(ASensorEventQueue *queue);
|
D | ALooper.cpp | 31 void ALooper::signalSensorEvents(ASensorEventQueue *queue) { in signalSensorEvents() 89 void ALooper::invalidateSensorQueue(ASensorEventQueue *queue) { in invalidateSensorQueue()
|
D | Android.bp | 20 "ASensorEventQueue.cpp",
|
/frameworks/native/include/android/ |
D | sensor.h | 483 struct ASensorEventQueue; 500 typedef struct ASensorEventQueue ASensorEventQueue; typedef 600 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, 606 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue); 722 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, 735 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor); 746 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor); 761 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec); 770 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue); 792 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count); [all …]
|
/frameworks/native/include_sensor/android/ |
D | sensor.h | 483 struct ASensorEventQueue; 500 typedef struct ASensorEventQueue ASensorEventQueue; typedef 600 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, 606 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue); 722 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, 735 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor); 746 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor); 761 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec); 770 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue); 792 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count); [all …]
|
/frameworks/base/native/android/ |
D | sensor.cpp | 104 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/ |
D | SensorEventQueue.h | 35 struct ASensorEventQueue { struct 50 class SensorEventQueue : public ASensorEventQueue, public RefBase argument
|