Searched refs:rateLevel (Results 1 - 11 of 11) sorted by relevance
/frameworks/native/services/sensorservice/ |
H A D | SensorDirectConnection.cpp | 96 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { argument 98 if (handle == -1 && rateLevel == SENSOR_DIRECT_RATE_STOP) { 118 || rateLevel > s.getHighestDirectReportRateLevel() 124 .rate_level = rateLevel 131 if (rateLevel == SENSOR_DIRECT_RATE_STOP) { 139 mActivated[handle] = rateLevel;
|
H A D | SensorDirectConnection.h | 65 virtual int32_t configureChannel(int handle, int rateLevel);
|
H A D | SensorEventConnection.h | 80 virtual int32_t configureChannel(int handle, int rateLevel);
|
H A D | SensorEventConnection.cpp | 579 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { argument 582 UNUSED(rateLevel);
|
/frameworks/native/libs/sensor/ |
H A D | ISensorEventConnection.cpp | 92 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) { argument 96 data.writeInt32(rateLevel); 160 int rateLevel = data.readInt32(); local 161 status_t result = configureChannel(handle, rateLevel);
|
H A D | SensorManager.cpp | 288 int SensorManager::configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel) { argument 301 ret = i->second->configureChannel(sensorHandle, rateLevel); 303 static_cast<int>(sensorHandle), static_cast<int>(rateLevel),
|
/frameworks/native/libs/sensor/include/sensor/ |
H A D | ISensorEventConnection.h | 44 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) = 0;
|
H A D | SensorManager.h | 66 int configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel);
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorDirectChannel.java | 148 * rateLevel other than {@link android.hardware.SensorDirectChannel#RATE_STOP}. Sensor events 176 * To stop a sensor, call this function with rateLevel equal {@link 182 * @param rateLevel rate level defined in {@link android.hardware.SensorDirectChannel}. 188 public int configure(Sensor sensor, @RateLevel int rateLevel) { argument 189 return mManager.configureDirectChannelImpl(this, sensor, rateLevel);
|
H A D | Sensor.java | 835 int rateLevel = ((mFlags & DIRECT_REPORT_MASK) >> DIRECT_REPORT_SHIFT); 836 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST 837 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST;
|
H A D | SensorManager.java | 948 public int configureDirectChannel(SensorDirectChannel channel, Sensor sensor, int rateLevel) { argument 949 return configureDirectChannelImpl(channel, sensor, rateLevel);
|
Completed in 148 milliseconds