/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 65 aidl.notificationsPerBuffer = VALUE_OR_RETURN(convertIntegral<int32_t>(notificationsPerBuffer)); in toAidl() 69 aidl.frameCount = VALUE_OR_RETURN(convertIntegral<int64_t>(frameCount)); in toAidl() 70 aidl.notificationFrameCount = VALUE_OR_RETURN(convertIntegral<int64_t>(notificationFrameCount)); in toAidl() 87 convertIntegral<uint32_t>(aidl.notificationsPerBuffer)); in fromAidl() 91 legacy.frameCount = VALUE_OR_RETURN(convertIntegral<size_t>(aidl.frameCount)); in fromAidl() 93 convertIntegral<size_t>(aidl.notificationFrameCount)); in fromAidl() 104 aidl.frameCount = VALUE_OR_RETURN(convertIntegral<int64_t>(frameCount)); in toAidl() 105 aidl.notificationFrameCount = VALUE_OR_RETURN(convertIntegral<int64_t>(notificationFrameCount)); in toAidl() 109 aidl.sampleRate = VALUE_OR_RETURN(convertIntegral<int32_t>(sampleRate)); in toAidl() 112 aidl.afFrameCount = VALUE_OR_RETURN(convertIntegral<int64_t>(afFrameCount)); in toAidl() [all …]
|
D | AidlConversion.cpp | 387 legacy.num_sinks = VALUE_OR_RETURN(convertIntegral<unsigned int>(aidl.sinks.size())); in aidl2legacy_AudioPatchFw_audio_patch() 395 legacy.num_sources = VALUE_OR_RETURN(convertIntegral<unsigned int>(aidl.sources.size())); in aidl2legacy_AudioPatchFw_audio_patch() 435 const uint32_t sampling_rate = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.samplingRate)); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() 440 const size_t frame_count = VALUE_OR_RETURN(convertIntegral<size_t>(aidl.frameCount)); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() 441 const size_t frame_count_hal = VALUE_OR_RETURN(convertIntegral<size_t>(aidl.frameCountHAL)); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() 442 const uint32_t latency = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.latency)); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() 455 aidl.samplingRate = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy->getSamplingRate())); in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor() 460 aidl.frameCount = VALUE_OR_RETURN(convertIntegral<int64_t>(legacy->getFrameCount())); in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor() 461 aidl.frameCountHAL = VALUE_OR_RETURN(convertIntegral<int64_t>(legacy->getFrameCountHAL())); in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor() 462 aidl.latency = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy->getLatency())); in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor() [all …]
|
D | AudioSystem.cpp | 1315 int32_t indexMinAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(indexMin)); in initStreamVolume() 1316 int32_t indexMaxAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(indexMax)); in initStreamVolume() 1336 int32_t indexAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(index)); in setStreamVolumeIndex() 1357 *index = VALUE_OR_RETURN_STATUS(convertIntegral<int>(indexAidl)); in getStreamVolumeIndex() 1370 int32_t indexAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(index)); in setVolumeIndexForAttributes() 1390 index = VALUE_OR_RETURN_STATUS(convertIntegral<int>(indexAidl)); in getVolumeIndexForAttributes() 1403 index = VALUE_OR_RETURN_STATUS(convertIntegral<int>(indexAidl)); in getMaxVolumeIndexForAttributes() 1416 index = VALUE_OR_RETURN_STATUS(convertIntegral<int>(indexAidl)); in getMinVolumeIndexForAttributes() 1526 int32_t inPastMsAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(inPastMs)); in isStreamActive() 1540 int32_t inPastMsAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(inPastMs)); in isStreamActiveRemotely() [all …]
|
D | AudioEffect.cpp | 677 countAidl.value = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(*count)); in queryDefaultPreProcessing() 681 *count = VALUE_OR_RETURN_STATUS(convertIntegral<uint32_t>(countAidl.value)); in queryDefaultPreProcessing()
|
D | PolicyAidlConversion.cpp | 158 convertIntegral<int>(UNION_GET(aidl, userId).value())); in aidl2legacy_AudioMixMatchCriterionValue()
|
/frameworks/av/media/audioaidlconversion/ |
D | AidlConversionEffect.cpp | 224 legacy.cpuLoad = VALUE_OR_RETURN(convertIntegral<uint16_t>(aidl.common.cpuLoad)); in aidl2legacy_Descriptor_effect_descriptor() 225 legacy.memoryUsage = VALUE_OR_RETURN(convertIntegral<uint16_t>(aidl.common.memoryUsage)); in aidl2legacy_Descriptor_effect_descriptor() 240 aidl.common.cpuLoad = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.cpuLoad)); in legacy2aidl_effect_descriptor_Descriptor() 241 aidl.common.memoryUsage = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.memoryUsage)); in legacy2aidl_effect_descriptor_Descriptor() 264 return VALUE_OR_RETURN(convertIntegral<uint32_t>(mobileMode)); in aidl2legacy_Parameter_aec_uint32_mobileMode() 268 bool mode = VALUE_OR_RETURN(convertIntegral<bool>(legacy)); in legacy2aidl_uint32_mobileMode_Parameter_aec() 309 return VALUE_OR_RETURN(convertIntegral<uint32_t>(saturationMargin)); in aidl2legacy_Parameter_agc_uint32_saturationMargin() 313 int saturationMargin = VALUE_OR_RETURN(convertIntegral<int>(legacy)); in legacy2aidl_uint32_saturationMargin_Parameter_agc() 322 return VALUE_OR_RETURN(convertIntegral<uint16_t>(strength)); in aidl2legacy_Parameter_BassBoost_uint16_strengthPm() 326 int strength = VALUE_OR_RETURN(convertIntegral<int>(legacy)); in legacy2aidl_uint16_strengthPm_Parameter_BassBoost() [all …]
|
D | AidlConversionCppNdk.cpp | 959 convertIntegral<int>(audio_channel_mask_get_bits(legacy))); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout() 1253 legacy.index = VALUE_OR_RETURN(convertIntegral<int>(aidl.index)); in aidl2legacy_AudioGainConfig_audio_gain_config() 1265 legacy.values[i] = VALUE_OR_RETURN(convertIntegral<int>(aidl.values[i])); in aidl2legacy_AudioGainConfig_audio_gain_config() 1267 legacy.ramp_duration_ms = VALUE_OR_RETURN(convertIntegral<int>(aidl.rampDurationMs)); in aidl2legacy_AudioGainConfig_audio_gain_config() 1274 aidl.index = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.index)); in legacy2aidl_audio_gain_config_AudioGainConfig() 1284 aidl.values[i] = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.values[i])); in legacy2aidl_audio_gain_config_AudioGainConfig() 1286 aidl.rampDurationMs = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.ramp_duration_ms)); in legacy2aidl_audio_gain_config_AudioGainConfig() 2012 legacy.bit_rate = VALUE_OR_RETURN(convertIntegral<int32_t>(aidl.bitRatePerSecond)); in aidl2legacy_AudioOffloadInfo_audio_offload_info_t() 2013 legacy.duration_us = VALUE_OR_RETURN(convertIntegral<int64_t>(aidl.durationUs)); in aidl2legacy_AudioOffloadInfo_audio_offload_info_t() 2016 legacy.bit_width = VALUE_OR_RETURN(convertIntegral<int32_t>(aidl.bitWidth)); in aidl2legacy_AudioOffloadInfo_audio_offload_info_t() [all …]
|
D | AidlConversionNdk.cpp | 86 legacy.samplingRate = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.base.sampleRate)); in aidl2legacy_AudioConfig_buffer_config_t() 107 aidl.base.sampleRate = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.samplingRate)); in legacy2aidl_buffer_config_t_AudioConfig()
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionDynamicsProcessing.cpp | 37 using ::aidl::android::convertIntegral; 171 VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(engine.preEqStage.inUse)); in getParameter() 173 VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(engine.mbcStage.inUse)); in getParameter() 175 VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(engine.postEqStage.inUse)); in getParameter() 177 VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(engine.limiterInUse)); in getParameter() 230 {.channel = channel, .enable = VALUE_OR_RETURN(convertIntegral<bool>(enable))}); in readChannelConfigFromParam() 243 config.enable = VALUE_OR_RETURN(convertIntegral<bool>(enable)); in readEqBandConfigFromParam() 265 config.enable = VALUE_OR_RETURN(convertIntegral<bool>(enable)); in readMbcBandConfigFromParam() 283 config.enable = VALUE_OR_RETURN(convertIntegral<bool>(enable)); in readLimiterConfigFromParam() 303 engine.preEqStage.inUse = VALUE_OR_RETURN(convertIntegral<bool>(preEqInUse)); in readEngineArchitectureFromParam() [all …]
|
D | AidlConversionEnvReverb.cpp | 36 using ::aidl::android::convertIntegral; 66 VALUE_OR_RETURN_STATUS(aidl::android::convertIntegral<aidlType>(value))); \
|
D | AidlConversionPresetReverb.cpp | 35 using ::aidl::android::convertIntegral;
|
D | AidlConversionBassBoost.cpp | 36 using ::aidl::android::convertIntegral;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1056 int indexMin = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int>(indexMinAidl)); in initStreamVolume() 1057 int indexMax = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int>(indexMaxAidl)); in initStreamVolume() 1079 int index = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int>(indexAidl)); in setStreamVolumeIndex() 1118 *_aidl_return = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int32_t>(index)); in getStreamVolumeIndex() 1127 int index = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int>(indexAidl)); in setVolumeIndexForAttributes() 1163 *_aidl_return = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int32_t>(index)); in getVolumeIndexForAttributes() 1182 *_aidl_return = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int32_t>(index)); in getMinVolumeIndexForAttributes() 1201 *_aidl_return = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<int32_t>(index)); in getMaxVolumeIndexForAttributes() 1335 uint32_t inPastMs = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(inPastMsAidl)); in isStreamActive() 1355 uint32_t inPastMs = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(inPastMsAidl)); in isStreamActiveRemotely() [all …]
|
D | AudioPolicyClientImpl.cpp | 83 *latencyMs = VALUE_OR_RETURN_STATUS(convertIntegral<uint32_t>(response.latencyMs)); in openOutput()
|
D | AudioPolicyService.cpp | 736 int32_t eventAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(event)); in onRecordingConfigurationUpdate()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioGain.cpp | 127 aidlSys.index = VALUE_OR_RETURN(convertIntegral<int32_t>(mIndex)); in toParcelable() 135 auto index = VALUE_OR_RETURN(convertIntegral<int>(sys.index)); in fromParcelable()
|
D | AudioProfile.cpp | 194 convertIntegral<int32_t, uint32_t>)); in toCommonParcelable() 213 convertIntegral<uint32_t, int32_t>)); in fromCommonParcelable()
|
D | AudioPort.cpp | 394 aidl_sampleRate.value = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(mSamplingRate)); in writeToParcelable() 413 convertIntegral<unsigned int>(parcelable.sampleRate.value().value)); in readFromParcelable()
|
/frameworks/av/media/audioaidlconversion/include/media/ |
D | AidlConversionUtil-impl.h | 59 ConversionResult<To> convertIntegral(From from) { in convertIntegral() function
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 127 legacy.index = VALUE_OR_RETURN(convertIntegral<int>(aidl.index)); in aidl2legacy_AudioHalCurvePoint_CurvePoint()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 3068 response->latencyMs = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(latencyMs)); in openOutput()
|