/frameworks/native/libs/sensor/ |
D | SensorEventQueue.cpp | 40 SensorEventQueue::SensorEventQueue(const sp<ISensorEventConnection>& connection) in SensorEventQueue() function in android::SensorEventQueue 46 SensorEventQueue::~SensorEventQueue() { in ~SensorEventQueue() 50 void SensorEventQueue::onFirstRef() in onFirstRef() 55 int SensorEventQueue::getFd() const in getFd() 61 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, in write() 66 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read() 83 sp<Looper> SensorEventQueue::getLooper() const in getLooper() 93 status_t SensorEventQueue::waitForEvent() const in waitForEvent() 118 status_t SensorEventQueue::wake() const in wake() 125 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const { in enableSensor() [all …]
|
D | SensorManager.cpp | 228 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) { in createEventQueue() 229 sp<SensorEventQueue> queue; in createEventQueue() 240 queue = new SensorEventQueue(connection); in createEventQueue()
|
D | Android.bp | 47 "SensorEventQueue.cpp",
|
/frameworks/base/native/android/ |
D | sensor.cpp | 37 using android::SensorEventQueue; 113 sp<SensorEventQueue> queue = in ASensorManager_createEventQueue() 128 sp<SensorEventQueue> q = static_cast<SensorEventQueue*>(queue); in ASensorManager_destroyEventQueue() 218 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor() 227 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor() 235 return static_cast<SensorEventQueue*>(queue)->disableSensor( in ASensorEventQueue_disableSensor() 248 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate() 256 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd(); in ASensorEventQueue_hasEvents() 278 SensorEventQueue* sensorQueue = static_cast<SensorEventQueue*>(queue); in ASensorEventQueue_getEvents()
|
/frameworks/native/services/sensorservice/hidl/ |
D | EventQueue.cpp | 30 EventQueueLooperCallback(sp<::android::SensorEventQueue> queue, in EventQueueLooperCallback() 55 wp<::android::SensorEventQueue> mQueue; 62 sp<::android::SensorEventQueue> internalQueue) in EventQueue()
|
D | EventQueue.h | 44 sp<::android::SensorEventQueue> internalQueue); 54 sp<::android::SensorEventQueue> mInternalQueue;
|
D | SensorManager.cpp | 220 sp<::android::SensorEventQueue> internalQueue = getInternalManager().createEventQueue(package); in createEventQueue()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 31 sp<SensorEventQueue> q((SensorEventQueue*)data); in receiver() 71 sp<SensorEventQueue> q = mgr.createEventQueue(); in main()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorEventQueue.h | 50 class SensorEventQueue : public ASensorEventQueue, public RefBase 68 explicit SensorEventQueue(const sp<ISensorEventConnection>& connection); 69 virtual ~SensorEventQueue();
|
D | SensorManager.h | 50 class SensorEventQueue; variable 62 sp<SensorEventQueue> createEventQueue(String8 packageName = String8(""), int mode = 0);
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 87 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners = 88 new HashMap<SensorEventListener, SensorEventQueue>(); 171 SensorEventQueue queue = mSensorListeners.get(listener); in registerListenerImpl() 178 queue = new SensorEventQueue(listener, looper, this, fullClassName); in registerListenerImpl() 200 SensorEventQueue queue = mSensorListeners.get(listener); in unregisterListenerImpl() 281 SensorEventQueue queue = mSensorListeners.get(listener); in flushImpl() 356 HashMap<SensorEventListener, SensorEventQueue> sensorListeners = in cleanupSensorConnection() 357 new HashMap<SensorEventListener, SensorEventQueue>(mSensorListeners); in cleanupSensorConnection() 778 static final class SensorEventQueue extends BaseEventQueue { class in SystemSensorManager 782 public SensorEventQueue(SensorEventListener listener, Looper looper, in SensorEventQueue() method in SystemSensorManager.SensorEventQueue
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 294 sp<SensorEventQueue> mSensorQueue; 300 Receiver(const sp<SensorEventQueue>& sensorQueue, in Receiver() 317 sp<SensorEventQueue> getSensorEventQueue() const { in getSensorEventQueue() 334 sp<SensorEventQueue> q = reinterpret_cast<SensorEventQueue *>(data); in handleEvent() 428 sp<SensorEventQueue> queue(mgr->createEventQueue(clientName, mode)); in nativeInitSensorEventQueue()
|
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 344 ssize_t size = SensorEventQueue::write(mChannel, in sendEvents() 493 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); in sendPendingFlushEventsLocked() 508 const int maxWriteSize = helpers::min(SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT/2, in writeToSocketFromCache() 529 ssize_t size = SensorEventQueue::write(mChannel, in writeToSocketFromCache()
|
D | SensorDevice.h | 248 std::array<Event, SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT> mEventBuffer;
|
D | SensorDevice.cpp | 206 SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT, in connectHidlServiceV2_0() 210 SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT, in connectHidlServiceV2_0()
|
D | SensorService.cpp | 273 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in onFirstRef() 715 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in threadLoop()
|
/frameworks/native/libs/sensor/tests/ |
D | SensorEventQueue_test.cpp | 83 sp<SensorEventQueue> mQueue;
|
/frameworks/base/config/ |
D | preloaded-classes | 1415 android.hardware.SystemSensorManager$SensorEventQueue
|