/frameworks/native/services/sensorservice/ |
D | SensorDirectConnection.cpp | 142 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 …]
|
D | SensorDirectConnection.h | 67 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.h | 85 virtual int32_t configureChannel(int handle, int rateLevel);
|
D | SensorEventConnection.cpp | 816 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel() argument 819 UNUSED(rateLevel); in configureChannel()
|
D | SensorService.h | 166 int rateLevel) = 0;
|
/frameworks/base/core/java/android/companion/virtual/sensor/ |
D | VirtualSensorConfig.java | 195 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()
|
D | IVirtualSensorCallback.aidl | 65 void onDirectChannelConfigured(int channelHandle, in VirtualSensor sensor, int rateLevel, in onDirectChannelConfigured() argument
|
D | VirtualSensorDirectChannelCallback.java | 108 @NonNull VirtualSensor sensor, @SensorDirectChannel.RateLevel int rateLevel, in onDirectChannelConfigured() argument
|
D | VirtualSensorDirectChannelWriter.java | 158 @NonNull VirtualSensor sensor, @SensorDirectChannel.RateLevel int rateLevel, in configureChannel() argument 163 if (rateLevel == SensorDirectChannel.RATE_STOP) { 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 | 441 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/ |
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 | 969 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/ |
D | ISensorEventConnection.h | 44 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) = 0;
|
D | SensorManager.h | 75 int configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel);
|
/frameworks/base/services/core/java/com/android/server/sensors/ |
D | SensorManagerInternal.java | 129 @SensorDirectChannel.RateLevel int rateLevel); in onDirectChannelConfigured() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_sensor_SensorService.cpp | 88 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/ |
D | SensorController.java | 283 @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/ |
D | VirtualDeviceParams.java | 750 int rateLevel, int reportToken) { in onDirectChannelConfigured() argument 754 channelHandle, sensor, rateLevel, reportToken)); in onDirectChannelConfigured()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |