Searched refs:SensorEventQueue (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/libs/gui/ |
D | SensorEventQueue.cpp | 37 SensorEventQueue::SensorEventQueue(const sp<ISensorEventConnection>& connection) in SensorEventQueue() function in android::SensorEventQueue 42 SensorEventQueue::~SensorEventQueue() { in ~SensorEventQueue() 46 void SensorEventQueue::onFirstRef() in onFirstRef() 51 int SensorEventQueue::getFd() const in getFd() 57 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, in write() 62 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read() 79 sp<Looper> SensorEventQueue::getLooper() const in getLooper() 89 status_t SensorEventQueue::waitForEvent() const in waitForEvent() 114 status_t SensorEventQueue::wake() const in wake() 121 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const { in enableSensor() [all …]
|
D | SensorManager.cpp | 130 sp<SensorEventQueue> SensorManager::createEventQueue() in createEventQueue() 132 sp<SensorEventQueue> queue; in createEventQueue() 143 queue = new SensorEventQueue(connection); in createEventQueue()
|
D | Android.mk | 25 SensorEventQueue.cpp \
|
/frameworks/base/native/android/ |
D | sensor.cpp | 36 using android::SensorEventQueue; 65 sp<SensorEventQueue> queue = in ASensorManager_createEventQueue() 78 sp<SensorEventQueue> queue = static_cast<SensorEventQueue*>(inQueue); in ASensorManager_destroyEventQueue() 88 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor() 94 return static_cast<SensorEventQueue*>(queue)->disableSensor( in ASensorEventQueue_disableSensor() 101 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate() 108 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd(); in ASensorEventQueue_hasEvents() 126 return static_cast<SensorEventQueue*>(queue)->read(events, count); in ASensorEventQueue_getEvents()
|
/frameworks/native/include/gui/ |
D | SensorEventQueue.h | 49 class SensorEventQueue : public ASensorEventQueue, public RefBase 55 SensorEventQueue(const sp<ISensorEventConnection>& connection); 56 virtual ~SensorEventQueue();
|
D | SensorManager.h | 42 class SensorEventQueue; variable 56 sp<SensorEventQueue> createEventQueue();
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 30 sp<SensorEventQueue> q((SensorEventQueue*)data); in receiver() 70 sp<SensorEventQueue> q = mgr.createEventQueue(); in main()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 49 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners = 50 new HashMap<SensorEventListener, SensorEventQueue>(); 116 SensorEventQueue queue = mSensorListeners.get(listener); in registerListenerImpl() 119 queue = new SensorEventQueue(listener, looper, this); in registerListenerImpl() 141 SensorEventQueue queue = mSensorListeners.get(listener); in unregisterListenerImpl() 210 SensorEventQueue queue = mSensorListeners.get(listener); in flushImpl() 351 static final class SensorEventQueue extends BaseEventQueue { class in SystemSensorManager 355 public SensorEventQueue(SensorEventListener listener, Looper looper, in SensorEventQueue() method in SystemSensorManager.SensorEventQueue
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 111 sp<SensorEventQueue> mSensorQueue; 116 Receiver(const sp<SensorEventQueue>& sensorQueue, in Receiver() 130 sp<SensorEventQueue> getSensorEventQueue() const { in getSensorEventQueue() 147 sp<SensorEventQueue> q = reinterpret_cast<SensorEventQueue *>(data); in handleEvent() 192 sp<SensorEventQueue> queue(mgr.createEventQueue()); in nativeInitSensorEventQueue()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 323 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in threadLoop() 854 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); in sendEvents() 873 ssize_t size = SensorEventQueue::write(mChannel, in sendEvents()
|