Toward loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Id568adb9f9497072a79100202501c4d207e40828
#include <functional>
#include <list>
+#include <string>
#define LOG_DUMPSYS(fd, fmt, args...) \
do { \
#define BOOL_TEXT(b) ((b) ? "true" : "false")
+constexpr char kPrivateAddressPrefix[] = "xx:xx:xx:xx";
+#define PRIVATE_ADDRESS(addr) \
+ (addr.ToString() \
+ .replace(0, strlen(kPrivateAddressPrefix), kPrivateAddressPrefix) \
+ .c_str())
+
namespace bluetooth {
namespace shim {