Searched refs:requestedPeriodNs (Results 1 – 2 of 2) sorted by relevance
476 status_t adjustSamplingPeriodBasedOnMicAndPermission(nsecs_t* requestedPeriodNs,
2661 status_t SensorService::adjustSamplingPeriodBasedOnMicAndPermission(nsecs_t* requestedPeriodNs, in adjustSamplingPeriodBasedOnMicAndPermission() argument2663 if (*requestedPeriodNs >= SENSOR_SERVICE_CAPPED_SAMPLING_PERIOD_NS) { in adjustSamplingPeriodBasedOnMicAndPermission()2668 *requestedPeriodNs = SENSOR_SERVICE_CAPPED_SAMPLING_PERIOD_NS; in adjustSamplingPeriodBasedOnMicAndPermission()2675 *requestedPeriodNs = SENSOR_SERVICE_CAPPED_SAMPLING_PERIOD_NS; in adjustSamplingPeriodBasedOnMicAndPermission()