Fix ControllerTest in QPR

Bug: 265213364
Fixes: 264246303
Test: gd unit
Ignore-AOSP-First: already merged on AOSP
Change-Id: I1741a94ae9a2ef5914b8e3cb1b1f244b4a598733
Merged-In: I3ebd4d70c7d3449ff0983e4af0f20bde205e701a
diff --git a/system/gd/hci/controller_test.cc b/system/gd/hci/controller_test.cc
index f990385..56c7a3c 100644
--- a/system/gd/hci/controller_test.cc
+++ b/system/gd/hci/controller_test.cc
@@ -64,6 +64,8 @@
 
 }  // namespace
 
+namespace {
+
 class TestHciLayer : public HciLayer {
  public:
   void EnqueueCommand(
@@ -280,6 +282,7 @@
   std::condition_variable not_empty_;
 };
 
+}  // namespace
 class ControllerTest : public ::testing::Test {
  protected:
   void SetUp() override {