HomeSort by relevance Sort by last modified time
    Searched refs:SensorEventQueue (Results 1 - 18 of 18) sorted by null

  /hardware/libhardware/modules/sensors/
SensorEventQueue.h 33 class SensorEventQueue {
41 SensorEventQueue(int capacity);
42 ~SensorEventQueue();
SensorEventQueue.cpp 22 #include "SensorEventQueue.h"
24 SensorEventQueue::SensorEventQueue(int capacity) {
33 SensorEventQueue::~SensorEventQueue() {
39 int SensorEventQueue::getWritableRegion(int requestedLength, sensors_event_t** out) {
61 void SensorEventQueue::markAsWritten(int count) {
65 int SensorEventQueue::getSize() {
69 sensors_event_t* SensorEventQueue::peek() {
74 void SensorEventQueue::dequeue()
    [all...]
multihal.cpp 37 #include <SensorEventQueue.h>
136 SensorEventQueue* queue;
143 SensorEventQueue* queue = ctx->queue;
201 std::vector<SensorEventQueue*> queues;
216 SensorEventQueue *queue = new SensorEventQueue(SENSOR_EVENT_QUEUE_CAPACITY);
342 SensorEventQueue* queue = this->queues.at(this->nextReadIndex);
  /frameworks/native/libs/gui/
SensorEventQueue.cpp 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() cons
    [all...]
SensorManager.cpp 33 #include <gui/SensorEventQueue.h>
213 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) {
214 sp<SensorEventQueue> queue;
225 queue = new SensorEventQueue(connection);
Android.mk 69 SensorEventQueue.cpp \
  /hardware/libhardware/modules/sensors/tests/
SensorEventQueue_test.cpp 7 #include "SensorEventQueue.cpp"
9 // Unit tests for the SensorEventQueue.
16 bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) {
26 bool checkSize(SensorEventQueue* queue, int expected) {
45 SensorEventQueue* queue = new SensorEventQueue(10);
67 SensorEventQueue* queue = new SensorEventQueue(10);
95 SensorEventQueue* queue;
106 SensorEventQueue* queue = ctx->queue
    [all...]
  /frameworks/native/services/sensorservice/tests/
sensorservicetest.cpp 21 #include <gui/SensorEventQueue.h>
31 sp<SensorEventQueue> q((SensorEventQueue*)data);
71 sp<SensorEventQueue> q = mgr.createEventQueue();
  /frameworks/base/native/android/
sensor.cpp 29 #include <gui/SensorEventQueue.h>
36 using android::SensorEventQueue;
87 sp<SensorEventQueue> queue =
100 sp<SensorEventQueue> queue = static_cast<SensorEventQueue*>(inQueue);
111 return static_cast<SensorEventQueue*>(queue)->enableSensor(
118 return static_cast<SensorEventQueue*>(queue)->enableSensor(
124 return static_cast<SensorEventQueue*>(queue)->disableSensor(
131 return static_cast<SensorEventQueue*>(queue)->setEventRate(
138 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd()
    [all...]
  /frameworks/native/include/gui/
SensorManager.h 35 #include <gui/SensorEventQueue.h>
47 class SensorEventQueue;
60 sp<SensorEventQueue> createEventQueue(String8 packageName = String8(""), int mode = 0);
SensorEventQueue.h 50 class SensorEventQueue : public ASensorEventQueue, public RefBase
68 SensorEventQueue(const sp<ISensorEventConnection>& connection);
69 virtual ~SensorEventQueue();
  /hardware/ti/omap4-aah/camera/inc/
SensorListener.h 30 #include <gui/SensorEventQueue.h>
91 android::sp<android::SensorEventQueue> mSensorEventQueue;
  /hardware/ti/omap4xxx/camera/inc/
SensorListener.h 30 #include <gui/SensorEventQueue.h>
88 sp<SensorEventQueue> mSensorEventQueue;
  /frameworks/base/core/java/android/hardware/
SystemSensorManager.java 73 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners =
74 new HashMap<SensorEventListener, SensorEventQueue>();
149 // - one Looper per SensorEventQueue
150 // We map SensorEventListener to a SensorEventQueue, which holds the looper
152 SensorEventQueue queue = mSensorListeners.get(listener);
158 queue = new SensorEventQueue(listener, looper, this, fullClassName);
180 SensorEventQueue queue = mSensorListeners.get(listener);
254 SensorEventQueue queue = mSensorListeners.get(listener);
489 * SensorEventQueue, TriggerEventQueue are subclases and there is one-to-one mapping between
640 static final class SensorEventQueue extends BaseEventQueue
    [all...]
  /frameworks/base/core/jni/
android_hardware_SensorManager.cpp 27 #include <gui/SensorEventQueue.h>
249 sp<SensorEventQueue> mSensorQueue;
255 Receiver(const sp<SensorEventQueue>& sensorQueue,
272 sp<SensorEventQueue> getSensorEventQueue() const {
289 sp<SensorEventQueue> q = reinterpret_cast<SensorEventQueue *>(data);
383 sp<SensorEventQueue> queue(mgr->createEventQueue(clientName, mode));
  /frameworks/native/services/sensorservice/
SensorEventConnection.cpp 20 #include <gui/SensorEventQueue.h>
327 ssize_t size = SensorEventQueue::write(mChannel,
403 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1);
416 // At a time write at most half the size of the receiver buffer in SensorEventQueue OR
418 const int maxWriteSize = helpers::min(SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT/2,
436 ssize_t size = SensorEventQueue::write(mChannel,
SensorService.cpp 24 #include <gui/SensorEventQueue.h>
260 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT;
500 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT;
    [all...]
  /frameworks/base/
compiled-classes-phone     [all...]

Completed in 1082 milliseconds