Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1212 static bool isAudioPortArrayCountOutOfBounds(const struct audio_port_v7 *nAudioPort, in isAudioPortArrayCountOutOfBounds() argument
1214 ss << " num_audio_profiles " << nAudioPort->num_audio_profiles << " num_gains " in isAudioPortArrayCountOutOfBounds()
1215 << nAudioPort->num_gains; in isAudioPortArrayCountOutOfBounds()
1216 if (nAudioPort->num_audio_profiles > array_size(nAudioPort->audio_profiles) || in isAudioPortArrayCountOutOfBounds()
1217 nAudioPort->num_gains > array_size(nAudioPort->gains)) { in isAudioPortArrayCountOutOfBounds()
1220 for (size_t i = 0; i < nAudioPort->num_audio_profiles; ++i) { in isAudioPortArrayCountOutOfBounds()
1222 << " num_sample_rates " << nAudioPort->audio_profiles[i].num_sample_rates in isAudioPortArrayCountOutOfBounds()
1223 << " num_channel_masks " << nAudioPort->audio_profiles[i].num_channel_masks; in isAudioPortArrayCountOutOfBounds()
1224 if (nAudioPort->audio_profiles[i].num_sample_rates > in isAudioPortArrayCountOutOfBounds()
1225 array_size(nAudioPort->audio_profiles[i].sample_rates) || in isAudioPortArrayCountOutOfBounds()
[all …]