• Home
  • Raw
  • Download

Lines Matching refs:log

254     log::verbose("StreamSpeedTracker group_id: {}, context: {} #{}", group_id_,  in Init()
260 log::verbose("StreamSpeedTracker Reset called for invalid group_id: {} != {}", group_id, in Reset()
265 log::verbose("StreamSpeedTracker group_id: {}", group_id_); in Reset()
274 log::verbose("StreamSpeedTracker group_id: {}", group_id_); in ReconfigStarted()
281 log::verbose("StreamSpeedTracker group_id: {}", group_id_); in StartStream()
288 log::verbose("StreamSpeedTracker group_id: {}, {} reconfig time {} ms", group_id_, in ReconfigurationComplete()
294 log::verbose("StreamSpeedTracker group_id: {}, {} stream create time {} ms", group_id_, in StreamCreated()
303 log::verbose("StreamSpeedTracker group_id: {}, {} setup time {} ms", group_id_, in StopStreamSetup()
309 log::verbose("StreamSpeedTracker group_id: {}, {} is_started_: {} ", group_id_, in IsStarted()
313 log::verbose("StreamSpeedTracker not started {} or group_id does not match ({} ! = {}) ", in IsStarted()
422 log::info("Reconnection mode: TARGETED_ANNOUNCEMENTS");
425 log::info("Loading health status module");
434 log::error("Can't start LeAudio profile - no gatt clients left!"); in __anon432cb1ce0202()
467 log::debug("VBC close timeout"); in ReconfigureAfterVbcClose()
475 log::error("Invalid group: {}", active_group_id_); in ReconfigureAfterVbcClose()
491 log::info("Keeping the old configuration as no HQ Media playback is needed right now."); in ReconfigureAfterVbcClose()
499 log::warn("invalid/unknown context metadata, using 'MEDIA' instead"); in ReconfigureAfterVbcClose()
507 log::debug("new_configuration_context= {}", ToString(new_configuration_context)); in ReconfigureAfterVbcClose()
519 log::debug("Start VBC close timeout with {} ms", timeoutMs); in StartVbcCloseTimeout()
525 log::debug("Reconfigure after VBC close"); in StartVbcCloseTimeout()
534 log::debug("Cancel VBC close timeout"); in StopVbcCloseTimeout()
542 log::debug(" is {} group_id: {}, to check: {}, scheduled: {}", in IsReconfigurationTimeoutRunning()
551 log::debug("group_id: {}", group_id); in StartReconfigurationTimeout()
561 log::info("Is already running for group {}", reconfiguration_group_); in StartReconfigurationTimeout()
567 log::warn("This shall not happen, group_id: {} is not available.", group_id); in StartReconfigurationTimeout()
580 log::debug("reconfiguration_local_directions_ : {}", reconfiguration_local_directions_); in StartReconfigurationTimeout()
595 log::debug("group_id: {}, local_direction {}, reconfiguration directions {}", group_id, in StopReconfigurationTimeout()
601 log::debug("Wait for remaining directions: {} ", reconfiguration_local_directions_); in StopReconfigurationTimeout()
606 log::debug("Canceling for group_id {}", reconfiguration_group_); in StopReconfigurationTimeout()
623 log::debug("Stream suspend_timeout_ started: {} ms", static_cast<int>(timeoutMs)); in StartSuspendTimeout()
630 log::debug("No resume request received. Stop the group ID: {}", group_id); in StartSuspendTimeout()
639 log::debug("Cancel suspend timeout"); in StopSuspendTimeout()
686 log::info("address: {} group uuid {} group_id: {}", address, uuid, group_id); in OnGroupAddedCb()
698 log::info("group already set: {}", leAudioDevice->group_id_); in OnGroupAddedCb()
710 log::info("device {}", leAudioDevice->address_); in SetDeviceAsRemovePendingAndStopGroup()
717 log::info("address: {} group_id: {}", address, group_id); in OnGroupMemberAddedCb()
721 log::error("Not interested in group id: {}", group_id); in OnGroupMemberAddedCb()
730 log::info("group already set: {}", leAudioDevice->group_id_); in OnGroupMemberAddedCb()
743 log::info("address: {} group_id: {}", address, group_id); in OnGroupMemberRemovedCb()
750 log::warn("Device: {} not assigned to the group.", leAudioDevice->address_); in OnGroupMemberRemovedCb()
756 log::info("device not in the group: {}, {}", leAudioDevice->address_, group_id); in OnGroupMemberRemovedCb()
791 log::error( in OnLeAudioDeviceSetStateTimeout()
806 log::error("Shouldn't be called without an active device."); in OnLeAudioDeviceSetStateTimeout()
809 log::error("Front device is null. Number of devices: {}", group->Size()); in OnLeAudioDeviceSetStateTimeout()
834 log::info("All devices disconnected, group becomes inactive"); in OnLeAudioDeviceSetStateTimeout()
846 log::verbose("group_id: {}, group_conf_changed: {} available_contexts_changed: {}", in UpdateLocationsAndContextsAvailability()
935 log::info("leAudioDevice unknown , address: {} group: 0x{:x}", address, group_id); in group_add_node()
941 log::info("Set member adding ..."); in group_add_node()
960 log::error("can't create group - group is already there?"); in group_add_node()
964 log::assert_that(id == group_id, "group id missmatch? leaudio id: {}, groups module {}", in group_add_node()
976 log::debug("New group {}, id: {}", std::format_ptr(new_group), new_group->group_id_); in group_add_node()
1014 log::debug("group is null"); in remove_group_if_possible()
1017 log::debug("Group {}, id: {}, size: {}, is cig_state {}", std::format_ptr(group), in remove_group_if_possible()
1054 log::info("group_id: {} address: {}", group_id, address); in GroupRemoveNode()
1057 log::error("Skipping unknown leAudioDevice, address: {}", address); in GroupRemoveNode()
1062 log::error("Device is not in group_id: {}, but in group_id: {}", group_id, in GroupRemoveNode()
1068 log::error("device not in the group ?!"); in GroupRemoveNode()
1092 log::debug("Converting to single context type: {}", metadata_context_type.to_string()); in ChooseMetadataContextType()
1107 log::debug("Converted to single context type: {}", ToString(ct)); in ChooseMetadataContextType()
1114 log::warn("Invalid/unknown context, using 'UNSPECIFIED'"); in ChooseMetadataContextType()
1121 log::assert_that(group != nullptr, "Group shall not be null"); in GroupStream()
1123 log::debug( in GroupStream()
1129 log::error("stream context type is not supported: {}", in GroupStream()
1134 log::debug("group state={}, target_state={}", ToString(group->GetState()), in GroupStream()
1138 log::error("group {} is not connected", group->group_id_); in GroupStream()
1150 log::warn( in GroupStream()
1200 log::error("unknown group id: {}", group_id); in GroupStream()
1211 log::error("unknown group id: {}", group_id); in GroupSuspend()
1216 log::error("group is not connected"); in GroupSuspend()
1221 log::info(", group is in transition from: {} to: {}", ToString(group->GetState()), in GroupSuspend()
1227 log::error(", invalid current state of group: {}", ToString(group->GetState())); in GroupSuspend()
1238 log::error("unknown group id: {}", group_id); in GroupStop()
1243 log::error("group is empty"); in GroupStop()
1254 log::error("unknown group id: {}", group_id); in GroupDestroy()
1271 log::debug("leaudio_set_codec_config_preference flag is not enabled"); in SetCodecConfigPreference()
1278 log::error("Unknown group id: %d", group_id); in SetCodecConfigPreference()
1282 log::info("group id: {}, setting preferred codec is successful.", group_id); in SetCodecConfigPreference()
1284 log::warn("group id: {}, setting preferred codec is failed.", group_id); in SetCodecConfigPreference()
1289 log::warn("Selected group is not active."); in SetCodecConfigPreference()
1294 log::debug("Group id {} do the reconfiguration based on preferred codec config", group_id); in SetCodecConfigPreference()
1296 log::debug("Group id {} preferred codec config is not changed", group_id); in SetCodecConfigPreference()
1303 log::error("Unknown group id: %d", group_id); in IsUsingPreferredCodecConfig()
1312 log::debug("Ccid: {}, context type {}", ccid, context_type); in SetCcidInformation()
1318 log::debug(" group_id: {}, previous context_type {}", group->group_id_, in initReconfiguration()
1327 log::debug("in_call: {}", in_call); in SetInCall()
1329 log::verbose("no state change {}", in_call); in SetInCall()
1336 log::debug("There is no active group"); in SetInCall()
1342 log::debug("{} is not streaming", active_group_id_); in SetInCall()
1351 log::debug("in_call_metadata_context_types_ sink: {} source: {}", in SetInCall()
1357 log::info("Call is coming, but CIG already set for a call"); in SetInCall()
1360 log::info("Call is coming, speed up reconfiguration for a call"); in SetInCall()
1366 log::info("Call is ended, speed up reconfiguration for media"); in SetInCall()
1372 log::debug("No metadata, set default Media"); in SetInCall()
1376 log::debug("restored local_metadata_context_types_ sink: {} source: {}", in SetInCall()
1391 log::info( in SetInCall()
1404 log::info( in SetInCall()
1424 log::debug("in_voip_call: {}", in_call); in SetInVoipCall()
1452 log::debug("enable: {}", enable); in SetUnicastMonitorMode()
1455 log::debug("enable: {}", enable); in SetUnicastMonitorMode()
1475 log::error("invalid direction: 0x{:02x} monitor mode set", direction); in SetUnicastMonitorMode()
1481 log::info( in SendAudioProfilePreferences()
1486 log::warn("Unknown group_id"); in SendAudioProfilePreferences()
1491 log::warn("group_id {} does not exist", group_id); in SendAudioProfilePreferences()
1501 log::info("group_id: {}, sink context types: {}, source context types: {}", group_id, in SetGroupAllowedContextMask()
1505 log::warn("Unknown group_id"); in SetGroupAllowedContextMask()
1510 log::warn("group_id {} does not exist", group_id); in SetGroupAllowedContextMask()
1527 log::assert_that(active_group_id_ == bluetooth::groups::kGroupUnknown, in StartAudioSession()
1529 log::assert_that(le_audio_source_hal_client_ != nullptr, "Source session not acquired"); in StartAudioSession()
1530 log::assert_that(le_audio_sink_hal_client_ != nullptr, "Sink session not acquired"); in StartAudioSession()
1542 log::assert_that(true, "Both configs are invalid"); in StartAudioSession()
1572 log::info("address: {}, active_group_id_: {}", address.ToStringForLogging(), active_group_id_); in isOutputPreferenceLeAudio()
1576 log::info("Device {} is not active for LE Audio", address.ToStringForLogging()); in isOutputPreferenceLeAudio()
1581 log::info("active_group_id: {}, is_output_preference_le_audio_: {}", group->group_id_, in isOutputPreferenceLeAudio()
1587 log::info("address: {}, active_group_id_: {}", address.ToStringForLogging(), active_group_id_); in isDuplexPreferenceLeAudio()
1591 log::info("Device {} is not active for LE Audio", address.ToStringForLogging()); in isDuplexPreferenceLeAudio()
1596 log::info("active_group_id: {}, is_duplex_preference_le_audio: {}", group->group_id_, in isDuplexPreferenceLeAudio()
1607 log::info("Group id: {}", active_group_id_); in groupSetAndNotifyInactive()
1619 log::debug("group_id: {}", group->group_id_); in ConfigureStream()
1639 log::debug("group_id: {}", group->group_id_); in PrepareStreamForAConversational()
1645 log::error("Something went wrong {} != {} ", ToString(configuration_context_type_), in PrepareStreamForAConversational()
1651 log::info("Reconfiguration is needed for group {}", group->group_id_); in PrepareStreamForAConversational()
1657 log::info("group_id: {}", group_id); in GroupSetActive()
1666 log::info("Active group_id changed {} -> {}", active_group_id_, group_id); in GroupSetActive()
1676 log::error("Invalid group: {}", static_cast<int>(group_id)); in GroupSetActive()
1682 log::error("Group: {} is not connected anymore", static_cast<int>(group_id)); in GroupSetActive()
1689 log::info("Group is already active: {}", static_cast<int>(active_group_id_)); in GroupSetActive()
1693 log::info("switching active group to: {}", group_id); in GroupSetActive()
1697 log::assert_that(result, "Could not update session to codec manager"); in GroupSetActive()
1703 log::error("could not acquire audio source interface"); in GroupSetActive()
1712 log::error("could not acquire audio sink interface"); in GroupSetActive()
1720 log::assert_that(result, "Could not update session to codec manager"); in GroupSetActive()
1747 log::info("Active group_id changed {} -> {}", previous_active_group, group_id); in GroupSetActive()
1780 log::info("Could not configure group {}", group->group_id_); in GroupSetActive()
1794 log::info("{}: {}", address, enabled ? "enabled" : "disabled"); in SetEnableState()
1797 log::warn("{} is null", address); in SetEnableState()
1804 log::warn("Group {} is not available", group_id); in SetEnableState()
1816 log::info(": {}", address); in RemoveDevice()
1826 log::info("{}, state: {}", address, in RemoveDevice()
1870 log::info(": {}", address); in Connect()
1875 log::error("Connecting {} when not bonded", address); in Connect()
1884 log::error("Device {} is in invalid state: {}", leAudioDevice->address_, in Connect()
1893 log::warn("{}, trying to connect to disabled group id {}", address, in Connect()
1936 log::error("Device is already loaded. Nothing to do."); in AddFromStorage()
1940 log::info( in AddFromStorage()
1969 log::warn("Could not load Handles"); in AddFromStorage()
1993 log::warn("Could not load sink pacs"); in AddFromStorage()
1999 log::warn("Could not load source pacs"); in AddFromStorage()
2005 log::warn("Could not load ases"); in AddFromStorage()
2012 log::warn("Invalid GMAP storage for {}", leAudioDevice->address_); in AddFromStorage()
2052 log::debug("Device {} not in the background connect", leAudioDevice->address_); in BackgroundConnectIfNeeded()
2059 log::info(": {}", address); in Disconnect()
2063 log::warn("leAudioDevice not connected ( {} )", address); in Disconnect()
2069 log::info("{}, state: {}", address, bluetooth::common::ToString(connection_state)); in Disconnect()
2092 log::info("Removing autoconnect flag for group_id {}", leAudioDevice->group_id_); in Disconnect()
2122 log::debug("group_id {} needs to stop streaming before {} disconnection", in Disconnect()
2130 log::debug("group_id {} needs to stop streaming before {} disconnection", in Disconnect()
2152 log::warn("Should not happen - disconnect device"); in Disconnect()
2160 log::warn("{}, invalid state {}", address, bluetooth::common::ToString(connection_state)); in Disconnect()
2227 log::error("Could not read CCC for {}, disconnecting", leAudioDevice->address_); in handleInitialCtpCccRead()
2234 log::warn("{} forgot CCC values. Re-subscribing", leAudioDevice->address_); in handleInitialCtpCccRead()
2239 log::verbose("{}, ASCS ctp ccc: {:#x}", leAudioDevice->address_, val); in handleInitialCtpCccRead()
2252 log::error("no leAudioDevice assigned to connection id: {}", conn_id); in LeAudioCharValueHandle()
2277 log::error("Sink PACs corrupted"); in LeAudioCharValueHandle()
2281 log::info("Registering sink PACs"); in LeAudioCharValueHandle()
2306 log::error("Source PACs corrupted"); in LeAudioCharValueHandle()
2310 log::info("Registering source PACs"); in LeAudioCharValueHandle()
2447 log::error("Unknown attribute read: 0x{:x}", hdl); in LeAudioCharValueHandle()
2459 log::info("Group {} does not exist", group_id); in GetGroupIfEnabled()
2463 log::info("Group {} is disabled", group_id); in GetGroupIfEnabled()
2474 log::info("Group {} is invalid or disabled", leAudioDevice->group_id_); in AddToBackgroundConnectCheckGroupConnected()
2483 log::info("Group {} in connected state. Adding {} to allow list", leAudioDevice->group_id_, in AddToBackgroundConnectCheckGroupConnected()
2487 log::info("Adding {} to background connect (default reconnection_mode (0x{:02x}))", address, in AddToBackgroundConnectCheckGroupConnected()
2497 log::info("{}, conn_id=0x{:04x}, transport={}, status={} (0x{:02x})", address, conn_id, in OnGattConnected()
2501 log::warn("Only LE connection is allowed (transport {})", bt_transport_text(transport)); in OnGattConnected()
2511 log::debug("Already connected {}, conn_id=0x{:04x}", address, leAudioDevice->conn_id_); in OnGattConnected()
2523 log::info("Device not available now, do background connect."); in OnGattConnected()
2531 log::error("Failed to connect to LeAudio leAudioDevice, status: 0x{:02x}", status); in OnGattConnected()
2544 log::warn("LeAudio profile is disabled for group_id: {}. {} is not connected", in OnGattConnected()
2565 log::info("{} set preferred PHY to 2M", address); in OnGattConnected()
2595 log::info("Encryption required for {}. Request result: 0x{:02x}", address, result); in OnGattConnected()
2598 log::error("Link key unknown for {}, disconnect profile", address); in OnGattConnected()
2610 log::info("device: {}", leAudioDevice->address_); in RegisterKnownNotifications()
2613 log::error("Control point characteristic is mandatory - disconnecting device {}", in RegisterKnownNotifications()
2661 log::info("Configure MTU"); in changeMtuIfPossible()
2673 log::verbose("{}, eatt supported {}", leAudioDevice->address_, is_eatt_supported); in ReadMustHaveAttributesOnReconnect()
2699 log::info("{} status 0x{:02x}", address, status); in OnEncryptionComplete()
2702 log::warn("Skipping device which is {}", in OnEncryptionComplete()
2708 log::error("Encryption failed status: {}", btm_status_text(status)); in OnEncryptionComplete()
2724 log::info("link already encrypted, nothing to do"); in OnEncryptionComplete()
2734 log::info("{} set preferred PHY to 2M", leAudioDevice->address_); in OnEncryptionComplete()
2754 log::info("Wait for CCC registration and MTU change request"); in OnEncryptionComplete()
2775 log::info("Group {} is destroyed.", group_id); in checkGroupConnectionStateAfterMemberDisconnect()
2780 log::info("Group {} is not connected", group_id); in checkGroupConnectionStateAfterMemberDisconnect()
2794 log::info("Schedule group_id {} connected check.", group_id); in scheduleGroupConnectedCheck()
2804 log::warn("Device {} not valid anymore", address); in autoConnect()
2812 log::info("Schedule auto connect {}", address); in scheduleAutoConnect()
2819 log::info("Reconnecting to {} after timeout on state machine.", address); in recoveryReconnect()
2824 log::warn("Device {}, not interested in recovery connect anymore", address); in recoveryReconnect()
2839 log::info("Schedule reconnecting to {} after timeout on state machine.", address); in scheduleRecoveryReconnect()
2846 log::info("checking being a group member: {}", address); in checkIfGroupMember()
2850 log::warn("Device {}, probably removed", address); in checkIfGroupMember()
2869 log::info("Schedule reconnecting to {} after timeout on state machine.", address); in scheduleGuardForCsisAdd()
2880 log::error(", skipping unknown leAudioDevice, address: {}", address); in OnGattDisconnected()
2916 log::info("{}, autoconnect {}, reason 0x{:02x}, connection state {}", leAudioDevice->address_, in OnGattDisconnected()
2939 log::error("Group id {} ({}) disabled or null", leAudioDevice->group_id_, in OnGattDisconnected()
2984 log::info("conn id {}, gatt_register: {}, write_ccc: {}", conn_id, gatt_register, write_ccc); in subscribe_for_notification()
2987 log::error("cannot register for notification: {}", static_cast<int>(handle)); in subscribe_for_notification()
2992 log::verbose("CCC is not written to {} (0x{:04x}), handle 0x{:04x}", address, conn_id, in subscribe_for_notification()
3025 log::warn("leAudioDevice is null"); in ClearDeviceInformationAndStartSearch()
3029 log::info("{}", leAudioDevice->address_); in ClearDeviceInformationAndStartSearch()
3032 log::debug("Database already invalidated"); in ClearDeviceInformationAndStartSearch()
3054 log::warn("Skipping unknown leAudioDevice {} ({})", address, std::format_ptr(leAudioDevice)); in OnServiceChangeEvent()
3072 log::debug("Unknown connectect id {}", conn_id); in OnMtuChanged()
3085 log::error("Device {} MTU is too low ({}). Disconnecting from LE Audio", in OnMtuChanged()
3097 log::debug("Unknown conn_id {:#x}", conn_id); in OnPhyUpdate()
3101 log::info("{}, tx_phy: {:#x}, rx_phy: {:#x} , status: {:#x}", leAudioDevice->address_, tx_phy, in OnPhyUpdate()
3112 log::verbose("skipping unknown leAudioDevice, address {} ({})", address, in OnGattServiceDiscoveryDone()
3118 log::debug("Wait for device to be encrypted"); in OnGattServiceDiscoveryDone()
3131 log::error("{}, {}", leAudioDevice->address_, error_string); in disconnectInvalidDevice()
3146 log::error("skipping unknown leAudioDevice, conn_id: 0x{:x}", conn_id); in OnServiceSearchComplete()
3150 log::info("test csis_member {}", leAudioDevice->csis_member_); in OnServiceSearchComplete()
3154 log::error("Service discovery failed"); in OnServiceSearchComplete()
3161 log::warn("Device not yet bonded - waiting for encryption"); in OnServiceSearchComplete()
3177 log::info("Found Audio Capability service, handle: 0x{:04x}, device: {}", tmp.handle, in OnServiceSearchComplete()
3181 log::info("Found Audio Stream Endpoint service, handle: 0x{:04x}, device: {}", tmp.handle, in OnServiceSearchComplete()
3185 log::info("Found CSIS service, handle: 0x{:04x}, is primary: {}, device: {}", tmp.handle, in OnServiceSearchComplete()
3191 log::info("Found CAP service, handle: 0x{:04x}, device: {}", tmp.handle, in OnServiceSearchComplete()
3197 log::info("CSIS included into CAS"); in OnServiceSearchComplete()
3206 log::info("Found Telephony and Media Audio service, handle: 0x{:04x}, device: {}", in OnServiceSearchComplete()
3210 log::info("Found Gaming Audio service, handle: 0x{:04x}, device: {}", tmp.handle, in OnServiceSearchComplete()
3242 log::info(", Sink PACs ccc not available"); in OnServiceSearchComplete()
3258 log::info("Found Sink PAC characteristic, handle: 0x{:04x}, ccc handle: 0x{:04x}, addr: {}", in OnServiceSearchComplete()
3267 log::info(", Source PACs ccc not available"); in OnServiceSearchComplete()
3283 log::info( in OnServiceSearchComplete()
3292 log::info(", snk audio locations char doesn't have ccc"); in OnServiceSearchComplete()
3305 log::info( in OnServiceSearchComplete()
3315 log::info(", src audio locations char doesn't have ccc"); in OnServiceSearchComplete()
3328 log::info( in OnServiceSearchComplete()
3354 log::info( in OnServiceSearchComplete()
3365 log::info(", audio supported char doesn't have ccc"); in OnServiceSearchComplete()
3381 log::info( in OnServiceSearchComplete()
3393 log::info("Found characteristic, uuid: {}", charac.uuid.ToString()); in OnServiceSearchComplete()
3415 log::info( in OnServiceSearchComplete()
3437 log::info( in OnServiceSearchComplete()
3454 log::info( in OnServiceSearchComplete()
3468 log::info("Found Gmap Role characteristic, handle: 0x{:04x}, device: {}", in OnServiceSearchComplete()
3475 log::info("Found Gmap UGT Feature characteristic, handle: 0x{:04x}, device: {}", in OnServiceSearchComplete()
3507 log::info("{}, waiting for CSIS to create group for device", leAudioDevice->address_); in OnServiceSearchComplete()
3512 log::info("{} Not a CSIS member. Create group by our own", leAudioDevice->address_); in OnServiceSearchComplete()
3524 log::error("unknown conn_id=0x{:x}", conn_id); in OnGattWriteCcc()
3529 log::info("Database out of sync for {}, conn_id: 0x{:04x}", leAudioDevice->address_, conn_id); in OnGattWriteCcc()
3535 log::info("Successfully registered on ccc: 0x{:04x}, device: {}", hdl, in OnGattWriteCcc()
3548 log::error("Failed to register for notifications: 0x{:04x}, device: {}, status: 0x{:02x}", hdl, in OnGattWriteCcc()
3556 log::error("Unknown ccc handle: 0x{:04x}, device: {}", hdl, leAudioDevice->address_); in OnGattWriteCcc()
3565 log::info("group {} is not streaming. Nothing to do", leAudioDevice->group_id_); in AttachToStreamingGroupIfNeeded()
3571 log::debug("{} is not yet connected", leAudioDevice->address_); in AttachToStreamingGroupIfNeeded()
3576 log::debug("{} is already configured, nothing to do", leAudioDevice->address_); in AttachToStreamingGroupIfNeeded()
3585 log::info( in AttachToStreamingGroupIfNeeded()
3596 log::debug("Device not streaming but active - nothing to do"); in AttachToStreamingGroupIfNeeded()
3601 log::info("Configuration not yet set. Nothing to do now"); in AttachToStreamingGroupIfNeeded()
3605 log::info("Attaching {} to group: {}", leAudioDevice->address_, leAudioDevice->group_id_); in AttachToStreamingGroupIfNeeded()
3609 log::info("Looking for requirements: {} - {}", stream_conf->conf->name, in AttachToStreamingGroupIfNeeded()
3616 log::info("Configuration is not supported by device {}", leAudioDevice->address_); in AttachToStreamingGroupIfNeeded()
3637 log::warn("Could not add device {} to the group {} streaming.", leAudioDevice->address_, in AttachToStreamingGroupIfNeeded()
3648 log::info("Device {} not available anymore", addr); in restartAttachToTheStream()
3655 log::info("Device {} is scheduled for streaming", addr); in scheduleAttachDeviceToTheStream()
3673 log::debug("{}", group->group_id_); in SendAudioGroupCurrentCodecConfigChanged()
3677 log::warn("Stream configuration is not valid for group id {}", group->group_id_); in SendAudioGroupCurrentCodecConfigChanged()
3693 log::debug("{}, {}", leAudioDevice->address_, in connectionReady()
3712 log::warn("LeAudio device {} connected with no group", leAudioDevice->address_); in connectionReady()
3776 log::error("Don't know how to mono blend that {}!", bytes_per_sample); in mono_blend()
3791 log::error("Missing samples. Data size: {} expected: {}", data.size(), in PrepareAndSendToTwoCises()
3808 log::error("Codec Frame Blocks of {} is not supported by the software encoding", in PrepareAndSendToTwoCises()
3829 log::debug("left_cis_handle: {} right_cis_handle: {}", left_cis_handle, right_cis_handle); in PrepareAndSendToTwoCises()
3854 log::error("Missing samples"); in PrepareAndSendToSingleCis()
3859 log::error("Codec Frame Blocks of {} is not supported by the software encoding", in PrepareAndSendToSingleCis()
3886 log::info("group_id: {}", group->group_id_); in GetStreamSinkConfiguration()
3891 log::info("configuration: {}", stream_conf->conf->name); in GetStreamSinkConfiguration()
3903 log::error("There is no streaming group available"); in OnAudioDataReady()
3911 log::error("Stream configufation is not valid."); in OnAudioDataReady()
3942 log::error("There is no streaming group available"); in HandleIncomingCisData()
3968 log::error("Received data for unknown handle: {:04x}", cis_conn_hdl); in HandleIncomingCisData()
4063 log::error("not all data sinked"); in SendAudioDataToAF()
4088 log::info(""); in StartSendingAudio()
4092 log::assert_that(device, "Shouldn't be called without an active device."); in StartSendingAudio()
4097 log::error("could not get sink configuration"); in StartSendingAudio()
4102 log::debug("Sink stream config (#{}):\n", in StartSendingAudio()
4105 log::debug("Cis handle: 0x{:02x}, allocation 0x{:04x}\n", info.stream_handle, in StartSendingAudio()
4108 log::debug("Source stream config (#{}):\n", in StartSendingAudio()
4111 log::debug("Cis handle: 0x{:02x}, allocation 0x{:04x}\n", info.stream_handle, in StartSendingAudio()
4120 log::warn("The encoder instance should have been already released."); in StartSendingAudio()
4126 log::error("Left channel codec setup failed with err: {}", codec_status); in StartSendingAudio()
4135 log::error("Right channel codec setup failed with err: {}", codec_status); in StartSendingAudio()
4174 log::info("configuration: {}", stream_conf->conf->name); in GetStreamSourceConfiguration()
4179 log::info(""); in StartReceivingAudio()
4185 log::warn( in StartReceivingAudio()
4200 log::warn("The decoder instance should have been already released."); in StartReceivingAudio()
4206 log::error("Left channel codec setup failed with err: {}", codec_status); in StartReceivingAudio()
4215 log::error("Right channel codec setup failed with err: {}", codec_status); in StartReceivingAudio()
4385 log::debug("Checking whether to reconfigure from {} to {}", in UpdateConfigAndCheckIfReconfigurationIsNeeded()
4404 log::info("Session reconfiguration needed group: {} for context type: {}", group->group_id_, in UpdateConfigAndCheckIfReconfigurationIsNeeded()
4428 log::warn("Requested context type not available on the remote side"); in OnAudioResume()
4448 log::warn(", there is no longer active group"); in OnAudioSuspend()
4453 log::info("Stream disable_timer_ started"); in OnAudioSuspend()
4463 log::debug("No resume request received. Suspend the group ID: {}", group_id); in OnAudioSuspend()
4474 log::info("active group_id: {}, IN: audio_receiver_state_: {}, audio_sender_state_: {}", in OnLocalAudioSourceSuspend()
4508 log::info("OUT: audio_receiver_state_: {}, audio_sender_state_: {}", in OnLocalAudioSourceSuspend()
4518 log::info("active group_id: {}, IN: audio_receiver_state_: {}, audio_sender_state_: {}", in OnLocalAudioSourceResume()
4531 log::error("Invalid group: {}", static_cast<int>(active_group_id_)); in OnLocalAudioSourceResume()
4538 log::error("invalid resume request for context type: {}", in OnLocalAudioSourceResume()
4554 log::warn( in OnLocalAudioSourceResume()
4565 log::debug( in OnLocalAudioSourceResume()
4594 log::warn( in OnLocalAudioSourceResume()
4614 log::warn( in OnLocalAudioSourceResume()
4624 log::error( in OnLocalAudioSourceResume()
4648 log::warn( in OnLocalAudioSourceResume()
4658 log::error( in OnLocalAudioSourceResume()
4671 log::error( in OnLocalAudioSourceResume()
4704 log::info("active group_id: {}, IN: audio_receiver_state_: {}, audio_sender_state_: {}", in OnLocalAudioSinkSuspend()
4742 log::info("OUT: audio_receiver_state_: {}, audio_sender_state_: {}", in OnLocalAudioSinkSuspend()
4757 log::debug("configuration_context_type_ = {}, group_id: {}, remote_direction: {}", in IsDirectionAvailableForCurrentConfiguration()
4762 log::debug("name = {}, size {}", current_config->name, in IsDirectionAvailableForCurrentConfiguration()
4766 log::debug("no cached configuration"); in IsDirectionAvailableForCurrentConfiguration()
4772 log::info("Stream monitoring status changed to: {}", static_cast<int>(status)); in notifyAudioLocalSink()
4781 log::info("Source stream monitoring status changed to: {}", static_cast<int>(status)); in notifyAudioLocalSource()
4789 log::info("active group_id: {} IN: audio_receiver_state_: {}, audio_sender_state_: {}", in OnLocalAudioSinkResume()
4815 log::error("Invalid group: {}", static_cast<int>(active_group_id_)); in OnLocalAudioSinkResume()
4824 log::info("new_configuration_context = {}", ToString(configuration_context_type_)); in OnLocalAudioSinkResume()
4830 log::error("invalid resume request for context type: {}", in OnLocalAudioSinkResume()
4846 log::warn( in OnLocalAudioSinkResume()
4857 log::debug( in OnLocalAudioSinkResume()
4884 log::warn( in OnLocalAudioSinkResume()
4904 log::warn( in OnLocalAudioSinkResume()
4914 log::error( in OnLocalAudioSinkResume()
4939 log::warn( in OnLocalAudioSinkResume()
4949 log::error( in OnLocalAudioSinkResume()
4962 log::error( in OnLocalAudioSinkResume()
4997 log::debug("Got contexts={} in config_context={}", in ChooseConfigurationContextType()
5002 log::debug("In Call preference used."); in ChooseConfigurationContextType()
5026 log::debug("Selecting configuration context type: {}", ToString(ct)); in ChooseConfigurationContextType()
5040 log::debug("Selecting configuration context type: {}", ToString(fallback_config)); in ChooseConfigurationContextType()
5055 log::info("group_id {}, previous_context {} context type {} ({}), {}", group->group_id_, in SetConfigurationAndStopStreamWhenNeeded()
5067 log::debug("Group is not streaming"); in SetConfigurationAndStopStreamWhenNeeded()
5108 log::warn(", cannot start streaming if no active group set"); in OnLocalAudioSourceMetadataUpdate()
5114 log::error("Invalid group: {}", static_cast<int>(active_group_id_)); in OnLocalAudioSourceMetadataUpdate()
5118 log::info( in OnLocalAudioSourceMetadataUpdate()
5126 log::info("Skip it as group is reconfiguring"); in OnLocalAudioSourceMetadataUpdate()
5151 log::info( in OnLocalAudioSourceMetadataUpdate()
5176 log::warn("invalid/unknown {} context metadata, using 'UNSPECIFIED' instead", in ApplyRemoteMetadataAudioContextPolicy()
5205 log::debug("Checking contexts: {}, against the available contexts: {}", in ApplyRemoteMetadataAudioContextPolicy()
5222 log::debug("Replaced the unsupported contexts: {} with UNSPECIFIED -> {}", in ApplyRemoteMetadataAudioContextPolicy()
5225 log::debug("Some contexts are supported but currently unavailable: {}!", in ApplyRemoteMetadataAudioContextPolicy()
5255 log::info( in ApplyRemoteMetadataAudioContextPolicy()
5270 log::debug("Removing UNSPECIFIED from the remote {} context: {}", in ApplyRemoteMetadataAudioContextPolicy()
5281 log::debug("Aligned remote metadata audio context: sink={}, source={}", in ApplyRemoteMetadataAudioContextPolicy()
5287 log::warn(", cannot start streaming if no active group set"); in OnLocalAudioSinkMetadataUpdate()
5293 log::error("Invalid group: {}", static_cast<int>(active_group_id_)); in OnLocalAudioSinkMetadataUpdate()
5297 log::info( in OnLocalAudioSinkMetadataUpdate()
5304 log::info("Skip it as group is reconfiguring"); in OnLocalAudioSinkMetadataUpdate()
5322 log::info( in OnLocalAudioSinkMetadataUpdate()
5409 log::debug("all_bidirectional_contexts {}", ToString(all_bidirectional_contexts)); in DirectionalRealignMetadataAudioContexts()
5421 log::debug( in DirectionalRealignMetadataAudioContexts()
5433 log::debug("In Call preference used: {}, voip call: {}", IsInCall(), IsInVoipCall()); in DirectionalRealignMetadataAudioContexts()
5441 log::debug("Unsetting RINGTONE from remote sink"); in DirectionalRealignMetadataAudioContexts()
5448 log::debug("local_metadata_context_types_.source= {}", in DirectionalRealignMetadataAudioContexts()
5450 log::debug("local_metadata_context_types_.sink= {}", in DirectionalRealignMetadataAudioContexts()
5452 log::debug("remote_metadata.source= {}", ToString(remote_metadata.source)); in DirectionalRealignMetadataAudioContexts()
5453 log::debug("remote_metadata.sink= {}", ToString(remote_metadata.sink)); in DirectionalRealignMetadataAudioContexts()
5454 log::debug("remote_direction= {}", remote_direction_str); in DirectionalRealignMetadataAudioContexts()
5455 log::debug("is_streaming_other_direction= {}", is_streaming_other_direction ? "True" : "False"); in DirectionalRealignMetadataAudioContexts()
5456 log::debug("is_releasing_for_reconfiguration= {}", in DirectionalRealignMetadataAudioContexts()
5458 log::debug("is_releasing_for_reconfiguration_other_direction= {}", in DirectionalRealignMetadataAudioContexts()
5460 log::debug("is_ongoing_call_on_other_direction={}", in DirectionalRealignMetadataAudioContexts()
5478 log::debug( in DirectionalRealignMetadataAudioContexts()
5489 log::debug( in DirectionalRealignMetadataAudioContexts()
5500 log::debug("Aligning the other direction remote metadata to add this direction context"); in DirectionalRealignMetadataAudioContexts()
5527 log::debug( in DirectionalRealignMetadataAudioContexts()
5550 log::debug("remote_metadata.source= {}", ToString(remote_metadata.source)); in DirectionalRealignMetadataAudioContexts()
5551 log::debug("remote_metadata.sink= {}", ToString(remote_metadata.sink)); in DirectionalRealignMetadataAudioContexts()
5554 log::debug("Other direction is streaming or there is reconfiguration. Taking its contexts {}", in DirectionalRealignMetadataAudioContexts()
5562 log::debug("Aligning this direction remote metadata to add the other direction context"); in DirectionalRealignMetadataAudioContexts()
5576 log::debug("final remote_metadata.source= {}", ToString(remote_metadata.source)); in DirectionalRealignMetadataAudioContexts()
5577 log::debug("final remote_metadata.sink= {}", ToString(remote_metadata.sink)); in DirectionalRealignMetadataAudioContexts()
5582 log::info("{}", group->group_id_); in ReconfigureOrUpdateRemoteForPTS()
5592 log::warn("Overriding local_metadata_context_types_: {} with: {}", in ReconfigureOrUpdateRemoteForPTS()
5598 log::info("new_configuration_context= {}.", ToString(new_configuration_context)); in ReconfigureOrUpdateRemoteForPTS()
5617 log::warn("No valid metadata to update or reconfigure to."); in ReconfigureOrUpdateRemote()
5624 log::debug("config_context_candids= {}, new_config_context= {}", in ReconfigureOrUpdateRemote()
5647 log::info( in ReconfigureOrUpdateRemote()
5665 log::info( in ReconfigureOrUpdateRemote()
5696 log::info("DSA mode {} requested but not active", group->dsa_.mode); in DsaReconfigureNeeded()
5706 log::info("Checking whether to change configuration context from {} to {}", in ReconfigureOrUpdateMetadata()
5720 log::info("The {} configuration did not change. Updating the metadata to sink={}, source={}", in ReconfigureOrUpdateMetadata()
5749 log::error("Failed to read attribute, hdl: 0x{:04x}, status: 0x{:02x}", hdl, in OnGattReadRspStatic()
5789 log::error("Failed to read multiple attributes, conn_id: 0x{:04x}, status: 0x{:02x}", conn_id, in OnGattReadMultiRspStatic()
5803 log::warn("Multi read was too long, value truncated conn_id: 0x{:04x} handle: 0x{:04x}", in OnGattReadMultiRspStatic()
5816 log::warn("Attempted to read {} handles, but received just {} values", +handles.num_attr, in OnGattReadMultiRspStatic()
5823 log::debug("{}, {}, {}", address, group_id, ToString(action)); in LeAudioHealthSendRecommendation()
5839 log::assert_that(group, "Group id: {} is null", evt->cig_id); in IsoCigEventsCb()
5846 log::assert_that(group, "Group id: {} is null", evt->cig_id); in IsoCigEventsCb()
5851 log::error("Invalid event {}", event_type); in IsoCigEventsCb()
5865 log::error("receiver state not ready, current state={}", ToString(audio_receiver_state_)); in IsoCisEventsCb()
5879 log::error("no bonded Le Audio Device with CIS: {}", event->cis_conn_hdl); in IsoCisEventsCb()
5906 log::error("no bonded Le Audio Device with CIS: {}", event->cis_conn_hdl); in IsoCisEventsCb()
5914 log::info(", Not handled ISO event"); in IsoCisEventsCb()
5923 log::warn("Device for CIG {} and using cis_handle 0x{:04x} is disconnected.", cig_id, in IsoSetupIsoDataPathCb()
5941 log::warn("Device for CIG {} and using cis_handle 0x{:04x} is disconnected.", cig_id, in IsoRemoveIsoDataPathCb()
5958 log::warn("device under connection handle: 0x{:x}, has been disconnecected in meantime", in IsoLinkQualityReadCb()
5976 log::info("Disconnecting group id: {}, address: {}", group->group_id_, device->address_); in HandlePendingDeviceRemove()
5986 log::debug(""); in HandlePendingDeviceDisconnection()
5992 log::debug("Disconnecting group id: {}, address: {}", group->group_id_, in HandlePendingDeviceDisconnection()
6029 log::verbose("is_started {} is_reconfig {} num_of_connected {}", in speed_start_setup()
6042 log::verbose(""); in speed_stop_reconfig()
6051 log::verbose(""); in speed_stream_created()
6060 log::verbose(""); in speed_stop_setup()
6138 log::info( in OnStateMachineStatusReportCb()
6151 log::error("Streaming group {} is no longer active. Stop the group.", group_id); in OnStateMachineStatusReportCb()
6166 log::error("Group {} does not exist anymore. This shall not happen", group_id); in OnStateMachineStatusReportCb()
6177 log::warn("Stopping stream for group {} as AF not interested.", group_id); in OnStateMachineStatusReportCb()
6188 log::debug( in OnStateMachineStatusReportCb()
6278 log::info("Clear pending configuration flag for group {}", group->group_id_); in OnStateMachineStatusReportCb()
6281 log::debug( in OnStateMachineStatusReportCb()
6301 log::verbose( in OnStateMachineStatusReportCb()
6311 log::info("Clear pending configuration flag for group {}", group->group_id_); in OnStateMachineStatusReportCb()
6336 log::warn("Group {} is doing autonomous release, make it inactive", group_id); in OnStateMachineStatusReportCb()
6356 log::error("Internal state machine error for group {}", group_id); in OnStateMachineStatusReportCb()
6376 log::info("Releasing for reconfiguration, don't send anything on CISes"); in OnStateMachineStatusReportCb()
6390 log::error("Invalid group_id: {}", group_id); in OnUpdatedCisConfiguration()
6505 log::error("Invalid group: {}", static_cast<int>(active_group_id_)); in ClientAudioInterfaceRelease()
6508 log::info("ClientAudioInterfaceRelease - cleanup"); in ClientAudioInterfaceRelease()
6513 log::assert_that(result, "Could not update session to codec manager"); in ClientAudioInterfaceRelease()
6550 log::warn("ISO packets received over HCI in DSA mode: {}", group->dsa_.mode); in DsaDataConsume()
6555 log::warn("Dsa data consumer not registered"); in DsaDataConsume()
6574 log::warn("No LE Audio device found for CIS handle: {}", cis_conn_hdl); in DsaDataConsume()
6582 log::verbose("ISO data consumer not ready to accept data"); in DsaDataConsume()
6590 log::error("Shouldn't be called without a device."); in SetAsymmetricBlePhy()
6596 log::info("tmpDevice->acl_asymmetric_: {}, asymmetric: {}, address: {}, acl_connected: {}", in SetAsymmetricBlePhy()
6606 log::info("SetAsymmetricBlePhy: {} for {}", asymmetric, tmpDevice->address_); in SetAsymmetricBlePhy()
6629 log::info("event = {}", static_cast<int>(event)); in le_audio_gattc_callback()
6839 log::error("Not initialized yet"); in AddFromStorage()
6850 log::error("Not initialized yet"); in GetHandlesForStorage()
6859 log::error("Not initialized yet"); in GetSinkPacsForStorage()
6868 log::error("Not initialized yet"); in GetSourcePacsForStorage()
6877 log::error("Not initialized yet"); in GetAsesForStorage()
6886 log::error("Not initialized yet"); in GetGmapForStorage()
6903 log::assert_that(instance != nullptr, "assert failed: instance != nullptr"); in Get()
6914 log::error("Already initialized"); in Initialize()
6920 log::error("Controller reports no ISO support. LeAudioClient Init aborted."); in Initialize()
6924 log::assert_that(std::move(hal_2_1_verifier).Run(), in Initialize()
6993 log::error("Not initialized"); in Cleanup()
7015 log::info("ISO data consumer changed"); in RegisterIsoDataConsumer()