Searched refs:rateLevel (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDirectConnection.cpp | 96 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()
|
D | SensorDirectConnection.h | 65 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.h | 81 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.cpp | 627 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument 630 UNUSED(rateLevel); in configureChannel()
|
/frameworks/native/libs/sensor/ |
D | ISensorEventConnection.cpp | 92 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()
|
D | SensorManager.cpp | 288 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/ |
D | SensorDirectChannel.java | 188 public int configure(Sensor sensor, @RateLevel int rateLevel) { in configure() argument 189 return mManager.configureDirectChannelImpl(this, sensor, rateLevel); in configure()
|
D | Sensor.java | 842 int rateLevel = ((mFlags & DIRECT_REPORT_MASK) >> DIRECT_REPORT_SHIFT); in getHighestDirectReportRateLevel() local 843 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel() 844 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
|
D | SensorManager.java | 948 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/ |
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);
|