Searched refs:channelMapping (Results 1 – 11 of 11) sorted by relevance
172 List<Pair<Integer, Integer>> channelMapping, float sensitivity, float maxSpl, in MicrophoneInfo() argument183 mChannelMapping = channelMapping; in MicrophoneInfo()376 public void setChannelMapping(List<Pair<Integer, Integer>> channelMapping) { in setChannelMapping() argument377 mChannelMapping = channelMapping; in setChannelMapping()
1760 ArrayList<Pair<Integer, Integer>> channelMapping = new ArrayList<>(); in getActiveMicrophones() local1762 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones()1764 microphone.setChannelMapping(channelMapping); in getActiveMicrophones()
2003 ArrayList<Pair<Integer, Integer>> channelMapping = new ArrayList<>(); in getActiveMicrophones() local2005 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones()2007 microphone.setChannelMapping(channelMapping); in getActiveMicrophones()
75 micInfo->channelMapping.resize(chCount + 1); in microphoneInfoFromHal()76 for (size_t ch = 0; ch < micInfo->channelMapping.size(); ch++) { in microphoneInfoFromHal()77 micInfo->channelMapping[ch] = AudioMicrophoneChannelMapping(halMicInfo.channel_mapping[ch]); in microphoneInfoFromHal()112 if (micInfo.channelMapping.size() > AUDIO_CHANNEL_COUNT_MAX) { in microphoneInfoToHal()114 micInfo.channelMapping.size()); in microphoneInfoToHal()118 for (ch = 0; ch < micInfo.channelMapping.size() && ch < AUDIO_CHANNEL_COUNT_MAX; ch++) { in microphoneInfoToHal()120 static_cast<audio_microphone_channel_mapping_t>(micInfo.channelMapping[ch]); in microphoneInfoToHal()
86 parcelable->channelMapping = mChannelMapping; in writeToParcelable()122 if (parcelable.channelMapping.size() != AUDIO_CHANNEL_COUNT_MAX) { in readFromParcelable()125 mChannelMapping = parcelable.channelMapping; in readFromParcelable()
34 int[] channelMapping;
144 micInfo.channelMapping.resize(1); in generateValidMicrophoneInfo()145 micInfo.channelMapping[0] = AudioMicrophoneChannelMapping::DIRECT; in generateValidMicrophoneInfo()178 oversizeChannelMapping.channelMapping.resize(AUDIO_CHANNEL_COUNT_MAX + 1); in TEST()
191 vec<AudioMicrophoneChannelMapping> channelMapping;
247 vec<AudioMicrophoneChannelMapping> channelMapping;
202 vec<AudioMicrophoneChannelMapping> channelMapping;