Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp142 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument
144 if (handle == -1 && rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel()
165 || rateLevel > s.getHighestDirectReportRateLevel() in configureChannel()
170 int requestedRateLevel = rateLevel; in configureChannel()
171 if (mService->isSensorInCappedSet(s.getType()) && rateLevel != SENSOR_DIRECT_RATE_STOP) { in configureChannel()
172 status_t err = mService->adjustRateLevelBasedOnMicAndPermission(&rateLevel, mOpPackageName); in configureChannel()
179 .rate_level = rateLevel in configureChannel()
185 if (rateLevel == SENSOR_DIRECT_RATE_STOP) { in configureChannel()
194 mActivated[handle] = rateLevel; in configureChannel()
228 int rateLevel = i.second; in capRates() local
[all …]
DSensorDirectConnection.h67 virtual int32_t configureChannel(int handle, int rateLevel);
DSensorEventConnection.h85 virtual int32_t configureChannel(int handle, int rateLevel);
DSensorEventConnection.cpp816 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument
819 UNUSED(rateLevel); in configureChannel()
DSensorService.h166 int rateLevel) = 0;
/frameworks/base/core/java/android/companion/virtual/sensor/
DVirtualSensorConfig.java195 int rateLevel = ((mFlags & DIRECT_REPORT_MASK) >> DIRECT_REPORT_SHIFT); in getHighestDirectReportRateLevel() local
196 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()
197 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
356 @SensorDirectChannel.RateLevel int rateLevel) { in setHighestDirectReportRateLevel()
357 mHighestDirectReportRateLevel = rateLevel; in setHighestDirectReportRateLevel()
DIVirtualSensorCallback.aidl65 void onDirectChannelConfigured(int channelHandle, in VirtualSensor sensor, int rateLevel, in onDirectChannelConfigured() argument
DVirtualSensorDirectChannelCallback.java108 @NonNull VirtualSensor sensor, @SensorDirectChannel.RateLevel int rateLevel, in onDirectChannelConfigured() argument
DVirtualSensorDirectChannelWriter.java158 @NonNull VirtualSensor sensor, @SensorDirectChannel.RateLevel int rateLevel, in configureChannel() argument
163 if (rateLevel == SensorDirectChannel.RATE_STOP) { 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.cpp441 int SensorManager::configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel)… in assertStateLocked() argument
454 ret = i->second->configureChannel(sensorHandle, rateLevel); in assertStateLocked()
456 static_cast<int>(sensorHandle), static_cast<int>(rateLevel), in assertStateLocked()
/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.java969 int rateLevel = ((mFlags & DIRECT_REPORT_MASK) >> DIRECT_REPORT_SHIFT); in getHighestDirectReportRateLevel() local
970 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()
971 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
/frameworks/native/libs/sensor/include/sensor/
DISensorEventConnection.h44 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) = 0;
DSensorManager.h75 int configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel);
/frameworks/base/services/core/java/com/android/server/sensors/
DSensorManagerInternal.java129 @SensorDirectChannel.RateLevel int rateLevel); in onDirectChannelConfigured() argument
/frameworks/base/services/core/jni/
Dcom_android_server_sensor_SensorService.cpp88 int onDirectChannelConfigured(int channelHandle, int sensorHandle, int rateLevel) override;
287 int rateLevel) { in onDirectChannelConfigured() argument
291 static_cast<jint>(rateLevel)); in onDirectChannelConfigured()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DSensorController.java283 @SensorDirectChannel.RateLevel int rateLevel) { in onDirectChannelConfigured() argument
295 mCallback.onDirectChannelConfigured(channelHandle, sensor, rateLevel, sensorHandle); in onDirectChannelConfigured()
300 if (rateLevel == SensorDirectChannel.RATE_STOP) { in onDirectChannelConfigured()
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceParams.java750 int rateLevel, int reportToken) { in onDirectChannelConfigured() argument
754 channelHandle, sensor, rateLevel, reportToken)); in onDirectChannelConfigured()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...