Lines Matching refs:media
37 using media::audio::common::AudioChannelLayout;
38 using media::audio::common::AudioConfig;
39 using media::audio::common::AudioConfigBase;
40 using media::audio::common::AudioContentType;
41 using media::audio::common::AudioDevice;
42 using media::audio::common::AudioDeviceAddress;
43 using media::audio::common::AudioDeviceDescription;
44 using media::audio::common::AudioDeviceType;
45 using media::audio::common::AudioFormatDescription;
46 using media::audio::common::AudioFormatType;
47 using media::audio::common::AudioGain;
48 using media::audio::common::AudioGainConfig;
49 using media::audio::common::AudioGainMode;
50 using media::audio::common::AudioInputFlags;
51 using media::audio::common::AudioIoFlags;
52 using media::audio::common::AudioMode;
53 using media::audio::common::AudioOffloadInfo;
54 using media::audio::common::AudioOutputFlags;
55 using media::audio::common::AudioPortDeviceExt;
56 using media::audio::common::AudioPortExt;
57 using media::audio::common::AudioPortMixExt;
58 using media::audio::common::AudioPortMixExtUseCase;
59 using media::audio::common::AudioProfile;
60 using media::audio::common::AudioSource;
61 using media::audio::common::AudioStandard;
62 using media::audio::common::AudioStreamType;
63 using media::audio::common::AudioUsage;
64 using media::audio::common::AudioUuid;
65 using media::audio::common::ExtraAudioDescriptor;
66 using media::audio::common::Int;
67 using media::audio::common::PcmType;
70 media::AudioPortRole aidl) { in aidl2legacy_AudioPortRole_audio_port_role_t()
72 case media::AudioPortRole::NONE: in aidl2legacy_AudioPortRole_audio_port_role_t()
74 case media::AudioPortRole::SOURCE: in aidl2legacy_AudioPortRole_audio_port_role_t()
76 case media::AudioPortRole::SINK: in aidl2legacy_AudioPortRole_audio_port_role_t()
82 ConversionResult<media::AudioPortRole> legacy2aidl_audio_port_role_t_AudioPortRole( in legacy2aidl_audio_port_role_t_AudioPortRole()
86 return media::AudioPortRole::NONE; in legacy2aidl_audio_port_role_t_AudioPortRole()
88 return media::AudioPortRole::SOURCE; in legacy2aidl_audio_port_role_t_AudioPortRole()
90 return media::AudioPortRole::SINK; in legacy2aidl_audio_port_role_t_AudioPortRole()
96 media::AudioPortType aidl) { in aidl2legacy_AudioPortType_audio_port_type_t()
98 case media::AudioPortType::NONE: in aidl2legacy_AudioPortType_audio_port_type_t()
100 case media::AudioPortType::DEVICE: in aidl2legacy_AudioPortType_audio_port_type_t()
102 case media::AudioPortType::MIX: in aidl2legacy_AudioPortType_audio_port_type_t()
104 case media::AudioPortType::SESSION: in aidl2legacy_AudioPortType_audio_port_type_t()
110 ConversionResult<media::AudioPortType> legacy2aidl_audio_port_type_t_AudioPortType( in legacy2aidl_audio_port_type_t_AudioPortType()
114 return media::AudioPortType::NONE; in legacy2aidl_audio_port_type_t_AudioPortType()
116 return media::AudioPortType::DEVICE; in legacy2aidl_audio_port_type_t_AudioPortType()
118 return media::AudioPortType::MIX; in legacy2aidl_audio_port_type_t_AudioPortType()
120 return media::AudioPortType::SESSION; in legacy2aidl_audio_port_type_t_AudioPortType()
126 media::AudioPortRole role, media::AudioPortType type) { in portDirection()
135 media::AudioIoConfigEvent aidl) { in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
137 case media::AudioIoConfigEvent::OUTPUT_REGISTERED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
139 case media::AudioIoConfigEvent::OUTPUT_OPENED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
141 case media::AudioIoConfigEvent::OUTPUT_CLOSED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
143 case media::AudioIoConfigEvent::OUTPUT_CONFIG_CHANGED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
145 case media::AudioIoConfigEvent::INPUT_REGISTERED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
147 case media::AudioIoConfigEvent::INPUT_OPENED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
149 case media::AudioIoConfigEvent::INPUT_CLOSED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
151 case media::AudioIoConfigEvent::INPUT_CONFIG_CHANGED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
153 case media::AudioIoConfigEvent::CLIENT_STARTED: in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
159 ConversionResult<media::AudioIoConfigEvent> legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent( in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
163 return media::AudioIoConfigEvent::OUTPUT_REGISTERED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
165 return media::AudioIoConfigEvent::OUTPUT_OPENED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
167 return media::AudioIoConfigEvent::OUTPUT_CLOSED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
169 return media::AudioIoConfigEvent::OUTPUT_CONFIG_CHANGED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
171 return media::AudioIoConfigEvent::INPUT_REGISTERED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
173 return media::AudioIoConfigEvent::INPUT_OPENED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
175 return media::AudioIoConfigEvent::INPUT_CLOSED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
177 return media::AudioIoConfigEvent::INPUT_CONFIG_CHANGED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
179 return media::AudioIoConfigEvent::CLIENT_STARTED; in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
184 const AudioPortMixExtUseCase& aidl, media::AudioPortRole role) { in aidl2legacy_AudioPortMixExtUseCase()
186 case media::AudioPortRole::NONE: { in aidl2legacy_AudioPortMixExtUseCase()
192 case media::AudioPortRole::SOURCE: in aidl2legacy_AudioPortMixExtUseCase()
195 case media::AudioPortRole::SINK: in aidl2legacy_AudioPortMixExtUseCase()
221 const AudioPortMixExt& aidl, media::AudioPortRole role, in aidl2legacy_AudioPortMixExt()
222 const media::AudioPortMixExtSys& aidlMixExt) { in aidl2legacy_AudioPortMixExt()
235 AudioPortMixExt* aidl, media::AudioPortMixExtSys* aidlMixExt) { in legacy2aidl_AudioPortMixExt()
261 const AudioPortDeviceExt& aidl, const media::AudioPortDeviceExtSys& aidlDeviceExt) { in aidl2legacy_AudioPortDeviceExt_audio_port_config_device_ext()
271 AudioPortDeviceExt* aidl, media::AudioPortDeviceExtSys* aidlDeviceExt) { in legacy2aidl_audio_port_config_device_ext_AudioPortDeviceExt()
283 const AudioPortExt& aidl, media::AudioPortType type, in aidl2legacy_AudioPortExt_audio_port_config_ext()
284 media::AudioPortRole role, const media::AudioPortExtSys& aidlSys) { in aidl2legacy_AudioPortExt_audio_port_config_ext()
289 case media::AudioPortType::NONE: in aidl2legacy_AudioPortExt_audio_port_config_ext()
293 case media::AudioPortType::DEVICE: in aidl2legacy_AudioPortExt_audio_port_config_ext()
299 case media::AudioPortType::MIX: in aidl2legacy_AudioPortExt_audio_port_config_ext()
305 case media::AudioPortType::SESSION: in aidl2legacy_AudioPortExt_audio_port_config_ext()
317 AudioPortExt* aidl, media::AudioPortExtSys* aidlSys) { in legacy2aidl_AudioPortExt()
327 media::AudioPortDeviceExtSys deviceSys; in legacy2aidl_AudioPortExt()
337 media::AudioPortMixExtSys mixSys; in legacy2aidl_AudioPortExt()
353 const media::AudioPortConfigFw& aidl, int32_t* aidlPortId) { in aidl2legacy_AudioPortConfigFw_audio_port_config()
369 ConversionResult<media::AudioPortConfigFw> legacy2aidl_audio_port_config_AudioPortConfigFw( in legacy2aidl_audio_port_config_AudioPortConfigFw()
373 media::AudioPortConfigFw aidl; in legacy2aidl_audio_port_config_AudioPortConfigFw()
384 const media::AudioPatchFw& aidl) { in aidl2legacy_AudioPatchFw_audio_patch()
406 ConversionResult<media::AudioPatchFw> legacy2aidl_audio_patch_AudioPatchFw( in legacy2aidl_audio_patch_AudioPatchFw()
408 media::AudioPatchFw aidl; in legacy2aidl_audio_patch_AudioPatchFw()
429 const media::AudioIoDescriptor& aidl) { in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor()
449 ConversionResult<media::AudioIoDescriptor> legacy2aidl_AudioIoDescriptor_AudioIoDescriptor( in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor()
451 media::AudioIoDescriptor aidl; in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor()
468 const media::AudioClient& aidl) { in aidl2legacy_AudioClient_AudioClient()
475 ConversionResult<media::AudioClient> legacy2aidl_AudioClient_AudioClient( in legacy2aidl_AudioClient_AudioClient()
477 media::AudioClient aidl; in legacy2aidl_AudioClient_AudioClient()
484 aidl2legacy_SharedFileRegion_IMemory(const media::SharedFileRegion& aidl) { in aidl2legacy_SharedFileRegion_IMemory()
492 ConversionResult<media::SharedFileRegion>
494 media::SharedFileRegion aidl; in legacy2aidl_IMemory_SharedFileRegion()
502 const std::optional<media::SharedFileRegion>& aidl) { in aidl2legacy_NullableSharedFileRegion_IMemory()
510 ConversionResult<std::optional<media::SharedFileRegion>>
512 std::optional<media::SharedFileRegion> aidl; in legacy2aidl_NullableIMemory_SharedFileRegion()
520 aidl2legacy_AudioTimestampInternal_AudioTimestamp(const media::AudioTimestampInternal& aidl) { in aidl2legacy_AudioTimestampInternal_AudioTimestamp()
528 ConversionResult<media::AudioTimestampInternal>
530 media::AudioTimestampInternal aidl; in legacy2aidl_AudioTimestamp_AudioTimestampInternal()
538 aidl2legacy_EffectDescriptor_effect_descriptor_t(const media::EffectDescriptor& aidl) { in aidl2legacy_EffectDescriptor_effect_descriptor_t()
552 ConversionResult<media::EffectDescriptor>
554 media::EffectDescriptor aidl; in legacy2aidl_effect_descriptor_t_EffectDescriptor()
569 const AudioPortMixExt& aidl, const media::AudioPortMixExtSys& aidlSys) { in aidl2legacy_AudioPortMixExt_audio_port_mix_ext()
578 AudioPortMixExt* aidl, media::AudioPortMixExtSys* aidlMixExt) { in legacy2aidl_audio_port_mix_ext_AudioPortMixExt()
599 const AudioPortDeviceExt& aidl, const media::AudioPortDeviceExtSys& aidlSys) { in aidl2legacy_AudioPortDeviceExt_audio_port_device_ext()
609 AudioPortDeviceExt* aidl, media::AudioPortDeviceExtSys* aidlDeviceExt) { in legacy2aidl_audio_port_device_ext_AudioPortDeviceExt()
620 const AudioPortExt& aidl, media::AudioPortType type, in aidl2legacy_AudioPortExt_audio_port_v7_ext()
621 const media::AudioPortExtSys& aidlSys) { in aidl2legacy_AudioPortExt_audio_port_v7_ext()
624 case media::AudioPortType::NONE: in aidl2legacy_AudioPortExt_audio_port_v7_ext()
628 case media::AudioPortType::DEVICE: in aidl2legacy_AudioPortExt_audio_port_v7_ext()
634 case media::AudioPortType::MIX: in aidl2legacy_AudioPortExt_audio_port_v7_ext()
640 case media::AudioPortType::SESSION: in aidl2legacy_AudioPortExt_audio_port_v7_ext()
652 AudioPortExt* aidl, media::AudioPortExtSys* aidlSys) { in legacy2aidl_AudioPortExt()
660 media::AudioPortDeviceExtSys deviceSys; in legacy2aidl_AudioPortExt()
670 media::AudioPortMixExtSys mixSys; in legacy2aidl_AudioPortExt()
688 aidl2legacy_AudioPortFw_audio_port_v7(const media::AudioPortFw& aidl) { in aidl2legacy_AudioPortFw_audio_port_v7()
702 ConversionResult<media::AudioPortFw>
706 media::AudioPortFw aidl; in legacy2aidl_audio_port_v7_AudioPortFw()
722 aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t(media::AudioUniqueIdUse aidl) { in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
724 case media::AudioUniqueIdUse::UNSPECIFIED: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
726 case media::AudioUniqueIdUse::SESSION: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
728 case media::AudioUniqueIdUse::MODULE: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
730 case media::AudioUniqueIdUse::EFFECT: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
732 case media::AudioUniqueIdUse::PATCH: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
734 case media::AudioUniqueIdUse::OUTPUT: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
736 case media::AudioUniqueIdUse::INPUT: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
738 case media::AudioUniqueIdUse::CLIENT: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
744 ConversionResult<media::AudioUniqueIdUse>
748 return media::AudioUniqueIdUse::UNSPECIFIED; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
750 return media::AudioUniqueIdUse::SESSION; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
752 return media::AudioUniqueIdUse::MODULE; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
754 return media::AudioUniqueIdUse::EFFECT; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
756 return media::AudioUniqueIdUse::PATCH; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
758 return media::AudioUniqueIdUse::OUTPUT; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
760 return media::AudioUniqueIdUse::INPUT; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
762 return media::AudioUniqueIdUse::CLIENT; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
791 const media::TrackSecondaryOutputInfo& aidl) { in aidl2legacy_TrackSecondaryOutputInfo_TrackSecondaryOutputInfoPair()
801 ConversionResult<media::TrackSecondaryOutputInfo>
804 media::TrackSecondaryOutputInfo trackSecondaryOutputInfo; in legacy2aidl_TrackSecondaryOutputInfoPair_TrackSecondaryOutputInfo()
814 aidl2legacy_AudioDirectMode_audio_direct_mode_t(media::AudioDirectMode aidl) { in aidl2legacy_AudioDirectMode_audio_direct_mode_t()
816 case media::AudioDirectMode::NONE: in aidl2legacy_AudioDirectMode_audio_direct_mode_t()
818 case media::AudioDirectMode::OFFLOAD: in aidl2legacy_AudioDirectMode_audio_direct_mode_t()
820 case media::AudioDirectMode::OFFLOAD_GAPLESS: in aidl2legacy_AudioDirectMode_audio_direct_mode_t()
822 case media::AudioDirectMode::BITSTREAM: in aidl2legacy_AudioDirectMode_audio_direct_mode_t()
827 ConversionResult<media::AudioDirectMode>
831 return media::AudioDirectMode::NONE; in legacy2aidl_audio_direct_mode_t_AudioDirectMode()
833 return media::AudioDirectMode::OFFLOAD; in legacy2aidl_audio_direct_mode_t_AudioDirectMode()
835 return media::AudioDirectMode::OFFLOAD_GAPLESS; in legacy2aidl_audio_direct_mode_t_AudioDirectMode()
837 return media::AudioDirectMode::BITSTREAM; in legacy2aidl_audio_direct_mode_t_AudioDirectMode()
846 (convertBitmask<LegacyMask, int32_t, audio_direct_mode_t, media::AudioDirectMode>( in aidl2legacy_int32_t_audio_direct_mode_t_mask()
848 indexToEnum_index<media::AudioDirectMode>, in aidl2legacy_int32_t_audio_direct_mode_t_mask()
856 return convertBitmask<int32_t, LegacyMask, media::AudioDirectMode, audio_direct_mode_t>( in legacy2aidl_audio_direct_mode_t_int32_t_mask()
859 enumToMask_index<int32_t, media::AudioDirectMode>); in legacy2aidl_audio_direct_mode_t_int32_t_mask()
864 const media::MicrophoneInfoFw& aidl) { in aidl2legacy_MicrophoneInfoFw_audio_microphone_characteristic_t()
871 ConversionResult<media::MicrophoneInfoFw>
874 media::MicrophoneInfoFw aidl; in legacy2aidl_audio_microphone_characteristic_t_MicrophoneInfoFw()