Loading system/gd/Android.bp +3 −3 Original line number Diff line number Diff line Loading @@ -58,13 +58,13 @@ mgmt_cc_defaults { soong_config_variables: { vertical: { android_desktop: { srcs: [":BluetoothHalSources_mgmt"], srcs: [":BluetoothOsSources_mgmt_linux"], }, android_default: { srcs: [":BluetoothHalSources_mgmt_stub"], srcs: [":BluetoothOsSources_mgmt"], }, conditions_default: { srcs: [":BluetoothHalSources_mgmt_stub"], srcs: [":BluetoothOsSources_mgmt"], }, }, }, Loading system/gd/hal/Android.bp +0 −14 Original line number Diff line number Diff line Loading @@ -51,20 +51,6 @@ filegroup { ], } filegroup { name: "BluetoothHalSources_mgmt_stub", srcs: [ "mgmt_stub.cc", ], } filegroup { name: "BluetoothHalSources_mgmt", srcs: [ "mgmt.cc", ], } filegroup { name: "BluetoothHalSources_ranging_android", srcs: [ Loading system/gd/hal/BUILD.gn +0 −2 Original line number Diff line number Diff line Loading @@ -34,12 +34,10 @@ source_set("BluetoothHalSources_hci_host") { if (use.floss_rootcanal) { sources = [ "hci_hal_host_rootcanal.cc", "mgmt.cc", ] } else { sources = [ "hci_hal_host.cc", "mgmt.cc", ] } Loading system/gd/hal/hci_hal_android.cc +4 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ #include "hal/hci_backend.h" #include "hal/hci_hal.h" #include "hal/link_clocker.h" #include "hal/mgmt.h" #include "hal/snoop_logger.h" #include "os/mgmt.h" namespace bluetooth::hal { Loading Loading @@ -158,7 +158,9 @@ public: backend_->sendIsoData(packet); } uint16_t getMsftOpcode() override { return Mgmt().get_vs_opcode(MGMT_VS_OPCODE_MSFT); } uint16_t getMsftOpcode() override { return os::Management::getInstance().getVendorSpecificCode(MGMT_VS_OPCODE_MSFT); } protected: void ListDependencies(ModuleList* list) const override { Loading system/gd/hal/hci_hal_host.cc +4 −2 Original line number Diff line number Diff line Loading @@ -34,9 +34,9 @@ #include "hal/hci_hal.h" #include "hal/link_clocker.h" #include "hal/mgmt.h" #include "hal/snoop_logger.h" #include "metrics/counter_metrics.h" #include "os/mgmt.h" #include "os/reactor.h" #include "os/thread.h" Loading Loading @@ -312,7 +312,9 @@ public: write_to_fd(packet); } uint16_t getMsftOpcode() override { return Mgmt().get_vs_opcode(MGMT_VS_OPCODE_MSFT); } uint16_t getMsftOpcode() override { return os::Management::getInstance().getVendorSpecificCode(MGMT_VS_OPCODE_MSFT); } void markControllerBroken() override { std::lock_guard<std::mutex> lock(api_mutex_); Loading Loading
system/gd/Android.bp +3 −3 Original line number Diff line number Diff line Loading @@ -58,13 +58,13 @@ mgmt_cc_defaults { soong_config_variables: { vertical: { android_desktop: { srcs: [":BluetoothHalSources_mgmt"], srcs: [":BluetoothOsSources_mgmt_linux"], }, android_default: { srcs: [":BluetoothHalSources_mgmt_stub"], srcs: [":BluetoothOsSources_mgmt"], }, conditions_default: { srcs: [":BluetoothHalSources_mgmt_stub"], srcs: [":BluetoothOsSources_mgmt"], }, }, }, Loading
system/gd/hal/Android.bp +0 −14 Original line number Diff line number Diff line Loading @@ -51,20 +51,6 @@ filegroup { ], } filegroup { name: "BluetoothHalSources_mgmt_stub", srcs: [ "mgmt_stub.cc", ], } filegroup { name: "BluetoothHalSources_mgmt", srcs: [ "mgmt.cc", ], } filegroup { name: "BluetoothHalSources_ranging_android", srcs: [ Loading
system/gd/hal/BUILD.gn +0 −2 Original line number Diff line number Diff line Loading @@ -34,12 +34,10 @@ source_set("BluetoothHalSources_hci_host") { if (use.floss_rootcanal) { sources = [ "hci_hal_host_rootcanal.cc", "mgmt.cc", ] } else { sources = [ "hci_hal_host.cc", "mgmt.cc", ] } Loading
system/gd/hal/hci_hal_android.cc +4 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ #include "hal/hci_backend.h" #include "hal/hci_hal.h" #include "hal/link_clocker.h" #include "hal/mgmt.h" #include "hal/snoop_logger.h" #include "os/mgmt.h" namespace bluetooth::hal { Loading Loading @@ -158,7 +158,9 @@ public: backend_->sendIsoData(packet); } uint16_t getMsftOpcode() override { return Mgmt().get_vs_opcode(MGMT_VS_OPCODE_MSFT); } uint16_t getMsftOpcode() override { return os::Management::getInstance().getVendorSpecificCode(MGMT_VS_OPCODE_MSFT); } protected: void ListDependencies(ModuleList* list) const override { Loading
system/gd/hal/hci_hal_host.cc +4 −2 Original line number Diff line number Diff line Loading @@ -34,9 +34,9 @@ #include "hal/hci_hal.h" #include "hal/link_clocker.h" #include "hal/mgmt.h" #include "hal/snoop_logger.h" #include "metrics/counter_metrics.h" #include "os/mgmt.h" #include "os/reactor.h" #include "os/thread.h" Loading Loading @@ -312,7 +312,9 @@ public: write_to_fd(packet); } uint16_t getMsftOpcode() override { return Mgmt().get_vs_opcode(MGMT_VS_OPCODE_MSFT); } uint16_t getMsftOpcode() override { return os::Management::getInstance().getVendorSpecificCode(MGMT_VS_OPCODE_MSFT); } void markControllerBroken() override { std::lock_guard<std::mutex> lock(api_mutex_); Loading