Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/
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()
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()
/frameworks/native/libs/sensor/include/sensor/
DISensorEventConnection.h42 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
DSensorEventQueue.h85 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.h55 int setEventRate(ASensorRef sensor, int32_t samplingPeriodUs);
DASensorEventQueue.cpp66 int ASensorEventQueue::setEventRate( in setEventRate() function in ASensorEventQueue
DASensorManager.cpp334 return queue->setEventRate(sensor, usec); in ASensorEventQueue_setEventRate()
/frameworks/native/services/sensorservice/
DSensorDirectConnection.h64 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
DSensorEventConnection.h83 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
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()
DSensorDirectConnection.cpp129 status_t SensorService::SensorDirectConnection::setEventRate( in setEventRate() function in android::SensorService::SensorDirectConnection
DSensorService.h163 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
DSensorService.cpp1928 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection, in setEventRate() function in android::SensorService
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp114 q->setEventRate(accelerometer, ms2ns(10)); in main()
/frameworks/base/native/android/
Dsensor.cpp258 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate()