| /packages/modules/Bluetooth/system/gd/common/ |
| D | strings_test.cc | 36 using bluetooth::common::ToHexString; 48 ASSERT_EQ(ToHexString(0), "0x00000000"); in TEST() 49 ASSERT_EQ(ToHexString(3), "0x00000003"); in TEST() 50 ASSERT_EQ(ToHexString(25), "0x00000019"); in TEST() 51 ASSERT_EQ(ToHexString(-25), "-0x00000019"); in TEST() 52 ASSERT_EQ(ToHexString(INT_MIN + 1), "-0x7fffffff"); in TEST() 53 ASSERT_EQ(ToHexString(INT_MAX), "0x7fffffff"); in TEST() 54 ASSERT_EQ(ToHexString(INT_MIN), "INT_MIN"); in TEST() 56 ASSERT_EQ(ToHexString(1 + INT_MAX), "INT_MIN"); in TEST() 57 ASSERT_EQ(ToHexString(2 + INT_MAX), "-0x7fffffff"); // Rolled over in TEST() [all …]
|
| D | strings.h | 48 std::string ToHexString(T x) { in ToHexString() function 51 return "-" + ToHexString(-x); in ToHexString() 59 inline std::string ToHexString<>(signed long x) { 62 return "-" + ToHexString<signed long>(-x); 71 inline std::string ToHexString<>(unsigned int x) { 80 std::string ToHexString(InputIt first, InputIt last) { in ToHexString() function 91 std::string ToHexString(const std::vector<uint8_t>& value);
|
| D | strings.cc | 46 std::string ToHexString(const std::vector<uint8_t>& value) { in ToHexString() function 47 return ToHexString(value.begin(), value.end()); in ToHexString()
|
| D | byte_array.h | 76 return common::ToHexString(bytes.begin(), bytes.end()); in ToString()
|
| /packages/modules/Bluetooth/system/gd/os/android/ |
| D | metrics.cc | 76 common::ToHexString(cmd_status).c_str(), in LogMetricLinkLayerConnectionEvent() 77 common::ToHexString(reason_code).c_str(), in LogMetricLinkLayerConnectionEvent() 78 common::ToHexString(hci_cmd).c_str(), in LogMetricLinkLayerConnectionEvent() 79 common::ToHexString(hci_event).c_str(), in LogMetricLinkLayerConnectionEvent() 80 common::ToHexString(hci_ble_event).c_str(), in LogMetricLinkLayerConnectionEvent() 83 common::ToHexString(link_type).c_str(), in LogMetricLinkLayerConnectionEvent() 91 LOG_WARN("Failed for opcode %s, error %d", common::ToHexString(hci_cmd).c_str(), ret); in LogMetricHciTimeoutEvent() 102 common::ToHexString(status).c_str(), in LogMetricRemoteVersionInfo() 103 common::ToHexString(version).c_str(), in LogMetricRemoteVersionInfo() 104 common::ToHexString(manufacturer_name).c_str(), in LogMetricRemoteVersionInfo() [all …]
|
| /packages/modules/Bluetooth/system/gd/metrics/ |
| D | metrics_state.cc | 56 common::ToHexString(origin_type).c_str(), in AddStateChangedEvent() 57 common::ToHexString(connection_type).c_str(), in AddStateChangedEvent() 58 common::ToHexString(transaction_state).c_str()); in AddStateChangedEvent() 172 common::ToHexString(transaction_state).c_str(), in AddStateChangedEvent() 173 common::ToHexString(connection_type).c_str(), in AddStateChangedEvent() 174 common::ToHexString(origin_type).c_str()); in AddStateChangedEvent() 178 common::ToHexString(transaction_state).c_str(), in AddStateChangedEvent() 179 common::ToHexString(connection_type).c_str(), in AddStateChangedEvent() 180 common::ToHexString(transaction_state).c_str()); in AddStateChangedEvent()
|
| /packages/modules/Bluetooth/system/bta/le_audio/ |
| D | le_audio_types.cc | 716 std::string ToHexString(const LeAudioContextType& value) { in ToHexString() function 718 return bluetooth::common::ToHexString(static_cast<T>(value)); in ToHexString() 729 s << " (" << bluetooth::common::ToHexString(mValue) << ")"; in to_string()
|
| D | client.cc | 802 << ToHexString(context_type); in GroupStream() 817 << ToHexString(context_type) << ". Switching to unspecified"; in GroupStream() 3214 group->group_id_, ToHexString(context_type).c_str()); in UpdateConfigAndCheckIfReconfigurationIsNeeded() 3326 << ToHexString(configuration_context_type_); in OnLocalAudioSourceResume() 3335 << ToHexString(configuration_context_type_) << "\n" in OnLocalAudioSourceResume() 3482 << ToHexString(configuration_context_type_); in OnLocalAudioSinkResume() 3491 << ToHexString(configuration_context_type_) << "\n" in OnLocalAudioSinkResume() 3645 ToHexString(new_context_type).c_str(), in SetConfigurationAndStopStreamWhenNeeded()
|
| D | le_audio_types.h | 447 std::string ToHexString(const types::LeAudioContextType& value);
|
| D | devices.cc | 760 LOG_DEBUG("Checking context: %s", ToHexString(ctx_type).c_str()); in UpdateAudioContextTypeAvailability() 805 "updated context: %s, %s -> %s", ToHexString(ctx_type).c_str(), in UpdateAudioContextTypeAvailability()
|
| /packages/modules/Bluetooth/system/gd/storage/ |
| D | config_cache_helper.cc | 107 config_cache_.SetProperty(section, property, common::ToHexString(value)); in SetBin()
|
| /packages/modules/Bluetooth/system/gd/hci/ |
| D | hci_metrics_logging.cc | 1079 …sdp_di_vendor_id_source << "N:SDP::DIP::" << common::ToHexString(device.GetSdpDiVendorIdSource().v… in log_remote_device_information() 1085 common::ToHexString(device.GetSdpDiManufacturer().value_or(0)).c_str(), in log_remote_device_information() 1086 common::ToHexString(device.GetSdpDiModel().value_or(0)).c_str(), in log_remote_device_information() 1087 common::ToHexString(device.GetSdpDiHardwareVersion().value_or(0)).c_str(), in log_remote_device_information()
|
| /packages/modules/Bluetooth/system/gd/hal/ |
| D | hci_hal_android_hidl.cc | 64 common::ToHexString(vec.begin(), std::min(vec.end(), vec.begin() + 5)).c_str()); in GetTimerText()
|