/hardware/libhardware/modules/sensors/ |
SensorEventQueue.h | 33 class SensorEventQueue { 41 explicit SensorEventQueue(int capacity); 42 ~SensorEventQueue();
|
SensorEventQueue.cpp | 24 #include "SensorEventQueue.h" 26 SensorEventQueue::SensorEventQueue(int capacity) { 35 SensorEventQueue::~SensorEventQueue() { 41 int SensorEventQueue::getWritableRegion(int requestedLength, sensors_event_t** out) { 63 void SensorEventQueue::markAsWritten(int count) { 67 int SensorEventQueue::getSize() { 71 sensors_event_t* SensorEventQueue::peek() { 76 void SensorEventQueue::dequeue() [all...] |
multihal.cpp | 17 #include "SensorEventQueue.h" 134 SensorEventQueue* queue; 141 SensorEventQueue* queue = ctx->queue; 209 std::vector<SensorEventQueue*> queues; 225 SensorEventQueue *queue = new SensorEventQueue(SENSOR_EVENT_QUEUE_CAPACITY); 371 SensorEventQueue* queue = this->queues.at(this->nextReadIndex);
|
/frameworks/native/libs/sensor/ |
SensorEventQueue.cpp | 19 #include <sensor/SensorEventQueue.h> 39 SensorEventQueue::SensorEventQueue(const sp<ISensorEventConnection>& connection) 45 SensorEventQueue::~SensorEventQueue() { 49 void SensorEventQueue::onFirstRef() 54 int SensorEventQueue::getFd() const 60 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, 65 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { 82 sp<Looper> SensorEventQueue::getLooper() cons [all...] |
SensorManager.cpp | 35 #include <sensor/SensorEventQueue.h> 227 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) { 228 sp<SensorEventQueue> queue; 239 queue = new SensorEventQueue(connection);
|
/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 <sensor/SensorEventQueue.h> 31 sp<SensorEventQueue> q((SensorEventQueue*)data); 71 sp<SensorEventQueue> q = mgr.createEventQueue();
|
/frameworks/native/services/sensorservice/hidl/ |
EventQueue.cpp | 30 EventQueueLooperCallback(sp<::android::SensorEventQueue> queue, 55 wp<::android::SensorEventQueue> mQueue; 62 sp<::android::SensorEventQueue> internalQueue)
|
EventQueue.h | 44 sp<::android::SensorEventQueue> internalQueue); 54 sp<::android::SensorEventQueue> mInternalQueue;
|
SensorManager.cpp | 220 sp<::android::SensorEventQueue> internalQueue = getInternalManager().createEventQueue(package);
|
/frameworks/base/native/android/ |
sensor.cpp | 26 #include <sensor/SensorEventQueue.h> 37 using android::SensorEventQueue; 113 sp<SensorEventQueue> queue = 127 sp<SensorEventQueue> q = static_cast<SensorEventQueue*>(queue); 217 return static_cast<SensorEventQueue*>(queue)->enableSensor( 226 return static_cast<SensorEventQueue*>(queue)->enableSensor( 234 return static_cast<SensorEventQueue*>(queue)->disableSensor( 247 return static_cast<SensorEventQueue*>(queue)->setEventRate( 255 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd() [all...] |
/frameworks/native/libs/sensor/include/sensor/ |
SensorEventQueue.h | 49 class SensorEventQueue : public ASensorEventQueue, public RefBase 67 SensorEventQueue(const sp<ISensorEventConnection>& connection); 68 virtual ~SensorEventQueue();
|
SensorManager.h | 35 #include <sensor/SensorEventQueue.h> 50 class SensorEventQueue; 62 sp<SensorEventQueue> createEventQueue(String8 packageName = String8(""), int mode = 0);
|
/frameworks/base/core/jni/ |
android_hardware_SensorManager.cpp | 29 #include <sensor/SensorEventQueue.h> 294 sp<SensorEventQueue> mSensorQueue; 300 Receiver(const sp<SensorEventQueue>& sensorQueue, 317 sp<SensorEventQueue> getSensorEventQueue() const { 334 sp<SensorEventQueue> q = reinterpret_cast<SensorEventQueue *>(data); 428 sp<SensorEventQueue> queue(mgr->createEventQueue(clientName, mode)); 431 jniThrowRuntimeException(env, "Cannot construct native SensorEventQueue.");
|
/frameworks/base/core/java/android/hardware/ |
SystemSensorManager.java | 86 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners = 87 new HashMap<SensorEventListener, SensorEventQueue>(); 167 // - one Looper per SensorEventQueue 168 // We map SensorEventListener to a SensorEventQueue, which holds the looper 170 SensorEventQueue queue = mSensorListeners.get(listener); 176 queue = new SensorEventQueue(listener, looper, this, fullClassName); 198 SensorEventQueue queue = mSensorListeners.get(listener); 278 SensorEventQueue queue = mSensorListeners.get(listener); 353 HashMap<SensorEventListener, SensorEventQueue> sensorListeners = 354 new HashMap<SensorEventListener, SensorEventQueue>(mSensorListeners) [all...] |
/frameworks/native/services/sensorservice/ |
SensorEventConnection.cpp | 20 #include <sensor/SensorEventQueue.h> 342 ssize_t size = SensorEventQueue::write(mChannel, 418 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); 431 // At a time write at most half the size of the receiver buffer in SensorEventQueue OR 433 const int maxWriteSize = helpers::min(SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT/2, 451 ssize_t size = SensorEventQueue::write(mChannel,
|
SensorService.cpp | 27 #include <sensor/SensorEventQueue.h> 259 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; 520 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; [all...] |
/frameworks/base/config/ |
preloaded-classes | [all...] |
compiled-classes-phone | [all...] |