Lines Matching refs:address
573 void LogLinkLayerConnectionEvent(const RawAddress* address, in LogLinkLayerConnectionEvent() argument
581 if (address != nullptr) { in LogLinkLayerConnectionEvent()
582 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(*address); in LogLinkLayerConnectionEvent()
583 metric_id = MetricIdAllocator::GetInstance().AllocateId(*address); in LogLinkLayerConnectionEvent()
587 address != nullptr ? obfuscated_id.c_str() : nullptr, in LogLinkLayerConnectionEvent()
588 address != nullptr ? obfuscated_id.size() : 0); in LogLinkLayerConnectionEvent()
598 << address << ", handle " << connection_handle << ", type " in LogLinkLayerConnectionEvent()
626 void LogA2dpAudioUnderrunEvent(const RawAddress& address, in LogA2dpAudioUnderrunEvent() argument
631 if (!address.IsEmpty()) { in LogA2dpAudioUnderrunEvent()
632 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogA2dpAudioUnderrunEvent()
633 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogA2dpAudioUnderrunEvent()
637 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogA2dpAudioUnderrunEvent()
638 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogA2dpAudioUnderrunEvent()
644 LOG(WARNING) << __func__ << ": failed for " << address in LogA2dpAudioUnderrunEvent()
651 void LogA2dpAudioOverrunEvent(const RawAddress& address, in LogA2dpAudioOverrunEvent() argument
658 if (!address.IsEmpty()) { in LogA2dpAudioOverrunEvent()
659 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogA2dpAudioOverrunEvent()
660 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogA2dpAudioOverrunEvent()
664 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogA2dpAudioOverrunEvent()
665 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogA2dpAudioOverrunEvent()
672 LOG(WARNING) << __func__ << ": failed to log for " << address in LogA2dpAudioOverrunEvent()
681 void LogReadRssiResult(const RawAddress& address, uint16_t handle, in LogReadRssiResult() argument
685 if (!address.IsEmpty()) { in LogReadRssiResult()
686 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadRssiResult()
687 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadRssiResult()
691 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogReadRssiResult()
692 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogReadRssiResult()
697 LOG(WARNING) << __func__ << ": failed for " << address << ", handle " in LogReadRssiResult()
703 void LogReadFailedContactCounterResult(const RawAddress& address, in LogReadFailedContactCounterResult() argument
708 if (!address.IsEmpty()) { in LogReadFailedContactCounterResult()
709 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadFailedContactCounterResult()
710 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadFailedContactCounterResult()
714 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogReadFailedContactCounterResult()
715 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogReadFailedContactCounterResult()
720 LOG(WARNING) << __func__ << ": failed for " << address << ", handle " in LogReadFailedContactCounterResult()
727 void LogReadTxPowerLevelResult(const RawAddress& address, uint16_t handle, in LogReadTxPowerLevelResult() argument
732 if (!address.IsEmpty()) { in LogReadTxPowerLevelResult()
733 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadTxPowerLevelResult()
734 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadTxPowerLevelResult()
738 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogReadTxPowerLevelResult()
739 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogReadTxPowerLevelResult()
744 LOG(WARNING) << __func__ << ": failed for " << address << ", handle " in LogReadTxPowerLevelResult()
751 void LogSmpPairingEvent(const RawAddress& address, uint8_t smp_cmd, in LogSmpPairingEvent() argument
756 if (!address.IsEmpty()) { in LogSmpPairingEvent()
757 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogSmpPairingEvent()
758 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogSmpPairingEvent()
762 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogSmpPairingEvent()
763 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogSmpPairingEvent()
768 LOG(WARNING) << __func__ << ": failed for " << address << ", smp_cmd " in LogSmpPairingEvent()
775 void LogClassicPairingEvent(const RawAddress& address, uint16_t handle, uint32_t hci_cmd, uint16_t … in LogClassicPairingEvent() argument
779 if (!address.IsEmpty()) { in LogClassicPairingEvent()
780 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogClassicPairingEvent()
781 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogClassicPairingEvent()
785 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogClassicPairingEvent()
786 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogClassicPairingEvent()
792 …LOG(WARNING) << __func__ << ": failed for " << address << ", handle " << handle << ", hci_cmd " <<… in LogClassicPairingEvent()
798 void LogSdpAttribute(const RawAddress& address, uint16_t protocol_uuid, in LogSdpAttribute() argument
803 if (!address.IsEmpty()) { in LogSdpAttribute()
804 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogSdpAttribute()
805 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogSdpAttribute()
809 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogSdpAttribute()
810 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogSdpAttribute()
816 LOG(WARNING) << __func__ << ": failed for " << address << ", protocol_uuid " in LogSdpAttribute()
823 const RawAddress& address, int port, int type, in LogSocketConnectionState() argument
829 if (!address.IsEmpty()) { in LogSocketConnectionState()
830 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogSocketConnectionState()
831 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogSocketConnectionState()
835 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogSocketConnectionState()
836 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogSocketConnectionState()
842 LOG(WARNING) << __func__ << ": failed for " << address << ", port " << port in LogSocketConnectionState()
850 void LogManufacturerInfo(const RawAddress& address, in LogManufacturerInfo() argument
859 if (!address.IsEmpty()) { in LogManufacturerInfo()
860 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogManufacturerInfo()
861 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogManufacturerInfo()
865 address.IsEmpty() ? nullptr : obfuscated_id.c_str(), in LogManufacturerInfo()
866 address.IsEmpty() ? 0 : obfuscated_id.size()); in LogManufacturerInfo()
872 LOG(WARNING) << __func__ << ": failed for " << address << ", source_type " in LogManufacturerInfo()