diff options
author | 2025-02-26 08:55:42 -0800 | |
---|---|---|
committer | 2025-02-26 11:14:01 -0800 | |
commit | 0dcccef4fb0cadc98d8cdc857c50cb31a4abb078 (patch) | |
tree | 296ea910603a1d1d920d2bea2124a2b42a7e28ff /system/test | |
parent | 15d4ffe9104a20ff8423ba3c663c00f9ee933cda (diff) |
Remove unused Android.bp definitions
Bug: 331817295
Test: m com.android.bt
Flag: EXEMPT, dead code removal
Change-Id: I22ccd66c4cf37248facd1db07d3c2067c5172310
Diffstat (limited to 'system/test')
-rw-r--r-- | system/test/Android.bp | 14 | ||||
-rw-r--r-- | system/test/mock/mock_main_shim_stack.cc | 45 |
2 files changed, 0 insertions, 59 deletions
diff --git a/system/test/Android.bp b/system/test/Android.bp index c38b178885..c35931ea17 100644 --- a/system/test/Android.bp +++ b/system/test/Android.bp @@ -265,13 +265,6 @@ filegroup { } filegroup { - name: "TestMockStackBnep", - srcs: [ - "mock/mock_stack_bnep_*.cc", - ], -} - -filegroup { name: "TestMockStackL2cap", srcs: [ "mock/mock_stack_l2cap_*.cc", @@ -356,13 +349,6 @@ filegroup { } filegroup { - name: "TestMockMainShimStack", - srcs: [ - "mock/mock_main_shim_stack.cc", - ], -} - -filegroup { name: "TestMockMainShimLeScanning", srcs: [ "mock/mock_main_shim_le_scanning_manager.cc", diff --git a/system/test/mock/mock_main_shim_stack.cc b/system/test/mock/mock_main_shim_stack.cc deleted file mode 100644 index 03ec09a1b3..0000000000 --- a/system/test/mock/mock_main_shim_stack.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2024 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. - */ - -#include "hci/acl_manager.h" -#include "main/shim/stack.h" - -namespace bluetooth { -namespace shim { - -namespace testing { -Acl* acl_{nullptr}; -Stack* instance_{nullptr}; -} // namespace testing - -Stack* Stack::GetInstance() { return testing::instance_; } - -void Stack::StartEverything() {} - -void Stack::StartModuleStack(const ModuleList* /* modules */, const os::Thread* /* thread */) {} - -void Stack::Start(ModuleList* /* modules */) {} - -void Stack::Stop() {} - -bool Stack::IsRunning() { return stack_thread_ != nullptr; } - -Acl* Stack::GetAcl() { return testing::acl_; } - -os::Handler* Stack::GetHandler() { return stack_handler_; } - -} // namespace shim -} // namespace bluetooth |