Searched refs:halTracks (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/audio/core/all-versions/default/util/ |
D | CoreUtils.cpp | 154 status_t CoreUtils::sinkMetadataFromHal(const std::vector<record_track_metadata_t>& halTracks, in sinkMetadataFromHal() argument 157 sinkMetadata->tracks.resize(halTracks.size()); in sinkMetadataFromHal() 159 const auto& halTrackMetadata = halTracks[i]; in sinkMetadataFromHal() 186 status_t CoreUtils::sinkMetadataFromHalV7(const std::vector<record_track_metadata_v7_t>& halTracks, in sinkMetadataFromHalV7() argument 189 bases.reserve(halTracks.size()); in sinkMetadataFromHalV7() 190 std::transform(halTracks.begin(), halTracks.end(), std::back_inserter(bases), in sinkMetadataFromHalV7() 198 for (size_t i = 0; i < halTracks.size(); ++i) { in sinkMetadataFromHalV7() 200 const auto& halTrackMetadata = halTracks[i]; in sinkMetadataFromHalV7() 218 std::vector<record_track_metadata_t>* halTracks) { in sinkMetadataToHal() argument 220 if (halTracks != nullptr) { in sinkMetadataToHal() [all …]
|
/hardware/interfaces/audio/core/all-versions/default/util/include/util/ |
D | CoreUtils.h | 56 static status_t sinkMetadataFromHal(const std::vector<record_track_metadata_t>& halTracks, 58 static status_t sinkMetadataFromHalV7(const std::vector<record_track_metadata_v7_t>& halTracks, 61 std::vector<record_track_metadata_t>* halTracks); 63 std::vector<record_track_metadata_v7_t>* halTracks); 64 static status_t sourceMetadataFromHal(const std::vector<playback_track_metadata_t>& halTracks, 66 …static status_t sourceMetadataFromHalV7(const std::vector<playback_track_metadata_v7_t>& halTracks, 69 std::vector<playback_track_metadata_t>* halTracks); 71 std::vector<playback_track_metadata_v7_t>* halTracks);
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamIn.cpp | 486 std::vector<record_track_metadata> halTracks; in doUpdateSinkMetadata() local 488 (void)CoreUtils::sinkMetadataToHal(sinkMetadata, &halTracks); in doUpdateSinkMetadata() 497 halTracks.reserve(halTracksV7.size()); in doUpdateSinkMetadata() 499 halTracks.push_back(std::move(metadata_v7.base)); in doUpdateSinkMetadata() 506 .track_count = halTracks.size(), in doUpdateSinkMetadata() 507 .tracks = halTracks.data(), in doUpdateSinkMetadata() 515 std::vector<record_track_metadata_v7> halTracks; in doUpdateSinkMetadataV7() local 517 false /*ignoreNonVendorTags*/, &halTracks); in doUpdateSinkMetadataV7() 522 .track_count = halTracks.size(), in doUpdateSinkMetadataV7() 523 .tracks = halTracks.data(), in doUpdateSinkMetadataV7()
|
D | StreamOut.cpp | 595 std::vector<playback_track_metadata_t> halTracks; in doUpdateSourceMetadata() local 597 (void)CoreUtils::sourceMetadataToHal(sourceMetadata, &halTracks); in doUpdateSourceMetadata() 606 halTracks.reserve(halTracksV7.size()); in doUpdateSourceMetadata() 608 halTracks.push_back(std::move(metadata_v7.base)); in doUpdateSourceMetadata() 615 .track_count = halTracks.size(), in doUpdateSourceMetadata() 616 .tracks = halTracks.data(), in doUpdateSourceMetadata() 624 std::vector<playback_track_metadata_v7> halTracks; in doUpdateSourceMetadataV7() local 626 sourceMetadata, false /*ignoreNonVendorTags*/, &halTracks); in doUpdateSourceMetadataV7() 631 .track_count = halTracks.size(), in doUpdateSourceMetadataV7() 632 .tracks = halTracks.data(), in doUpdateSourceMetadataV7()
|