Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp96 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument
98 if (handle == -1 && rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel()
118 || rateLevel > s.getHighestDirectReportRateLevel() in configureChannel()
124 .rate_level = rateLevel in configureChannel()
131 if (rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel()
139 mActivated[handle] = rateLevel; in configureChannel()
DSensorDirectConnection.h65 virtual int32_t configureChannel(int handle, int rateLevel);
DSensorEventConnection.h80 virtual int32_t configureChannel(int handle, int rateLevel);
DSensorEventConnection.cpp579 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument
582 UNUSED(rateLevel); in configureChannel()
/frameworks/native/libs/sensor/
DISensorEventConnection.cpp92 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) { in configureChannel() argument
96 data.writeInt32(rateLevel); in configureChannel()
160 int rateLevel = data.readInt32(); in onTransact() local
161 status_t result = configureChannel(handle, rateLevel); in onTransact()
DSensorManager.cpp288 int SensorManager::configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel)… in configureDirectChannel() argument
301 ret = i->second->configureChannel(sensorHandle, rateLevel); in configureDirectChannel()
303 static_cast<int>(sensorHandle), static_cast<int>(rateLevel), in configureDirectChannel()
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java188 public int configure(Sensor sensor, @RateLevel int rateLevel) { in configure() argument
189 return mManager.configureDirectChannelImpl(this, sensor, rateLevel); in configure()
DSensor.java835 int rateLevel = ((mFlags & DIRECT_REPORT_MASK) >> DIRECT_REPORT_SHIFT); in getHighestDirectReportRateLevel() local
836 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()
837 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
DSensorManager.java948 public int configureDirectChannel(SensorDirectChannel channel, Sensor sensor, int rateLevel) { in configureDirectChannel() argument
949 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);