Home
last modified time | relevance | path

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

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java366 AudioOffloadInfo aidlInfo = new AudioOffloadInfo(); in hidl2aidlOffloadInfo() local
367 aidlInfo.base = hidl2aidlAudioConfigBase(hidlInfo.sampleRateHz, hidlInfo.channelMask, in hidl2aidlOffloadInfo()
369 aidlInfo.streamType = AidlConversion.legacy2aidl_audio_stream_type_t_AudioStreamType( in hidl2aidlOffloadInfo()
371 aidlInfo.bitRatePerSecond = hidlInfo.bitRatePerSecond; in hidl2aidlOffloadInfo()
372 aidlInfo.durationUs = hidlInfo.durationMicroseconds; in hidl2aidlOffloadInfo()
373 aidlInfo.hasVideo = hidlInfo.hasVideo; in hidl2aidlOffloadInfo()
374 aidlInfo.isStreaming = hidlInfo.isStreaming; in hidl2aidlOffloadInfo()
375 aidlInfo.bitWidth = hidlInfo.bitWidth; in hidl2aidlOffloadInfo()
376 aidlInfo.offloadBufferSize = hidlInfo.bufferSize; in hidl2aidlOffloadInfo()
377 aidlInfo.usage = AidlConversion.legacy2aidl_audio_usage_t_AudioUsage(hidlInfo.usage); in hidl2aidlOffloadInfo()
[all …]
/frameworks/native/services/inputflinger/
DInputFilter.cpp60 AidlDeviceInfo& aidlInfo = mDeviceInfos.emplace_back(); in notifyInputDevicesChanged() local
61 aidlInfo.deviceId = info.getId(); in notifyInputDevicesChanged()
62 aidlInfo.external = info.isExternal(); in notifyInputDevicesChanged()
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp3156 const MicrophoneInfo& aidlInfo, const MicrophoneDynamicInfo& aidlDynamic) { in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t() argument
3161 if (aidlInfo.id != aidlDynamic.id) { in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3165 RETURN_IF_ERROR(aidl2legacy_string(aidlInfo.id, legacy.device_id, AUDIO_MICROPHONE_ID_MAX_LEN)); in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3167 aidlInfo.device, &legacy.device, legacy.address)); in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3169 aidl2legacy_MicrophoneInfoLocation_audio_microphone_location_t(aidlInfo.location)); in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3170 legacy.group = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_microphone_group_t(aidlInfo.group)); in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3173 if (aidlInfo.indexInTheGroup != MicrophoneInfo::INDEX_IN_THE_GROUP_UNKNOWN) { in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3175 convertReinterpret<unsigned int>(aidlInfo.indexInTheGroup)); in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3179 if (aidlInfo.sensitivity.has_value()) { in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3180 legacy.sensitivity = aidlInfo.sensitivity.value().leveldBFS; in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
[all …]
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionCppNdk-impl.h449 const media::audio::common::MicrophoneInfo& aidlInfo,
454 media::audio::common::MicrophoneInfo* aidlInfo,
/frameworks/av/media/libaudiohal/impl/
DDeviceHalAidl.cpp763 std::vector<MicrophoneInfo> aidlInfo; in getMicrophoneInfo() local
764 status_t status = statusTFromBinderStatus(mModule->getMicrophones(&aidlInfo)); in getMicrophoneInfo()
767 mMicrophones.info = std::move(aidlInfo); in getMicrophoneInfo()