Searched defs:SensorEventQueue (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/include/gui/
H A DSensorEventQueue.h49 class SensorEventQueue : public ASensorEventQueue, public RefBase class in namespace:android
55 SensorEventQueue(const sp<ISensorEventConnection>& connection);
56 virtual ~SensorEventQueue();
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp29 #include <gui/SensorEventQueue.h>
38 SensorEventQueue::SensorEventQueue(const sp<ISensorEventConnection>& connection) function in class:android::SensorEventQueue
44 SensorEventQueue::~SensorEventQueue() {
48 void SensorEventQueue::onFirstRef()
53 int SensorEventQueue::getFd() const
59 ssize_t SensorEventQueue::write(const sp<BitTube>& tube,
64 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) {
81 sp<Looper> SensorEventQueue
[all...]
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java49 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners =
50 new HashMap<SensorEventListener, SensorEventQueue>();
113 // - one Looper per SensorEventQueue
114 // We map SensorEventListener to a SensorEventQueue, which holds the looper
116 SensorEventQueue queue = mSensorListeners.get(listener);
119 queue = new SensorEventQueue(listener, looper, this);
141 SensorEventQueue queue = mSensorListeners.get(listener);
210 SensorEventQueue queue = mSensorListeners.get(listener);
221 * SensorEventQueue, TriggerEventQueue are subclases and there is one-to-one mapping between
351 static final class SensorEventQueue extend class in class:SystemSensorManager
355 public SensorEventQueue(SensorEventListener listener, Looper looper, method in class:SystemSensorManager.SensorEventQueue
[all...]

Completed in 67 milliseconds