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

Commit 7cee778b authored by Chris Manton's avatar Chris Manton
Browse files

legacy: hci: Properly include stack/include/bt_hdr

Bug: 197478351
Tag: #refactor
Test: gd/cert/run

Change-Id: Ie3be6ad9f13d746bff76c94a37a650d3255a7b69
parent aba5c154
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@

#include "osi/include/future.h"
#include "osi/include/osi.h"  // INVALID_FD
#include "stack/include/bt_hdr.h"
#include "stack/include/bt_types.h"

///// LEGACY DEFINITIONS /////
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include "hci/include/buffer_allocator.h"
#include "hci_layer.h"
#include "osi/include/log.h"
#include "stack/include/bt_hdr.h"
#include "stack/include/hcidefs.h"

static const command_opcode_t NO_OPCODE_CHECKING = 0;
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@

#include <base/logging.h>
#include <string.h>

#include <unordered_map>

#include "bt_target.h"
@@ -30,6 +31,7 @@
#include "hci/include/buffer_allocator.h"
#include "osi/include/log.h"
#include "osi/include/osi.h"
#include "stack/include/bt_hdr.h"

// 2 bytes for handle, 2 bytes for data length (Volume 2, Part E, 5.4.2)
#define HCI_ACL_PREAMBLE_SIZE 4
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include "hci/src/packet_fragmenter.cc"
#include "osi/include/allocator.h"
#include "osi/test/AllocationTestHarness.h"
#include "stack/include/bt_hdr.h"

extern void allocation_tracker_uninit(void);

+4 −4
Original line number Diff line number Diff line
@@ -16,16 +16,16 @@
 *
 ******************************************************************************/

#include <gtest/gtest.h>

#include "AllocationTestHarness.h"
#include "hci/include/packet_fragmenter.h"

#include <gtest/gtest.h>
#include <stdint.h>

#include "AllocationTestHarness.h"
#include "device/include/controller.h"
#include "hci/include/packet_fragmenter.h"
#include "osi/include/allocator.h"
#include "osi/include/osi.h"
#include "stack/include/bt_hdr.h"
#include "test_stubs.h"

#ifndef HCI_ACL_PREAMBLE_SIZE