/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 | 276 sp<SensorEventQueue> SensorManager::createEventQueue( in createEventQueue() 278 sp<SensorEventQueue> queue; in createEventQueue() 289 queue = new SensorEventQueue(connection); in createEventQueue()
|
D | Android.bp | 41 "SensorEventQueue.cpp",
|
/frameworks/base/native/android/ |
D | sensor.cpp | 37 using android::SensorEventQueue; 123 sp<SensorEventQueue> queue = in ASensorManager_createEventQueue() 138 sp<SensorEventQueue> q = static_cast<SensorEventQueue*>(queue); in ASensorManager_destroyEventQueue() 228 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor() 237 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor() 245 return static_cast<SensorEventQueue*>(queue)->disableSensor( in ASensorEventQueue_disableSensor() 258 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate() 266 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd(); in ASensorEventQueue_hasEvents() 288 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 | 223 sp<::android::SensorEventQueue> internalQueue = getInternalManager().createEventQueue(package); in createEventQueue()
|
/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 64 sp<SensorEventQueue> createEventQueue(
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 32 sp<SensorEventQueue> q((SensorEventQueue*)data); in receiver() 103 sp<SensorEventQueue> q = mgr.createEventQueue(); in main()
|
/frameworks/av/media/libheadtracking/ |
D | SensorPoseProvider.cpp | 61 EventQueueGuard(const sp<SensorEventQueue>& queue, Looper* looper) : mQueue(queue) { in EventQueueGuard() 77 [[nodiscard]] SensorEventQueue* get() const { return mQueue.get(); } in get() 80 const sp<SensorEventQueue> mQueue; 88 SensorEnableGuard(const sp<SensorEventQueue>& queue, int32_t sensor) in SensorEnableGuard() 106 sp<SensorEventQueue> const mQueue; 227 sp<SensorEventQueue> mQueue;
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 108 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners = 109 new HashMap<SensorEventListener, SensorEventQueue>(); 196 SensorEventQueue queue = mSensorListeners.get(listener); in registerListenerImpl() 203 queue = new SensorEventQueue(listener, looper, this, fullClassName); in registerListenerImpl() 225 SensorEventQueue queue = mSensorListeners.get(listener); in unregisterListenerImpl() 306 SensorEventQueue queue = mSensorListeners.get(listener); in flushImpl() 381 HashMap<SensorEventListener, SensorEventQueue> sensorListeners = in cleanupSensorConnection() 382 new HashMap<SensorEventListener, SensorEventQueue>(mSensorListeners); in cleanupSensorConnection() 824 static final class SensorEventQueue extends BaseEventQueue { class in SystemSensorManager 828 public SensorEventQueue(SensorEventListener listener, Looper looper, in SensorEventQueue() method in SystemSensorManager.SensorEventQueue
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 310 sp<SensorEventQueue> mSensorQueue; 316 Receiver(const sp<SensorEventQueue>& sensorQueue, in Receiver() 333 sp<SensorEventQueue> getSensorEventQueue() const { in getSensorEventQueue() 350 sp<SensorEventQueue> q = reinterpret_cast<SensorEventQueue *>(data); in handleEvent() 451 sp<SensorEventQueue> queue(mgr->createEventQueue(clientName, mode, attributionTagName)); in nativeInitSensorEventQueue()
|
/frameworks/native/services/sensorservice/ |
D | AidlSensorHalWrapper.h | 89 ::android::SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT>
|
D | SensorEventConnection.cpp | 404 ssize_t size = SensorEventQueue::write(mChannel, in sendEvents() 571 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); in sendPendingFlushEventsLocked() 586 const int maxWriteSize = helpers::min(SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT/2, in writeToSocketFromCache() 607 ssize_t size = SensorEventQueue::write(mChannel, in writeToSocketFromCache()
|
D | HidlSensorHalWrapper.h | 167 std::array<Event, SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT> mEventBuffer;
|
D | HidlSensorHalWrapper.cpp | 472 std::make_unique<WakeLockQueue>(SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT, in initializeHidlServiceV2_X()
|
D | SensorService.cpp | 349 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in onFirstRef() 961 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/boot/ |
D | boot-image-profile.txt | 7899 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;-><init>(Landroid/hardware/SensorEventLis… 7900 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->addSensorEvent(Landroid/hardware/Sensor… 7901 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->dispatchAdditionalInfoEvent(III[F[I)V 7902 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->dispatchSensorEvent(I[FIJ)V 7903 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->removeSensorEvent(Landroid/hardware/Sen… 24663 Landroid/hardware/SystemSensorManager$SensorEventQueue;
|
D | preloaded-classes | 2215 android.hardware.SystemSensorManager$SensorEventQueue
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 7901 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;-><init>(Landroid/hardware/SensorEventLis… 7902 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->addSensorEvent(Landroid/hardware/Sensor… 7903 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->dispatchAdditionalInfoEvent(III[F[I)V 7904 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->dispatchSensorEvent(I[FIJ)V 7905 HSPLandroid/hardware/SystemSensorManager$SensorEventQueue;->removeSensorEvent(Landroid/hardware/Sen… 34631 Landroid/hardware/SystemSensorManager$SensorEventQueue;
|
D | preloaded-classes | 2219 android.hardware.SystemSensorManager$SensorEventQueue
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 22146 Landroid/hardware/SystemSensorManager$SensorEventQueue;-><init>(Landroid/hardware/SensorEventListen… 22147 Landroid/hardware/SystemSensorManager$SensorEventQueue;->addSensorEvent(Landroid/hardware/Sensor;)V 22148 Landroid/hardware/SystemSensorManager$SensorEventQueue;->dispatchAdditionalInfoEvent(III[F[I)V 22149 Landroid/hardware/SystemSensorManager$SensorEventQueue;->dispatchFlushCompleteEvent(I)V 22150 Landroid/hardware/SystemSensorManager$SensorEventQueue;->dispatchSensorEvent(I[FIJ)V 22151 Landroid/hardware/SystemSensorManager$SensorEventQueue;->mListener:Landroid/hardware/SensorEventLis… 22152 Landroid/hardware/SystemSensorManager$SensorEventQueue;->mSensorsEvents:Landroid/util/SparseArray; 22153 Landroid/hardware/SystemSensorManager$SensorEventQueue;->removeSensorEvent(Landroid/hardware/Sensor…
|