Searched refs:channelMapping (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | MicrophoneInfo.java | 172 List<Pair<Integer, Integer>> channelMapping, float sensitivity, float maxSpl, in MicrophoneInfo() argument 183 mChannelMapping = channelMapping; in MicrophoneInfo() 376 public void setChannelMapping(List<Pair<Integer, Integer>> channelMapping) { in setChannelMapping() argument 377 mChannelMapping = channelMapping; in setChannelMapping()
|
D | MediaRecorder.java | 1785 ArrayList<Pair<Integer, Integer>> channelMapping = new ArrayList<>(); in getActiveMicrophones() local 1787 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones() 1789 microphone.setChannelMapping(channelMapping); in getActiveMicrophones()
|
D | AudioRecord.java | 2211 ArrayList<Pair<Integer, Integer>> channelMapping = new ArrayList<>(); in getActiveMicrophones() local 2213 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones() 2215 microphone.setChannelMapping(channelMapping); in getActiveMicrophones()
|
/frameworks/base/core/jni/ |
D | android_media_MicrophoneInfo.cpp | 96 const auto &channelMapping = micInfo.channel_mapping; in convertMicrophoneInfoFromNative() local 97 for (size_t i = 0; i < std::size(channelMapping); i++) { in convertMicrophoneInfoFromNative() 98 int channelMappingType = channelMapping[i]; in convertMicrophoneInfoFromNative()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_aidl_legacy_conversion_tests.cpp | 770 initial.dynamic.channelMapping.resize(1); in TEST() 781 initial.dynamic.channelMapping.resize(1); in TEST() 830 EXPECT_EQ(4, aidl.dynamic.channelMapping.size()); in TEST() 831 EXPECT_EQ(MicrophoneDynamicInfo::ChannelMapping::UNUSED, aidl.dynamic.channelMapping[0]); in TEST() 832 EXPECT_EQ(MicrophoneDynamicInfo::ChannelMapping::DIRECT, aidl.dynamic.channelMapping[1]); in TEST() 833 EXPECT_EQ(MicrophoneDynamicInfo::ChannelMapping::UNUSED, aidl.dynamic.channelMapping[2]); in TEST() 834 EXPECT_EQ(MicrophoneDynamicInfo::ChannelMapping::PROCESSED, aidl.dynamic.channelMapping[3]); in TEST()
|
/frameworks/av/media/audioaidlconversion/ |
D | AidlConversionCppNdk.cpp | 3213 if (aidlDynamic.channelMapping.size() > AUDIO_CHANNEL_COUNT_MAX) { in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t() 3217 for (; i < aidlDynamic.channelMapping.size(); ++i) { in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t() 3220 aidlDynamic.channelMapping[i])); in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t() 3295 aidlDynamic->channelMapping.resize(channelsUsed); in legacy2aidl_audio_microphone_characteristic_t_MicrophoneInfos() 3297 aidlDynamic->channelMapping[i] = VALUE_OR_RETURN_STATUS( in legacy2aidl_audio_microphone_characteristic_t_MicrophoneInfos()
|