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

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

shim: Clean up mock entry and add common header inclusion

Bug: 182544206
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I3cccdf773638134affefd1a7c143e4862c53f9e3
parent 0cf8b7a6
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -44,12 +44,6 @@ MockController* mock_controller_{nullptr};
}  // namespace testing
}  // namespace testing
}  // namespace hci
}  // namespace hci


namespace legacy {
namespace testing {
// os::Handler* mock_handler_ { nullptr };
}
}  // namespace legacy

namespace shim {
namespace shim {


Dumpsys* GetDumpsys() { return nullptr; }
Dumpsys* GetDumpsys() { return nullptr; }
+26 −0
Original line number Original line Diff line number Diff line
/*
 * Copyright 2021 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace bluetooth {
namespace hci {
namespace testing {

extern MockAclManager* mock_acl_manager_;
extern MockController* mock_controller_;

}  // namespace testing
}  // namespace hci
}  // namespace bluetooth