Searched refs:num_channel_masks (Results 1 – 4 of 4) sorted by relevance
267 port->channelMasks.resize(halPort.num_channel_masks); in audioPortFromHal()268 for (size_t i = 0; i < halPort.num_channel_masks; ++i) { in audioPortFromHal()316 halPort->num_channel_masks = in audioPortToHal()318 for (size_t i = 0; i < halPort->num_channel_masks; ++i) { in audioPortToHal()
426 unsigned int num_channel_masks = 0; in populate_channel_mask_from_profile() local436 num_channel_masks < AUDIO_PORT_MAX_CHANNEL_MASKS; ++i) { in populate_channel_mask_from_profile()439 channel_masks[num_channel_masks++] = channel_masks_map[channel_count]; in populate_channel_mask_from_profile()440 if (num_channel_masks >= AUDIO_PORT_MAX_CHANNEL_MASKS) { in populate_channel_mask_from_profile()446 channel_masks[num_channel_masks++] = CHANNEL_INDEX_MASKS_MAP[channel_count]; in populate_channel_mask_from_profile()449 return num_channel_masks; in populate_channel_mask_from_profile()1756 port->num_channel_masks = populate_channel_mask_from_profile( in adev_get_audio_port()1780 unsigned int num_channel_masks = populate_channel_mask_from_profile( in adev_get_audio_port_v7() local1798 port->audio_profiles[j].num_channel_masks = num_channel_masks; in adev_get_audio_port_v7()1801 num_channel_masks* sizeof(audio_channel_mask_t)); in adev_get_audio_port_v7()
948 profile->channelMasks.resize(halProfile.num_channel_masks); in audioProfileFromHal()949 for (size_t i = 0; i < halProfile.num_channel_masks; ++i) { in audioProfileFromHal()972 halProfile->num_channel_masks = profile.channelMasks.size(); in audioProfileToHal()973 if (halProfile->num_channel_masks > AUDIO_PORT_MAX_CHANNEL_MASKS) { in audioProfileToHal()974 ALOGE("HIDL Audio profile has too many channel masks: %u", halProfile->num_channel_masks); in audioProfileToHal()975 halProfile->num_channel_masks = AUDIO_PORT_MAX_CHANNEL_MASKS; in audioProfileToHal()978 for (size_t i = 0; i < halProfile->num_channel_masks; ++i) { in audioProfileToHal()
900 halInvalid.num_channel_masks = 1; in TEST()