Searched refs:setEventRate (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/gui/ |
D | ISensorEventConnection.cpp | 70 virtual status_t setEventRate(int handle, nsecs_t ns) in setEventRate() function in android::BpSensorEventConnection 118 status_t result = setEventRate(handle, ns); in onTransact()
|
D | SensorEventQueue.cpp | 145 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { in setEventRate() function in android::SensorEventQueue 146 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
|
/frameworks/native/include/gui/ |
D | ISensorEventConnection.h | 41 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
|
D | SensorEventQueue.h | 71 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
|
/frameworks/native/services/sensorservice/ |
D | SensorService.h | 84 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs); 287 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns);
|
D | SensorService.cpp | 857 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection, in setEventRate() function in android::SensorService 1506 status_t SensorService::SensorEventConnection::setEventRate( in setEventRate() function in android::SensorService::SensorEventConnection 1509 return mService->setEventRate(this, handle, samplingPeriodNs); in setEventRate()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 81 q->setEventRate(accelerometer, ms2ns(10)); in main()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 114 return static_cast<SensorEventQueue*>(queue)->setEventRate( in ASensorEventQueue_setEventRate()
|