Searched refs:micInfo (Results 1 – 4 of 4) sorted by relevance
63 const struct audio_microphone_characteristic_t& halMicInfo, MicrophoneInfo* micInfo) { in microphoneInfoFromHal() argument65 micInfo->deviceId = halMicInfo.device_id; in microphoneInfoFromHal()67 deviceAddressFromHal(halMicInfo.device, halMicInfo.address, &micInfo->deviceAddress), in microphoneInfoFromHal()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()79 micInfo->location = AudioMicrophoneLocation(halMicInfo.location); in microphoneInfoFromHal()80 micInfo->group = AudioMicrophoneGroup(halMicInfo.group); in microphoneInfoFromHal()81 micInfo->indexInTheGroup = static_cast<uint32_t>(halMicInfo.index_in_the_group); in microphoneInfoFromHal()82 micInfo->sensitivity = halMicInfo.sensitivity; in microphoneInfoFromHal()[all …]
142 MicrophoneInfo micInfo{}; in generateValidMicrophoneInfo() local143 micInfo.deviceAddress.deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_BUILTIN_MIC); in generateValidMicrophoneInfo()144 micInfo.channelMapping.resize(1); in generateValidMicrophoneInfo()145 micInfo.channelMapping[0] = AudioMicrophoneChannelMapping::DIRECT; in generateValidMicrophoneInfo()146 micInfo.location = AudioMicrophoneLocation::MAINBODY_MOVABLE; in generateValidMicrophoneInfo()147 micInfo.group = 42; in generateValidMicrophoneInfo()148 micInfo.indexInTheGroup = 13; in generateValidMicrophoneInfo()149 micInfo.sensitivity = 65.5; in generateValidMicrophoneInfo()150 micInfo.maxSpl = 100.5; in generateValidMicrophoneInfo()151 micInfo.minSpl = 36.6; in generateValidMicrophoneInfo()[all …]
51 MicrophoneInfo* micInfo);52 …static status_t microphoneInfoToHal(const MicrophoneInfo& micInfo, audio_microphone_characteristic…
2152 for (const auto& micInfo : micInfos) { in TEST_P() local2153 const auto& micDevice = micInfo.device; in TEST_P()2162 << micInfo.id << "\": " << micDevice.toString(); in TEST_P()3498 [&](const auto& micInfo) { return micInfo.id == mic.id; })) in TEST_P() argument