/frameworks/hardware/interfaces/sensorservice/1.0/ |
H A D | IEventQueue.hal | 31 * @param samplingPeriodUs 40 int32_t samplingPeriodUs,
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
H A D | ASensorEventQueue.cpp | 45 int32_t samplingPeriodUs, 49 samplingPeriodUs, 67 ASensorRef sensor, int32_t samplingPeriodUs) { 71 sensor, samplingPeriodUs, 0 /* maxBatchReportLatencyUs */); 43 registerSensor( ASensorRef sensor, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) argument 66 setEventRate( ASensorRef sensor, int32_t samplingPeriodUs) argument
|
H A D | ASensorEventQueue.h | 47 int32_t samplingPeriodUs, 53 int setEventRate(ASensorRef sensor, int32_t samplingPeriodUs);
|
H A D | ASensorManager.cpp | 307 int32_t samplingPeriodUs, 312 sensor, samplingPeriodUs, maxBatchReportLatencyUs); 304 ASensorEventQueue_registerSensor( ASensorEventQueue* queue, ASensor const* sensor, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) argument
|
/frameworks/native/services/sensorservice/hidl/ |
H A D | EventQueue.cpp | 76 Return<Result> EventQueue::enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, argument 78 return convertResult(mInternalQueue->enableSensor(sensorHandle, samplingPeriodUs,
|
H A D | EventQueue.h | 48 Return<Result> enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) override;
|
/frameworks/native/libs/sensor/ |
H A D | SensorEventQueue.cpp | 128 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { 130 us2ns(samplingPeriodUs), 0, 0); 137 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, argument 139 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs),
|
/frameworks/native/libs/sensor/include/sensor/ |
H A D | SensorEventQueue.h | 82 status_t enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const; 87 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs,
|
/frameworks/base/native/android/ |
H A D | sensor.cpp | 209 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) { 212 if (samplingPeriodUs < 0 || maxBatchReportLatencyUs < 0) { 213 ERROR_INVALID_PARAMETER("samplingPeriodUs and maxBatchReportLatencyUs cannot be negative"); 218 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs, 208 ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 713 * @param samplingPeriodUs The rate {@link android.hardware.SensorEvent sensor events} are 727 int samplingPeriodUs) { 728 return registerListener(listener, sensor, samplingPeriodUs, null); 767 * @param samplingPeriodUs The desired delay between two consecutive events in microseconds. 784 int samplingPeriodUs, int maxReportLatencyUs) { 785 int delay = getDelay(samplingPeriodUs); 803 * @param samplingPeriodUs The rate {@link android.hardware.SensorEvent sensor events} are 819 int samplingPeriodUs, Handler handler) { 820 int delay = getDelay(samplingPeriodUs); 833 * @param samplingPeriodUs Th 726 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs) argument 783 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, int maxReportLatencyUs) argument 818 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, Handler handler) argument 849 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, int maxReportLatencyUs, Handler handler) argument [all...] |
/frameworks/native/include/android/ |
H A D | sensor.h | 629 * \param samplingPeriodUs sampling period of sensor in microseconds. 635 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
|
/frameworks/native/include_sensor/android/ |
H A D | sensor.h | 629 * \param samplingPeriodUs sampling period of sensor in microseconds. 635 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
|