• Home
  • Raw
  • Download

Lines Matching refs:prop

259     int32_t prop = property_get_int32(propName, defaultValue);  in AAudioProperty_getMMapProperty()  local
260 switch (prop) { in AAudioProperty_getMMapProperty()
267 ALOGE("%s: invalid = %d", caller, prop); in AAudioProperty_getMMapProperty()
268 prop = defaultValue; in AAudioProperty_getMMapProperty()
271 return prop; in AAudioProperty_getMMapProperty()
287 int32_t prop = property_get_int32(AAUDIO_PROP_MIXER_BURSTS, defaultBursts); in AAudioProperty_getMixerBursts() local
288 if (prop < 1 || prop > maxBursts) { in AAudioProperty_getMixerBursts()
289 ALOGE("AAudioProperty_getMixerBursts: invalid = %d", prop); in AAudioProperty_getMixerBursts()
290 prop = defaultBursts; in AAudioProperty_getMixerBursts()
292 return prop; in AAudioProperty_getMixerBursts()
299 int32_t prop = property_get_int32(AAUDIO_PROP_WAKEUP_DELAY_USEC, defaultMicros); in AAudioProperty_getWakeupDelayMicros() local
300 if (prop < minMicros) { in AAudioProperty_getWakeupDelayMicros()
301 ALOGW("AAudioProperty_getWakeupDelayMicros: clipped %d to %d", prop, minMicros); in AAudioProperty_getWakeupDelayMicros()
302 prop = minMicros; in AAudioProperty_getWakeupDelayMicros()
303 } else if (prop > maxMicros) { in AAudioProperty_getWakeupDelayMicros()
304 ALOGW("AAudioProperty_getWakeupDelayMicros: clipped %d to %d", prop, maxMicros); in AAudioProperty_getWakeupDelayMicros()
305 prop = maxMicros; in AAudioProperty_getWakeupDelayMicros()
307 return prop; in AAudioProperty_getWakeupDelayMicros()
314 int32_t prop = property_get_int32(AAUDIO_PROP_MINIMUM_SLEEP_USEC, defaultMicros); in AAudioProperty_getMinimumSleepMicros() local
315 if (prop < minMicros) { in AAudioProperty_getMinimumSleepMicros()
316 ALOGW("AAudioProperty_getMinimumSleepMicros: clipped %d to %d", prop, minMicros); in AAudioProperty_getMinimumSleepMicros()
317 prop = minMicros; in AAudioProperty_getMinimumSleepMicros()
318 } else if (prop > maxMicros) { in AAudioProperty_getMinimumSleepMicros()
319 ALOGW("AAudioProperty_getMinimumSleepMicros: clipped %d to %d", prop, maxMicros); in AAudioProperty_getMinimumSleepMicros()
320 prop = maxMicros; in AAudioProperty_getMinimumSleepMicros()
322 return prop; in AAudioProperty_getMinimumSleepMicros()
328 int32_t prop = property_get_int32(AAUDIO_PROP_HW_BURST_MIN_USEC, defaultMicros); in AAudioProperty_getHardwareBurstMinMicros() local
329 if (prop < 1 || prop > maxMicros) { in AAudioProperty_getHardwareBurstMinMicros()
331 prop, defaultMicros); in AAudioProperty_getHardwareBurstMinMicros()
332 prop = defaultMicros; in AAudioProperty_getHardwareBurstMinMicros()
334 return prop; in AAudioProperty_getHardwareBurstMinMicros()