Home
last modified time | relevance | path

Searched refs:sourceMetadata (Results 1 – 25 of 63) sorted by relevance

123

/hardware/interfaces/audio/core/all-versions/default/util/
DCoreUtils.cpp280 SourceMetadata* sourceMetadata) { in sourceMetadataFromHal() argument
282 sourceMetadata->tracks.resize(halTracks.size()); in sourceMetadataFromHal()
283 for (size_t i = 0; i < sourceMetadata->tracks.size(); ++i) { in sourceMetadataFromHal()
295 sourceMetadata->tracks[i] = std::move(trackMetadata); in sourceMetadataFromHal()
302 SourceMetadata* sourceMetadata) { in sourceMetadataFromHalV7() argument
311 status_t result = sourceMetadataFromHal(bases, sourceMetadata); in sourceMetadataFromHalV7()
314 auto& trackMetadata = sourceMetadata->tracks[i]; in sourceMetadataFromHalV7()
332 status_t CoreUtils::sourceMetadataToHal(const SourceMetadata& sourceMetadata, in sourceMetadataToHal() argument
336 halTracks->reserve(sourceMetadata.tracks.size()); in sourceMetadataToHal()
338 for (auto& trackMetadata : sourceMetadata.tracks) { in sourceMetadataToHal()
[all …]
/hardware/interfaces/audio/core/all-versions/default/util/include/util/
DCoreUtils.h65 SourceMetadata* sourceMetadata);
67 bool ignoreNonVendorTags, SourceMetadata* sourceMetadata);
68 static status_t sourceMetadataToHal(const SourceMetadata& sourceMetadata,
70 …static status_t sourceMetadataToHalV7(const SourceMetadata& sourceMetadata, bool ignoreNonVendorTa…
/hardware/interfaces/audio/aidl/default/
DModulePrimary.cpp55 StreamContext&& context, const SourceMetadata& sourceMetadata, in createOutputStream() argument
57 return createStreamInstance<StreamOutPrimary>(result, std::move(context), sourceMetadata, in createOutputStream()
/hardware/interfaces/audio/aidl/default/stub/
DModuleStub.cpp75 StreamContext&& context, const SourceMetadata& sourceMetadata, in createOutputStream() argument
77 return createStreamInstance<StreamOutStub>(result, std::move(context), sourceMetadata, in createOutputStream()
DStreamStub.cpp131 StreamOutStub::StreamOutStub(StreamContext&& context, const SourceMetadata& sourceMetadata, in StreamOutStub() argument
133 : StreamOut(std::move(context), offloadInfo), StreamStub(&mContextInstance, sourceMetadata) {} in StreamOutStub()
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DStreamOut.h130 Return<void> updateSourceMetadata(const SourceMetadata& sourceMetadata) override;
132 Return<Result> updateSourceMetadata(const SourceMetadata& sourceMetadata) override;
153 Result doUpdateSourceMetadata(const SourceMetadata& sourceMetadata);
155 Result doUpdateSourceMetadataV7(const SourceMetadata& sourceMetadata);
DDevice.h80 const SourceMetadata& sourceMetadata,
104 const SourceMetadata& sourceMetadata,
124 const SourceMetadata& sourceMetadata,
/hardware/interfaces/audio/core/all-versions/default/
DStreamOut.cpp594 Result StreamOut::doUpdateSourceMetadata(const SourceMetadata& sourceMetadata) { in doUpdateSourceMetadata() argument
597 (void)CoreUtils::sourceMetadataToHal(sourceMetadata, &halTracks); in doUpdateSourceMetadata()
604 sourceMetadata, false /*ignoreNonVendorTags*/, &halTracksV7); in doUpdateSourceMetadata()
623 Result StreamOut::doUpdateSourceMetadataV7(const SourceMetadata& sourceMetadata) { in doUpdateSourceMetadataV7() argument
626 sourceMetadata, false /*ignoreNonVendorTags*/, &halTracks); in doUpdateSourceMetadataV7()
640 Return<void> StreamOut::updateSourceMetadata(const SourceMetadata& sourceMetadata) { in updateSourceMetadata() argument
644 (void)doUpdateSourceMetadata(sourceMetadata); in updateSourceMetadata()
648 Return<Result> StreamOut::updateSourceMetadata(const SourceMetadata& sourceMetadata) { in updateSourceMetadata() argument
653 return doUpdateSourceMetadata(sourceMetadata); in updateSourceMetadata()
658 return doUpdateSourceMetadataV7(sourceMetadata); in updateSourceMetadata()
DDevice.cpp257 const SourceMetadata& sourceMetadata, in openOutputStreamImpl() argument
260 if (status_t status = CoreUtils::sourceMetadataToHal(sourceMetadata, nullptr); in openOutputStreamImpl()
264 if (status_t status = CoreUtils::sourceMetadataToHalV7(sourceMetadata, in openOutputStreamImpl()
274 streamOut->updateSourceMetadata(sourceMetadata); in openOutputStreamImpl()
286 const SourceMetadata& sourceMetadata, in openOutputStreamImpl() argument
289 openOutputStreamImpl(ioHandle, device, config, sourceMetadata, flags); in openOutputStreamImpl()
347 const SourceMetadata& sourceMetadata, in openOutputStreamImpl() argument
350 openOutputStreamImpl(ioHandle, device, config, sourceMetadata, flags); in openOutputStreamImpl()
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/1/android/hardware/bluetooth/audio/
DIBluetoothAudioPort.aidl41 void updateSourceMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateSourceMetadata() argument
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/4/android/hardware/bluetooth/audio/
DIBluetoothAudioPort.aidl41 void updateSourceMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateSourceMetadata() argument
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/2/android/hardware/bluetooth/audio/
DIBluetoothAudioPort.aidl41 void updateSourceMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateSourceMetadata() argument
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/3/android/hardware/bluetooth/audio/
DIBluetoothAudioPort.aidl41 void updateSourceMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateSourceMetadata() argument
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/
DIBluetoothAudioPort.aidl41 void updateSourceMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateSourceMetadata() argument
/hardware/interfaces/audio/core/all-versions/default/util/tests/
Dcoreutils_tests.cpp490 SourceMetadata sourceMetadata; in TEST_P() local
491 sourceMetadata.tracks = GetParam(); in TEST_P()
493 EXPECT_EQ(NO_ERROR, CoreUtils::sourceMetadataToHal(sourceMetadata, &halSourceMetadata)); in TEST_P()
494 EXPECT_EQ(sourceMetadata.tracks.size(), halSourceMetadata.size()); in TEST_P()
501 CoreUtils::sourceMetadataToHalV7(sourceMetadata, false /*ignoreNonVendorTags*/, in TEST_P()
503 EXPECT_EQ(sourceMetadata.tracks.size(), halSourceMetadataV7.size()); in TEST_P()
508 EXPECT_EQ(sourceMetadata, sourceMetadataBackFromV7); in TEST_P()
513 EXPECT_EQ(sourceMetadata.tracks.size(), halSourceMetadataV7FromTrimmed.size()); in TEST_P()
/hardware/interfaces/bluetooth/audio/aidl/android/hardware/bluetooth/audio/
DIBluetoothAudioPort.aidl78 void updateSourceMetadata(in SourceMetadata sourceMetadata); in updateSourceMetadata() argument
/hardware/interfaces/audio/aidl/default/usb/
DStreamUsb.cpp93 StreamOutUsb::StreamOutUsb(StreamContext&& context, const SourceMetadata& sourceMetadata, in StreamOutUsb() argument
96 StreamUsb(&mContextInstance, sourceMetadata), in StreamOutUsb()
DModuleUsb.cpp79 const SourceMetadata& sourceMetadata, in createOutputStream() argument
86 return createStreamInstance<StreamOutUsb>(result, std::move(context), sourceMetadata, in createOutputStream()
/hardware/interfaces/audio/aidl/android/hardware/audio/core/
DIStreamOut.aidl50 void updateMetadata(in SourceMetadata sourceMetadata); in updateMetadata() argument
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/2/android/hardware/audio/core/
DIStreamOut.aidl38 void updateMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateMetadata() argument
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/
DIStreamOut.aidl38 void updateMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateMetadata() argument
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/1/android/hardware/audio/core/
DIStreamOut.aidl38 void updateMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata); in updateMetadata() argument
/hardware/interfaces/audio/7.1/
DIDevice.hal40 * @param sourceMetadata Description of the audio that will be played.
52 SourceMetadata sourceMetadata) generates (
/hardware/interfaces/audio/aidl/default/include/core-impl/
DModulePrimary.h38 const ::aidl::android::hardware::audio::common::SourceMetadata& sourceMetadata,
DModuleStub.h39 const ::aidl::android::hardware::audio::common::SourceMetadata& sourceMetadata,

123