summaryrefslogtreecommitdiff
path: root/system/test
diff options
context:
space:
mode:
Diffstat (limited to 'system/test')
-rw-r--r--system/test/Android.bp14
-rw-r--r--system/test/mock/mock_main_shim_stack.cc45
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