Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dddc875 authored by Chris Manton's avatar Chris Manton
Browse files

Polish tBTM_SEC_DEV_REC::ToString

Toward loggable code

Bug: 163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I1e6e7a2ed45fd61da9b6020b3d09f1135e7c59d3
parent e973beb1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -424,10 +424,10 @@ struct tBTM_SEC_DEV_REC {

  std::string ToString() const {
    return base::StringPrintf(
        "%s %6s name:\"%s\" supports_SC:%s cod:%s remote_info%s",
        "%s %6s SecureConn:%s cod:%s remote_info:%s sm4:0x%02x name:\"%s\"",
        PRIVATE_ADDRESS(bd_addr), DeviceTypeText(device_type).c_str(),
        sec_bd_name, logbool(remote_supports_secure_connections).c_str(),
        logbool(remote_supports_secure_connections).c_str(),
        class_of_device_text(dev_class).c_str(),
        remote_version_info.ToString().c_str());
        remote_version_info.ToString().c_str(), sm4, sec_bd_name);
  }
};