Loading system/gd/Android.bp +8 −0 Original line number Diff line number Diff line Loading @@ -332,6 +332,14 @@ cc_benchmark { ], } filegroup { name: "BluetoothHciClassSources", srcs: [ "hci/address.cc", "hci/class_of_device.cc", ], } genrule { name: "BluetoothGeneratedPackets_h", tools: [ Loading system/test/rootcanal/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ cc_binary { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], static_libs: [ "android.hardware.bluetooth-async", Loading Loading @@ -84,6 +85,7 @@ cc_library_shared { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], static_libs: [ "android.hardware.bluetooth-async", Loading system/vendor_libs/test_vendor_lib/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ cc_library_static { "model/setup/test_command_handler.cc", "model/setup/test_model.cc", ":BluetoothPacketSources", ":BluetoothHciClassSources", ], cflags: [ "-fvisibility=hidden", Loading @@ -50,6 +51,7 @@ cc_library_static { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], include_dirs: [ "packages/modules/Bluetooth/system", Loading Loading @@ -126,6 +128,7 @@ cc_test_host { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], shared_libs: [ "liblog", Loading system/vendor_libs/test_vendor_lib/model/controller/acl_connection.h +3 −1 Original line number Diff line number Diff line Loading @@ -18,10 +18,12 @@ #include <cstdint> #include "types/address.h" #include "hci/address.h" namespace test_vendor_lib { using ::bluetooth::hci::Address; // Model the connection of a device to the controller. class AclConnection { public: Loading system/vendor_libs/test_vendor_lib/model/controller/acl_connection_handler.cc +3 −1 Original line number Diff line number Diff line Loading @@ -18,12 +18,14 @@ #include "os/log.h" #include "types/address.h" #include "hci/address.h" using std::shared_ptr; namespace test_vendor_lib { using ::bluetooth::hci::Address; bool AclConnectionHandler::HasHandle(uint16_t handle) const { if (acl_connections_.count(handle) == 0) { return false; Loading Loading
system/gd/Android.bp +8 −0 Original line number Diff line number Diff line Loading @@ -332,6 +332,14 @@ cc_benchmark { ], } filegroup { name: "BluetoothHciClassSources", srcs: [ "hci/address.cc", "hci/class_of_device.cc", ], } genrule { name: "BluetoothGeneratedPackets_h", tools: [ Loading
system/test/rootcanal/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ cc_binary { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], static_libs: [ "android.hardware.bluetooth-async", Loading Loading @@ -84,6 +85,7 @@ cc_library_shared { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], static_libs: [ "android.hardware.bluetooth-async", Loading
system/vendor_libs/test_vendor_lib/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ cc_library_static { "model/setup/test_command_handler.cc", "model/setup/test_model.cc", ":BluetoothPacketSources", ":BluetoothHciClassSources", ], cflags: [ "-fvisibility=hidden", Loading @@ -50,6 +51,7 @@ cc_library_static { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], include_dirs: [ "packages/modules/Bluetooth/system", Loading Loading @@ -126,6 +128,7 @@ cc_test_host { ], generated_headers: [ "RootCanalGeneratedPackets_h", "BluetoothGeneratedPackets_h", ], shared_libs: [ "liblog", Loading
system/vendor_libs/test_vendor_lib/model/controller/acl_connection.h +3 −1 Original line number Diff line number Diff line Loading @@ -18,10 +18,12 @@ #include <cstdint> #include "types/address.h" #include "hci/address.h" namespace test_vendor_lib { using ::bluetooth::hci::Address; // Model the connection of a device to the controller. class AclConnection { public: Loading
system/vendor_libs/test_vendor_lib/model/controller/acl_connection_handler.cc +3 −1 Original line number Diff line number Diff line Loading @@ -18,12 +18,14 @@ #include "os/log.h" #include "types/address.h" #include "hci/address.h" using std::shared_ptr; namespace test_vendor_lib { using ::bluetooth::hci::Address; bool AclConnectionHandler::HasHandle(uint16_t handle) const { if (acl_connections_.count(handle) == 0) { return false; Loading