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

Commit 0b1c4551 authored by Henri Chataing's avatar Henri Chataing
Browse files

system/stack/l2cap: Migrate to libbluetooth_log

Test: m com.android.btservices
Bug: 305066880
Flag: EXEMPT, mechanical refactor
Change-Id: I4072ca0d02c873d030a8aa87d261f7a1eab63fa5
parent e65a8cc0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
#ifndef L2C_API_H
#define L2C_API_H

#include <bluetooth/log.h>
#include <stdbool.h>

#include <cstdint>
@@ -925,4 +926,11 @@ void L2CA_SetMediaStreamChannel(uint16_t local_media_cid, bool status);
bool L2CA_isMediaChannel(uint16_t handle, uint16_t channel_id,
                         bool is_local_cid);

namespace fmt {
template <>
struct formatter<tL2CAP_LATENCY> : enum_formatter<tL2CAP_LATENCY> {};
template <>
struct formatter<tL2CAP_PRIORITY> : enum_formatter<tL2CAP_PRIORITY> {};
}  // namespace fmt

#endif /* L2C_API_H */
+5 −0
Original line number Diff line number Diff line
@@ -481,4 +481,9 @@ constexpr uint16_t L2CAP_SDU_LENGTH_LE_MAX = 0xffff;
/* Mask for sequence numbers (range 0 - 63) */
#define L2CAP_FCR_SEQ_MODULO 0x3F

namespace fmt {
template <>
struct formatter<tL2CAP_CONN> : enum_formatter<tL2CAP_CONN> {};
}  // namespace fmt

#endif
+157 −156

File changed.

Preview size limit exceeded, changes collapsed.

+129 −142

File changed.

Preview size limit exceeded, changes collapsed.

+69 −66

File changed.

Preview size limit exceeded, changes collapsed.

Loading