Home
last modified time | relevance | path

Searched refs:setEventRate (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/native/libs/sensor/
H A DISensorEventConnection.cpp75 virtual status_t setEventRate(int handle, nsecs_t ns) in setEventRate() function in android::BpSensorEventConnection
147 status_t result = setEventRate(handle, ns); in onTransact()
H A DSensorEventQueue.cpp152 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { in setEventRate() function in android::SensorEventQueue
153 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/aosp12/frameworks/native/libs/sensor/include/sensor/
H A DISensorEventConnection.h42 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
H A DSensorEventQueue.h85 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
/aosp12/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorEventQueue.h55 int setEventRate(ASensorRef sensor, int32_t samplingPeriodUs);
H A DASensorEventQueue.cpp66 int ASensorEventQueue::setEventRate( in setEventRate() function in ASensorEventQueue
H A DASensorManager.cpp334 return queue->setEventRate(sensor, usec); in ASensorEventQueue_setEventRate()
/aosp12/frameworks/native/services/sensorservice/
H A DSensorDirectConnection.h63 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
H A DSensorEventConnection.cpp724 status_t SensorService::SensorEventConnection::setEventRate(int handle, nsecs_t samplingPeriodNs) { in setEventRate() function in android::SensorService::SensorEventConnection
746 status_t ret = mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName); in setEventRate()
774 mService->setEventRate(this, handle, SENSOR_SERVICE_CAPPED_SAMPLING_PERIOD_NS, in capRates()
794 mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName); in uncapRates()
H A DSensorEventConnection.h82 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
H A DSensorDirectConnection.cpp130 status_t SensorService::SensorDirectConnection::setEventRate( in setEventRate() function in android::SensorService::SensorDirectConnection
H A DSensorService.h116 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
H A DSensorService.cpp1870 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection, in setEventRate() function in android::SensorService
/aosp12/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp114 q->setEventRate(accelerometer, ms2ns(10)); in main()
/aosp12/frameworks/base/native/android/
H A Dsensor.cpp248 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate()