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

/frameworks/native/libs/sensor/include/sensor/
H A DISensorEventConnection.h42 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
H A DSensorEventQueue.h84 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorEventQueue.h53 int setEventRate(ASensorRef sensor, int32_t samplingPeriodUs);
H A DASensorEventQueue.cpp66 int ASensorEventQueue::setEventRate( function in class:ASensorEventQueue
H A DASensorManager.cpp334 return queue->setEventRate(sensor, usec);
/frameworks/native/services/sensorservice/
H A DSensorDirectConnection.h63 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
H A DSensorEventConnection.h78 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
H A DSensorDirectConnection.cpp83 status_t SensorService::SensorDirectConnection::setEventRate( function in class:android::SensorService::SensorDirectConnection
85 // SensorDirectConnection does not support setEventRate, parameters not used
H A DSensorService.h83 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
H A DSensorEventConnection.cpp569 status_t SensorService::SensorEventConnection::setEventRate( function in class:android::SensorService::SensorEventConnection
572 return mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName);
H A DSensorService.cpp1484 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection, function in class:android::SensorService
/frameworks/native/libs/sensor/
H A DISensorEventConnection.cpp75 virtual status_t setEventRate(int handle, nsecs_t ns) function in class:android::BpSensorEventConnection
147 status_t result = setEventRate(handle, ns);
H A DSensorEventQueue.cpp151 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { function in class:android::SensorEventQueue
152 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns);
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp82 q->setEventRate(accelerometer, ms2ns(10));
/frameworks/base/native/android/
H A Dsensor.cpp247 return static_cast<SensorEventQueue*>(queue)->setEventRate(

Completed in 296 milliseconds