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

Commit 9a07b47d authored by Chris Manton's avatar Chris Manton
Browse files

test::mock:: IWYU and remove unused

Bug: 317217375
Test: m .
Flag: EXEMPT, IWYU

Change-Id: Icf17aa499a09d505b5d6fdd0630241eea67932ea
parent 09662594
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
#include <cstdint>

#include "bta/include/bta_rfcomm_scn.h"
#include "bta/jv/bta_jv_int.h"
#include "test/common/mock_functions.h"

bool BTA_FreeSCN(uint8_t scn) {
+0 −2
Original line number Diff line number Diff line
@@ -20,11 +20,9 @@

#include <cstdint>

#include "bta/include/bta_api.h"
#include "bta/include/bta_sec_api.h"
#include "bta/sys/bta_sys.h"
#include "internal_include/bte_appl.h"
#include "stack/include/btm_api_types.h"

tBTE_APPL_CFG bte_appl_cfg = {
    BTA_LE_AUTH_REQ_SC_MITM_BOND,  // Authentication requirements
+14 −13
Original line number Diff line number Diff line
@@ -14,20 +14,21 @@
 * limitations under the License.
 */

#include "gd/hci/acl_manager_mock.h"
#include "gd/hci/controller_mock.h"
#include "gd/hci/distance_measurement_manager_mock.h"
#include "gd/hci/hci_layer.h"
#include "gd/hci/hci_layer_mock.h"
#include "gd/hci/le_advertising_manager_mock.h"
#include "gd/hci/le_scanning_manager_mock.h"
#include "gd/neighbor/connectability.h"
#include "gd/neighbor/discoverability.h"
#include "gd/neighbor/inquiry.h"
#include "gd/neighbor/page.h"
#include "gd/os/handler.h"
#include "gd/storage/storage_module.h"
#include "hci/acl_manager_mock.h"
#include "hci/controller_mock.h"
#include "hci/distance_measurement_manager_mock.h"
#include "hci/hci_layer.h"
#include "hci/hci_layer_mock.h"
#include "hci/le_advertising_manager_mock.h"
#include "hci/le_scanning_manager_mock.h"
#include "main/shim/entry.h"
#include "neighbor/connectability.h"
#include "neighbor/discoverability.h"
#include "neighbor/inquiry.h"
#include "neighbor/page.h"
#include "os/handler.h"
#include "security/security_module.h"
#include "storage/storage_module.h"

namespace bluetooth {
namespace hci {
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
 */

// Mock include file to share data between tests and mock
#include "test/mock/mock_main_shim_hci_layer.h"
#include "main/shim/hci_layer.h"

// Mocked internal structures, if any

+1 −3
Original line number Diff line number Diff line
@@ -23,12 +23,10 @@
// Mock include file to share data between tests and mock
#include "test/mock/mock_stack_acl_btm_ble_connection_establishment.h"

#include <cstdint>

// Original included files, if any

#include "stack/include/hci_error_code.h"
#include "test/common/mock_functions.h"
#include "types/raw_address.h"

// Mocked compile conditionals, if any
// Mocked internal structures, if any
Loading