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

Commit eb85ffd9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "legacy: Re-include stack/test mocks" am: 5f328b53 am: de31abf1

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1812536

Change-Id: I94a467c2e2f94c7f205a7e6fa97945adfcc77ba7
parents 14a30f3d de31abf1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@

#include <gmock/gmock.h>

#include "btm_int.h"
#include "stack/include/btm_api_types.h"
#include "stack/include/btm_status.h"
#include "types/raw_address.h"
+6 −5
Original line number Diff line number Diff line
@@ -16,12 +16,13 @@
 *
 ******************************************************************************/

#include "hci_layer.h"
#include "l2c_api.h"
#include "osi/include/allocator.h"

#include "stack_test_packet_utils.h"

#include "hci/include/hci_layer.h"
#include "osi/include/allocator.h"
#include "stack/include/l2c_api.h"
#include "stack/include/l2cdefs.h"

namespace bluetooth {

std::vector<uint8_t> CreateL2capDataPacket(uint16_t lcid,
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
 ******************************************************************************/
#pragma once

#include <vector>
#include "stack/include/bt_hdr.h"

namespace bluetooth {
+2 −2
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@
#include <fuzzer/FuzzedDataProvider.h>
#include <cstring>  // For memcpy
#include <vector>
#include "raw_address.h"
#include "sdp_api.h"
#include "stack/include/sdp_api.h"
#include "types/raw_address.h"

// Calls a function from the ops_vector
void callArbitraryFunction(
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#include <vector>
#include "fuzzers/common/commonFuzzHelpers.h"
#include "fuzzers/sdp/sdpFuzzHelpers.h"
#include "sdp_api.h"
#include "stack/include/sdp_api.h"

#define SDP_MAX_DB_LEN 1024 * 1024  // 1 MB
#define MAX_NUM_DBS 64
Loading