Home
last modified time | relevance | path

Searched refs:requestedRateLevel (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/native/services/sensorservice/
H A DSensorDirectConnection.cpp171 int requestedRateLevel = rateLevel; in configureChannel() local
201 requestedRateLevel <= SENSOR_SERVICE_CAPPED_SAMPLING_RATE_LEVEL) { in configureChannel()
202 mMicRateBackup[handle] = requestedRateLevel; in configureChannel()
H A DSensorService.h401 status_t adjustRateLevelBasedOnMicAndPermission(int* requestedRateLevel,
H A DSensorService.cpp2203 status_t SensorService::adjustRateLevelBasedOnMicAndPermission(int* requestedRateLevel, in adjustRateLevelBasedOnMicAndPermission() argument
2208 if (*requestedRateLevel <= SENSOR_SERVICE_CAPPED_SAMPLING_RATE_LEVEL) { in adjustRateLevelBasedOnMicAndPermission()
2212 *requestedRateLevel = SENSOR_SERVICE_CAPPED_SAMPLING_RATE_LEVEL; in adjustRateLevelBasedOnMicAndPermission()
2219 *requestedRateLevel = SENSOR_SERVICE_CAPPED_SAMPLING_RATE_LEVEL; in adjustRateLevelBasedOnMicAndPermission()