Lines Matching refs:maxMicros
308 const int32_t maxMicros = 5000; // arbitrary, probably don't want more than 500 in AAudioProperty_getWakeupDelayMicros() local
313 } else if (prop > maxMicros) { in AAudioProperty_getWakeupDelayMicros()
314 ALOGW("AAudioProperty_getWakeupDelayMicros: clipped %d to %d", prop, maxMicros); in AAudioProperty_getWakeupDelayMicros()
315 prop = maxMicros; in AAudioProperty_getWakeupDelayMicros()
323 const int32_t maxMicros = 2000; // arbitrary in AAudioProperty_getMinimumSleepMicros() local
328 } else if (prop > maxMicros) { in AAudioProperty_getMinimumSleepMicros()
329 ALOGW("AAudioProperty_getMinimumSleepMicros: clipped %d to %d", prop, maxMicros); in AAudioProperty_getMinimumSleepMicros()
330 prop = maxMicros; in AAudioProperty_getMinimumSleepMicros()
337 const int32_t maxMicros = 1000 * 1000; // arbitrary in AAudioProperty_getHardwareBurstMinMicros() local
339 if (prop < 1 || prop > maxMicros) { in AAudioProperty_getHardwareBurstMinMicros()
351 const int32_t maxMicros = 20000; // arbitrary in AAudioProperty_getMMapOffsetMicros() local
356 } else if (prop > maxMicros) { in AAudioProperty_getMMapOffsetMicros()
358 prop = maxMicros; in AAudioProperty_getMMapOffsetMicros()