Home
last modified time | relevance | path

Searched refs:setEventRate (Results 1 – 8 of 8) 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.cpp149 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { in setEventRate() function in android::SensorEventQueue
150 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.h72 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/
DSensorService.h142 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
425 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
DSensorService.cpp1017 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection, in setEventRate() function in android::SensorService
1835 status_t SensorService::SensorEventConnection::setEventRate( in setEventRate() function in android::SensorService::SensorEventConnection
1838 return mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName); in setEventRate()
/frameworks/base/native/android/
Dsensor.cpp127 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate()