Searched refs:rateLevel (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDirectConnection.cpp | 86 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()
|
D | SensorDirectConnection.h | 65 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.h | 77 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.cpp | 529 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument 532 UNUSED(rateLevel); in configureChannel()
|
/frameworks/native/libs/sensor/ |
D | ISensorEventConnection.cpp | 91 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()
|
D | SensorManager.cpp | 287 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/ |
D | SensorDirectChannel.java | 179 public int configure(Sensor sensor, @RateLevel int rateLevel) { in configure() argument 180 return mManager.configureDirectChannelImpl(this, sensor, rateLevel); in configure()
|
D | Sensor.java | 833 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()
|
D | SensorManager.java | 943 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/ |
D | ISensorEventConnection.h | 44 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) = 0;
|
D | SensorManager.h | 66 int configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel);
|