Home
last modified time | relevance | path

Searched refs:track_count (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy.cc605 << ", state=" << state_ << ", " << source_metadata->track_count in UpdateSourceMetadata()
607 ssize_t track_count = source_metadata->track_count; in UpdateSourceMetadata() local
608 if (track_count == 0) return; in UpdateSourceMetadata()
610 hal_source_metadata.tracks.resize(track_count); in UpdateSourceMetadata()
611 for (int i = 0; i < track_count; i++) { in UpdateSourceMetadata()
632 << ", state=" << state_ << ", " << sink_metadata->track_count in UpdateSinkMetadata()
634 ssize_t track_count = sink_metadata->track_count; in UpdateSinkMetadata() local
635 if (track_count == 0) return; in UpdateSinkMetadata()
637 hal_sink_metadata.tracks.resize(track_count); in UpdateSinkMetadata()
638 for (int i = 0; i < track_count; i++) { in UpdateSinkMetadata()
Dstream_apis.cc710 if (source_metadata_v7 == nullptr || source_metadata_v7->track_count == 0) { in out_update_source_metadata_v7()
714 << ", " << source_metadata_v7->track_count << " track(s)"; in out_update_source_metadata_v7()
717 source_metadata.track_count = source_metadata_v7->track_count; in out_update_source_metadata_v7()
1227 if (sink_metadata == nullptr || sink_metadata->track_count == 0) { in in_update_sink_metadata_v7()
1233 << ", " << sink_metadata->track_count << " track(s)"; in in_update_sink_metadata_v7()
Ddevice_port_proxy_hidl.cc496 << ", state=" << state_ << ", " << source_metadata->track_count in UpdateTracksMetadata()
498 if (source_metadata->track_count == 0) return; in UpdateTracksMetadata()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_host_transport.cc99 auto track_count = source_metadata.track_count; in SourceMetadataChanged() local
101 if (track_count == 0) { in SourceMetadataChanged()
112 auto track_count = sink_metadata.track_count; in SinkMetadataChanged() local
114 if (track_count == 0) { in SinkMetadataChanged()
Daudio_linux.h273 size_t track_count; member
279 size_t track_count; member
300 size_t track_count; member
307 size_t track_count; member
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dhearing_aid_software_encoding_hidl.cc108 auto track_count = source_metadata.track_count; in MetadataChanged() local
110 log::info("{} track(s) received", track_count); in MetadataChanged()
111 while (track_count) { in MetadataChanged()
114 --track_count; in MetadataChanged()
Dle_audio_software_hidl.cc200 auto track_count = source_metadata.track_count; in MetadataChanged() local
202 if (track_count == 0) { in MetadataChanged()
207 tracks_vec.reserve(track_count); in MetadataChanged()
208 for (size_t i = 0; i < track_count; i++) { in MetadataChanged()
219 .track_count = tracks_vec.size(), .tracks = tracks_vec.data()}; in MetadataChanged()
Da2dp_encoding_hidl.cc168 auto track_count = source_metadata.track_count; in MetadataChanged() local
170 log::verbose("{} track(s) received", track_count); in MetadataChanged()
171 while (track_count) { in MetadataChanged()
174 --track_count; in MetadataChanged()
Dclient_interface_hidl.cc149 .track_count = metadata_vec.size(), .tracks = metadata_vec.data()}; in updateMetadata()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dhearing_aid_software_encoding_aidl.cc112 auto track_count = source_metadata.track_count; in SourceMetadataChanged() local
114 log::info("{} track(s) received", track_count); in SourceMetadataChanged()
115 while (track_count) { in SourceMetadataChanged()
118 --track_count; in SourceMetadataChanged()
Dle_audio_software_aidl.cc231 auto track_count = source_metadata.track_count; in SourceMetadataChanged() local
233 if (track_count == 0) { in SourceMetadataChanged()
247 tracks = (playback_track_metadata_v7*)malloc(sizeof(*tracks) * track_count); in SourceMetadataChanged()
248 memcpy(tracks, source_metadata.tracks, sizeof(*tracks) * track_count); in SourceMetadataChanged()
250 cached_source_metadata_.track_count = track_count; in SourceMetadataChanged()
259 auto track_count = sink_metadata.track_count; in SinkMetadataChanged() local
261 if (track_count == 0) { in SinkMetadataChanged()
Da2dp_encoding_aidl.cc179 auto track_count = source_metadata.track_count; in SourceMetadataChanged() local
181 log::verbose("{} track(s) received", track_count); in SourceMetadataChanged()
182 while (track_count) { in SourceMetadataChanged()
185 --track_count; in SourceMetadataChanged()
Dbluetooth_audio_port_impl.cc153 .track_count = tracks_vec.size(), .tracks = tracks_vec.data()}; in updateSourceMetadata()
212 .track_count = tracks_vec.size(), .tracks = tracks_vec.data()}; in updateSinkMetadata()
/packages/modules/Bluetooth/system/gd/rust/topshim/le_audio/
Dle_audio_shim.cc537 .track_count = tracks.size(), in source_metadata_changed()
571 .track_count = tracks.size(), in sink_metadata_changed()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_sink_hal_client.cc171 sink_metadata.tracks, sink_metadata.tracks + sink_metadata.track_count); in OnMetadataUpdateReq()
Daudio_source_hal_client.cc327 source_metadata.tracks + source_metadata.track_count); in OnMetadataUpdateReq()