Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DISensorEventConnection.cpp72 virtual status_t setEventRate(int handle, nsecs_t ns) in setEventRate() function in android::BpSensorEventConnection
124 status_t result = setEventRate(handle, ns); in onTransact()
DSensorEventQueue.cpp154 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { in setEventRate() function in android::SensorEventQueue
155 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/frameworks/native/include/gui/
DISensorEventConnection.h41 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
DSensorEventQueue.h85 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp82 q->setEventRate(accelerometer, ms2ns(10)); in main()
/frameworks/native/services/sensorservice/
DSensorEventConnection.h75 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
DSensorService.h80 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
DSensorEventConnection.cpp517 status_t SensorService::SensorEventConnection::setEventRate( in setEventRate() function in android::SensorService::SensorEventConnection
520 return mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName); in setEventRate()
DSensorService.cpp1171 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection, in setEventRate() function in android::SensorService
/frameworks/base/native/android/
Dsensor.cpp131 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate()