Searched refs:requestedPeriodNs (Results 1 – 2 of 2) sorted by relevance
398 status_t adjustSamplingPeriodBasedOnMicAndPermission(nsecs_t* requestedPeriodNs,
2190 status_t SensorService::adjustSamplingPeriodBasedOnMicAndPermission(nsecs_t* requestedPeriodNs, in adjustSamplingPeriodBasedOnMicAndPermission() argument2194 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()