Home
last modified time | relevance | path

Searched refs:rateLevel (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp86 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument
88 if (handle == -1 && rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel()
108 || rateLevel > s.getHighestDirectReportRateLevel() in configureChannel()
114 .rate_level = rateLevel in configureChannel()
121 if (rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel()
129 mActivated[handle] = rateLevel; in configureChannel()
DSensorDirectConnection.h65 virtual int32_t configureChannel(int handle, int rateLevel);
DSensorEventConnection.h77 virtual int32_t configureChannel(int handle, int rateLevel);
DSensorEventConnection.cpp529 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument
532 UNUSED(rateLevel); in configureChannel()
/frameworks/native/libs/sensor/
DISensorEventConnection.cpp91 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) { in configureChannel() argument
95 data.writeInt32(rateLevel); in configureChannel()
148 int rateLevel = data.readInt32(); in onTransact() local
149 status_t result = configureChannel(handle, rateLevel); in onTransact()
DSensorManager.cpp287 int SensorManager::configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel)… in configureDirectChannel() argument
300 ret = i->second->configureChannel(sensorHandle, rateLevel); in configureDirectChannel()
302 static_cast<int>(sensorHandle), static_cast<int>(rateLevel), in configureDirectChannel()
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java179 public int configure(Sensor sensor, @RateLevel int rateLevel) { in configure() argument
180 return mManager.configureDirectChannelImpl(this, sensor, rateLevel); in configure()
DSensor.java833 int rateLevel = ((mFlags & DIRECT_REPORT_MASK) >> DIRECT_REPORT_SHIFT); in getHighestDirectReportRateLevel() local
834 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()
835 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
DSensorManager.java943 public int configureDirectChannel(SensorDirectChannel channel, Sensor sensor, int rateLevel) { in configureDirectChannel() argument
944 return configureDirectChannelImpl(channel, sensor, rateLevel); in configureDirectChannel()
/frameworks/native/libs/sensor/include/sensor/
DISensorEventConnection.h44 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) = 0;
DSensorManager.h66 int configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel);