Lines Matching refs:convertIntegral
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()
522 legacy.mPosition = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.position)); in aidl2legacy_AudioTimestampInternal_AudioTimestamp()
523 legacy.mTime.tv_sec = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.sec)); in aidl2legacy_AudioTimestampInternal_AudioTimestamp()
524 legacy.mTime.tv_nsec = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.nsec)); in aidl2legacy_AudioTimestampInternal_AudioTimestamp()
531 aidl.position = VALUE_OR_RETURN(convertIntegral<int64_t>(legacy.mPosition)); in legacy2aidl_AudioTimestamp_AudioTimestampInternal()
532 aidl.sec = VALUE_OR_RETURN(convertIntegral<int64_t>(legacy.mTime.tv_sec)); in legacy2aidl_AudioTimestamp_AudioTimestampInternal()
533 aidl.nsec = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.mTime.tv_nsec)); in legacy2aidl_AudioTimestamp_AudioTimestampInternal()
544 legacy.cpuLoad = VALUE_OR_RETURN(convertIntegral<uint16_t>(aidl.cpuLoad)); in aidl2legacy_EffectDescriptor_effect_descriptor_t()
545 legacy.memoryUsage = VALUE_OR_RETURN(convertIntegral<uint16_t>(aidl.memoryUsage)); in aidl2legacy_EffectDescriptor_effect_descriptor_t()
559 aidl.cpuLoad = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.cpuLoad)); in legacy2aidl_effect_descriptor_t_EffectDescriptor()
560 aidl.memoryUsage = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.memoryUsage)); in legacy2aidl_effect_descriptor_t_EffectDescriptor()