/packages/modules/Bluetooth/tools/rootcanal/include/ |
D | log.h | 25 namespace rootcanal::log { 54 rootcanal::log::Log(rootcanal::log::Verbosity::kDebug, __FILE__, __LINE__, \ 58 rootcanal::log::Log(rootcanal::log::Verbosity::kInfo, __FILE__, __LINE__, \ 62 rootcanal::log::Log(rootcanal::log::Verbosity::kWarning, __FILE__, __LINE__, \ 66 rootcanal::log::Log(rootcanal::log::Verbosity::kError, __FILE__, __LINE__, \ 70 rootcanal::log::Log(rootcanal::log::Verbosity::kFatal, __FILE__, __LINE__, \ 75 (rootcanal::log::Log(rootcanal::log::Verbosity::kFatal, __FILE__, \ 81 (rootcanal::log::Log(rootcanal::log::Verbosity::kFatal, __FILE__, \
|
/packages/modules/Bluetooth/tools/rootcanal/desktop/ |
D | test_environment.h | 38 namespace rootcanal { 45 using rootcanal::AsyncManager; 46 using rootcanal::Device; 47 using rootcanal::Phy; 65 rootcanal::AsyncManager async_manager_; 66 rootcanal::TestChannelTransport test_channel_transport_; 77 rootcanal::AsyncUserId socket_user_id_{}; 83 int tcp_port, rootcanal::ControllerProperties properties); 90 rootcanal::TestModel test_model_{ 92 [this](rootcanal::AsyncUserId user_id, std::chrono::milliseconds delay, [all …]
|
D | test_environment.cc | 48 namespace rootcanal { namespace 50 using rootcanal::AsyncTaskId; 51 using rootcanal::BaseBandSniffer; 52 using rootcanal::HciDevice; 53 using rootcanal::HciSniffer; 54 using rootcanal::HciSocketTransport; 55 using rootcanal::LinkLayerSocketDevice; 56 using rootcanal::TaskCallback; 79 rootcanal::configuration::Configuration* config = in TestEnvironment() 80 new rootcanal::configuration::Configuration(); in TestEnvironment() [all …]
|
D | root_canal_main.cc | 38 using rootcanal::AsyncManager; 39 using rootcanal::TestEnvironment; 40 using namespace rootcanal; 98 rootcanal::log::SetLogColorEnable(FLAGS_enable_log_color); in main()
|
/packages/modules/Bluetooth/tools/rootcanal/hal/ |
D | bluetooth_hci.h | 44 using rootcanal::Device; 45 using rootcanal::Phy; 89 rootcanal::AsyncManager async_manager_; 97 std::shared_ptr<rootcanal::DualModeController> controller_; 99 rootcanal::TestChannelTransport test_channel_transport_; 100 rootcanal::TestChannelTransport remote_hci_transport_; 101 rootcanal::TestChannelTransport remote_link_layer_transport_; 103 rootcanal::AsyncUserId user_id_ = async_manager_.GetNextUserId(); 104 rootcanal::TestModel test_model_{ 106 [this](rootcanal::AsyncUserId user_id, std::chrono::milliseconds delay, [all …]
|
D | bluetooth_hci.cc | 40 using rootcanal::AsyncTaskId; 41 using rootcanal::DualModeController; 42 using rootcanal::HciDevice; 43 using rootcanal::HciSocketTransport; 44 using rootcanal::LinkLayerSocketDevice; 45 using rootcanal::TaskCallback; 177 test_model_.AddPhy(rootcanal::Phy::Type::LOW_ENERGY); in initialize_impl() 178 size_t classic_phy_index = test_model_.AddPhy(rootcanal::Phy::Type::BR_EDR); in initialize_impl() 203 HciDevice::Create(transport, rootcanal::ControllerProperties())); in initialize_impl()
|
D | Android.bp | 35 "//platform_testing/libraries/sts-common-util/host-side/rootcanal", 52 "libbt-rootcanal", 71 "//platform_testing/libraries/sts-common-util/host-side/rootcanal", 85 "libbt-rootcanal",
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | hid.py | 27 def __init__(self, channel, rootcanal): argument 31 self.rootcanal = rootcanal 41 self.rootcanal.move_in_range() 62 self.rootcanal.move_out_of_range() 90 self.rootcanal.move_in_range() 100 self.rootcanal.move_in_range() 183 self.rootcanal.move_out_of_range() 198 self.rootcanal.move_in_range()
|
D | __init__.py | 73 self.rootcanal = None 97 self.rootcanal = RootCanal(port=self.rootcanal_control_port) 98 self.rootcanal.move_in_range() 108 self.rootcanal.close() 109 self.rootcanal = None 198 self.rootcanal, 209 …f._gatt = GATTProxy(grpc.insecure_channel(f"localhost:{self.pandora_server_port}"), self.rootcanal) 214 …elf._gap = GAPProxy(grpc.insecure_channel(f"localhost:{self.pandora_server_port}"), self.rootcanal) 222 self.rootcanal, 231 self.rootcanal, [all …]
|
D | vcp.py | 30 def __init__(self, channel, rootcanal): argument 35 self.rootcanal = rootcanal 40 self.rootcanal.select_pts_dongle(Dongle.LAIRD_BL654)
|
D | sm.py | 36 def __init__(self, channel, rootcanal): argument 40 self.rootcanal = rootcanal 47 self.rootcanal.select_pts_dongle(Dongle.CSR_RCK_PTS_DONGLE)
|
D | a2dp.py | 43 def __init__(self, channel, rootcanal): argument 48 self.rootcanal = rootcanal 167 self.rootcanal.move_out_of_range() 401 self.rootcanal.move_in_range()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/ |
D | CMakeLists.txt | 24 corrosion_set_env_vars(rootcanal-rs 30 android_license(TARGET rootcanal-rs LIBNAME None SPDX None LICENSE None LOCAL None) 39 # Enable lmp in rootcanal. 40 target_link_libraries(libbt-rootcanal PUBLIC rootcanal-rs) 41 target_include_directories(libbt-rootcanal
|
/packages/modules/Bluetooth/tools/rootcanal/ |
D | CMakeLists.txt | 2 set(ROOTCANAL_ROOT ${AOSP_ROOT}/packages/modules/Bluetooth/tools/rootcanal) 158 PROTOS ${ROOTCANAL_ROOT}/proto/rootcanal/configuration.proto 161 PROTOC_OUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/proto/rootcanal) 170 add_library(libbt-rootcanal.headers INTERFACE) 171 target_include_directories(libbt-rootcanal.headers INTERFACE ${ROOTCANAL_ROOT}) 172 target_link_libraries(libbt-rootcanal.headers 174 android_license(TARGET "libbt-rootcanal.headers" LIBNAME None SPDX Apache-2.0 190 TARGET libbt-rootcanal 238 libbt-rootcanal 242 libbt-rootcanal [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/proto/ |
D | Android.bp | 2 name: "rootcanal-protos", 4 "rootcanal/configuration.proto", 18 "packages/modules/Bluetooth/tools/rootcanal/proto", 24 srcs: [":rootcanal-protos"],
|
/packages/modules/Bluetooth/tools/rootcanal/test/controller/le/ |
D | rpa_generation_test.cc | 21 namespace rootcanal { namespace 32 std::array<uint8_t, rootcanal::LinkLayerController::kIrkSize> irk = { in TEST_F() 37 AddressWithType rpa{rootcanal::LinkLayerController::generate_rpa(irk), in TEST_F()
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/vendor_commands/ |
D | le_apcf.cc | 28 namespace rootcanal::apcf { namespace 149 namespace rootcanal { namespace 178 apcf_scanner_.filters.push_back(rootcanal::apcf::Filter{ in LeApcfAddFilteringParameters() 233 rootcanal::apcf::BroadcasterAddressFilter{ in LeApcfBroadcasterAddress() 258 rootcanal::apcf::GapDataFilter{ in LeApcfServiceUuid() 283 rootcanal::apcf::GapDataFilter{ in LeApcfServiceSolicitationUuid() 309 rootcanal::apcf::GapDataFilter{ in LeApcfLocalName() 336 rootcanal::apcf::GapDataFilter{ in LeApcfManufacturerData() 363 rootcanal::apcf::GapDataFilter{ in LeApcfServiceData() 382 rootcanal::apcf::AdTypeFilter{ in LeApcfAdTypeFilter()
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | test_command_handler.cc | 32 namespace rootcanal { namespace 253 rootcanal::configuration::ControllerPreset preset = in SetDeviceConfiguration() 254 rootcanal::configuration::ControllerPreset::DEFAULT; in SetDeviceConfiguration() 257 preset = rootcanal::configuration::ControllerPreset::DEFAULT; in SetDeviceConfiguration() 259 preset = rootcanal::configuration::ControllerPreset::LAIRD_BL654; in SetDeviceConfiguration() 261 preset = rootcanal::configuration::ControllerPreset::CSR_RCK_PTS_DONGLE; in SetDeviceConfiguration() 269 rootcanal::configuration::Controller configuration; in SetDeviceConfiguration()
|
D | phy_layer.h | 26 namespace rootcanal { 28 using rootcanal::PhyDevice; 59 std::list<std::shared_ptr<rootcanal::PhyDevice>> phy_devices_;
|
/packages/modules/Bluetooth/tools/rootcanal/py/ |
D | controller.py | 30 rootcanal = cdll.LoadLibrary("lib_rootcanal_ffi.so") variable 31 rootcanal.ffi_controller_new.restype = c_void_p 62 rootcanal.ffi_generate_rpa(c_char_p(irk), rpa_type.from_buffer(rpa)) 93 … self.instance = rootcanal.ffi_controller_new(c_char_p(address.address), self.send_hci_callback, 107 rootcanal.ffi_controller_delete(c_void_p(self.instance)) 133 …rootcanal.ffi_controller_receive_hci(c_void_p(self.instance), c_int(Idc.Cmd), c_char_p(data), c_in… 138 …rootcanal.ffi_controller_receive_hci(c_void_p(self.instance), c_int(Idc.Iso), c_char_p(data), c_in… 143 …rootcanal.ffi_controller_receive_ll(c_void_p(self.instance), c_char_p(data), c_int(len(data)), c_i… 157 …rootcanal.ffi_controller_receive_ll(c_void_p(self.instance), c_char_p(data), c_int(len(data)), c_i… 165 rootcanal.ffi_controller_tick(c_void_p(self.instance))
|
/packages/modules/Bluetooth/tools/rootcanal/model/devices/ |
D | scripted_beacon.h | 26 using android::bluetooth::rootcanal::model::devices::ScriptedBeaconBleAdProto:: 29 namespace rootcanal { 72 android::bluetooth::rootcanal::model::devices::ScriptedBeaconBleAdProto::
|
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/ |
D | topshim_base_test.py | 61 rootcanal = os.path.join(get_gd_root(), "root-canal") 62 info['rootcanal'] = rootcanal 63 info['rootcanal_exist'] = os.path.isfile(rootcanal) 64 if not os.path.isfile(rootcanal): 81 …rootcanal_cmd = [rootcanal, str(rootcanal_test_port), str(rootcanal_hci_port), str(rootcanal_link_…
|
/packages/modules/Bluetooth/tools/rootcanal/net/posix/ |
D | posix_async_socket_server.h | 22 namespace rootcanal { 26 using rootcanal::AsyncManager;
|
D | posix_async_socket_connector.h | 28 namespace rootcanal { 32 using rootcanal::AsyncManager;
|
D | posix_async_socket.h | 22 namespace rootcanal { 29 using rootcanal::AsyncManager;
|