Home
last modified time | relevance | path

Searched refs:requestedPeriodNs (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.h398 status_t adjustSamplingPeriodBasedOnMicAndPermission(nsecs_t* requestedPeriodNs,
DSensorService.cpp2190 status_t SensorService::adjustSamplingPeriodBasedOnMicAndPermission(nsecs_t* requestedPeriodNs, in adjustSamplingPeriodBasedOnMicAndPermission() argument
2194 if (*requestedPeriodNs >= SENSOR_SERVICE_CAPPED_SAMPLING_PERIOD_NS) { in adjustSamplingPeriodBasedOnMicAndPermission()
2198 *requestedPeriodNs = SENSOR_SERVICE_CAPPED_SAMPLING_PERIOD_NS; in adjustSamplingPeriodBasedOnMicAndPermission()
2205 *requestedPeriodNs = SENSOR_SERVICE_CAPPED_SAMPLING_PERIOD_NS; in adjustSamplingPeriodBasedOnMicAndPermission()