Lines Matching refs:legacy
168 sp<AudioProfile> legacy = VALUE_OR_RETURN(fromCommonParcelable(aidl.first, isInput)); in fromParcelable() local
170 legacy->mIsDynamicFormat = parcelableSys.isDynamicFormat; in fromParcelable()
171 legacy->mIsDynamicChannels = parcelableSys.isDynamicChannels; in fromParcelable()
172 legacy->mIsDynamicRate = parcelableSys.isDynamicRate; in fromParcelable()
173 return legacy; in fromParcelable()
202 sp<AudioProfile> legacy = new AudioProfile(); in fromCommonParcelable() local
203 legacy->mName = aidl.name; in fromCommonParcelable()
204 legacy->mFormat = VALUE_OR_RETURN( in fromCommonParcelable()
206 legacy->mChannelMasks = VALUE_OR_RETURN( in fromCommonParcelable()
211 legacy->mSamplingRates = VALUE_OR_RETURN( in fromCommonParcelable()
214 legacy->mEncapsulationType = VALUE_OR_RETURN( in fromCommonParcelable()
217 return legacy; in fromCommonParcelable()
226 legacy2aidl_AudioProfile(const sp<AudioProfile>& legacy, bool isInput) { in legacy2aidl_AudioProfile() argument
227 return legacy->toParcelable(isInput); in legacy2aidl_AudioProfile()
236 legacy2aidl_AudioProfile_common(const sp<AudioProfile>& legacy, bool isInput) { in legacy2aidl_AudioProfile_common() argument
237 return legacy->toCommonParcelable(isInput); in legacy2aidl_AudioProfile_common()
396 legacy2aidl_AudioProfileVector(const AudioProfileVector& legacy, bool isInput) { in legacy2aidl_AudioProfileVector() argument
399 std::vector<media::AudioProfileSys>>(legacy, in legacy2aidl_AudioProfileVector()