Searched refs:rateLevel (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDirectConnection.cpp | 143 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument 145 if (handle == -1 && rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel() 166 || rateLevel > s.getHighestDirectReportRateLevel() in configureChannel() 171 int requestedRateLevel = rateLevel; in configureChannel() 172 if (mService->isSensorInCappedSet(s.getType()) && rateLevel != SENSOR_DIRECT_RATE_STOP) { in configureChannel() 173 status_t err = mService->adjustRateLevelBasedOnMicAndPermission(&rateLevel, mOpPackageName); in configureChannel() 180 .rate_level = rateLevel in configureChannel() 187 if (rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel() 196 mActivated[handle] = rateLevel; in configureChannel() 231 int rateLevel = i.second; in capRates() local [all …]
|
D | SensorDirectConnection.h | 65 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.h | 84 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.cpp | 812 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument 815 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 | 289 int SensorManager::configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel)… in configureDirectChannel() argument 302 ret = i->second->configureChannel(sensorHandle, rateLevel); in configureDirectChannel() 304 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 | 862 int rateLevel = ((mFlags & DIRECT_REPORT_MASK) >> DIRECT_REPORT_SHIFT); in getHighestDirectReportRateLevel() local 863 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel() 864 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | ISensorEventConnection.h | 44 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) = 0;
|
D | SensorManager.h | 67 int configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel);
|